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
package com.iplatform.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:S_DICT_DATA *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class S_dict_data extends BasePo<S_dict_data> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    /**
     * 用于兼容老写法
     */
    @JsonIgnore
    public static final S_dict_data ROW_MAPPER = new S_dict_data();
 
    // 主键
    private Long dict_code = null;
    @JsonIgnore
    protected boolean isset_dict_code = false;
 
    // 属性列表
    private Long parent_id = null;
    @JsonIgnore
    protected boolean isset_parent_id = false;
 
    private Integer dict_sort = null;
    @JsonIgnore
    protected boolean isset_dict_sort = false;
 
    private String dict_label = null;
    @JsonIgnore
    protected boolean isset_dict_label = false;
 
    private String dict_value = null;
    @JsonIgnore
    protected boolean isset_dict_value = false;
 
    private String dict_type = null;
    @JsonIgnore
    protected boolean isset_dict_type = false;
 
    private String css_class = null;
    @JsonIgnore
    protected boolean isset_css_class = false;
 
    private String list_class = null;
    @JsonIgnore
    protected boolean isset_list_class = false;
 
    private String is_default = null;
    @JsonIgnore
    protected boolean isset_is_default = false;
 
    private Integer status = null;
    @JsonIgnore
    protected boolean isset_status = 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_dict_data() {
    }
 
    /**
     * 根据主键构造对象
     */
    public S_dict_data(Long dict_code) {
        this.setDict_code(dict_code);
    }
 
    /**
     * 设置主键值
     */
    @Override
    public void setPkValue(Object value) {
        this.setDict_code((Long) value);
    }
 
    public Long getDict_code() {
        return this.dict_code;
    }
 
    public void setDict_code(Long dict_code) {
        this.dict_code = dict_code;
        this.isset_dict_code = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDict_code() {
        return this.dict_code == null;
    }
 
    public Long getParent_id() {
        return this.parent_id;
    }
 
    public void setParent_id(Long parent_id) {
        this.parent_id = parent_id;
        this.isset_parent_id = true;
    }
 
    @JsonIgnore
    public boolean isEmptyParent_id() {
        return this.parent_id == null;
    }
 
    public Integer getDict_sort() {
        return this.dict_sort;
    }
 
    public void setDict_sort(Integer dict_sort) {
        this.dict_sort = dict_sort;
        this.isset_dict_sort = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDict_sort() {
        return this.dict_sort == null;
    }
 
    public String getDict_label() {
        return this.dict_label;
    }
 
    public void setDict_label(String dict_label) {
        this.dict_label = dict_label;
        this.isset_dict_label = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDict_label() {
        return this.dict_label == null || this.dict_label.length() == 0;
    }
 
    public String getDict_value() {
        return this.dict_value;
    }
 
    public void setDict_value(String dict_value) {
        this.dict_value = dict_value;
        this.isset_dict_value = true;
    }
 
    @JsonIgnore
    public boolean isEmptyDict_value() {
        return this.dict_value == null || this.dict_value.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 String getCss_class() {
        return this.css_class;
    }
 
    public void setCss_class(String css_class) {
        this.css_class = css_class;
        this.isset_css_class = true;
    }
 
    @JsonIgnore
    public boolean isEmptyCss_class() {
        return this.css_class == null || this.css_class.length() == 0;
    }
 
    public String getList_class() {
        return this.list_class;
    }
 
    public void setList_class(String list_class) {
        this.list_class = list_class;
        this.isset_list_class = true;
    }
 
    @JsonIgnore
    public boolean isEmptyList_class() {
        return this.list_class == null || this.list_class.length() == 0;
    }
 
    public String getIs_default() {
        return this.is_default;
    }
 
    public void setIs_default(String is_default) {
        this.is_default = is_default;
        this.isset_is_default = true;
    }
 
    @JsonIgnore
    public boolean isEmptyIs_default() {
        return this.is_default == null || this.is_default.length() == 0;
    }
 
    public Integer getStatus() {
        return this.status;
    }
 
    public void setStatus(Integer status) {
        this.status = status;
        this.isset_status = true;
    }
 
    @JsonIgnore
    public boolean isEmptyStatus() {
        return this.status == 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;
    }
 
    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("dict_code=").append(this.dict_code)
                .append("parent_id=").append(this.parent_id)
                .append("dict_sort=").append(this.dict_sort)
                .append("dict_label=").append(this.dict_label)
                .append("dict_value=").append(this.dict_value)
                .append("dict_type=").append(this.dict_type)
                .append("css_class=").append(this.css_class)
                .append("list_class=").append(this.list_class)
                .append("is_default=").append(this.is_default)
                .append("status=").append(this.status)
                .append("create_by=").append(this.create_by)
                .append("create_time=").append(this.create_time)
                .append("remark=").append(this.remark)
                .toString();
    }
 
    /**
     * 克隆
     */
    public S_dict_data $clone() {
        S_dict_data s_dict_data = new S_dict_data();
 
        // 数据库名称
        //s_dict_data.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_dict_code) {
            s_dict_data.setDict_code(this.getDict_code());
        }
        // 普通属性
        if (this.isset_parent_id) {
            s_dict_data.setParent_id(this.getParent_id());
        }
        if (this.isset_dict_sort) {
            s_dict_data.setDict_sort(this.getDict_sort());
        }
        if (this.isset_dict_label) {
            s_dict_data.setDict_label(this.getDict_label());
        }
        if (this.isset_dict_value) {
            s_dict_data.setDict_value(this.getDict_value());
        }
        if (this.isset_dict_type) {
            s_dict_data.setDict_type(this.getDict_type());
        }
        if (this.isset_css_class) {
            s_dict_data.setCss_class(this.getCss_class());
        }
        if (this.isset_list_class) {
            s_dict_data.setList_class(this.getList_class());
        }
        if (this.isset_is_default) {
            s_dict_data.setIs_default(this.getIs_default());
        }
        if (this.isset_status) {
            s_dict_data.setStatus(this.getStatus());
        }
        if (this.isset_create_by) {
            s_dict_data.setCreate_by(this.getCreate_by());
        }
        if (this.isset_create_time) {
            s_dict_data.setCreate_time(this.getCreate_time());
        }
        if (this.isset_remark) {
            s_dict_data.setRemark(this.getRemark());
        }
        return s_dict_data;
    }
}