package com.supersavedriving.user.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 2023/3/2 11:04
|
*/
|
@Data
|
@TableName("t_user_to_coupon")
|
public class UserToCoupon {
|
/**
|
* 主键
|
*/
|
@TableId(value = "id", type = IdType.AUTO)
|
@TableField("id")
|
private Integer id;
|
/**
|
* 用户id
|
*/
|
@TableField("userId")
|
private Integer userId;
|
/**
|
* 优惠券id
|
*/
|
@TableField("couponId")
|
private Integer couponId;
|
/**
|
* 领取总数
|
*/
|
@TableField("couponTotal")
|
private Integer couponTotal;
|
/**
|
* 有效数据
|
*/
|
@TableField("validCount")
|
private Integer validCount;
|
/**
|
* 过期数量
|
*/
|
@TableField("expireCount")
|
private Integer expireCount;
|
/**
|
* 过期时间
|
*/
|
@TableField("expireTime")
|
private Date expireTime;
|
/**
|
* 添加时间
|
*/
|
@TableField("createTime")
|
private Date createTime;
|
/**
|
* 状态 1正常 2冻结 3删除
|
*/
|
@TableField("status")
|
private Integer status;
|
}
|