You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
499 B
31 lines
499 B
package com.ruoyi.common.enums;
|
|
|
|
/**
|
|
* 用户状态
|
|
*
|
|
* @author ruoyi
|
|
*/
|
|
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;
|
|
}
|
|
}
|