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.nq.enums;
|
| public enum UserRecordTypeEnum {
| type_1("充值金额",1L),
| type_2("提款金额",2L),
| type_3("购买所花金额",3L),
| type_4("出售股票所盈利金额",4L),
| ;
| private String desc;
|
| private Long typeFlag;
|
| UserRecordTypeEnum(String desc, Long typeFlag) {
| this.desc = desc;
| this.typeFlag = typeFlag;
| }
|
| public String getDesc() {
| return desc;
| }
|
| public void setDesc(String desc) {
| this.desc = desc;
| }
|
| public Long getTypeFlag() {
| return typeFlag;
| }
|
| public void setTypeFlag(Long typeFlag) {
| this.typeFlag = typeFlag;
| }
| }
|
|