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

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

kangxiaoshan committed
9 10 11 12 13 14 15
    MANAGER(1L, "管理员"),
    NORTH_BUSSINUSS(2L, "北区商务"),
    SOUTH_BUSSINUSS(3L, "南区商务"),
    SALSEMAN(3L, "销售"),
    FINANCE(2L, "财务"),
    PM(4L, "项目经理");

manxiaoqiang committed
16

manxiaoqiang committed
17

manxiaoqiang committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
    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;
    }

}