1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
| package com.iotechn.unimall.data.enums;
|
| import com.dobbinsoft.fw.core.enums.BaseEnums;
|
| /**
| * 通用状态枚举 仅激活 冻结 未完善手机号
| * Created by rize on 2019/2/13.
| */
| public enum UserStatusType implements BaseEnums<Integer> {
| LOCK(0, "冻结"),
| ACTIVE(1, "激活"),
| WAIT_PHONE(2, "未完善手机号"),
| ;
|
| UserStatusType(int code, String msg) {
| this.code = code;
| this.msg = msg;
| }
|
| private int code;
|
| private String msg;
|
| public Integer getCode() {
| return code;
| }
|
| public String getMsg() {
| return msg;
| }
|
|
| }
|
|