jiangqs
2023-05-26 aed4e4c7d76de4d0fbfe8c0b26fcdeecbd5c5b24
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
package com.ruoyi.member.domain.pojo.member;
 
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
 
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
 
/**
 * <p>
 * 
 * </p>
 *
 * @author jqs
 * @since 2023-05-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_integral_record")
public class IntegralRecord extends Model<IntegralRecord> {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * 记录id
     */
    @TableId(value = "record_id", type = IdType.AUTO)
    private Long recordId;
    /**
     * 删除标记
     */
    @TableField("del_flag")
    private Integer delFlag;
    /**
     * 变动类型
     */
    @TableField("change_type")
    private Integer changeType;
    /**
     * 变动积分
     */
    @TableField("change_integral")
    private Integer changeIntegral;
    /**
     * 剩余积分
     */
    @TableField("surp_integral")
    private Integer surpIntegral;
    /**
     * 变动时间
     */
    @TableField("create_time")
    private Date createTime;
    /**
     * 订单id
     */
    @TableField("order_id")
    private String orderId;
    /**
     * 订单号
     */
    @TableField("order_no")
    private String orderNo;
    /**
     * 变动理由
     */
    @TableField("change_reason")
    private String changeReason;
 
 
    @Override
    protected Serializable pkVal() {
        return this.recordId;
    }
 
}