CouponInfoDTO.java 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package com.poyee.dto;
  2. import lombok.Data;
  3. import java.math.BigDecimal;
  4. import java.util.Date;
  5. @Data
  6. public class CouponInfoDTO {
  7. //记录id
  8. private Long id;
  9. //用户id
  10. private Long userId;
  11. //卡券id
  12. private Long cardId;
  13. //卡券名称
  14. private String cardName;
  15. //使用订单id
  16. private Long orderId;
  17. //状态 0= 未使用 1= 已使用 2= 已过期
  18. private String status;
  19. //折扣金额 满减券/代金券的优惠金额
  20. private BigDecimal discount;
  21. //卡券类型:满减券,折扣券,代金券
  22. private String category;
  23. //折扣率 折扣券的折扣率
  24. private String discountRate;
  25. //满减金额 :满减券 需达到这个金额 才能进行优惠
  26. private BigDecimal fullMinusDiscount;
  27. //使用限制:商品限制
  28. private String useCategory;
  29. //有效时间-开始时间
  30. private Date useStartTime;
  31. //有效时间-结束时间
  32. private Date useEndTime;
  33. //使用范围:订单,组团...card,goods
  34. private String useScope;
  35. //过期时间
  36. private Date expiryTime;
  37. private Integer merchantId;
  38. private String fromCategory;
  39. private String merchantName;
  40. private String merchantAvatar;
  41. private String actType;
  42. private String sport;
  43. // '结算类型:1 平台,2 商家';
  44. private Integer settlementCategory;
  45. /**兑换积分类型*/
  46. private String pointType;
  47. private String specialActType;
  48. private Long sourceId;
  49. private String sourceType;
  50. }