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; /** * 用户商家券领取 * @author pzb * @Date 2022/2/8 14:58 */ @Data @TableName("t_user_merchant_coupon") public class UserMerchantCoupon { //主键 @TableId(value = "id", type = IdType.AUTO) @TableField("id") private Integer id; //核销码 @TableField("code") private String code; //用户类型(1=用户,2=司机) @TableField("userType") private Integer userType; //用户id @TableField("userId") private Integer userId; //商家活动id @TableField("merchantActivityId") private Integer merchantActivityId; //商家券id @TableField("merchantCouponId") private Integer merchantCouponId; //失效时间 @TableField("endTime") private Date endTime; //状态(1=待核销,2=已核销,3=已过期) @TableField("status") private Integer status; //核销时间 @TableField("writeOffTime") private Date writeOffTime; //核销用户类型(1=用户,2=司机) @TableField("writeOffUserType") private Integer writeOffUserType; //核销用户id @TableField("writeOffUserId") private Integer writeOffUserId; //状态(1=正常,2=冻结,3=删除) @TableField("state") private Integer state; //添加时间 @TableField("createTime") private Date createTime; }