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
 
 
package com.iplatform.model.po;
 
import com.fasterxml.jackson.annotation.JsonAutoDetect;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.walker.jdbc.BasePo;
 
/**
 * 表名:S_MENU *
 * @author genrator
 */
@JsonAutoDetect(fieldVisibility = JsonAutoDetect.Visibility.ANY)
public class S_menu extends BasePo<S_menu> {
    // 序列化版本号
    private static final long serialVersionUID = 1L;
 
    // 主键
    private String menu_id = null;
    @JsonIgnore
    protected boolean isset_menu_id = false;
 
    // 属性列表
    private String menu_name = null;
    @JsonIgnore
    protected boolean isset_menu_name = false;
 
    private String parent_id = null;
    @JsonIgnore
    protected boolean isset_parent_id = false;
 
    private Integer order_num = null;
    @JsonIgnore
    protected boolean isset_order_num = false;
 
    private String path = null;
    @JsonIgnore
    protected boolean isset_path = false;
 
    private String component = null;
    @JsonIgnore
    protected boolean isset_component = false;
 
    private String query = null;
    @JsonIgnore
    protected boolean isset_query = false;
 
    private Integer is_frame = null;
    @JsonIgnore
    protected boolean isset_is_frame = false;
 
    private Integer is_cache = null;
    @JsonIgnore
    protected boolean isset_is_cache = false;
 
    private String menu_type = null;
    @JsonIgnore
    protected boolean isset_menu_type = false;
 
    private String visible = null;
    @JsonIgnore
    protected boolean isset_visible = false;
 
    private Integer status = null;
    @JsonIgnore
    protected boolean isset_status = false;
 
    private String perms = null;
    @JsonIgnore
    protected boolean isset_perms = false;
 
    private String icon = null;
    @JsonIgnore
    protected boolean isset_icon = false;
 
    private String remark = null;
    @JsonIgnore
    protected boolean isset_remark = false;
 
    private Integer is_show = null;
    @JsonIgnore
    protected boolean isset_is_show = false;
 
    private Integer type = null;
    @JsonIgnore
    protected boolean isset_type = false;
 
    private String icon_info = null;
    @JsonIgnore
    protected boolean isset_icon_info = false;
 
    /**
     * 默认构造函数
     */
    public S_menu() {
    }
 
    /**
     * 根据主键构造对象
     */
    public S_menu(String menu_id) {
        this.setMenu_id(menu_id);
    }
 
    /**
     * 设置主键值
     */
    @Override
    public void setPkValue(Object value) {
        this.setMenu_id((String) value);
    }
 
            public String getMenu_id() {
        return this.menu_id;
    }
    public void setMenu_id(String menu_id) {
        this.menu_id = menu_id;
        this.isset_menu_id = true;
    }
    @JsonIgnore
    public boolean isEmptyMenu_id() {
        return this.menu_id == null || this.menu_id.length() == 0;
    }
 
 
    public String getMenu_name() {
        return this.menu_name;
    }
    public void setMenu_name(String menu_name) {
        this.menu_name = menu_name;
        this.isset_menu_name = true;
            }
    @JsonIgnore
    public boolean isEmptyMenu_name() {
        return this.menu_name == null || this.menu_name.length() == 0;
    }
 
 
    public String getParent_id() {
        return this.parent_id;
    }
    public void setParent_id(String parent_id) {
        this.parent_id = parent_id;
        this.isset_parent_id = true;
            }
    @JsonIgnore
    public boolean isEmptyParent_id() {
        return this.parent_id == null || this.parent_id.length() == 0;
    }
 
 
    public Integer getOrder_num() {
        return this.order_num;
    }
    public void setOrder_num(Integer order_num) {
        this.order_num = order_num;
        this.isset_order_num = true;
            }
    @JsonIgnore
    public boolean isEmptyOrder_num() {
        return this.order_num == null;
    }
 
 
    public String getPath() {
        return this.path;
    }
    public void setPath(String path) {
        this.path = path;
        this.isset_path = true;
            }
    @JsonIgnore
    public boolean isEmptyPath() {
        return this.path == null || this.path.length() == 0;
    }
 
 
    public String getComponent() {
        return this.component;
    }
    public void setComponent(String component) {
        this.component = component;
        this.isset_component = true;
            }
    @JsonIgnore
    public boolean isEmptyComponent() {
        return this.component == null || this.component.length() == 0;
    }
 
 
    public String getQuery() {
        return this.query;
    }
    public void setQuery(String query) {
        this.query = query;
        this.isset_query = true;
            }
    @JsonIgnore
    public boolean isEmptyQuery() {
        return this.query == null || this.query.length() == 0;
    }
 
 
    public Integer getIs_frame() {
        return this.is_frame;
    }
    public void setIs_frame(Integer is_frame) {
        this.is_frame = is_frame;
        this.isset_is_frame = true;
            }
    @JsonIgnore
    public boolean isEmptyIs_frame() {
        return this.is_frame == null;
    }
 
 
    public Integer getIs_cache() {
        return this.is_cache;
    }
    public void setIs_cache(Integer is_cache) {
        this.is_cache = is_cache;
        this.isset_is_cache = true;
            }
    @JsonIgnore
    public boolean isEmptyIs_cache() {
        return this.is_cache == null;
    }
 
 
    public String getMenu_type() {
        return this.menu_type;
    }
    public void setMenu_type(String menu_type) {
        this.menu_type = menu_type;
        this.isset_menu_type = true;
            }
    @JsonIgnore
    public boolean isEmptyMenu_type() {
        return this.menu_type == null || this.menu_type.length() == 0;
    }
 
 
    public String getVisible() {
        return this.visible;
    }
    public void setVisible(String visible) {
        this.visible = visible;
        this.isset_visible = true;
            }
    @JsonIgnore
    public boolean isEmptyVisible() {
        return this.visible == null || this.visible.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 getPerms() {
        return this.perms;
    }
    public void setPerms(String perms) {
        this.perms = perms;
        this.isset_perms = true;
            }
    @JsonIgnore
    public boolean isEmptyPerms() {
        return this.perms == null || this.perms.length() == 0;
    }
 
 
    public String getIcon() {
        return this.icon;
    }
    public void setIcon(String icon) {
        this.icon = icon;
        this.isset_icon = true;
            }
    @JsonIgnore
    public boolean isEmptyIcon() {
        return this.icon == null || this.icon.length() == 0;
    }
 
 
    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;
    }
 
 
    public Integer getIs_show() {
        return this.is_show;
    }
    public void setIs_show(Integer is_show) {
        this.is_show = is_show;
        this.isset_is_show = true;
            }
    @JsonIgnore
    public boolean isEmptyIs_show() {
        return this.is_show == null;
    }
 
 
    public Integer getType() {
        return this.type;
    }
    public void setType(Integer type) {
        this.type = type;
        this.isset_type = true;
            }
    @JsonIgnore
    public boolean isEmptyType() {
        return this.type == null;
    }
 
 
    public String getIcon_info() {
        return this.icon_info;
    }
    public void setIcon_info(String icon_info) {
        this.icon_info = icon_info;
        this.isset_icon_info = true;
            }
    @JsonIgnore
    public boolean isEmptyIcon_info() {
        return this.icon_info == null || this.icon_info.length() == 0;
    }
 
 
    /**
     * 重写 toString() 方法
     */
    @Override
    public String toString() {
        return new StringBuilder()
                .append("menu_id=").append(this.menu_id)
                .append("menu_name=").append(this.menu_name)
                .append("parent_id=").append(this.parent_id)
                .append("order_num=").append(this.order_num)
                .append("path=").append(this.path)
                .append("component=").append(this.component)
                .append("query=").append(this.query)
                .append("is_frame=").append(this.is_frame)
                .append("is_cache=").append(this.is_cache)
                .append("menu_type=").append(this.menu_type)
                .append("visible=").append(this.visible)
                .append("status=").append(this.status)
                .append("perms=").append(this.perms)
                .append("icon=").append(this.icon)
                .append("remark=").append(this.remark)
                .append("is_show=").append(this.is_show)
                .append("type=").append(this.type)
                .append("icon_info=").append(this.icon_info)
                .toString();
    }
 
    /**
     * 克隆
     */
    public S_menu $clone() {
        S_menu s_menu = new S_menu();
 
        // 数据库名称
        //s_menu.setDatabaseName_(this.getDatabaseName_());
 
        // 主键
        if (this.isset_menu_id) {
            s_menu.setMenu_id(this.getMenu_id());
        }
        // 普通属性
        if (this.isset_menu_name) {
            s_menu.setMenu_name(this.getMenu_name());
        }
        if (this.isset_parent_id) {
            s_menu.setParent_id(this.getParent_id());
        }
        if (this.isset_order_num) {
            s_menu.setOrder_num(this.getOrder_num());
        }
        if (this.isset_path) {
            s_menu.setPath(this.getPath());
        }
        if (this.isset_component) {
            s_menu.setComponent(this.getComponent());
        }
        if (this.isset_query) {
            s_menu.setQuery(this.getQuery());
        }
        if (this.isset_is_frame) {
            s_menu.setIs_frame(this.getIs_frame());
        }
        if (this.isset_is_cache) {
            s_menu.setIs_cache(this.getIs_cache());
        }
        if (this.isset_menu_type) {
            s_menu.setMenu_type(this.getMenu_type());
        }
        if (this.isset_visible) {
            s_menu.setVisible(this.getVisible());
        }
        if (this.isset_status) {
            s_menu.setStatus(this.getStatus());
        }
        if (this.isset_perms) {
            s_menu.setPerms(this.getPerms());
        }
        if (this.isset_icon) {
            s_menu.setIcon(this.getIcon());
        }
        if (this.isset_remark) {
            s_menu.setRemark(this.getRemark());
        }
        if (this.isset_is_show) {
            s_menu.setIs_show(this.getIs_show());
        }
        if (this.isset_type) {
            s_menu.setType(this.getType());
        }
        if (this.isset_icon_info) {
            s_menu.setIcon_info(this.getIcon_info());
        }
        return s_menu;
    }
}