whycxzp
2023-12-01 1d56eb9639437e76027daf25bbfa5f929df71c13
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
package com.whyc.constant;
 
/**角色*/
public enum RoleEnum {
    ADMIN(0,"管理员"),
    GROUP_LEADER(1,"维护组长"),
    GROUP_MEMBER(2,"维护组员"),
    LEADER(10,"领导");
 
    RoleEnum(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
 
    private Integer id;
    private String name;
 
    public Integer getId() {
        return id;
    }
 
    public void setId(Integer id) {
        this.id = id;
    }
 
    public String getName() {
        return name;
    }
 
    public void setName(String name) {
        this.name = name;
    }
}