| package org.apache.airavata.mft.resource.server.backend.sql.entity; |
| |
| import org.hibernate.annotations.GenericGenerator; |
| |
| import javax.persistence.Column; |
| import javax.persistence.Entity; |
| import javax.persistence.GeneratedValue; |
| import javax.persistence.Id; |
| |
| @Entity |
| public class FTPStorageEntity { |
| |
| @Id |
| @Column(name = "FTP_STORAGE_ID") |
| @GeneratedValue(generator = "uuid") |
| @GenericGenerator(name = "uuid", strategy = "uuid2") |
| private String storageId; |
| |
| @Column(name = "HOST") |
| private String host; |
| |
| @Column(name = "PORT") |
| private int port; |
| |
| public String getStorageId() { |
| return storageId; |
| } |
| |
| public void setStorageId(String storageId) { |
| this.storageId = storageId; |
| } |
| |
| public String getHost() { |
| return host; |
| } |
| |
| public void setHost(String host) { |
| this.host = host; |
| } |
| |
| public int getPort() { |
| return port; |
| } |
| |
| public void setPort(int port) { |
| this.port = port; |
| } |
| } |