MyCouponDto.java 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. package com.fuint.common.dto;
  2. import com.fuint.repository.model.MtStore;
  3. import com.fuint.repository.model.MtUser;
  4. import java.io.Serializable;
  5. import java.math.BigDecimal;
  6. import java.util.Date;
  7. /**
  8. * 我的卡券DTO
  9. *
  10. * Created by FSQ
  11. * CopyRight https://www.fuint.cn
  12. */
  13. public class MyCouponDto implements Serializable {
  14. /**
  15. * 自增ID
  16. * */
  17. private Integer id;
  18. /**
  19. * 卡券名称
  20. * */
  21. private String name;
  22. /**
  23. * 核销编码
  24. */
  25. private String code;
  26. /**
  27. * 卡券类型
  28. * */
  29. private String type;
  30. /**
  31. * 状态
  32. * */
  33. private String status;
  34. /**
  35. * 券ID
  36. * */
  37. private Integer couponId;
  38. /**
  39. * 使用规则
  40. * */
  41. private String useRule;
  42. /**
  43. * 图片
  44. * */
  45. private String image;
  46. /**
  47. * 面额
  48. * */
  49. private BigDecimal amount;
  50. /**
  51. * 余额
  52. * */
  53. private BigDecimal balance;
  54. /**
  55. * 是否可以使用(过期、状态等)
  56. * */
  57. private boolean canUse;
  58. /**
  59. * 有效期
  60. * */
  61. private String effectiveDate;
  62. /**
  63. * 小提示
  64. * */
  65. private String tips;
  66. /**
  67. * 使用时间
  68. * */
  69. private Date usedTime;
  70. /**
  71. * 领券时间
  72. * */
  73. private Date createTime;
  74. /**
  75. * 会员信息
  76. * */
  77. private MtUser userInfo;
  78. /**
  79. * 使用店铺
  80. * */
  81. private MtStore storeInfo;
  82. public Integer getId() {
  83. return id;
  84. }
  85. public void setId(Integer id) {
  86. this.id = id;
  87. }
  88. public String getName() {
  89. return name;
  90. }
  91. public void setName(String name) {
  92. this.name = name;
  93. }
  94. public String getCode(){
  95. return code;
  96. }
  97. public void setCode(String code){
  98. this.code=code;
  99. }
  100. public String getType() {
  101. return type;
  102. }
  103. public void setType(String type) {
  104. this.type = type;
  105. }
  106. public String getStatus() {
  107. return status;
  108. }
  109. public void setStatus(String status) {
  110. this.status = status;
  111. }
  112. public Integer getCouponId() {
  113. return couponId;
  114. }
  115. public void setCouponId(Integer couponId) {
  116. this.couponId = couponId;
  117. }
  118. public String getUseRule() {
  119. return useRule;
  120. }
  121. public void setUseRule(String useRule) {
  122. this.useRule = useRule;
  123. }
  124. public String getImage() {
  125. return image;
  126. }
  127. public void setImage(String image) {
  128. this.image = image;
  129. }
  130. public BigDecimal getAmount() {
  131. return amount;
  132. }
  133. public void setAmount(BigDecimal amount) {
  134. this.amount = amount;
  135. }
  136. public BigDecimal getBalance() {
  137. return balance;
  138. }
  139. public void setBalance(BigDecimal balance) {
  140. this.balance = balance;
  141. }
  142. public boolean getCanUse() {
  143. return canUse;
  144. }
  145. public void setCanUse(boolean canUse) {
  146. this.canUse = canUse;
  147. }
  148. public String getEffectiveDate() {
  149. return effectiveDate;
  150. }
  151. public void setEffectiveDate(String effectiveDate) {
  152. this.effectiveDate = effectiveDate;
  153. }
  154. public String getTips() {
  155. return tips;
  156. }
  157. public void setTips(String tips) {
  158. this.tips = tips;
  159. }
  160. public Date getUsedTime(){
  161. return usedTime;
  162. }
  163. public void setUsedTime(Date usedTime){
  164. this.usedTime=usedTime;
  165. }
  166. public Date getCreateTime(){
  167. return createTime;
  168. }
  169. public void setCreateTime(Date createTime){
  170. this.createTime=createTime;
  171. }
  172. public MtUser getUserInfo() {
  173. return userInfo;
  174. }
  175. public void setUserInfo(MtUser userInfo) {
  176. this.userInfo = userInfo;
  177. }
  178. public MtStore getStoreInfo() {
  179. return storeInfo;
  180. }
  181. public void setStoreInfo(MtStore storeInfo) {
  182. this.storeInfo = storeInfo;
  183. }
  184. }