puzhibing
2023-11-28 9d909e5f8048b74ac56d8f853758cfccfea61759
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
package com.dsh.activity.model;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
 
import java.util.Date;
 
/**
 * @author zhibing.pu
 * @Date 2023/11/28 10:38
 */
@Data
@TableName("t_user_coupon_payment")
public class UserCouponPayment {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.NONE)
    private Long id;
    /**
     * 优惠券id
     */
    @TableField("couponId")
    private Integer couponId;
    /**
     * 用户id
     */
    @TableField("userId")
    private Integer userId;
    /**
     * 支付状态(1=待支付,2=已支付)
     */
    @TableField("status")
    private Integer status;
    /**
     * 流水号
     */
    @TableField("code")
    private String code;
    /**
     * 支付方式(1=积分兑换,2=积分+现金)
     */
    @TableField("payType")
    private Integer payType;
    /**
     * 积分支付数量
     */
    @TableField("integral")
    private Integer integral;
    /**
     * 现金支付金额
     */
    @TableField("cash")
    private Double cash;
    /**
     * 现金支付方式(1=微信,2=支付宝)
     */
    @TableField("cashPayType")
    private Integer cashPayType;
    /**
     * 第三方支付流水号
     */
    @TableField("orderNumber")
    private String orderNumber;
    /**
     * 支付时间
     */
    @TableField("paymentTime")
    private Date paymentTime;
    /**
     * 添加时间
     */
    @TableField("insertTime")
    private Date insertTime;
}