| | |
| | | package com.zy.asrs.wcs.sys.entity; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | import com.zy.asrs.framework.common.Cools; |
| | | import com.zy.asrs.framework.common.SpringUtils; |
| | | import com.zy.asrs.wcs.sys.service.HostService; |
| | |
| | | import java.io.Serializable; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | @TableName("sys_menu") |
| | |
| | | */ |
| | | @ApiModelProperty(value= "路由地址") |
| | | private String route; |
| | | |
| | | /** |
| | | * 页面组件 |
| | | */ |
| | | @ApiModelProperty(value= "页面组件") |
| | | private String component; |
| | | |
| | | /** |
| | | * 简述 |
| | |
| | | * 是否删除 1: 是 0: 否 |
| | | */ |
| | | @ApiModelProperty(value= "是否删除 1: 是 0: 否 ") |
| | | @TableLogic |
| | | private Integer deleted; |
| | | |
| | | /** |
| | |
| | | @ApiModelProperty(value= "备注") |
| | | private String memo; |
| | | |
| | | @TableField(exist = false) |
| | | private List<Menu> children; |
| | | |
| | | public Menu() {} |
| | | |
| | | public Menu(String name,Long parentId,String parentName,String path,String pathName,String route,String brief,String code,Integer type,String authority,String icon,Integer sort,String meta,Long hostId,Integer status,Integer deleted,Date createTime,Long createBy,Date updateTime,Long updateBy,String memo) { |
| | | public Menu(String name, Long parentId, String parentName, String path, String pathName, String route, String component, String brief, String code, Integer type, String authority, String icon, Integer sort, String meta, Long hostId, Integer status, Integer deleted, Date createTime, Long createBy, Date updateTime, Long updateBy, String memo) { |
| | | this.name = name; |
| | | this.parentId = parentId; |
| | | this.parentName = parentName; |
| | | this.path = path; |
| | | this.pathName = pathName; |
| | | this.route = route; |
| | | this.component = component; |
| | | this.brief = brief; |
| | | this.code = code; |
| | | this.type = type; |
| | |
| | | this.memo = memo; |
| | | } |
| | | |
| | | // Menu menu = new Menu( |
| | | // Menu menu = new Menu( |
| | | // null, // 名称[非空] |
| | | // null, // 上级菜单 |
| | | // null, // 上级菜单名 |