package cn.stylefeng.guns.sys.modular.rest.entity; import com.baomidou.mybatisplus.annotation.*; import lombok.Data; import java.io.Serializable; import java.util.Date; /** *

* 菜单表 *

* * @author stylefeng * @since 2019-04-01 */ @TableName("sys_menu") @Data public class RestMenu implements Serializable { private static final long serialVersionUID = 1L; /** * 主键id */ @TableId(value = "menu_id", type = IdType.ID_WORKER) private Long menuId; public static long getSerialVersionUID() { return serialVersionUID; } public Long getMenuId() { return menuId; } public void setMenuId(Long menuId) { this.menuId = menuId; } public String getCode() { return code; } public void setCode(String code) { this.code = code; } public String getPcode() { return pcode; } public void setPcode(String pcode) { this.pcode = pcode; } public String getPcodes() { return pcodes; } public void setPcodes(String pcodes) { this.pcodes = pcodes; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getIcon() { return icon; } public void setIcon(String icon) { this.icon = icon; } public String getUrl() { return url; } public void setUrl(String url) { this.url = url; } public Integer getSort() { return sort; } public void setSort(Integer sort) { this.sort = sort; } public Integer getLevels() { return levels; } public void setLevels(Integer levels) { this.levels = levels; } public String getMenuFlag() { return menuFlag; } public void setMenuFlag(String menuFlag) { this.menuFlag = menuFlag; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getStatus() { return status; } public void setStatus(String status) { this.status = status; } public String getNewPageFlag() { return newPageFlag; } public void setNewPageFlag(String newPageFlag) { this.newPageFlag = newPageFlag; } public String getOpenFlag() { return openFlag; } public void setOpenFlag(String openFlag) { this.openFlag = openFlag; } public String getSystemType() { return systemType; } public void setSystemType(String systemType) { this.systemType = systemType; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public Date getUpdateTime() { return updateTime; } public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; } public Long getCreateUser() { return createUser; } public void setCreateUser(Long createUser) { this.createUser = createUser; } public Long getUpdateUser() { return updateUser; } public void setUpdateUser(Long updateUser) { this.updateUser = updateUser; } /** * 菜单编号 */ @TableField("code") private String code; /** * 菜单父编号 */ @TableField("pcode") private String pcode; /** * 当前菜单的所有父菜单编号 */ @TableField("pcodes") private String pcodes; /** * 菜单名称 */ @TableField("name") private String name; /** * 菜单图标 */ @TableField("icon") private String icon; /** * url地址 */ @TableField("url") private String url; /** * 菜单排序号 */ @TableField("sort") private Integer sort; /** * 菜单层级 */ @TableField("levels") private Integer levels; /** * 是否是菜单(字典) */ @TableField("menu_flag") private String menuFlag; /** * 备注 */ @TableField("description") private String description; /** * 菜单状态(字典) */ @TableField("status") private String status; /** * 是否打开新页面的标识(字典) */ @TableField("new_page_flag") private String newPageFlag; /** * 是否打开(字典) */ @TableField("open_flag") private String openFlag; /** * 系统分类(字典) */ @TableField("system_type") private String systemType; /** * 创建时间 */ @TableField(value = "create_time", fill = FieldFill.INSERT) private Date createTime; /** * 修改时间 */ @TableField(value = "update_time", fill = FieldFill.UPDATE) private Date updateTime; /** * 创建人 */ @TableField(value = "create_user", fill = FieldFill.INSERT) private Long createUser; /** * 修改人 */ @TableField(value = "update_user", fill = FieldFill.UPDATE) private Long updateUser; }