huanghongfa
2020-12-20 def38240262b4403377d4c16beac3ea048f1e658
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.panzhihua.common.enums;
 
import lombok.Getter;
 
/**
 * 用户状态
 * 
 * @author huanghongfa
 */
@Getter
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;
    }
 
}