jyy
2021-01-26 ab2879bbcb846256cc182198b9c04e50fbc276c1
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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
package com.matrix.system.common.bean;
 
import com.matrix.core.anotations.Extend;
import com.matrix.core.pojo.EntityDTO;
 
import java.util.ArrayList;
import java.util.List;
 
/**
 * 功能实体
 * @author JIANGYOUYAO
 * @email 935090232@qq.com
 * @date 2017年12月3日
 */
public class SysFunction extends EntityDTO {
 
    @Extend
    private static final long serialVersionUID = 1L;
 
    private Long fnId;
 
    private String fnIcon;
 
    private String fnPath;
 
    /**
     * 是禁用吗
     */
    private String fnIsDisable;
 
    /**
     * 功能等级
     */
    private Integer fnGrade;
 
    /**
     * 父级功能
     */
    private Long fnParentId;
 
    private String fnName;
 
    /**
     * 排序字段
     */
    private Integer fnSequence;
 
    /**
     * 功能code
     */
    private String fnCode;
 
    /**
     * 是在菜单栏显示吗
     */
    private String fnShowMenu;
    
 
    /**
     * 功能对应的按钮集合
     */
    private List<SysFnBtnRel> sysFnBtnRel;
    
    
    private String fnBtns;
    
    /**
     * 功能的子功能
     */
    @Extend
    private List<SysFunction> childs;
    
    /**
     * 在权限分配时用于标记是否拥有该项功能
     */
    @Extend
    private boolean hasThisFn = false;
 
    /**
     * 角色所拥有的功能按钮
     */
    @Extend
    private String rpfBns;
    
 
    public String getFnBtns() {
        return fnBtns;
    }
 
    public void setFnBtns(String fnBtns) {
        this.fnBtns = fnBtns;
    }
 
    public String getRpfBns() {
        return rpfBns;
    }
 
    public void setRpfBns(String rpfBns) {
        this.rpfBns = rpfBns;
    }
 
    public List<SysFnBtnRel> getSysFnBtnRel() {
        return sysFnBtnRel;
    }
 
    public void setSysFnBtnRel(List<SysFnBtnRel> sysFnBtnRel) {
        this.sysFnBtnRel = sysFnBtnRel;
    }
 
    public boolean getHasThisFn() {
        return hasThisFn;
    }
 
    public void setHasThisFn(boolean hasThisFn) {
        this.hasThisFn = hasThisFn;
    }
 
    public List<SysFunction> getChilds() {
        return childs;
    }
 
    public void setChilds(List<SysFunction> childs) {
        this.childs = childs;
    }
 
    public String getFnShowMenu() {
        return fnShowMenu;
    }
 
    public void setFnShowMenu(String fnShowMenu) {
        this.fnShowMenu = fnShowMenu;
    }
 
    public Long getFnId() {
        return fnId;
    }
 
    public void setFnId(Long fnId) {
        this.fnId = fnId;
    }
 
    public String getFnIcon() {
        return fnIcon;
    }
 
    public void setFnIcon(String fnIcon) {
        this.fnIcon = fnIcon;
    }
 
    public String getFnPath() {
        return fnPath;
    }
 
    public void setFnPath(String fnPath) {
        this.fnPath = fnPath;
    }
 
    public String getFnIsDisable() {
        return fnIsDisable;
    }
 
    public void setFnIsDisable(String fnIsDisable) {
        this.fnIsDisable = fnIsDisable;
    }
 
    public Integer getFnGrade() {
        return fnGrade;
    }
 
    public void setFnGrade(Integer fnGrade) {
        this.fnGrade = fnGrade;
    }
 
    public Long getFnParentId() {
        return fnParentId;
    }
 
    public void setFnParentId(Long fnParentId) {
        this.fnParentId = fnParentId;
    }
 
    public String getFnName() {
        return fnName;
    }
 
    public void setFnName(String fnName) {
        this.fnName = fnName;
    }
 
    public Integer getFnSequence() {
        return fnSequence;
    }
 
    public void setFnSequence(Integer fnSequence) {
        this.fnSequence = fnSequence;
    }
 
    public String getFnCode() {
        return fnCode;
    }
 
    public void setFnCode(String fnCode) {
        this.fnCode = fnCode;
    }
 
}