提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.gen.core.generator.guns.sqls; |
懒 |
2 |
|
|
3 |
import cn.hutool.core.date.DateUtil; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import java.util.Date; |
|
7 |
|
|
8 |
/** |
|
9 |
* 菜单的实体 |
|
10 |
* |
|
11 |
* @author fengshuonan |
|
12 |
* @date 2019-01-19-4:18 PM |
|
13 |
*/ |
|
14 |
@Data |
|
15 |
public class MenuModel { |
|
16 |
|
|
17 |
/** |
|
18 |
* 主键id |
|
19 |
*/ |
|
20 |
private Long menuId; |
|
21 |
|
|
22 |
/** |
|
23 |
* 菜单编号 |
|
24 |
*/ |
|
25 |
private String code; |
|
26 |
|
|
27 |
/** |
|
28 |
* 菜单父编号 |
|
29 |
*/ |
|
30 |
private String pcode; |
|
31 |
|
|
32 |
/** |
|
33 |
* 当前菜单的所有父菜单编号 |
|
34 |
*/ |
|
35 |
private String pcodes; |
|
36 |
|
|
37 |
/** |
|
38 |
* 菜单名称 |
|
39 |
*/ |
|
40 |
private String name; |
|
41 |
|
|
42 |
/** |
|
43 |
* 菜单图标 |
|
44 |
*/ |
|
45 |
private String icon; |
|
46 |
|
|
47 |
/** |
|
48 |
* url地址 |
|
49 |
*/ |
|
50 |
private String url = ""; |
|
51 |
|
|
52 |
/** |
|
53 |
* 菜单排序号 |
|
54 |
*/ |
|
55 |
private Integer sort; |
|
56 |
|
|
57 |
/** |
|
58 |
* 菜单层级 |
|
59 |
*/ |
|
60 |
private Integer levels; |
|
61 |
|
|
62 |
/** |
|
63 |
* 是否是菜单(字典) |
|
64 |
*/ |
|
65 |
private String menuFlag; |
|
66 |
|
|
67 |
/** |
|
68 |
* 备注 |
|
69 |
*/ |
|
70 |
private String description = ""; |
|
71 |
|
|
72 |
/** |
|
73 |
* 菜单状态(字典) |
|
74 |
*/ |
|
75 |
private String status = "ENABLE"; |
|
76 |
|
|
77 |
/** |
|
78 |
* 是否打开新页面的标识(字典) |
|
79 |
*/ |
|
80 |
private String newPageFlag = ""; |
|
81 |
|
|
82 |
/** |
|
83 |
* 是否打开(字典) |
|
84 |
*/ |
|
85 |
private String openFlag = ""; |
|
86 |
|
|
87 |
/** |
|
88 |
* 系统分类(字典) |
|
89 |
*/ |
|
90 |
private String systemType = ""; |
|
91 |
|
|
92 |
/** |
|
93 |
* 创建时间(默认当前时间) |
|
94 |
*/ |
|
95 |
private String createTime = DateUtil.formatDateTime(new Date()); |
|
96 |
|
|
97 |
/** |
|
98 |
* 修改时间 |
|
99 |
*/ |
|
100 |
private String updateTime = DateUtil.formatDateTime(new Date()); |
|
101 |
|
|
102 |
/** |
|
103 |
* 创建人(默认管理员) |
|
104 |
*/ |
|
105 |
private Long createUser = 1L; |
|
106 |
|
|
107 |
/** |
|
108 |
* 修改人 |
|
109 |
*/ |
|
110 |
private Long updateUser = 1L; |
|
111 |
|
|
112 |
} |