添加角色标识
This commit is contained in:
@ -0,0 +1,30 @@
|
||||
package com.chinaunicom.mall.ebtp.common.constant;
|
||||
|
||||
public enum EbtpRoleEnum {
|
||||
|
||||
|
||||
PURCHASE_MANAGER("ebtp-purchase", "采购经理"),
|
||||
|
||||
AGENCY_ADMIN("ebtp-agency-admin", "代理机构管理员"),
|
||||
|
||||
AGENCY_SUB_ADMIN("ebtp-agency-sub-admin", "代理机构子管理员"),
|
||||
|
||||
AGENCY_PROJECT_MANAGER("ebtp-agency-project-manager", "代理机构项目经理"),
|
||||
|
||||
EXPERT("ebtp-expert", "专家"),
|
||||
|
||||
SUPPLIER("ebtp-supplier", "供应商");
|
||||
|
||||
|
||||
private String role;
|
||||
|
||||
private String desc;
|
||||
|
||||
private EbtpRoleEnum(String role, String desc) {
|
||||
|
||||
this.role = role;
|
||||
this.desc = desc;
|
||||
}
|
||||
|
||||
|
||||
}
|
Reference in New Issue
Block a user