UserCouponVo.java 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. package com.kmall.api.entity;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import java.io.Serializable;
  4. import java.math.BigDecimal;
  5. import java.util.Date;
  6. /**
  7. * @author Scott
  8. * @email
  9. * @date 2017-08-15 08:03:41
  10. */
  11. public class UserCouponVo implements Serializable {
  12. private static final long serialVersionUID = 1L;
  13. //主键
  14. private Long id;
  15. //优惠券Id
  16. private Long coupon_id;
  17. //优惠券名称
  18. private String coupon_name;
  19. //优惠券数量
  20. private String coupon_number;
  21. //会员Id
  22. private Long user_id;
  23. //使用时间
  24. private Date used_time;
  25. //领取时间
  26. @JsonFormat(pattern = "yyyy.MM.dd")
  27. private Date add_time;
  28. //订单Id
  29. private Long order_id;
  30. //来源key
  31. private String source_key;
  32. //分享人
  33. private Long referrer;
  34. //是否需要显示 0:未显示 1:已显示
  35. private Integer show_state = 0;
  36. //发放方式 0:按订单发放 1:按用户发放(通用优惠券,用户点击领取) 2:商品转发送券 3:按商品发放 4:新用户注册 5:线下发放 6评价好评红包(固定或随机红包) 7包邮(不入会员优惠券表)
  37. private Integer send_type;
  38. //最小商品金额
  39. private BigDecimal min_goods_amount;
  40. //过期时间
  41. @JsonFormat(pattern = "yyyy.MM.dd")
  42. private Date end_time;
  43. //金额
  44. private BigDecimal type_money;
  45. //可用 1:可用 0:不可用
  46. private Integer enabled = 0;
  47. private String isAll;
  48. private String couponUrl;
  49. private String isUsed;
  50. public String getIsUsed() {
  51. return isUsed;
  52. }
  53. public void setIsUsed(String isUsed) {
  54. this.isUsed = isUsed;
  55. }
  56. public String getCouponUrl() {
  57. return couponUrl;
  58. }
  59. public void setCouponUrl(String couponUrl) {
  60. this.couponUrl = couponUrl;
  61. }
  62. public String getIsAll() {
  63. return isAll;
  64. }
  65. public void setIsAll(String isAll) {
  66. this.isAll = isAll;
  67. }
  68. public Long getId() {
  69. return id;
  70. }
  71. public void setId(Long id) {
  72. this.id = id;
  73. }
  74. public Long getCoupon_id() {
  75. return coupon_id;
  76. }
  77. public void setCoupon_id(Long coupon_id) {
  78. this.coupon_id = coupon_id;
  79. }
  80. public String getCoupon_number() {
  81. return coupon_number;
  82. }
  83. public void setCoupon_number(String coupon_number) {
  84. this.coupon_number = coupon_number;
  85. }
  86. public Long getUser_id() {
  87. return user_id;
  88. }
  89. public void setUser_id(Long user_id) {
  90. this.user_id = user_id;
  91. }
  92. public Date getUsed_time() {
  93. return used_time;
  94. }
  95. public void setUsed_time(Date used_time) {
  96. this.used_time = used_time;
  97. }
  98. public Long getOrder_id() {
  99. return order_id;
  100. }
  101. public void setOrder_id(Long order_id) {
  102. this.order_id = order_id;
  103. }
  104. public String getCoupon_name() {
  105. return coupon_name;
  106. }
  107. public void setCoupon_name(String coupon_name) {
  108. this.coupon_name = coupon_name;
  109. }
  110. public Date getAdd_time() {
  111. return add_time;
  112. }
  113. public void setAdd_time(Date add_time) {
  114. this.add_time = add_time;
  115. }
  116. public String getSource_key() {
  117. return source_key;
  118. }
  119. public void setSource_key(String source_key) {
  120. this.source_key = source_key;
  121. }
  122. public Long getReferrer() {
  123. return referrer;
  124. }
  125. public void setReferrer(Long referrer) {
  126. this.referrer = referrer;
  127. }
  128. public Integer getShow_state() {
  129. return show_state;
  130. }
  131. public void setShow_state(Integer show_state) {
  132. this.show_state = show_state;
  133. }
  134. public Integer getSend_type() {
  135. return send_type;
  136. }
  137. public void setSend_type(Integer send_type) {
  138. this.send_type = send_type;
  139. }
  140. public BigDecimal getMin_goods_amount() {
  141. return min_goods_amount;
  142. }
  143. public void setMin_goods_amount(BigDecimal min_goods_amount) {
  144. this.min_goods_amount = min_goods_amount;
  145. }
  146. public Date getEnd_time() {
  147. return end_time;
  148. }
  149. public void setEnd_time(Date end_time) {
  150. this.end_time = end_time;
  151. }
  152. public BigDecimal getType_money() {
  153. return type_money;
  154. }
  155. public void setType_money(BigDecimal type_money) {
  156. this.type_money = type_money;
  157. }
  158. public Integer getEnabled() {
  159. return enabled;
  160. }
  161. public void setEnabled(Integer enabled) {
  162. this.enabled = enabled;
  163. }
  164. }