提交 | 用户 | 时间
|
1ac2bc
|
1 |
package cn.stylefeng.guns.sys.modular.rest.entity; |
懒 |
2 |
|
|
3 |
import com.baomidou.mybatisplus.annotation.*; |
|
4 |
import lombok.Data; |
|
5 |
|
|
6 |
import java.io.Serializable; |
|
7 |
import java.util.Date; |
|
8 |
|
|
9 |
/** |
|
10 |
* <p> |
|
11 |
* 菜单表 |
|
12 |
* </p> |
|
13 |
* |
|
14 |
* @author stylefeng |
|
15 |
* @since 2019-04-01 |
|
16 |
*/ |
|
17 |
@TableName("sys_menu") |
|
18 |
@Data |
|
19 |
public class RestMenu implements Serializable { |
|
20 |
|
|
21 |
private static final long serialVersionUID = 1L; |
|
22 |
|
|
23 |
/** |
|
24 |
* 主键id |
|
25 |
*/ |
|
26 |
@TableId(value = "menu_id", type = IdType.ID_WORKER) |
|
27 |
private Long menuId; |
|
28 |
|
|
29 |
public static long getSerialVersionUID() { |
|
30 |
return serialVersionUID; |
|
31 |
} |
|
32 |
|
|
33 |
public Long getMenuId() { |
|
34 |
return menuId; |
|
35 |
} |
|
36 |
|
|
37 |
public void setMenuId(Long menuId) { |
|
38 |
this.menuId = menuId; |
|
39 |
} |
|
40 |
|
|
41 |
public String getCode() { |
|
42 |
return code; |
|
43 |
} |
|
44 |
|
|
45 |
public void setCode(String code) { |
|
46 |
this.code = code; |
|
47 |
} |
|
48 |
|
|
49 |
public String getPcode() { |
|
50 |
return pcode; |
|
51 |
} |
|
52 |
|
|
53 |
public void setPcode(String pcode) { |
|
54 |
this.pcode = pcode; |
|
55 |
} |
|
56 |
|
|
57 |
public String getPcodes() { |
|
58 |
return pcodes; |
|
59 |
} |
|
60 |
|
|
61 |
public void setPcodes(String pcodes) { |
|
62 |
this.pcodes = pcodes; |
|
63 |
} |
|
64 |
|
|
65 |
public String getName() { |
|
66 |
return name; |
|
67 |
} |
|
68 |
|
|
69 |
public void setName(String name) { |
|
70 |
this.name = name; |
|
71 |
} |
|
72 |
|
|
73 |
public String getIcon() { |
|
74 |
return icon; |
|
75 |
} |
|
76 |
|
|
77 |
public void setIcon(String icon) { |
|
78 |
this.icon = icon; |
|
79 |
} |
|
80 |
|
|
81 |
public String getUrl() { |
|
82 |
return url; |
|
83 |
} |
|
84 |
|
|
85 |
public void setUrl(String url) { |
|
86 |
this.url = url; |
|
87 |
} |
|
88 |
|
|
89 |
public Integer getSort() { |
|
90 |
return sort; |
|
91 |
} |
|
92 |
|
|
93 |
public void setSort(Integer sort) { |
|
94 |
this.sort = sort; |
|
95 |
} |
|
96 |
|
|
97 |
public Integer getLevels() { |
|
98 |
return levels; |
|
99 |
} |
|
100 |
|
|
101 |
public void setLevels(Integer levels) { |
|
102 |
this.levels = levels; |
|
103 |
} |
|
104 |
|
|
105 |
public String getMenuFlag() { |
|
106 |
return menuFlag; |
|
107 |
} |
|
108 |
|
|
109 |
public void setMenuFlag(String menuFlag) { |
|
110 |
this.menuFlag = menuFlag; |
|
111 |
} |
|
112 |
|
|
113 |
public String getDescription() { |
|
114 |
return description; |
|
115 |
} |
|
116 |
|
|
117 |
public void setDescription(String description) { |
|
118 |
this.description = description; |
|
119 |
} |
|
120 |
|
|
121 |
public String getStatus() { |
|
122 |
return status; |
|
123 |
} |
|
124 |
|
|
125 |
public void setStatus(String status) { |
|
126 |
this.status = status; |
|
127 |
} |
|
128 |
|
|
129 |
public String getNewPageFlag() { |
|
130 |
return newPageFlag; |
|
131 |
} |
|
132 |
|
|
133 |
public void setNewPageFlag(String newPageFlag) { |
|
134 |
this.newPageFlag = newPageFlag; |
|
135 |
} |
|
136 |
|
|
137 |
public String getOpenFlag() { |
|
138 |
return openFlag; |
|
139 |
} |
|
140 |
|
|
141 |
public void setOpenFlag(String openFlag) { |
|
142 |
this.openFlag = openFlag; |
|
143 |
} |
|
144 |
|
|
145 |
public String getSystemType() { |
|
146 |
return systemType; |
|
147 |
} |
|
148 |
|
|
149 |
public void setSystemType(String systemType) { |
|
150 |
this.systemType = systemType; |
|
151 |
} |
|
152 |
|
|
153 |
public Date getCreateTime() { |
|
154 |
return createTime; |
|
155 |
} |
|
156 |
|
|
157 |
public void setCreateTime(Date createTime) { |
|
158 |
this.createTime = createTime; |
|
159 |
} |
|
160 |
|
|
161 |
public Date getUpdateTime() { |
|
162 |
return updateTime; |
|
163 |
} |
|
164 |
|
|
165 |
public void setUpdateTime(Date updateTime) { |
|
166 |
this.updateTime = updateTime; |
|
167 |
} |
|
168 |
|
|
169 |
public Long getCreateUser() { |
|
170 |
return createUser; |
|
171 |
} |
|
172 |
|
|
173 |
public void setCreateUser(Long createUser) { |
|
174 |
this.createUser = createUser; |
|
175 |
} |
|
176 |
|
|
177 |
public Long getUpdateUser() { |
|
178 |
return updateUser; |
|
179 |
} |
|
180 |
|
|
181 |
public void setUpdateUser(Long updateUser) { |
|
182 |
this.updateUser = updateUser; |
|
183 |
} |
|
184 |
|
|
185 |
/** |
|
186 |
* 菜单编号 |
|
187 |
*/ |
|
188 |
@TableField("code") |
|
189 |
private String code; |
|
190 |
|
|
191 |
/** |
|
192 |
* 菜单父编号 |
|
193 |
*/ |
|
194 |
@TableField("pcode") |
|
195 |
private String pcode; |
|
196 |
|
|
197 |
/** |
|
198 |
* 当前菜单的所有父菜单编号 |
|
199 |
*/ |
|
200 |
@TableField("pcodes") |
|
201 |
private String pcodes; |
|
202 |
|
|
203 |
/** |
|
204 |
* 菜单名称 |
|
205 |
*/ |
|
206 |
@TableField("name") |
|
207 |
private String name; |
|
208 |
|
|
209 |
/** |
|
210 |
* 菜单图标 |
|
211 |
*/ |
|
212 |
@TableField("icon") |
|
213 |
private String icon; |
|
214 |
|
|
215 |
/** |
|
216 |
* url地址 |
|
217 |
*/ |
|
218 |
@TableField("url") |
|
219 |
private String url; |
|
220 |
|
|
221 |
/** |
|
222 |
* 菜单排序号 |
|
223 |
*/ |
|
224 |
@TableField("sort") |
|
225 |
private Integer sort; |
|
226 |
|
|
227 |
/** |
|
228 |
* 菜单层级 |
|
229 |
*/ |
|
230 |
@TableField("levels") |
|
231 |
private Integer levels; |
|
232 |
|
|
233 |
/** |
|
234 |
* 是否是菜单(字典) |
|
235 |
*/ |
|
236 |
@TableField("menu_flag") |
|
237 |
private String menuFlag; |
|
238 |
|
|
239 |
/** |
|
240 |
* 备注 |
|
241 |
*/ |
|
242 |
@TableField("description") |
|
243 |
private String description; |
|
244 |
|
|
245 |
/** |
|
246 |
* 菜单状态(字典) |
|
247 |
*/ |
|
248 |
@TableField("status") |
|
249 |
private String status; |
|
250 |
|
|
251 |
/** |
|
252 |
* 是否打开新页面的标识(字典) |
|
253 |
*/ |
|
254 |
@TableField("new_page_flag") |
|
255 |
private String newPageFlag; |
|
256 |
|
|
257 |
/** |
|
258 |
* 是否打开(字典) |
|
259 |
*/ |
|
260 |
@TableField("open_flag") |
|
261 |
private String openFlag; |
|
262 |
|
|
263 |
/** |
|
264 |
* 系统分类(字典) |
|
265 |
*/ |
|
266 |
@TableField("system_type") |
|
267 |
private String systemType; |
|
268 |
|
|
269 |
/** |
|
270 |
* 创建时间 |
|
271 |
*/ |
|
272 |
@TableField(value = "create_time", fill = FieldFill.INSERT) |
|
273 |
private Date createTime; |
|
274 |
|
|
275 |
/** |
|
276 |
* 修改时间 |
|
277 |
*/ |
|
278 |
@TableField(value = "update_time", fill = FieldFill.UPDATE) |
|
279 |
private Date updateTime; |
|
280 |
|
|
281 |
/** |
|
282 |
* 创建人 |
|
283 |
*/ |
|
284 |
@TableField(value = "create_user", fill = FieldFill.INSERT) |
|
285 |
private Long createUser; |
|
286 |
|
|
287 |
/** |
|
288 |
* 修改人 |
|
289 |
*/ |
|
290 |
@TableField(value = "update_user", fill = FieldFill.UPDATE) |
|
291 |
private Long updateUser; |
|
292 |
|
|
293 |
} |