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
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
package com.iplatform.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:S_GEN_TABLE *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class S_gen_table extends BasePo<S_gen_table> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    /**
     * 用于兼容老写法
     */
    @JsonIgnore
    public static final S_gen_table ROW_MAPPER = new S_gen_table();
 
    // 主键
    private Long table_id = null;
    @JsonIgnore
    protected boolean isset_table_id = false;
 
    // 属性列表
    private String table_name = null;
    @JsonIgnore
    protected boolean isset_table_name = false;
 
    private String table_comment = null;
    @JsonIgnore
    protected boolean isset_table_comment = false;
 
    private String sub_table_name = null;
    @JsonIgnore
    protected boolean isset_sub_table_name = false;
 
    private String sub_table_fk_name = null;
    @JsonIgnore
    protected boolean isset_sub_table_fk_name = false;
 
    private String class_name = null;
    @JsonIgnore
    protected boolean isset_class_name = false;
 
    private String tpl_category = null;
    @JsonIgnore
    protected boolean isset_tpl_category = false;
 
    private String package_name = null;
    @JsonIgnore
    protected boolean isset_package_name = false;
 
    private String module_name = null;
    @JsonIgnore
    protected boolean isset_module_name = false;
 
    private String business_name = null;
    @JsonIgnore
    protected boolean isset_business_name = false;
 
    private String function_name = null;
    @JsonIgnore
    protected boolean isset_function_name = false;
 
    private String function_author = null;
    @JsonIgnore
    protected boolean isset_function_author = false;
 
    private String gen_type = null;
    @JsonIgnore
    protected boolean isset_gen_type = false;
 
    private String gen_path = null;
    @JsonIgnore
    protected boolean isset_gen_path = false;
 
    private String options = null;
    @JsonIgnore
    protected boolean isset_options = 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;
 
    private String remark = null;
    @JsonIgnore
    protected boolean isset_remark = false;
 
    /**
     * 默认构造函数
     */
    public S_gen_table() {
    }
 
    /**
     * 根据主键构造对象
     */
    public S_gen_table(Long table_id) {
        this.setTable_id(table_id);
    }
 
    /**
     * 设置主键值
     */
    @Override
    public void setPkValue(Object value) {
        this.setTable_id((Long) value);
    }
 
    public Long getTable_id() {
        return this.table_id;
    }
 
    public void setTable_id(Long table_id) {
        this.table_id = table_id;
        this.isset_table_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTable_id() {
        return this.table_id == null;
    }
 
    public String getTable_name() {
        return this.table_name;
    }
 
    public void setTable_name(String table_name) {
        this.table_name = table_name;
        this.isset_table_name = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTable_name() {
        return this.table_name == null || this.table_name.length() == 0;
    }
 
    public String getTable_comment() {
        return this.table_comment;
    }
 
    public void setTable_comment(String table_comment) {
        this.table_comment = table_comment;
        this.isset_table_comment = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTable_comment() {
        return this.table_comment == null || this.table_comment.length() == 0;
    }
 
    public String getSub_table_name() {
        return this.sub_table_name;
    }
 
    public void setSub_table_name(String sub_table_name) {
        this.sub_table_name = sub_table_name;
        this.isset_sub_table_name = true;
    }
 
    @JsonIgnore
    public boolean isEmptySub_table_name() {
        return this.sub_table_name == null || this.sub_table_name.length() == 0;
    }
 
    public String getSub_table_fk_name() {
        return this.sub_table_fk_name;
    }
 
    public void setSub_table_fk_name(String sub_table_fk_name) {
        this.sub_table_fk_name = sub_table_fk_name;
        this.isset_sub_table_fk_name = true;
    }
 
    @JsonIgnore
    public boolean isEmptySub_table_fk_name() {
        return this.sub_table_fk_name == null || this.sub_table_fk_name.length() == 0;
    }
 
    public String getClass_name() {
        return this.class_name;
    }
 
    public void setClass_name(String class_name) {
        this.class_name = class_name;
        this.isset_class_name = true;
    }
 
    @JsonIgnore
    public boolean isEmptyClass_name() {
        return this.class_name == null || this.class_name.length() == 0;
    }
 
    public String getTpl_category() {
        return this.tpl_category;
    }
 
    public void setTpl_category(String tpl_category) {
        this.tpl_category = tpl_category;
        this.isset_tpl_category = true;
    }
 
    @JsonIgnore
    public boolean isEmptyTpl_category() {
        return this.tpl_category == null || this.tpl_category.length() == 0;
    }
 
    public String getPackage_name() {
        return this.package_name;
    }
 
    public void setPackage_name(String package_name) {
        this.package_name = package_name;
        this.isset_package_name = true;
    }
 
    @JsonIgnore
    public boolean isEmptyPackage_name() {
        return this.package_name == null || this.package_name.length() == 0;
    }
 
    public String getModule_name() {
        return this.module_name;
    }
 
    public void setModule_name(String module_name) {
        this.module_name = module_name;
        this.isset_module_name = true;
    }
 
    @JsonIgnore
    public boolean isEmptyModule_name() {
        return this.module_name == null || this.module_name.length() == 0;
    }
 
    public String getBusiness_name() {
        return this.business_name;
    }
 
    public void setBusiness_name(String business_name) {
        this.business_name = business_name;
        this.isset_business_name = true;
    }
 
    @JsonIgnore
    public boolean isEmptyBusiness_name() {
        return this.business_name == null || this.business_name.length() == 0;
    }
 
    public String getFunction_name() {
        return this.function_name;
    }
 
    public void setFunction_name(String function_name) {
        this.function_name = function_name;
        this.isset_function_name = true;
    }
 
    @JsonIgnore
    public boolean isEmptyFunction_name() {
        return this.function_name == null || this.function_name.length() == 0;
    }
 
    public String getFunction_author() {
        return this.function_author;
    }
 
    public void setFunction_author(String function_author) {
        this.function_author = function_author;
        this.isset_function_author = true;
    }
 
    @JsonIgnore
    public boolean isEmptyFunction_author() {
        return this.function_author == null || this.function_author.length() == 0;
    }
 
    public String getGen_type() {
        return this.gen_type;
    }
 
    public void setGen_type(String gen_type) {
        this.gen_type = gen_type;
        this.isset_gen_type = true;
    }
 
    @JsonIgnore
    public boolean isEmptyGen_type() {
        return this.gen_type == null || this.gen_type.length() == 0;
    }
 
    public String getGen_path() {
        return this.gen_path;
    }
 
    public void setGen_path(String gen_path) {
        this.gen_path = gen_path;
        this.isset_gen_path = true;
    }
 
    @JsonIgnore
    public boolean isEmptyGen_path() {
        return this.gen_path == null || this.gen_path.length() == 0;
    }
 
    public String getOptions() {
        return this.options;
    }
 
    public void setOptions(String options) {
        this.options = options;
        this.isset_options = true;
    }
 
    @JsonIgnore
    public boolean isEmptyOptions() {
        return this.options == null || this.options.length() == 0;
    }
 
    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;
    }
 
    public String getRemark() {
        return this.remark;
    }
 
    public void setRemark(String remark) {
        this.remark = remark;
        this.isset_remark = true;
    }
 
    @JsonIgnore
    public boolean isEmptyRemark() {
        return this.remark == null || this.remark.length() == 0;
    }
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("table_id=").append(this.table_id)
                .append("table_name=").append(this.table_name)
                .append("table_comment=").append(this.table_comment)
                .append("sub_table_name=").append(this.sub_table_name)
                .append("sub_table_fk_name=").append(this.sub_table_fk_name)
                .append("class_name=").append(this.class_name)
                .append("tpl_category=").append(this.tpl_category)
                .append("package_name=").append(this.package_name)
                .append("module_name=").append(this.module_name)
                .append("business_name=").append(this.business_name)
                .append("function_name=").append(this.function_name)
                .append("function_author=").append(this.function_author)
                .append("gen_type=").append(this.gen_type)
                .append("gen_path=").append(this.gen_path)
                .append("options=").append(this.options)
                .append("create_by=").append(this.create_by)
                .append("create_time=").append(this.create_time)
                .append("remark=").append(this.remark)
                .toString();
    }
 
    /**
     * 克隆
     */
    public S_gen_table $clone() {
        S_gen_table s_gen_table = new S_gen_table();
 
        // 数据库名称
        //s_gen_table.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_table_id) {
            s_gen_table.setTable_id(this.getTable_id());
        }
        // 普通属性
        if (this.isset_table_name) {
            s_gen_table.setTable_name(this.getTable_name());
        }
        if (this.isset_table_comment) {
            s_gen_table.setTable_comment(this.getTable_comment());
        }
        if (this.isset_sub_table_name) {
            s_gen_table.setSub_table_name(this.getSub_table_name());
        }
        if (this.isset_sub_table_fk_name) {
            s_gen_table.setSub_table_fk_name(this.getSub_table_fk_name());
        }
        if (this.isset_class_name) {
            s_gen_table.setClass_name(this.getClass_name());
        }
        if (this.isset_tpl_category) {
            s_gen_table.setTpl_category(this.getTpl_category());
        }
        if (this.isset_package_name) {
            s_gen_table.setPackage_name(this.getPackage_name());
        }
        if (this.isset_module_name) {
            s_gen_table.setModule_name(this.getModule_name());
        }
        if (this.isset_business_name) {
            s_gen_table.setBusiness_name(this.getBusiness_name());
        }
        if (this.isset_function_name) {
            s_gen_table.setFunction_name(this.getFunction_name());
        }
        if (this.isset_function_author) {
            s_gen_table.setFunction_author(this.getFunction_author());
        }
        if (this.isset_gen_type) {
            s_gen_table.setGen_type(this.getGen_type());
        }
        if (this.isset_gen_path) {
            s_gen_table.setGen_path(this.getGen_path());
        }
        if (this.isset_options) {
            s_gen_table.setOptions(this.getOptions());
        }
        if (this.isset_create_by) {
            s_gen_table.setCreate_by(this.getCreate_by());
        }
        if (this.isset_create_time) {
            s_gen_table.setCreate_time(this.getCreate_time());
        }
        if (this.isset_remark) {
            s_gen_table.setRemark(this.getRemark());
        }
        return s_gen_table;
    }
 
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    // ~ 以下属性手工加入,无法自动生成,因此该对象不能重建,2022-11-27
    // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
    public String getTreeCode() {
        return treeCode;
    }
 
    public void setTreeCode(String treeCode) {
        this.treeCode = treeCode;
    }
 
    public String getTreeParentCode() {
        return treeParentCode;
    }
 
    public void setTreeParentCode(String treeParentCode) {
        this.treeParentCode = treeParentCode;
    }
 
    public String getTreeName() {
        return treeName;
    }
 
    public void setTreeName(String treeName) {
        this.treeName = treeName;
    }
 
    public String getParentMenuId() {
        return parentMenuId;
    }
 
    public void setParentMenuId(String parentMenuId) {
        this.parentMenuId = parentMenuId;
    }
 
    public String getParentMenuName() {
        return parentMenuName;
    }
 
    public void setParentMenuName(String parentMenuName) {
        this.parentMenuName = parentMenuName;
    }
 
    /** 树编码字段 */
    private String treeCode;
 
    /** 树父编码字段 */
    private String treeParentCode;
 
    /** 树名称字段 */
    private String treeName;
 
    /** 上级菜单ID字段 */
    private String parentMenuId;
 
    /** 上级菜单名称字段 */
    private String parentMenuName;
}