Helius
2021-05-11 41348c4a2a3bc3ebc658386f42c70d70fbd505c5
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.yunding.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;
 
 
//yd_order订单表
@Data
@TableName("yd_order")
public class YdOrderEntity extends BaseEntity {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 会员ID
     */
 
    private Long memberId;
 
    /**
     * 产品ID
     */
 
    private Long productId;
 
    /**
     * 购买数量
     */
 
    private Integer quantity;
    /**
     * 返利状态 1:待返利 2:已返利
     */
 
    private Integer returnState;
 
    public static final int RETURN_STATE_READY = 1;
    public static final int RETURN_STATE_DONE = 2;
    /**
     * 返利类型 1:USDT 2:XCH
     */
 
    private Integer returnType;
 
    /**
     * 总金额
     */
 
    private BigDecimal amount;
 
    /**
     * 累计收益
     */
 
    private BigDecimal totalProfit;
 
    /**
     * 今日收益
     */
 
    private BigDecimal todayProfit;
 
    /**
     * 1:待生效 2:生效中 3:已终止
     */
 
    private Integer state;
    public static final int ORDER_STATE_READY = 1;
    public static final int ORDER_STATE_WORK = 2;
    public static final int ORDER_STATE_END = 3;
 
    /**
     * 购买日期
     */
 
    private Date buyTime;
 
    /**
     * 生效日期
     */
 
    private Date workTime;
 
    /**
     * 终止日期
     */
 
    private Date endTime;
 
 
 
}