#
luxiaotao1123
2024-02-16 9589e0e1bfd14f2297563fa9a9b3bdcbc7723b74
zy-asrs-wcs/src/main/java/com/zy/asrs/wcs/sys/entity/Menu.java
@@ -1,9 +1,6 @@
package com.zy.asrs.wcs.sys.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
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;
@@ -71,6 +68,12 @@
    private String route;
    /**
     * 页面组件
     */
    @ApiModelProperty(value= "页面组件")
    private String component;
    /**
     * 简述
     */
    @ApiModelProperty(value= "简述")
@@ -128,6 +131,7 @@
     * 是否删除 1: 是  0: 否  
     */
    @ApiModelProperty(value= "是否删除 1: 是  0: 否  ")
    @TableLogic
    private Integer deleted;
    /**
@@ -167,13 +171,14 @@
    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;
@@ -191,7 +196,7 @@
        this.memo = memo;
    }
//    Menu menu = new Menu(
    //    Menu menu = new Menu(
//            null,    // 名称[非空]
//            null,    // 上级菜单
//            null,    // 上级菜单名