New file |
| | |
| | | package com.hz.phis.dt.coupon; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.gitee.sunchenbin.mybatis.actable.annotation.Column; |
| | | import com.gitee.sunchenbin.mybatis.actable.annotation.Index; |
| | | import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant; |
| | | import com.hz.phis.dt.limit.LimitDt; |
| | | import lombok.Data; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 优惠券详情返回实体 |
| | | * |
| | | * @author fwq |
| | | */ |
| | | @Data |
| | | public class CouponDetailDt { |
| | | /**标识*/ |
| | | private String id; |
| | | /**优惠券标题*/ |
| | | private String title; |
| | | /**描述*/ |
| | | private String describeInfo; |
| | | /**是否上架*/ |
| | | private Integer isUp; |
| | | /**使用须知*/ |
| | | private String useKnowInfo; |
| | | /**注意事项*/ |
| | | private String carefulInfo; |
| | | /**使用类型*/ |
| | | private Integer useType; |
| | | /**项目使用类型(0指定项目,1项目通用)*/ |
| | | private Integer useProjectType; |
| | | /**商品使用类型(2指定商品,3商品通用)*/ |
| | | private Integer useGoodsType; |
| | | /**促销使用类型(-1取消,8指定促销,9促销通用)*/ |
| | | private Integer usePromotionType; |
| | | /**卡项使用类型(-1取消,10指定卡项,11卡项通用)*/ |
| | | private Integer useCardType; |
| | | /**团购商品使用类型(4指定商品,5商品通用)*/ |
| | | private Integer commodityType; |
| | | /**积分商品使用类型(6指定商品,7商品通用)*/ |
| | | private Integer integralType; |
| | | /**是否展示*/ |
| | | private Integer isShow; |
| | | /**展示开始时间*/ |
| | | private String startShowTime; |
| | | /**展示结束时间*/ |
| | | private String endShowTime; |
| | | /**条件类型*/ |
| | | private Integer conditionType; |
| | | /**满足金额(元)(满足该金额便可用)*/ |
| | | private BigDecimal amountSatisfied; |
| | | /**满足件数(满足该商品件数便可用,暂时预留)*/ |
| | | private Integer itemNum; |
| | | /**优惠类型*/ |
| | | private Integer type; |
| | | /**优惠金额(元)*/ |
| | | private BigDecimal discountAmount; |
| | | /**优惠折扣*/ |
| | | private Double discountNum; |
| | | /**计时类型*/ |
| | | private Integer timeType ; |
| | | /**叠加时长(年)*/ |
| | | public Integer yearNum ; |
| | | /**叠加时长(月)*/ |
| | | public Integer monthNum ; |
| | | /**叠加时长(日)*/ |
| | | public Integer dayNum ; |
| | | /**叠加时长(小时)*/ |
| | | public Integer hoursNum ; |
| | | /**有效开始时间*/ |
| | | private String startTime; |
| | | /**有效结束时间*/ |
| | | private String endTime; |
| | | /**是否能使用增值金*/ |
| | | private Integer isIncrement; |
| | | /**排序*/ |
| | | private Integer sortNum; |
| | | /**原价*/ |
| | | private BigDecimal originalPrice; |
| | | /**现价*/ |
| | | private BigDecimal price; |
| | | /**有效状态(0作废 1有效)*/ |
| | | private Integer validState; |
| | | /**艾心会优惠券标识,荣爷和梁悦说his优惠券和crm优惠券一一对应关系*/ |
| | | private String crmCouponId; |
| | | /**艾心会优惠券名称*/ |
| | | private String crmCouponName; |
| | | /**平台类型(艾心荟、p-his、其他,默认p-his)*/ |
| | | private String platformType; |
| | | /**是否生日券(0:否,1:是)*/ |
| | | private Integer isBirthday; |
| | | /**生日券等级限制(多个用逗号隔开)*/ |
| | | private String birthdayLevel; |
| | | } |