zhibing.pu
2024-04-15 0d5bade502337cab3fc2f96cf2d6891ded35bb77
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
package com.stylefeng.guns.modular.system.model;
 
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
 
import java.util.Date;
 
/**
 * 用户红包记录
 */
@Data
@TableName("t_user_red_packet_record")
public class UserRedPacketRecord {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    @TableField("id")
    private Integer id;
    /**
     * 金额
     */
    @TableField("money")
    private Double money;
    /**
     * 剩余金额
     */
    @TableField("remainingAmount")
    private Double remainingAmount;
    /**
     * 过期时间
     */
    @TableField("expirationTime")
    private Date expirationTime;
    /**
     * 添加时间
     */
    @TableField("insertTime")
    private Date insertTime;
    /**
     * 企业id
     */
    @TableField("companyId")
    private Integer companyId;
    /**
     * 状态(0=临时,1=未使用,2=已使用,3=已过期)
     */
    @TableField("state")
    private Integer state;
    /**
     * 使用结束时间
     */
    @TableField("endTime")
    private Date endTime;
    /**
     * 订单id(获取红包的订单)
     */
    @TableField("orderId")
    private Integer orderId;
    /**
     * 订单类型(1=专车,2=出租车,3=城际,4=小件物流)
     */
    @TableField("orderType")
    private Integer orderType;
    /**
     * 用户id
     */
    @TableField("userId")
    private Integer userId;
    /**
     * 活动id
     * @return
     */
    @TableField("redPacketActivityId")
    private Integer redPacketActivityId;
 
    private Double distance;
 
}