RoleEnum.java 476 Bytes
Newer Older
manxiaoqiang committed
1
package dic;
manxiaoqiang committed
2 3 4 5 6 7 8 9

/**
 * Created by sunhao on 17/8/1.
 * desc:app平台类型
 */
public enum RoleEnum {

    MANAGER(1L,"管理员"),
manxiaoqiang committed
10 11
    NORTH_BUSSINUSS(2L,"北区商务"),
    SOUTH_BUSSINUSS(3L,"南区商务");
manxiaoqiang committed
12

manxiaoqiang committed
13

manxiaoqiang committed
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
    private Long key;
    private String value;

    RoleEnum(Long key, String value) {
        this.key = key;
        this.value = value;
    }

    public Long getKey() {
        return key;
    }

    public String getValue() {
        return value;
    }

}