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; }