xiejun
2024-09-06 1615c6851b507867f9090f8cafcb1a32d1dad6bc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
package com.vci.model;
 
import com.vci.constant.FrameWorkDefaultValueConstant;
import com.vci.constant.VciFileBtmTypeConstant;
import com.vci.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;
 
 
/**
 * 文仓卷
 * @author weidy
 * @date 2020/3/12
 */
@VciBtmType(name = VciFileBtmTypeConstant.FILE_VOLUME,tableName = "plvolume",text = "文仓管理",lifeCycle =
        FrameWorkLcStatusConstant.FRAME_WORK_LIFE_CYCLE_NAME,startStatus = FrameWorkDefaultValueConstant.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 + '\'' +
                '}';
    }
}