TdCBusinessCouponRule.java
6.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
package com.zteits.business.domain;
import java.util.Date;
public class TdCBusinessCouponRule {
/**主键*/
private Long id;
/**卡券规则编码*/
private String cardRuleNo;
/**卡券规则名称*/
private String cardRuleName;
/**卡券类型 :1-单次券,2-时长券,3-满减券,4-金额券,5-包天券(24小时制,如果有自然日的情况在拓展),6-折扣券*/
private Integer cardType;
/**暂时没用,优惠券类型:1:按次优惠,2:按时优惠,3:折扣优惠(打折),4:满减优惠*/
private Integer couponsType;
/**暂时没用,使用规则:1 满减使用(限制),-1无限制(充值卡都为-1)*/
private Integer useRule;
/**优惠值:按次(1次等),按时(如:120分钟),折扣(9.8,数据库存98),优惠(如10元,存1000分),包天(24小时制,已分钟为单位,24*60分钟),满减(保存减去的金额,满多少使用full_cut_value字段表示)*/
private String discValue;
/**卡券面值(例如100元代金券)或满减金额(例如:满10减2则保存10元)(金额单位分)*/
private Integer fullCutValue;
/**暂时不用区分,是否叠加使用 1:是 0:否 默认否*/
private Integer isSuperpUse;
/**创建人*/
private String createEmpid;
/**创建时间*/
private Date createDate;
/**修改人*/
private String modfiyEmpid;
/**修改时间*/
private Date modfiyDate;
/**卡券说明,如:不与其他优惠同时使用*/
private String cardContent;
/**数据状态:1有效,0无效,*/
private Integer dataState;
/**备注*/
private String remark;
/**获取主键*/
public Long getId() {
return id;
}
/**设置主键*/
public void setId(Long id) {
this.id = id;
}
/**获取卡券规则编码*/
public String getCardRuleNo() {
return cardRuleNo;
}
/**设置卡券规则编码*/
public void setCardRuleNo(String cardRuleNo) {
this.cardRuleNo = cardRuleNo == null ? null : cardRuleNo.trim();
}
/**获取卡券规则名称*/
public String getCardRuleName() {
return cardRuleName;
}
/**设置卡券规则名称*/
public void setCardRuleName(String cardRuleName) {
this.cardRuleName = cardRuleName == null ? null : cardRuleName.trim();
}
/**获取卡券类型 :1-单次券,2-时长券,3-满减券,4-金额券,5-包天券(24小时制,如果有自然日的情况在拓展),6-折扣券*/
public Integer getCardType() {
return cardType;
}
/**设置卡券类型 :1-单次券,2-时长券,3-满减券,4-金额券,5-包天券(24小时制,如果有自然日的情况在拓展),6-折扣券*/
public void setCardType(Integer cardType) {
this.cardType = cardType;
}
/**获取暂时没用,优惠券类型:1:按次优惠,2:按时优惠,3:折扣优惠(打折),4:满减优惠*/
public Integer getCouponsType() {
return couponsType;
}
/**设置暂时没用,优惠券类型:1:按次优惠,2:按时优惠,3:折扣优惠(打折),4:满减优惠*/
public void setCouponsType(Integer couponsType) {
this.couponsType = couponsType;
}
/**获取暂时没用,使用规则:1 满减使用(限制),-1无限制(充值卡都为-1)*/
public Integer getUseRule() {
return useRule;
}
/**设置暂时没用,使用规则:1 满减使用(限制),-1无限制(充值卡都为-1)*/
public void setUseRule(Integer useRule) {
this.useRule = useRule;
}
/**获取优惠值:按次(1次等),按时(如:120分钟),折扣(9.8,数据库存98),优惠(如10元,存1000分),包天(24小时制,已分钟为单位,24*60分钟),满减(保存减去的金额,满多少使用full_cut_value字段表示)*/
public String getDiscValue() {
return discValue;
}
/**设置优惠值:按次(1次等),按时(如:120分钟),折扣(9.8,数据库存98),优惠(如10元,存1000分),包天(24小时制,已分钟为单位,24*60分钟),满减(保存减去的金额,满多少使用full_cut_value字段表示)*/
public void setDiscValue(String discValue) {
this.discValue = discValue == null ? null : discValue.trim();
}
/**获取卡券面值(例如100元代金券)或满减金额(例如:满10减2则保存10元)(金额单位分)*/
public Integer getFullCutValue() {
return fullCutValue;
}
/**设置卡券面值(例如100元代金券)或满减金额(例如:满10减2则保存10元)(金额单位分)*/
public void setFullCutValue(Integer fullCutValue) {
this.fullCutValue = fullCutValue;
}
/**获取暂时不用区分,是否叠加使用 1:是 0:否 默认否*/
public Integer getIsSuperpUse() {
return isSuperpUse;
}
/**设置暂时不用区分,是否叠加使用 1:是 0:否 默认否*/
public void setIsSuperpUse(Integer isSuperpUse) {
this.isSuperpUse = isSuperpUse;
}
/**获取创建人*/
public String getCreateEmpid() {
return createEmpid;
}
/**设置创建人*/
public void setCreateEmpid(String createEmpid) {
this.createEmpid = createEmpid == null ? null : createEmpid.trim();
}
/**获取创建时间*/
public Date getCreateDate() {
return createDate;
}
/**设置创建时间*/
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
/**获取修改人*/
public String getModfiyEmpid() {
return modfiyEmpid;
}
/**设置修改人*/
public void setModfiyEmpid(String modfiyEmpid) {
this.modfiyEmpid = modfiyEmpid == null ? null : modfiyEmpid.trim();
}
/**获取修改时间*/
public Date getModfiyDate() {
return modfiyDate;
}
/**设置修改时间*/
public void setModfiyDate(Date modfiyDate) {
this.modfiyDate = modfiyDate;
}
/**获取卡券说明,如:不与其他优惠同时使用*/
public String getCardContent() {
return cardContent;
}
/**设置卡券说明,如:不与其他优惠同时使用*/
public void setCardContent(String cardContent) {
this.cardContent = cardContent == null ? null : cardContent.trim();
}
/**获取数据状态:1有效,0无效,*/
public Integer getDataState() {
return dataState;
}
/**设置数据状态:1有效,0无效,*/
public void setDataState(Integer dataState) {
this.dataState = dataState;
}
/**获取备注*/
public String getRemark() {
return remark;
}
/**设置备注*/
public void setRemark(String remark) {
this.remark = remark == null ? null : remark.trim();
}
}