xiaoyong931011
2021-08-09 e847891c4f6f12cee5e764f8c1fad001496b9740
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
package com.xzx.gc.entity;
 
import com.xzx.gc.common.entity.BaseEntity;
import lombok.Data;
 
import javax.persistence.Table;
import java.math.BigDecimal;
 
@Data
@Table(name = "xzx_score_details")
public class ScoreDetails extends BaseEntity {
 
    //订单编号
    private String orderNo;
 
    //用户ID
    private String userId;
 
    //交易类型 1-用户充值2-集物员支付3-用户兑换所得4-用户消费5-消费退回6-管理员充值7-其他 8-邀请后首单返利 9-分享朋友圈 10-邀请奖励
    private Integer type;
    public static final Integer SCORE_TYPE_USER_RECHARGE = 1;
    public static final Integer SCORE_TYPE_PAY = 2;
    public static final Integer SCORE_TYPE_EXCHANGE = 3;
    public static final Integer SCORE_TYPE_SHOPPING = 4;
    public static final Integer SCORE_TYPE_SHOPPING_RETURN = 5;
    public static final Integer SCORE_TYPE_ADMIN_RECHARGE = 6;
    public static final Integer SCORE_TYPE_OTHER = 7;
    public static final Integer SCORE_TYPE_INVITE_FIRST_ORDER = 8;
    public static final Integer SCORE_TYPE_SHARE_MOMENTS = 9;
    public static final Integer SCORE_TYPE_INVITE = 10;
 
    //原始积分
    private BigDecimal originalScore;
 
    //变化积分
    private BigDecimal changeScore;
 
    //当前积分
    private BigDecimal currentScore;
}