shikeyin
2024-01-11 65da8373531677b1c37a98f53eaa30c892f35e5a
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
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
package com.iplatform.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:S_FILE *
 * @author genrator
 */
@Deprecated
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class S_file extends BasePo<S_file> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    /**
     * 用于兼容老写法
     */
    @JsonIgnore
    public static final S_file ROW_MAPPER = new S_file();
 
    // 主键
    private Long id = null;
    @JsonIgnore
    protected boolean isset_id = false;
 
    // 属性列表
    private Long create_time = null;
    @JsonIgnore
    protected boolean isset_create_time = false;
 
    private String user_name = null;
    @JsonIgnore
    protected boolean isset_user_name = false;
 
    private String content_type = null;
    @JsonIgnore
    protected boolean isset_content_type = false;
 
    private String file_name = null;
    @JsonIgnore
    protected boolean isset_file_name = false;
 
    private String file_ext = null;
    @JsonIgnore
    protected boolean isset_file_ext = false;
 
    private String file_path = null;
    @JsonIgnore
    protected boolean isset_file_path = false;
 
    private Long file_size = null;
    @JsonIgnore
    protected boolean isset_file_size = false;
 
    private String file_store_type = null;
    @JsonIgnore
    protected boolean isset_file_store_type = false;
 
    private String group_id = null;
    @JsonIgnore
    protected boolean isset_group_id = false;
 
    private String summary = null;
    @JsonIgnore
    protected boolean isset_summary = false;
 
    /**
     * 默认构造函数
     */
    public S_file() {
    }
 
    /**
     * 根据主键构造对象
     */
    public S_file(Long id) {
        this.setId(id);
    }
 
    /**
     * 设置主键值
     */
    @Override
    public void setPkValue(Object value) {
        this.setId((Long) value);
    }
 
    public Long getId() {
        return this.id;
    }
 
    public void setId(Long id) {
        this.id = id;
        this.isset_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyId() {
        return this.id == null;
    }
 
    public Long getCreate_time() {
        return this.create_time;
    }
 
    public void setCreate_time(Long create_time) {
        this.create_time = create_time;
        this.isset_create_time = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCreate_time() {
        return this.create_time == null;
    }
 
    public String getUser_name() {
        return this.user_name;
    }
 
    public void setUser_name(String user_name) {
        this.user_name = user_name;
        this.isset_user_name = true;
    }
 
    @JsonIgnore
    public boolean isEmptyUser_name() {
        return this.user_name == null || this.user_name.length() == 0;
    }
 
    public String getContent_type() {
        return this.content_type;
    }
 
    public void setContent_type(String content_type) {
        this.content_type = content_type;
        this.isset_content_type = true;
    }
 
    @JsonIgnore
    public boolean isEmptyContent_type() {
        return this.content_type == null || this.content_type.length() == 0;
    }
 
    public String getFile_name() {
        return this.file_name;
    }
 
    public void setFile_name(String file_name) {
        this.file_name = file_name;
        this.isset_file_name = true;
    }
 
    @JsonIgnore
    public boolean isEmptyFile_name() {
        return this.file_name == null || this.file_name.length() == 0;
    }
 
    public String getFile_ext() {
        return this.file_ext;
    }
 
    public void setFile_ext(String file_ext) {
        this.file_ext = file_ext;
        this.isset_file_ext = true;
    }
 
    @JsonIgnore
    public boolean isEmptyFile_ext() {
        return this.file_ext == null || this.file_ext.length() == 0;
    }
 
    public String getFile_path() {
        return this.file_path;
    }
 
    public void setFile_path(String file_path) {
        this.file_path = file_path;
        this.isset_file_path = true;
    }
 
    @JsonIgnore
    public boolean isEmptyFile_path() {
        return this.file_path == null || this.file_path.length() == 0;
    }
 
    public Long getFile_size() {
        return this.file_size;
    }
 
    public void setFile_size(Long file_size) {
        this.file_size = file_size;
        this.isset_file_size = true;
    }
 
    @JsonIgnore
    public boolean isEmptyFile_size() {
        return this.file_size == null;
    }
 
    public String getFile_store_type() {
        return this.file_store_type;
    }
 
    public void setFile_store_type(String file_store_type) {
        this.file_store_type = file_store_type;
        this.isset_file_store_type = true;
    }
 
    @JsonIgnore
    public boolean isEmptyFile_store_type() {
        return this.file_store_type == null || this.file_store_type.length() == 0;
    }
 
    public String getGroup_id() {
        return this.group_id;
    }
 
    public void setGroup_id(String group_id) {
        this.group_id = group_id;
        this.isset_group_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyGroup_id() {
        return this.group_id == null || this.group_id.length() == 0;
    }
 
    public String getSummary() {
        return this.summary;
    }
 
    public void setSummary(String summary) {
        this.summary = summary;
        this.isset_summary = true;
    }
 
    @JsonIgnore
    public boolean isEmptySummary() {
        return this.summary == null || this.summary.length() == 0;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("id=").append(this.id)
                .append("create_time=").append(this.create_time)
                .append("user_name=").append(this.user_name)
                .append("content_type=").append(this.content_type)
                .append("file_name=").append(this.file_name)
                .append("file_ext=").append(this.file_ext)
                .append("file_path=").append(this.file_path)
                .append("file_size=").append(this.file_size)
                .append("file_store_type=").append(this.file_store_type)
                .append("group_id=").append(this.group_id)
                .append("summary=").append(this.summary)
                .toString();
    }
 
    /**
     * 克隆
     */
    public S_file $clone() {
        S_file s_file = new S_file();
 
        // 数据库名称
        //s_file.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_id) {
            s_file.setId(this.getId());
        }
        // 普通属性
        if (this.isset_create_time) {
            s_file.setCreate_time(this.getCreate_time());
        }
        if (this.isset_user_name) {
            s_file.setUser_name(this.getUser_name());
        }
        if (this.isset_content_type) {
            s_file.setContent_type(this.getContent_type());
        }
        if (this.isset_file_name) {
            s_file.setFile_name(this.getFile_name());
        }
        if (this.isset_file_ext) {
            s_file.setFile_ext(this.getFile_ext());
        }
        if (this.isset_file_path) {
            s_file.setFile_path(this.getFile_path());
        }
        if (this.isset_file_size) {
            s_file.setFile_size(this.getFile_size());
        }
        if (this.isset_file_store_type) {
            s_file.setFile_store_type(this.getFile_store_type());
        }
        if (this.isset_group_id) {
            s_file.setGroup_id(this.getGroup_id());
        }
        if (this.isset_summary) {
            s_file.setSummary(this.getSummary());
        }
        return s_file;
    }
}