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
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
package com.iplatform.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:S_GEN_COLUMN *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class S_gen_column extends BasePo<S_gen_column> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    /**
     * 用于兼容老写法
     */
    @JsonIgnore
    public static final S_gen_column ROW_MAPPER = new S_gen_column();
 
    // 主键
    private Long column_id = null;
    @JsonIgnore
    protected boolean isset_column_id = false;
 
    // 属性列表
    private String table_id = null;
    @JsonIgnore
    protected boolean isset_table_id = false;
 
    private String column_name = null;
    @JsonIgnore
    protected boolean isset_column_name = false;
 
    private String column_comment = null;
    @JsonIgnore
    protected boolean isset_column_comment = false;
 
    private String column_type = null;
    @JsonIgnore
    protected boolean isset_column_type = false;
 
    private String java_type = null;
    @JsonIgnore
    protected boolean isset_java_type = false;
 
    private String java_field = null;
    @JsonIgnore
    protected boolean isset_java_field = false;
 
    private String is_pk = null;
    @JsonIgnore
    protected boolean isset_is_pk = false;
 
    private String is_increment = null;
    @JsonIgnore
    protected boolean isset_is_increment = false;
 
    private String is_required = null;
    @JsonIgnore
    protected boolean isset_is_required = false;
 
    private String is_insert = null;
    @JsonIgnore
    protected boolean isset_is_insert = false;
 
    private String is_edit = null;
    @JsonIgnore
    protected boolean isset_is_edit = false;
 
    private String is_list = null;
    @JsonIgnore
    protected boolean isset_is_list = false;
 
    private String is_query = null;
    @JsonIgnore
    protected boolean isset_is_query = false;
 
    private String query_type = null;
    @JsonIgnore
    protected boolean isset_query_type = false;
 
    private String html_type = null;
    @JsonIgnore
    protected boolean isset_html_type = false;
 
    private String dict_type = null;
    @JsonIgnore
    protected boolean isset_dict_type = false;
 
    private Integer sort = null;
    @JsonIgnore
    protected boolean isset_sort = false;
 
    private String create_by = null;
    @JsonIgnore
    protected boolean isset_create_by = false;
 
    private Long create_time = null;
    @JsonIgnore
    protected boolean isset_create_time = false;
 
    /**
     * 默认构造函数
     */
    public S_gen_column() {
    }
 
    /**
     * 根据主键构造对象
     */
    public S_gen_column(Long column_id) {
        this.setColumn_id(column_id);
    }
 
    /**
     * 设置主键值
     */
    @Override
    public void setPkValue(Object value) {
        this.setColumn_id((Long) value);
    }
 
    public Long getColumn_id() {
        return this.column_id;
    }
 
    public void setColumn_id(Long column_id) {
        this.column_id = column_id;
        this.isset_column_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyColumn_id() {
        return this.column_id == null;
    }
 
    public String getTable_id() {
        return this.table_id;
    }
 
    public void setTable_id(String table_id) {
        this.table_id = table_id;
        this.isset_table_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTable_id() {
        return this.table_id == null || this.table_id.length() == 0;
    }
 
    public String getColumn_name() {
        return this.column_name;
    }
 
    public void setColumn_name(String column_name) {
        this.column_name = column_name;
        this.isset_column_name = true;
    }
 
    @JsonIgnore
    public boolean isEmptyColumn_name() {
        return this.column_name == null || this.column_name.length() == 0;
    }
 
    public String getColumn_comment() {
        return this.column_comment;
    }
 
    public void setColumn_comment(String column_comment) {
        this.column_comment = column_comment;
        this.isset_column_comment = true;
    }
 
    @JsonIgnore
    public boolean isEmptyColumn_comment() {
        return this.column_comment == null || this.column_comment.length() == 0;
    }
 
    public String getColumn_type() {
        return this.column_type;
    }
 
    public void setColumn_type(String column_type) {
        this.column_type = column_type;
        this.isset_column_type = true;
    }
 
    @JsonIgnore
    public boolean isEmptyColumn_type() {
        return this.column_type == null || this.column_type.length() == 0;
    }
 
    public String getJava_type() {
        return this.java_type;
    }
 
    public void setJava_type(String java_type) {
        this.java_type = java_type;
        this.isset_java_type = true;
    }
 
    @JsonIgnore
    public boolean isEmptyJava_type() {
        return this.java_type == null || this.java_type.length() == 0;
    }
 
    public String getJava_field() {
        return this.java_field;
    }
 
    public void setJava_field(String java_field) {
        this.java_field = java_field;
        this.isset_java_field = true;
    }
 
    @JsonIgnore
    public boolean isEmptyJava_field() {
        return this.java_field == null || this.java_field.length() == 0;
    }
 
    public String getIs_pk() {
        return this.is_pk;
    }
 
    public void setIs_pk(String is_pk) {
        this.is_pk = is_pk;
        this.isset_is_pk = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIs_pk() {
        return this.is_pk == null || this.is_pk.length() == 0;
    }
 
    public String getIs_increment() {
        return this.is_increment;
    }
 
    public void setIs_increment(String is_increment) {
        this.is_increment = is_increment;
        this.isset_is_increment = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIs_increment() {
        return this.is_increment == null || this.is_increment.length() == 0;
    }
 
    public String getIs_required() {
        return this.is_required;
    }
 
    public void setIs_required(String is_required) {
        this.is_required = is_required;
        this.isset_is_required = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIs_required() {
        return this.is_required == null || this.is_required.length() == 0;
    }
 
    public String getIs_insert() {
        return this.is_insert;
    }
 
    public void setIs_insert(String is_insert) {
        this.is_insert = is_insert;
        this.isset_is_insert = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIs_insert() {
        return this.is_insert == null || this.is_insert.length() == 0;
    }
 
    public String getIs_edit() {
        return this.is_edit;
    }
 
    public void setIs_edit(String is_edit) {
        this.is_edit = is_edit;
        this.isset_is_edit = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIs_edit() {
        return this.is_edit == null || this.is_edit.length() == 0;
    }
 
    public String getIs_list() {
        return this.is_list;
    }
 
    public void setIs_list(String is_list) {
        this.is_list = is_list;
        this.isset_is_list = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIs_list() {
        return this.is_list == null || this.is_list.length() == 0;
    }
 
    public String getIs_query() {
        return this.is_query;
    }
 
    public void setIs_query(String is_query) {
        this.is_query = is_query;
        this.isset_is_query = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIs_query() {
        return this.is_query == null || this.is_query.length() == 0;
    }
 
    public String getQuery_type() {
        return this.query_type;
    }
 
    public void setQuery_type(String query_type) {
        this.query_type = query_type;
        this.isset_query_type = true;
    }
 
    @JsonIgnore
    public boolean isEmptyQuery_type() {
        return this.query_type == null || this.query_type.length() == 0;
    }
 
    public String getHtml_type() {
        return this.html_type;
    }
 
    public void setHtml_type(String html_type) {
        this.html_type = html_type;
        this.isset_html_type = true;
    }
 
    @JsonIgnore
    public boolean isEmptyHtml_type() {
        return this.html_type == null || this.html_type.length() == 0;
    }
 
    public String getDict_type() {
        return this.dict_type;
    }
 
    public void setDict_type(String dict_type) {
        this.dict_type = dict_type;
        this.isset_dict_type = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDict_type() {
        return this.dict_type == null || this.dict_type.length() == 0;
    }
 
    public Integer getSort() {
        return this.sort;
    }
 
    public void setSort(Integer sort) {
        this.sort = sort;
        this.isset_sort = true;
    }
 
    @JsonIgnore
    public boolean isEmptySort() {
        return this.sort == null;
    }
 
    public String getCreate_by() {
        return this.create_by;
    }
 
    public void setCreate_by(String create_by) {
        this.create_by = create_by;
        this.isset_create_by = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCreate_by() {
        return this.create_by == null || this.create_by.length() == 0;
    }
 
    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;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("column_id=").append(this.column_id)
                .append("table_id=").append(this.table_id)
                .append("column_name=").append(this.column_name)
                .append("column_comment=").append(this.column_comment)
                .append("column_type=").append(this.column_type)
                .append("java_type=").append(this.java_type)
                .append("java_field=").append(this.java_field)
                .append("is_pk=").append(this.is_pk)
                .append("is_increment=").append(this.is_increment)
                .append("is_required=").append(this.is_required)
                .append("is_insert=").append(this.is_insert)
                .append("is_edit=").append(this.is_edit)
                .append("is_list=").append(this.is_list)
                .append("is_query=").append(this.is_query)
                .append("query_type=").append(this.query_type)
                .append("html_type=").append(this.html_type)
                .append("dict_type=").append(this.dict_type)
                .append("sort=").append(this.sort)
                .append("create_by=").append(this.create_by)
                .append("create_time=").append(this.create_time)
                .toString();
    }
 
    /**
     * 克隆
     */
    public S_gen_column $clone() {
        S_gen_column s_gen_column = new S_gen_column();
 
        // 数据库名称
        //s_gen_column.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_column_id) {
            s_gen_column.setColumn_id(this.getColumn_id());
        }
        // 普通属性
        if (this.isset_table_id) {
            s_gen_column.setTable_id(this.getTable_id());
        }
        if (this.isset_column_name) {
            s_gen_column.setColumn_name(this.getColumn_name());
        }
        if (this.isset_column_comment) {
            s_gen_column.setColumn_comment(this.getColumn_comment());
        }
        if (this.isset_column_type) {
            s_gen_column.setColumn_type(this.getColumn_type());
        }
        if (this.isset_java_type) {
            s_gen_column.setJava_type(this.getJava_type());
        }
        if (this.isset_java_field) {
            s_gen_column.setJava_field(this.getJava_field());
        }
        if (this.isset_is_pk) {
            s_gen_column.setIs_pk(this.getIs_pk());
        }
        if (this.isset_is_increment) {
            s_gen_column.setIs_increment(this.getIs_increment());
        }
        if (this.isset_is_required) {
            s_gen_column.setIs_required(this.getIs_required());
        }
        if (this.isset_is_insert) {
            s_gen_column.setIs_insert(this.getIs_insert());
        }
        if (this.isset_is_edit) {
            s_gen_column.setIs_edit(this.getIs_edit());
        }
        if (this.isset_is_list) {
            s_gen_column.setIs_list(this.getIs_list());
        }
        if (this.isset_is_query) {
            s_gen_column.setIs_query(this.getIs_query());
        }
        if (this.isset_query_type) {
            s_gen_column.setQuery_type(this.getQuery_type());
        }
        if (this.isset_html_type) {
            s_gen_column.setHtml_type(this.getHtml_type());
        }
        if (this.isset_dict_type) {
            s_gen_column.setDict_type(this.getDict_type());
        }
        if (this.isset_sort) {
            s_gen_column.setSort(this.getSort());
        }
        if (this.isset_create_by) {
            s_gen_column.setCreate_by(this.getCreate_by());
        }
        if (this.isset_create_time) {
            s_gen_column.setCreate_time(this.getCreate_time());
        }
        return s_gen_column;
    }
}