Helius
2020-12-14 cc78ea9e77300dfcb9eb7a9dc397c81548d695fb
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
package com.matrix.system.shopXcx.bean;
 
import com.matrix.core.pojo.EntityDTO;
import com.matrix.core.anotations.Extend;
import com.matrix.core.tools.DateUtil;
 
import java.math.BigDecimal;
 
/**
 * @description 用户积分获取记录
 * @author jyy
 * @date 2019-08-09 15:10
 */
public class ShopScoreRecord  extends EntityDTO{
    @Extend
    private static final long serialVersionUID = 1L; 
 
    
    /**
     * 主键
     */
    private Integer  id;
            
    
    /**
     * 受益人openID
     */
    private String  beneficiaryId;
            
    
    /**
     * 购买人openID
     */
    private String  buyerId;
            
    
    /**
     * 购买人名称
     */
    private String  buyerName;
 
 
    /**
     * 购买人头像地址
     */
    private String buyerAvatarUrl;
 
 
    /**
     * 订单ID
     */
    private Integer  orderId;
            
    
    /**
     * 订单金额
     */
    private BigDecimal  amount;
            
    
    /**
     * 获得积分
     */
    private Integer  score;
 
 
    /**
     * 创建时间格式化成字符串
     */
    @Extend
    private String createTimeStr;
 
 
    public String getCreateTimeStr() {
        if (this.getCreateTime() == null) {
            return "";
        }
        return DateUtil.dateToString(this.getCreateTime(), DateUtil.DATE_FORMAT_DD);
    }
    
 
    public Integer getId() {
        return id;
    }
       
       public void setId(Integer id) {
        this.id=id;
    }
       
 
    public String getBeneficiaryId() {
        return beneficiaryId;
    }
       
       public void setBeneficiaryId(String beneficiaryId) {
        this.beneficiaryId=beneficiaryId;
    }
       
 
    public String getBuyerId() {
        return buyerId;
    }
       
       public void setBuyerId(String buyerId) {
        this.buyerId=buyerId;
    }
       
 
    public String getBuyerName() {
        return buyerName;
    }
       
       public void setBuyerName(String buyerName) {
        this.buyerName=buyerName;
    }
 
 
    public String getBuyerAvatarUrl() {
        return buyerAvatarUrl;
    }
 
    public void setBuyerAvatarUrl(String buyerAvatarUrl) {
        this.buyerAvatarUrl = buyerAvatarUrl;
    }
 
    public Integer getOrderId() {
        return orderId;
    }
       
       public void setOrderId(Integer orderId) {
        this.orderId=orderId;
    }
       
 
    public BigDecimal getAmount() {
        return amount;
    }
       
       public void setAmount(BigDecimal amount) {
        this.amount=amount;
    }
       
 
    public Integer getScore() {
        return score;
    }
       
       public void setScore(Integer score) {
        this.score=score;
    }
       
 
 
  
}