mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-22 20:15:06 +08:00
commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user