CouponVo.java 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. package com.caimei.model.vo;
  2. import com.fasterxml.jackson.annotation.JsonFormat;
  3. import lombok.Data;
  4. import java.io.Serializable;
  5. import java.math.BigDecimal;
  6. import java.util.Date;
  7. /**
  8. * Description
  9. *
  10. * @author : plf
  11. * @date : 2021/8/12
  12. */
  13. @Data
  14. public class CouponVo implements Serializable {
  15. /**
  16. * 优惠券id
  17. */
  18. private Integer couponId;
  19. /**
  20. * 优惠券分享id
  21. */
  22. private Integer couponShareId;
  23. /**
  24. * 优惠券名称
  25. */
  26. private String couponName;
  27. /**
  28. * 优惠券金额(面值)
  29. */
  30. private BigDecimal couponAmount;
  31. /**
  32. * 优惠满减条件金额
  33. */
  34. private BigDecimal touchPrice;
  35. /**
  36. * 无门槛标记 0否 1是
  37. */
  38. private Integer noThresholdFlag;
  39. /**
  40. * 劵类型 1活动券 2专享券 3新人券 4好友分享券 5好友消费券
  41. */
  42. private Integer couponType;
  43. /**
  44. * 优惠商品:1全商城商品 2指定商品
  45. */
  46. private Integer productType;
  47. /**
  48. * 领取截止时间
  49. */
  50. private Date receivePeriod;
  51. /**
  52. * 使用截止时间
  53. */
  54. private Date usePeriod;
  55. /**
  56. * 使用状态: 0未领取 1未使用 2已使用 3已失效
  57. */
  58. private Integer useStatus;
  59. /**
  60. * 是否达到优惠条件:1达到,2未达到
  61. */
  62. private Integer touchFlag;
  63. /**
  64. * 创建时间
  65. */
  66. private Date createDate;
  67. /**
  68. * 部分商品优惠券关联的商品id
  69. */
  70. private String productIds;
  71. }