mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 03:55:17 +08:00
29 lines
471 B
Java
29 lines
471 B
Java
|
|
package com.jsowell.common.enums;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 用户状态
|
||
|
|
*
|
||
|
|
* @author jsowell
|
||
|
|
*/
|
||
|
|
public enum UserStatus {
|
||
|
|
OK("0" , "正常"),
|
||
|
|
DISABLE("1" , "停用"),
|
||
|
|
DELETED("2" , "删除");
|
||
|
|
|
||
|
|
private final String code;
|
||
|
|
private final String info;
|
||
|
|
|
||
|
|
UserStatus(String code, String info) {
|
||
|
|
this.code = code;
|
||
|
|
this.info = info;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getCode() {
|
||
|
|
return code;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getInfo() {
|
||
|
|
return info;
|
||
|
|
}
|
||
|
|
}
|