xiaoyong931011
2022-03-16 dca3e301410be4aee5a7895a1c2c1bbf90f3d03b
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
package com.xcong.excoin.modules.otc.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xcong.excoin.common.system.base.BaseEntity;
import lombok.Data;
 
import java.math.BigDecimal;
 
@Data
@TableName("otc_entrust_order")
public class OtcEntrustOrder extends BaseEntity {
 
    private Long memberId;
 
    private Long mbId;
 
    /**
     * 委托单号
     */
    private String entrustOrderNo;
 
    /**
     * 单价
     */
    private BigDecimal unitPrice;
 
    /**
     * 数量
     */
    private BigDecimal coinAmount;
 
    /**
     * 剩余数量
     */
    private BigDecimal remainCoinAmount;
 
    /**
     * 限额
     */
    private BigDecimal limitMinAmount;
 
    /**
     * 限额
     */
    private BigDecimal limitMaxAmount;
 
    /**
     * 委托总金额
     */
    private BigDecimal totalAmount;
 
    /**
     * 委托单类型 B-买 S-卖
     */
    private String orderType;
    public static final String ORDER_TYPE_B = "B";
    public static final String ORDER_TYPE_S = "S";
 
    /**
     * 1-上线 2-下线 3-撤销
     */
    private Integer status;
    public static final Integer LINE_UP = 1;
    public static final Integer LINE_DOWN = 2;
    public static final Integer LINE_CANCEL = 3;
 
    /**
     * 是否市商 1-是 2-否
     */
    private Integer isMb;
    public static final Integer IS_MB_Y = 1;
    public static final Integer IS_MB_N = 2;
 
    @TableField(exist = false)
    private String payType;
    @TableField(exist = false)
    private Integer isDefualt;
}