医院废弃物信息化管理平台
“mitao”
2026-04-21 2f18b3a28054c3917010f95ba84f7425280a2622
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
package cn.besteam.modules.system.vo;
 
import cn.besteam.modules.system.entity.SysPermission;
import lombok.Data;
 
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
 
@Data
public class SysPermissionTree implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * id
     */
    private Integer id;
 
    private Integer key;
 
    private String title;
 
    /**
     * 父id
     */
    private Integer parentId;
 
    /**
     * 菜单名称
     */
    private String name;
 
    /**
     * 菜单权限编码
     */
    private String perms;
 
    /**
     * 权限策略1显示2禁用
     */
    private String permsType;
 
    /**
     * 菜单图标
     */
    private String icon;
 
    /**
     * 组件
     */
    private String component;
 
    /**
     * 跳转网页链接
     */
    private String url;
 
    /**
     * 一级菜单跳转地址
     */
    private String redirect;
 
    /**
     * 菜单排序
     */
    private Double sortNo;
 
    /**
     * 类型(0:一级菜单;1:子菜单 ;2:按钮权限)
     */
    private Integer menuType;
 
    /**
     * 是否叶子节点: 1:是 0:不是
     */
    private Boolean isLeaf;
 
    /**
     * 是否路由菜单: 0:不是  1:是(默认值1)
     */
    private Boolean isRoute;
 
    /**
     * 是否路缓存页面: 0:不是  1:是(默认值1)
     */
    private Boolean keepAlive;
 
    /**
     * 描述
     */
    private String description;
 
    /**
     * 删除状态 0正常 1已删除
     */
    private Integer delFlag;
 
    /**
     * 创建人
     */
    private Integer createBy;
 
    /**
     * 创建时间
     */
    private Date createTime;
 
    /**
     * 更新人
     */
    private Integer updateBy;
 
    /**
     * 更新时间
     */
    private Date updateTime;
 
    /**
     * alwaysShow
     */
    private Boolean alwaysShow;
 
    /**
     * 是否隐藏路由菜单: 0否,1是(默认值0)
     */
    private Boolean hidden;
 
    /**
     * 按钮权限状态(0无效1有效)
     */
    private String status;
 
    /*update_begin author:wuxianquan date:20190908 for:model增加字段 */
 
    /**
     * 外链菜单打开方式 0/内部打开 1/外部打开
     */
    private Boolean internalOrExternal;
 
    /*update_end author:wuxianquan date:20190908 for:model增加字段 */
    private List<SysPermissionTree> children;
 
    public SysPermissionTree() {
 
    }
 
    public SysPermissionTree(SysPermission permission) {
 
        this.key = permission.getId();
        this.id = permission.getId();
        this.perms = permission.getPerms();
        this.permsType = permission.getPermsType();
        this.component = permission.getComponent();
        this.createBy = permission.getCreateBy();
        this.createTime = permission.getCreateTime();
        this.delFlag = permission.getDelFlag();
        this.description = permission.getDescription();
        this.icon = permission.getIcon();
        this.isLeaf = permission.getIsLeaf();
        this.menuType = permission.getMenuType();
        this.name = permission.getName();
        this.parentId = permission.getParentId();
        this.sortNo = permission.getSortNo();
        this.updateBy = permission.getUpdateBy();
        this.updateTime = permission.getUpdateTime();
        this.redirect = permission.getRedirect();
        this.url = permission.getUrl();
        this.hidden = permission.getHidden();
        this.isRoute = permission.getIsRoute();
        this.keepAlive = permission.getKeepAlive();
        this.alwaysShow = permission.getAlwaysShow();
        /*update_begin author:wuxianquan date:20190908 for:赋值 */
        this.internalOrExternal = permission.getInternalOrExternal();
        /*update_end author:wuxianquan date:20190908 for:赋值 */
        this.title = permission.getName();
        if (!permission.getIsLeaf()) {
            this.children = new ArrayList<SysPermissionTree>();
        }
        this.status = permission.getStatus();
    }
 
}