| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- package com.poyee.dto;
- import lombok.Data;
- import java.math.BigDecimal;
- import java.util.Date;
- @Data
- public class CouponInfoDTO {
- //记录id
- private Long id;
- //用户id
- private Long userId;
- //卡券id
- private Long cardId;
- //卡券名称
- private String cardName;
- //使用订单id
- private Long orderId;
- //状态 0= 未使用 1= 已使用 2= 已过期
- private String status;
- //折扣金额 满减券/代金券的优惠金额
- private BigDecimal discount;
- //卡券类型:满减券,折扣券,代金券
- private String category;
- //折扣率 折扣券的折扣率
- private String discountRate;
- //满减金额 :满减券 需达到这个金额 才能进行优惠
- private BigDecimal fullMinusDiscount;
- //使用限制:商品限制
- private String useCategory;
- //有效时间-开始时间
- private Date useStartTime;
- //有效时间-结束时间
- private Date useEndTime;
- //使用范围:订单,组团...card,goods
- private String useScope;
- //过期时间
- private Date expiryTime;
- private Integer merchantId;
- private String fromCategory;
- private String merchantName;
- private String merchantAvatar;
- private String actType;
- private String sport;
- // '结算类型:1 平台,2 商家';
- private Integer settlementCategory;
- /**兑换积分类型*/
- private String pointType;
- private String specialActType;
- private Long sourceId;
- private String sourceType;
- }
|