CouponUser.java 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. package com.zhentao.pojo;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableField;
  4. import com.baomidou.mybatisplus.annotation.TableId;
  5. import com.baomidou.mybatisplus.annotation.TableName;
  6. import java.io.Serializable;
  7. import java.math.BigDecimal;
  8. import java.util.Date;
  9. import lombok.Data;
  10. /**
  11. * 用户领取优惠券记录
  12. * @TableName coupon_user
  13. */
  14. @TableName(value ="coupon_user")
  15. @Data
  16. public class CouponUser implements Serializable {
  17. /**
  18. *
  19. */
  20. @TableId
  21. private Long id;
  22. /**
  23. * 用户id
  24. */
  25. private Long userId;
  26. /**
  27. * 用户名称
  28. */
  29. private String userName;
  30. /**
  31. * 手机号
  32. */
  33. private String mobile;
  34. /**
  35. * 优惠券id
  36. */
  37. private Long couponId;
  38. /**
  39. *
  40. */
  41. private String couponName;
  42. /**
  43. * 规则类型1满减券2满折券
  44. */
  45. private Integer couponTacticsType;
  46. /**
  47. * 规则类型描述
  48. */
  49. private String tacticsTypeDesc;
  50. /**
  51. * 使用类型1通用券2品类券3商品券4活动券
  52. */
  53. private Integer couponType;
  54. /**
  55. * 产品id,分类id
  56. */
  57. private String productValue;
  58. /**
  59. * 有无门槛0无门槛1有门槛
  60. */
  61. private Integer limitMinFlag;
  62. /**
  63. * 限制金额
  64. */
  65. private BigDecimal limitMin;
  66. /**
  67. * 适用类型
  68. */
  69. private String typeName;
  70. /**
  71. * 面值
  72. */
  73. private BigDecimal faceValue;
  74. /**
  75. * 优惠券图片
  76. */
  77. private String imgUrl;
  78. /**
  79. * 有效期开始时间
  80. */
  81. private Date startTime;
  82. /**
  83. * 有效期截止时间
  84. */
  85. private Date endTime;
  86. /**
  87. * 获取日期
  88. */
  89. private String getTime;
  90. /**
  91. * 领取方式1手动领取2后台赠送
  92. */
  93. private Integer getWay;
  94. /**
  95. * 使用时间
  96. */
  97. private Date usedTime;
  98. /**
  99. * 活动id
  100. */
  101. private Long activeId;
  102. /**
  103. * 使用状态,如果是0则未使用;如果是1则已使用;如果是2则已过期;
  104. */
  105. private Integer status;
  106. /**
  107. * 备注
  108. */
  109. private String remark;
  110. /**
  111. * 版本
  112. */
  113. private Integer reversion;
  114. /**
  115. * 统计标识0未统计1已统计
  116. */
  117. private Integer statFlag;
  118. /**
  119. * 创建时间
  120. */
  121. private Date createdTime;
  122. /**
  123. * 更新时间
  124. */
  125. private Date updateTime;
  126. /**
  127. * 逻辑删除0正常1删除
  128. */
  129. private Integer delFlag;
  130. /**
  131. * 1扫码领用
  132. */
  133. private Integer isReceive;
  134. @TableField(exist = false)
  135. private static final long serialVersionUID = 1L;
  136. }