xiaoyong931011
2021-04-09 0e49cf565fb0e7ef559e35e63e0be728b518f0c2
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.member.entity;
 
import java.math.BigDecimal;
import java.util.Date;
 
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xcong.excoin.common.entity.BaseEntity;
 
import lombok.Data;
/**
 * @description 活动记录表
 * @author yourName
 * @date 2021-03-18 17:53
 */
@Data
@TableName("activity_receive_record")
public class ActivityReceiveRecord extends BaseEntity{
    private static final long serialVersionUID = 1L; 
    
    
    /**
     * 用户ID
     */
 
 
    private Long  memberId;
    
    /**
     * 活动主表ID
     */
 
 
    private Long  mainId;
    
    /**
     * 活动子表ID
     */
 
 
    private Long  subId;
    
    /**
     * 领取金额
     */
 
 
    private BigDecimal  receiveCoinAmount;
    
    /**
     * 资产变化记录ID(领取时生成流水记录,划转到币币账户)
     */
 
 
    private Long  amcId;
    
    /**
     *激活状态1已激活2未激活3已失效
     */
    public static final Integer RECEIVESTATE_ONE = 1;
    public static final Integer RECEIVESTATE_TWO = 2;
    public static final Integer RECEIVESTATE_THREE = 3;
    private Integer  receiveState;
    
    /**
     * 激活时间
     */
 
 
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date  receiveTime;
    
    /**
     * 失效时间
     */
    //激活后在当前时间的基础上新增30天
    public static final long DAYS = 30;
    private Date  invalidTime;
    
 
    @TableField(exist = false)
    private String account;
    @TableField(exist = false)
    private String email;
    @TableField(exist = false)
    private String phone;
    @TableField(exist = false)
    private String realName;
    @TableField(exist = false)
    private String inviteId;
 
 
 
  
}