CouponEntity.java 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. package com.kmall.admin.entity;
  2. import java.io.Serializable;
  3. import java.math.BigDecimal;
  4. import java.util.Date;
  5. /**
  6. * 实体
  7. * 表名 mall_coupon
  8. *
  9. * @author Scott
  10. * @email
  11. * @date 2017-08-19 12:53:26
  12. */
  13. public class CouponEntity implements Serializable {
  14. private static final long serialVersionUID = 1L;
  15. //主键
  16. private Integer id;
  17. //优惠券名称
  18. private String name;
  19. //金额
  20. private BigDecimal typeMoney;
  21. //发放方式
  22. private Integer sendType;
  23. //最小金额
  24. private BigDecimal minAmount;
  25. //最大金额
  26. private BigDecimal maxAmount;
  27. //发放时间
  28. private Date sendStartDate;
  29. //发放时间
  30. private Date sendEndDate;
  31. //使用开始时间
  32. private Date useStartDate;
  33. //使用结束时间
  34. private Date useEndDate;
  35. //最小商品金额
  36. private BigDecimal minGoodsAmount;
  37. private String isAll;
  38. /**
  39. * 设置:主键
  40. */
  41. public void setId(Integer id) {
  42. this.id = id;
  43. }
  44. /**
  45. * 获取:主键
  46. */
  47. public Integer getId() {
  48. return id;
  49. }
  50. /**
  51. * 设置:优惠券名称
  52. */
  53. public void setName(String name) {
  54. this.name = name;
  55. }
  56. /**
  57. * 获取:优惠券名称
  58. */
  59. public String getName() {
  60. return name;
  61. }
  62. /**
  63. * 设置:金额
  64. */
  65. public void setTypeMoney(BigDecimal typeMoney) {
  66. this.typeMoney = typeMoney;
  67. }
  68. /**
  69. * 获取:金额
  70. */
  71. public BigDecimal getTypeMoney() {
  72. return typeMoney;
  73. }
  74. /**
  75. * 设置:发放方式
  76. */
  77. public void setSendType(Integer sendType) {
  78. this.sendType = sendType;
  79. }
  80. /**
  81. * 获取:发放方式
  82. */
  83. public Integer getSendType() {
  84. return sendType;
  85. }
  86. /**
  87. * 设置:最小金额
  88. */
  89. public void setMinAmount(BigDecimal minAmount) {
  90. this.minAmount = minAmount;
  91. }
  92. /**
  93. * 获取:最小金额
  94. */
  95. public BigDecimal getMinAmount() {
  96. return minAmount;
  97. }
  98. /**
  99. * 设置:最大金额
  100. */
  101. public void setMaxAmount(BigDecimal maxAmount) {
  102. this.maxAmount = maxAmount;
  103. }
  104. /**
  105. * 获取:最大金额
  106. */
  107. public BigDecimal getMaxAmount() {
  108. return maxAmount;
  109. }
  110. /**
  111. * 设置:发放时间
  112. */
  113. public void setSendStartDate(Date sendStartDate) {
  114. this.sendStartDate = sendStartDate;
  115. }
  116. /**
  117. * 获取:发放时间
  118. */
  119. public Date getSendStartDate() {
  120. return sendStartDate;
  121. }
  122. /**
  123. * 设置:发放时间
  124. */
  125. public void setSendEndDate(Date sendEndDate) {
  126. this.sendEndDate = sendEndDate;
  127. }
  128. /**
  129. * 获取:发放时间
  130. */
  131. public Date getSendEndDate() {
  132. return sendEndDate;
  133. }
  134. /**
  135. * 设置:使用开始时间
  136. */
  137. public void setUseStartDate(Date useStartDate) {
  138. this.useStartDate = useStartDate;
  139. }
  140. /**
  141. * 获取:使用开始时间
  142. */
  143. public Date getUseStartDate() {
  144. return useStartDate;
  145. }
  146. /**
  147. * 设置:使用结束时间
  148. */
  149. public void setUseEndDate(Date useEndDate) {
  150. this.useEndDate = useEndDate;
  151. }
  152. /**
  153. * 获取:使用结束时间
  154. */
  155. public Date getUseEndDate() {
  156. return useEndDate;
  157. }
  158. /**
  159. * 设置:最小商品金额
  160. */
  161. public void setMinGoodsAmount(BigDecimal minGoodsAmount) {
  162. this.minGoodsAmount = minGoodsAmount;
  163. }
  164. /**
  165. * 获取:最小商品金额
  166. */
  167. public BigDecimal getMinGoodsAmount() {
  168. return minGoodsAmount;
  169. }
  170. public String getIsAll() {
  171. return isAll;
  172. }
  173. public void setIsAll(String isAll) {
  174. this.isAll = isAll;
  175. }
  176. }