blob: 61ac8b8b92b3f0298dc48bdfa4fc08a306e59a0d [file] [log] [blame]
package org.apache.airavata.mft.secret.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 FTPSecretEntity {
@Id
@Column(name = "SECRET_ID")
@GeneratedValue(generator = "uuid")
@GenericGenerator(name = "uuid", strategy = "uuid2")
private String secretId;
@Column(name = "USER_ID")
private String userId;
@Column(name = "PASSWORD")
private String password;
public String getSecretId() {
return secretId;
}
public void setSecretId(String secretId) {
this.secretId = secretId;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
}