puhanshu
2022-01-05 eb80b83a3d4a0b59325e90405dc6c687c2904d3a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
    }
 
}