jack
2024-04-22 26581a43d52f6f6e62607c51b8224cdc50191a80
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
package com.nq.enums;
 
import com.nq.utils.PropertiesUtil;
import lombok.Data;
 
public enum EUserAssets {
 
 
 
    HANDLING_CHARGE("HANDLING_CHARGE","手续费"),
    CALCULATE_PROFIT_AND_LOSS("CALCULATE_PROFIT_AND_LOSS","计算盈亏"),
 
    CLOSE_POSITION_RETURN_SECURITY_DEPOSIT("CLOSE_POSITION_RETURN_SECURITY","平仓返回保证金"),
    CLOSE_POSITION("CLOSE_POSITION","平仓"),
    BUY("BUY","购买"),
    WITHDRAW("WITHDRAW","提现"),
 
    TRANSFER("TRANSFER","转换"),
    TOP_UP("TOP_UP","充值");
 
 
    private String  code;
 
    private String desc;
 
 
    EUserAssets(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }
 
    public String getCode() {
        return code;
    }
 
    public void setCode(String code) {
        this.code = code;
    }
 
    public String getDesc() {
        return desc;
    }
 
    public void setDesc(String desc) {
        this.desc = desc;
    }
}