feat(REQ-2186): 字典表增加政务类型workspaceType
This commit is contained in:
parent
edba988a3e
commit
8eec7f15fc
@ -2,6 +2,7 @@ package cn.axzo.tyr.client.model.enums;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.EnumValue;
|
||||
import com.fasterxml.jackson.annotation.JsonValue;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
import java.util.Arrays;
|
||||
@ -13,27 +14,30 @@ import java.util.Arrays;
|
||||
* @modifiedBy:
|
||||
* @version: 1.0
|
||||
*/
|
||||
@AllArgsConstructor
|
||||
public enum DictWorkSpaceTypeEnum {
|
||||
|
||||
/**
|
||||
* 企业工作台
|
||||
*/
|
||||
ENT("ent", "企业工作台", 7,1),
|
||||
ENT("ent", "企业工作台", 7,1, "单位租户"),
|
||||
|
||||
/**
|
||||
* 项目部工作台
|
||||
*/
|
||||
PROJ("proj", "项目部工作台",1,2),
|
||||
PROJ("proj", "项目部工作台",1,2, "项目租户"),
|
||||
|
||||
GOVERNMENT("gov", "政务监管平台",3,3, "政务监管平台"),
|
||||
|
||||
/**
|
||||
* OMS工作台
|
||||
*/
|
||||
OMS("oms", "OMS工作台",6,6),
|
||||
OMS("oms", "OMS工作台",6,6, "OMS"),
|
||||
|
||||
/**
|
||||
* 班组工作台
|
||||
*/
|
||||
TEAM("team","班组工作台",0,0)
|
||||
TEAM("team","班组工作台",0,0, "")
|
||||
;
|
||||
|
||||
@EnumValue
|
||||
@ -46,6 +50,8 @@ public enum DictWorkSpaceTypeEnum {
|
||||
private final Integer superAdminProductType;
|
||||
@Getter
|
||||
private final Integer workspaceType;
|
||||
@Getter
|
||||
private final String tenantScopeDesc;
|
||||
|
||||
|
||||
public String getValue() {
|
||||
@ -56,13 +62,6 @@ public enum DictWorkSpaceTypeEnum {
|
||||
return description;
|
||||
}
|
||||
|
||||
DictWorkSpaceTypeEnum(String value, String description, Integer superAdminProductType, Integer workspaceType) {
|
||||
this.value = value;
|
||||
this.description = description;
|
||||
this.superAdminProductType = superAdminProductType;
|
||||
this.workspaceType = workspaceType;
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过value值获取枚举类型
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user