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
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
package com.xcong.excoin.modules.otc.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import com.xcong.excoin.common.system.base.BaseEntity;
import lombok.Data;
 
import java.math.BigDecimal;
import java.util.Date;
 
@Data
@TableName("otc_order")
public class OtcOrder extends BaseEntity {
 
    private Long memberId;
 
    /**
     * 订单编号
     */
    private String orderNo;
 
    /**
     * 单价
     */
    private BigDecimal unitPrice;
 
    /**
     * 数量
     */
    private BigDecimal coinAmount;
 
    /**
     * 总额
     */
    private BigDecimal totalAmount;
 
    /**
     * 订单状态 1-已提交未付款2-已付款3-已完成
     */
    private Integer status;
    public static final Integer STATUS_SUBMIT = 1;
    public static final Integer STATUS_PAY = 2;
    public static final Integer STATUS_FINISH = 3;
    public static final Integer STATUS_CANCEL = 4;
 
    /**
     * 付款时间
     */
    private Date payTime;
 
    /**
     * 完成时间
     */
    private Date finishTime;
 
    /**
     * 委托单ID
     */
    private Long entrustOrderId;
 
    private Long mbId;
 
    /**
     * 支付市商ID
     */
    private Long payMbId;
 
    /**
     * 付款人姓名
     */
    private String payName;
 
    /**
     * 委托单用户ID
     */
    private Long entrustMemberId;
 
    /**
     * 订单类型 B-买 S-卖
     */
    private String orderType;
 
    /**
     * 对面的用户ID
     */
    private Long oppositeMemberId;
 
    private String bankName;
 
    private String bankNo;
 
    private String cardName;
 
    private String payType;
 
    private Integer isReturn;
}