123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167 |
- package com.zhentao.pojo;
- 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 java.io.Serializable;
- import java.math.BigDecimal;
- import java.util.Date;
- import lombok.Data;
- /**
- * 用户领取优惠券记录
- * @TableName coupon_user
- */
- @TableName(value ="coupon_user")
- @Data
- public class CouponUser implements Serializable {
- /**
- *
- */
- @TableId
- private Long id;
- /**
- * 用户id
- */
- private Long userId;
- /**
- * 用户名称
- */
- private String userName;
- /**
- * 手机号
- */
- private String mobile;
- /**
- * 优惠券id
- */
- private Long couponId;
- /**
- *
- */
- private String couponName;
- /**
- * 规则类型1满减券2满折券
- */
- private Integer couponTacticsType;
- /**
- * 规则类型描述
- */
- private String tacticsTypeDesc;
- /**
- * 使用类型1通用券2品类券3商品券4活动券
- */
- private Integer couponType;
- /**
- * 产品id,分类id
- */
- private String productValue;
- /**
- * 有无门槛0无门槛1有门槛
- */
- private Integer limitMinFlag;
- /**
- * 限制金额
- */
- private BigDecimal limitMin;
- /**
- * 适用类型
- */
- private String typeName;
- /**
- * 面值
- */
- private BigDecimal faceValue;
- /**
- * 优惠券图片
- */
- private String imgUrl;
- /**
- * 有效期开始时间
- */
- private Date startTime;
- /**
- * 有效期截止时间
- */
- private Date endTime;
- /**
- * 获取日期
- */
- private String getTime;
- /**
- * 领取方式1手动领取2后台赠送
- */
- private Integer getWay;
- /**
- * 使用时间
- */
- private Date usedTime;
- /**
- * 活动id
- */
- private Long activeId;
- /**
- * 使用状态,如果是0则未使用;如果是1则已使用;如果是2则已过期;
- */
- private Integer status;
- /**
- * 备注
- */
- private String remark;
- /**
- * 版本
- */
- private Integer reversion;
- /**
- * 统计标识0未统计1已统计
- */
- private Integer statFlag;
- /**
- * 创建时间
- */
- private Date createdTime;
- /**
- * 更新时间
- */
- private Date updateTime;
- /**
- * 逻辑删除0正常1删除
- */
- private Integer delFlag;
- /**
- * 1扫码领用
- */
- private Integer isReceive;
- @TableField(exist = false)
- private static final long serialVersionUID = 1L;
- }
|