package com.vci.web.model;
|
|
import com.vci.file.constant.VciFileBtmTypeConstant;
|
import com.vci.file.constant.VciFileEnumConstant;
|
import com.vci.starter.web.annotation.Column;
|
import com.vci.starter.web.annotation.Transient;
|
import com.vci.starter.web.annotation.VciBtmType;
|
import com.vci.starter.web.annotation.VciUseEnum;
|
import com.vci.starter.web.constant.FrameWorkLcStatusConstant;
|
import com.vci.starter.web.model.BaseModel;
|
|
import static com.vci.frameworkcore.constant.FrameWorkDefaultValueConstant.FRAMEWORK_DATA_ENABLED;
|
|
/**
|
* 文仓卷
|
* @author weidy
|
* @date 2020/3/12
|
*/
|
@VciBtmType(name = VciFileBtmTypeConstant.FILE_VOLUME,tableName = "plvolume",text = "文仓管理",lifeCycle =
|
FrameWorkLcStatusConstant.FRAME_WORK_LIFE_CYCLE_NAME,startStatus = FRAMEWORK_DATA_ENABLED)
|
@Transient
|
public class VciFileVolumeDO implements java.io.Serializable{
|
/**
|
* 禁止修改这个值
|
*/
|
private static final long serialVersionUID = -6603607708274363544L;
|
|
/**
|
* 主键
|
*/
|
@Column(name = "ploid")
|
private String oid;
|
|
/**
|
* 文仓编号
|
*/
|
@Column(nullable = false,length = 50,name = "plname")
|
private String id;
|
|
/**
|
* 文仓名称
|
*/
|
@Column(nullable = false,length = 200,name = "plservice")
|
private String name;
|
|
/**
|
* 文仓描述
|
*/
|
@Transient
|
private String description;
|
|
/**
|
* 文仓的路径
|
*/
|
@Column(nullable = false,length = 2000,name = "plpathname")
|
private String volumePath;
|
|
/**
|
* 存储系统类型
|
*/
|
@VciUseEnum(value = VciFileEnumConstant.FILE_SERVICE_OS_TYPE,showTextField = "serviceOsTypeText")
|
@Column(name="plmachinetype")
|
private String serviceOsType;
|
|
/**
|
* 存储系统类型文本
|
*/
|
@Transient
|
private String serviceOsTypeText;
|
|
/**
|
* 传输协议
|
*/
|
@Transient
|
private String transProtocol = "corba";
|
|
/**
|
* 传输协议显示文本
|
*/
|
@Transient
|
private String transProtocolText;
|
|
/**
|
* 远程文仓的服务地址
|
*/
|
@Column(name = "plhost")
|
private String serviceUrl;
|
|
/**
|
* 远程文仓认证用户
|
*/
|
@Transient
|
private String transUser;
|
|
/**
|
* 远程文件认证用户密码
|
*/
|
@Transient
|
private String transUserPwd;
|
|
/**
|
* 最大容量
|
*/
|
@Transient
|
private String maxVolume;
|
|
/**
|
* 当前容量
|
*/
|
@Transient
|
private String currentVolume;
|
|
/**
|
* 最后同步时间
|
*/
|
@Transient
|
private String lastSyncTimeLong;
|
|
|
public String getOid() {
|
return oid;
|
}
|
|
public void setOid(String oid) {
|
this.oid = oid;
|
}
|
|
public String getId() {
|
return id;
|
}
|
|
public void setId(String id) {
|
this.id = id;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getDescription() {
|
return description;
|
}
|
|
public void setDescription(String description) {
|
this.description = description;
|
}
|
|
public String getVolumePath() {
|
return volumePath;
|
}
|
|
public void setVolumePath(String volumePath) {
|
this.volumePath = volumePath;
|
}
|
|
public String getServiceOsType() {
|
return serviceOsType;
|
}
|
|
public void setServiceOsType(String serviceOsType) {
|
this.serviceOsType = serviceOsType;
|
}
|
|
public String getServiceOsTypeText() {
|
return serviceOsTypeText;
|
}
|
|
public void setServiceOsTypeText(String serviceOsTypeText) {
|
this.serviceOsTypeText = serviceOsTypeText;
|
}
|
|
public String getTransProtocol() {
|
return transProtocol;
|
}
|
|
public void setTransProtocol(String transProtocol) {
|
this.transProtocol = transProtocol;
|
}
|
|
public String getTransProtocolText() {
|
return transProtocolText;
|
}
|
|
public void setTransProtocolText(String transProtocolText) {
|
this.transProtocolText = transProtocolText;
|
}
|
|
public String getServiceUrl() {
|
return serviceUrl;
|
}
|
|
public void setServiceUrl(String serviceUrl) {
|
this.serviceUrl = serviceUrl;
|
}
|
|
public String getTransUser() {
|
return transUser;
|
}
|
|
public void setTransUser(String transUser) {
|
this.transUser = transUser;
|
}
|
|
public String getTransUserPwd() {
|
return transUserPwd;
|
}
|
|
public void setTransUserPwd(String transUserPwd) {
|
this.transUserPwd = transUserPwd;
|
}
|
|
public String getMaxVolume() {
|
return maxVolume;
|
}
|
|
public void setMaxVolume(String maxVolume) {
|
this.maxVolume = maxVolume;
|
}
|
|
public String getCurrentVolume() {
|
return currentVolume;
|
}
|
|
public void setCurrentVolume(String currentVolume) {
|
this.currentVolume = currentVolume;
|
}
|
|
public String getLastSyncTimeLong() {
|
return lastSyncTimeLong;
|
}
|
|
public void setLastSyncTimeLong(String lastSyncTimeLong) {
|
this.lastSyncTimeLong = lastSyncTimeLong;
|
}
|
|
@Override
|
public String toString() {
|
return "VciFileVolumeDO{" +
|
"oid='" + oid + '\'' +
|
", id='" + id + '\'' +
|
", name='" + name + '\'' +
|
", description='" + description + '\'' +
|
", volumePath='" + volumePath + '\'' +
|
", serviceOsType='" + serviceOsType + '\'' +
|
", serviceOsTypeText='" + serviceOsTypeText + '\'' +
|
", transProtocol='" + transProtocol + '\'' +
|
", transProtocolText='" + transProtocolText + '\'' +
|
", serviceUrl='" + serviceUrl + '\'' +
|
", transUser='" + transUser + '\'' +
|
", transUserPwd='" + transUserPwd + '\'' +
|
", maxVolume='" + maxVolume + '\'' +
|
", currentVolume='" + currentVolume + '\'' +
|
", lastSyncTimeLong='" + lastSyncTimeLong + '\'' +
|
'}';
|
}
|
}
|