yanghui
2022-11-25 157a519bf6a77fd4d65db83afac5c59ee136a1ef
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;
    }
 
}