CouponEntity.java 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  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. private Integer storeId;
  39. private String merchSn;
  40. private String thirdPartyMerchCode;
  41. public String getThirdPartyMerchCode() {
  42. return thirdPartyMerchCode;
  43. }
  44. public void setThirdPartyMerchCode(String thirdPartyMerchCode) {
  45. this.thirdPartyMerchCode = thirdPartyMerchCode;
  46. }
  47. public Integer getStoreId() {
  48. return storeId;
  49. }
  50. public void setStoreId(Integer storeId) {
  51. this.storeId = storeId;
  52. }
  53. public String getMerchSn() {
  54. return merchSn;
  55. }
  56. public void setMerchSn(String merchSn) {
  57. this.merchSn = merchSn;
  58. }
  59. /**
  60. * 设置:主键
  61. */
  62. public void setId(Integer id) {
  63. this.id = id;
  64. }
  65. /**
  66. * 获取:主键
  67. */
  68. public Integer getId() {
  69. return id;
  70. }
  71. /**
  72. * 设置:优惠券名称
  73. */
  74. public void setName(String name) {
  75. this.name = name;
  76. }
  77. /**
  78. * 获取:优惠券名称
  79. */
  80. public String getName() {
  81. return name;
  82. }
  83. /**
  84. * 设置:金额
  85. */
  86. public void setTypeMoney(BigDecimal typeMoney) {
  87. this.typeMoney = typeMoney;
  88. }
  89. /**
  90. * 获取:金额
  91. */
  92. public BigDecimal getTypeMoney() {
  93. return typeMoney;
  94. }
  95. /**
  96. * 设置:发放方式
  97. */
  98. public void setSendType(Integer sendType) {
  99. this.sendType = sendType;
  100. }
  101. /**
  102. * 获取:发放方式
  103. */
  104. public Integer getSendType() {
  105. return sendType;
  106. }
  107. /**
  108. * 设置:最小金额
  109. */
  110. public void setMinAmount(BigDecimal minAmount) {
  111. this.minAmount = minAmount;
  112. }
  113. /**
  114. * 获取:最小金额
  115. */
  116. public BigDecimal getMinAmount() {
  117. return minAmount;
  118. }
  119. /**
  120. * 设置:最大金额
  121. */
  122. public void setMaxAmount(BigDecimal maxAmount) {
  123. this.maxAmount = maxAmount;
  124. }
  125. /**
  126. * 获取:最大金额
  127. */
  128. public BigDecimal getMaxAmount() {
  129. return maxAmount;
  130. }
  131. /**
  132. * 设置:发放时间
  133. */
  134. public void setSendStartDate(Date sendStartDate) {
  135. this.sendStartDate = sendStartDate;
  136. }
  137. /**
  138. * 获取:发放时间
  139. */
  140. public Date getSendStartDate() {
  141. return sendStartDate;
  142. }
  143. /**
  144. * 设置:发放时间
  145. */
  146. public void setSendEndDate(Date sendEndDate) {
  147. this.sendEndDate = sendEndDate;
  148. }
  149. /**
  150. * 获取:发放时间
  151. */
  152. public Date getSendEndDate() {
  153. return sendEndDate;
  154. }
  155. /**
  156. * 设置:使用开始时间
  157. */
  158. public void setUseStartDate(Date useStartDate) {
  159. this.useStartDate = useStartDate;
  160. }
  161. /**
  162. * 获取:使用开始时间
  163. */
  164. public Date getUseStartDate() {
  165. return useStartDate;
  166. }
  167. /**
  168. * 设置:使用结束时间
  169. */
  170. public void setUseEndDate(Date useEndDate) {
  171. this.useEndDate = useEndDate;
  172. }
  173. /**
  174. * 获取:使用结束时间
  175. */
  176. public Date getUseEndDate() {
  177. return useEndDate;
  178. }
  179. /**
  180. * 设置:最小商品金额
  181. */
  182. public void setMinGoodsAmount(BigDecimal minGoodsAmount) {
  183. this.minGoodsAmount = minGoodsAmount;
  184. }
  185. /**
  186. * 获取:最小商品金额
  187. */
  188. public BigDecimal getMinGoodsAmount() {
  189. return minGoodsAmount;
  190. }
  191. public String getIsAll() {
  192. return isAll;
  193. }
  194. public void setIsAll(String isAll) {
  195. this.isAll = isAll;
  196. }
  197. }