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
| package com.gkhy.hazmat.common.enums;
|
| /**
| * 用户类型
| *
| */
| public enum UserTypeEnum
| {
| SYSTEM_USER(0, "系统用户"),
| COMPANY_USER(1, "企业级用户"),
| NORMAL_USER(2, "普通用户"),
| CHECK_USER(3,"监管部门");
|
| private final Integer code;
| private final String info;
|
| UserTypeEnum(Integer code, String info)
| {
| this.code = code;
| this.info = info;
| }
|
| public Integer getCode()
| {
| return code;
| }
|
| public String getInfo()
| {
| return info;
| }
| }
|
|