feat(REQ-3010): SaasPositionEnum调整
cn.axzo.tyr.client.common.enums.SaasPositionEnum
This commit is contained in:
parent
b1c3989166
commit
517adacc78
@ -11,12 +11,12 @@ import lombok.Getter;
|
||||
* @date 2022/7/4 10:51
|
||||
*/
|
||||
public enum SaasPositionEnum {
|
||||
PLAT_TEAM_OWNER("plat_teamowner", "平台级班组长"),
|
||||
PLAT_ACTING_MONITOR("plat_actingmonitor", "班组管理员"),
|
||||
PLAT_GROUP_LEADER("plat_groupleader", "平台级小组长"),
|
||||
WORKSPACE_TEAM_OWNER("workspace_teamowner", "工作台级班组长"),
|
||||
WORKSPACE_ACTING_MONITOR("workspace_actingmonitor", "工作台级代班长"),
|
||||
WORKSPACE_GROUP_LEADER("workspace_groupleader", "工作台级小组长"),;
|
||||
PLAT_TEAM_OWNER("plat_teamowner", "平台级班组长", 8),
|
||||
PLAT_ACTING_MONITOR("plat_actingmonitor", "班组管理员", 8),
|
||||
PLAT_GROUP_LEADER("plat_groupleader", "平台级小组长", 8),
|
||||
WORKSPACE_TEAM_OWNER("workspace_teamowner", "工作台级班组长", 9),
|
||||
WORKSPACE_ACTING_MONITOR("workspace_actingmonitor", "工作台级代班长", 9),
|
||||
WORKSPACE_GROUP_LEADER("workspace_groupleader", "工作台级小组长", 9),;
|
||||
|
||||
@Getter
|
||||
@EnumValue
|
||||
@ -26,9 +26,13 @@ public enum SaasPositionEnum {
|
||||
@Getter
|
||||
private final String desc;
|
||||
|
||||
SaasPositionEnum(String value, String desc) {
|
||||
@Getter
|
||||
private final Integer productUnitType;
|
||||
|
||||
SaasPositionEnum(String value, String desc, Integer productUnitType) {
|
||||
this.code = value;
|
||||
this.desc = desc;
|
||||
this.productUnitType = productUnitType;
|
||||
}
|
||||
|
||||
public static SaasPositionEnum getValueByCode(String code) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user