|
|
|
@ -227,10 +227,13 @@ public class CommonEnumUtil {
|
|
|
|
|
/**
|
|
|
|
|
* 用户状态
|
|
|
|
|
* 1正常
|
|
|
|
|
* 2冻结使用
|
|
|
|
|
* 2冻结
|
|
|
|
|
* 3账号异常
|
|
|
|
|
* 4离职
|
|
|
|
|
* 5服务到期
|
|
|
|
|
* 6锁定
|
|
|
|
|
* 7启用
|
|
|
|
|
* 8禁止
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|
public enum USER_STATUS {
|
|
|
|
@ -240,7 +243,8 @@ public class CommonEnumUtil {
|
|
|
|
|
RESIGNATION(4, "离职", "离职_RESIGNATION"),
|
|
|
|
|
EXPIRE(5, "服务到期", "服务到期_EXPIRE"),
|
|
|
|
|
LOCKING(6, "锁定", "fa cell-fa fa-lock"),
|
|
|
|
|
ENABLE(7, "启用", "fa fa-success cell-fa fa-check");
|
|
|
|
|
ENABLE(7, "启用", "fa fa-success cell-fa fa-check"),
|
|
|
|
|
DISABLE(8, "禁止", "fa fa-disabled cell-fa fa-times-circle");
|
|
|
|
|
|
|
|
|
|
private int value;
|
|
|
|
|
private String code;
|
|
|
|
@ -390,11 +394,12 @@ public class CommonEnumUtil {
|
|
|
|
|
/**
|
|
|
|
|
* 是否有效
|
|
|
|
|
*/
|
|
|
|
|
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
|
|
|
|
|
public enum IS_VAILD {
|
|
|
|
|
VAILD(1, "有效"), INVAILD(2, "无效");
|
|
|
|
|
|
|
|
|
|
private int value = 0;
|
|
|
|
|
private String description = null;
|
|
|
|
|
private int value;
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
public int getValue() {
|
|
|
|
|
return value;
|
|
|
|
@ -426,8 +431,8 @@ public class CommonEnumUtil {
|
|
|
|
|
public enum ASC_OR_DESC {
|
|
|
|
|
ASC(1, "正序"), DESC(2, "倒序");
|
|
|
|
|
|
|
|
|
|
private int value = 0;
|
|
|
|
|
private String description = null;
|
|
|
|
|
private int value;
|
|
|
|
|
private String description;
|
|
|
|
|
|
|
|
|
|
public int getValue() {
|
|
|
|
|
return value;
|
|
|
|
|