935090232@qq.com
2021-10-06 e7eea688585603c5a8f134d92762e8431d885d36
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
package com.matrix.system.common.bean;
 
import com.matrix.core.anotations.Extend;
import com.matrix.core.pojo.EntityDTO;
 
import java.util.List;
 
/**
 * 角色类
 *
 * @author JIANGYOUYAO
 * @email 935090232@qq.com
 * @date 2017年12月3日
 */
public class SysRole extends EntityDTO {
 
    /**
     * 默认角色
     */
    public static final int DEFAULT = 1;
    /**
     * 非默认角色
     */
    public static final int NOT_DEFAULT = 2;
 
    /**
     * 门店可分配角色
     */
    public static final int SHOP_ABLE = 1;
    /**
     * 门店不可分配角色
     */
    public static final int SHOP_UNABLE = 2;
 
    @Extend
    private static final long serialVersionUID = 1L;
 
    private Long roleId;
 
    private String roleName;
 
    private String roleRemark;
 
    private Long companyId;
 
    /**
     * 是否为默认角色
     */
    private Integer isDefault;
 
    /**
     * 是否门店可以分配
     */
    private Integer shopAble;
 
    /**
     * 角色所拥有的平台
     */
    private String plates;
 
    /**
     * 所有客户权限
     */
    private String customer;
 
    /**
     * 功能集合
     */
    @Extend
    private List<SysFunction> fnList;
 
    /**
     * 按钮
     */
    @Extend
    private String btnKeys;
 
    /**
     * 菜单
     */
    @Extend
    private String menuKeys;
 
    public String getCustomer() {
        return customer;
    }
 
    public void setCustomer(String customer) {
        this.customer = customer;
    }
 
    public Integer getIsDefault() {
        return isDefault;
    }
 
    public void setIsDefault(Integer isDefault) {
        this.isDefault = isDefault;
    }
 
    public List<SysFunction> getFnList() {
        return fnList;
    }
 
    public void setFnList(List<SysFunction> fnList) {
        this.fnList = fnList;
    }
 
    public Long getRoleId() {
        return roleId;
    }
 
    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }
 
    public String getRoleName() {
        return roleName;
    }
 
    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }
 
    public String getRoleRemark() {
        return roleRemark;
    }
 
    public void setRoleRemark(String roleRemark) {
        this.roleRemark = roleRemark;
    }
 
    public Long getCompanyId() {
        return companyId;
    }
 
    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }
 
    public String getPlates() {
        return plates;
    }
 
    public void setPlates(String plates) {
        this.plates = plates;
    }
 
    public String getBtnKeys() {
        return btnKeys;
    }
 
    public void setBtnKeys(String btnKeys) {
        this.btnKeys = btnKeys;
    }
 
    public String getMenuKeys() {
        return menuKeys;
    }
 
    public void setMenuKeys(String menuKeys) {
        this.menuKeys = menuKeys;
    }
 
    public Integer getShopAble() {
        return shopAble;
    }
 
    public void setShopAble(Integer shopAble) {
        this.shopAble = shopAble;
    }
 
    @Override
    public String toString() {
        return "{SysRole:{" + "roleId:" + roleId + "," + "roleName:" + roleName + "," + "roleRemark:" + roleRemark + ","
                + "companyId:" + companyId + "," + "plates:" + plates + "," + "}}";
    }
 
}