xiaoyong931011
2021-05-20 fb5549475c11fa264f4a4630638c136c99250d1e
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
package com.xcong.excoin.modules.otc.entity;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xcong.excoin.common.entity.BaseEntity;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.Date;
 
//交易订单
@Data
@TableName("otc_order")
public class OtcOrderEntity extends BaseEntity {
 
    //会员ID
    private long memberId;
 
    //订单编号
    private String orderNo;
 
    //单价
    private BigDecimal unitPrice;
 
    //交易数量
    private BigDecimal coinAmount;
 
    //交易总额
    private BigDecimal totalAmount;
 
    //订单状态 1-已提交未付款2-已付款3-已完成4-已取消
    private Integer status;
    public static final Integer STATUS_ONE = 1;
    public static final Integer STATUS_TWO = 2;
    public static final Integer STATUS_THREE = 3;
    public static final Integer STATUS_FOUR = 4;
 
    //委托单类型 B-买S-卖
    private String orderType;
    public static final String ORDERTYPE_B = "B";
    public static final String ORDERTYPE_S = "S";
 
    //付款时间
    private Date payTime;
 
    //完成时间
    private Date finishTime;
 
    //委托单ID
    private long entrustOrderId;
 
    //市商ID
    private long mbId;
 
    //支付市商ID
    private long payMbId;
 
    //付款人姓名
    private String payName;
 
    @TableField(exist = false)
    private String account;
 
    @TableField(exist = false)
    private String phone;
 
    @TableField(exist = false)
    private String inviteId;
 
    @TableField(exist = false)
    private String realName;
 
    @TableField(exist = false)
    private String nickname;
 
 
}