Helius
2021-08-04 04b04d8e0746f6bf6f83450caec52bc7f9ce8db9
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
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-其他
    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;
 
    //原始积分
    private BigDecimal originalScore;
 
    //变化积分
    private BigDecimal changeScore;
 
    //当前积分
    private BigDecimal currentScore;
}