fwq
2022-10-21 9855d12500fa6e4a9275607f28469f507dad0a3b
提交 | 用户 | age
ad38f9 1 package com.hz.crm.dto.coupon;
F 2
3
4 import lombok.Data;
5
6 import java.math.BigDecimal;
7 import java.util.Date;
8
9 /**
10  * 优惠券信息
11  * */
12 @Data
13 public class CouponInfoDto{
14     /**id*/
15     private String id;
16     /**优惠券标题*/
17     private String title;
18     /**描述*/
19     private String describeInfo;
20     /**使用须知*/
21     private String useKnowInfo;
22     /**注意事项*/
23     private String carefulInfo;
24     /**项目使用类型(-1取消,0指定项目,1项目通用,12指定项目分类)*/
25     private Integer useProjectType;
26     /**商品使用类型(-1取消,2指定商品,3商品通用,13指定商品分类)*/
27     private Integer useGoodsType;
28     /**促销使用类型(-1取消,8指定促销,9促销通用,14指定促销分类)*/
29     private Integer usePromotionType;
30     /**卡项使用类型(-1取消,10指定卡项,11卡项通用,15指定卡项分类)*/
31     private Integer useCardType;
32     /**团购商品使用类型(4指定商品,5商品通用)*/
33     private Integer commodityType;
34     /**积分商品使用类型(6指定商品,7商品通用)*/
35     private Integer integralType;
36     /**指定crm分类 是否 0 否 1 是*/
37     private Integer crmType;
38     /**优惠类型(0折扣,1金额)*/
39     private Integer type;
40     /**优惠金额(元)*/
41     private BigDecimal discountAmount= BigDecimal.ZERO;
42     /**优惠折扣(单位:百分比,默认100)*/
43     private BigDecimal discountNum;
44     /**条件类型(0无条件,1满金额,2满件数;暂时预留,默认满金额)*/
45     private Integer conditionType;
46     /**满足金额(元)(满足该金额便可用)*/
47     private BigDecimal amountSatisfied = BigDecimal.ZERO;
48     /**满足件数(满足该商品件数便可用,暂时预留)*/
49     private Integer itemNum;
50     /**计时类型(0时间段,1领取有效时长(领取时间叠加时间))*/
51     private Integer timeType;
52     /**叠加时长(年)*/
53     public Integer yearNum = 0;
54     /**叠加时长(月)*/
55     public Integer monthNum = 0;
56     /**叠加时长(日)*/
57     public Integer dayNum = 0;
58     /**叠加时长(小时)*/
59     public Integer hoursNum = 0;
60     /**有效开始时间*/
61     private String startTime;
62     /**有效结束时间*/
63     private Date endTime;
64     /**有效状态(0作废 1有效)*/
65     private Integer validState;
66     /**开始时间(展示和领取)*/
67     private Date startShowTime;
68     /**结束时间(展示和领取)*/
69     private Date endShowTime;
70     /**有效天数*/
71     public Integer validDay;
72     /**是否展示(0否1是)*/
73     private Integer isShow;
74     /**是否上架(0否1是)*/
75     private Integer isUp;
76     /**是否能使用增值金,0:不能,1:可以*/
77     private Integer isIncrement;
78     /**排序*/
79     private Integer rankingNum;
80     /**艾心会优惠券标识,荣爷和梁悦说his优惠券和crm优惠券一一对应关系*/
81     private String crmCouponId;
82     /**艾心会优惠券名称*/
83     private String crmCouponName;
84     /**平台类型(艾心荟、p-his、其他,默认p-his)*/
85     private String platformType;
86     /**是否生日券(0:否,1:是)*/
87     private Integer isBirthday;
88     /**生日券等级限制(多个用逗号隔开)*/
89     private String birthdayLevel;
90     /**优惠券唯一编号,以C开头, C00000000*/
91     private String couponUniqueNo;
92     /**优惠券唯一名称*/
93     private String couponUniqueName;
94     /**优惠券成本部门*/
95     private String couponCostDepartment;
96     /**发行开始时间*/
97     private Date issueStartTime;
98     /**发行结束时间*/
99     private Date issueEndTime;
100     /**发行类型(0线上 1线下)*/
101     private Integer issueType;
102     /**发行数量*/
103     public Integer issueNum;
104 }