TdCBusinessCoupon.java
11.9 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
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
package com.zteits.business.domain;
import java.util.Date;
public class TdCBusinessCoupon {
/**主键*/
private Long id;
/**商户ID*/
private String businessId;
/**商户名称*/
private String businessName;
/**卡券规则编码*/
private String cardRuleNo;
/**卡券规则名称*/
private String cardRuleName;
/**单个卡券编码*/
private String cardNo;
/**停车场编码*/
private String plNo;
/**车场名称*/
private String plName;
/**卡券类型 :1-单次券,2-时长券,3-满减券,4-金额券,5-包天券*/
private Integer cardType;
/**优惠券类型:1:按次优惠,2:按时优惠,3:折扣优惠(打折),4:满减优惠*/
private Integer couponsType;
/**使用规则:1 满减使用(限制),-1无限制(充值卡都为-1)*/
private Integer useRule;
/**优惠值:按次(1次等),按时(如:120分钟),折扣(9.8,数据库存98),优惠(如10元,存1000分)*/
private String discValue;
/**卡券面值(例如100元代金券)或满减金额(例如:满10减2则保存10元)(金额单位分)*/
private Integer fullCutValue;
/**是否叠加使用 1:是 0:否*/
private Integer isSuperpUse;
/**是否有时间限制:1:是 0:否*/
private Integer isTLimit;
/**生效时间:0点*/
private Date effDate;
/**失效时间:24点*/
private Date expDate;
/**开始时间*/
private Date beginTime;
/**结束时间*/
private Date endTime;
/**失效时长(发放后,单位小时)*/
private Integer validH;
/**发放渠道*/
private Integer issuedChannels;
/**是否发放 0:未发放 1:已发放*/
private Integer issued;
/**发放时间*/
private Date issuedEffDate;
/**发放后失效时间*/
private Date issuedExpDate;
/**是否已使用 1:已使用/绑定 0:未使用*/
private Integer isUesed;
/**车牌号*/
private String carNumber;
/**订单id*/
private String orderId;
/**支付单id*/
private String payOrderId;
/**描述*/
private String cardRemarks;
/**服务点对应二级组织ID*/
private Long orgId;
/**数据状态:1有效,0无效*/
private Integer dataState;
/**创建人*/
private String createEmpid;
/**创建时间*/
private Date createDate;
/**修改人*/
private String modfiyEmpid;
/**修改时间*/
private Date modfiyDate;
/**使用时间*/
private Date usedDate;
/**规则关联车场编码*/
private String cardRelParkNo;
/**获取主键*/
public Long getId() {
return id;
}
/**设置主键*/
public void setId(Long id) {
this.id = id;
}
/**获取商户ID*/
public String getBusinessId() {
return businessId;
}
/**设置商户ID*/
public void setBusinessId(String businessId) {
this.businessId = businessId == null ? null : businessId.trim();
}
/**获取商户名称*/
public String getBusinessName() {
return businessName;
}
/**设置商户名称*/
public void setBusinessName(String businessName) {
this.businessName = businessName == null ? null : businessName.trim();
}
/**获取卡券规则编码*/
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();
}
/**获取单个卡券编码*/
public String getCardNo() {
return cardNo;
}
/**设置单个卡券编码*/
public void setCardNo(String cardNo) {
this.cardNo = cardNo == null ? null : cardNo.trim();
}
/**获取停车场编码*/
public String getPlNo() {
return plNo;
}
/**设置停车场编码*/
public void setPlNo(String plNo) {
this.plNo = plNo == null ? null : plNo.trim();
}
/**获取车场名称*/
public String getPlName() {
return plName;
}
/**设置车场名称*/
public void setPlName(String plName) {
this.plName = plName == null ? null : plName.trim();
}
/**获取卡券类型 :1-单次券,2-时长券,3-满减券,4-金额券,5-包天券*/
public Integer getCardType() {
return cardType;
}
/**设置卡券类型 :1-单次券,2-时长券,3-满减券,4-金额券,5-包天券*/
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分)*/
public String getDiscValue() {
return discValue;
}
/**设置优惠值:按次(1次等),按时(如:120分钟),折扣(9.8,数据库存98),优惠(如10元,存1000分)*/
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;
}
/**获取是否有时间限制:1:是 0:否*/
public Integer getIsTLimit() {
return isTLimit;
}
/**设置是否有时间限制:1:是 0:否*/
public void setIsTLimit(Integer isTLimit) {
this.isTLimit = isTLimit;
}
/**获取生效时间:0点*/
public Date getEffDate() {
return effDate;
}
/**设置生效时间:0点*/
public void setEffDate(Date effDate) {
this.effDate = effDate;
}
/**获取失效时间:24点*/
public Date getExpDate() {
return expDate;
}
/**设置失效时间:24点*/
public void setExpDate(Date expDate) {
this.expDate = expDate;
}
/**获取开始时间*/
public Date getBeginTime() {
return beginTime;
}
/**设置开始时间*/
public void setBeginTime(Date beginTime) {
this.beginTime = beginTime;
}
/**获取结束时间*/
public Date getEndTime() {
return endTime;
}
/**设置结束时间*/
public void setEndTime(Date endTime) {
this.endTime = endTime;
}
/**获取失效时长(发放后,单位小时)*/
public Integer getValidH() {
return validH;
}
/**设置失效时长(发放后,单位小时)*/
public void setValidH(Integer validH) {
this.validH = validH;
}
/**获取发放渠道*/
public Integer getIssuedChannels() {
return issuedChannels;
}
/**设置发放渠道*/
public void setIssuedChannels(Integer issuedChannels) {
this.issuedChannels = issuedChannels;
}
/**获取是否发放 0:未发放 1:已发放*/
public Integer getIssued() {
return issued;
}
/**设置是否发放 0:未发放 1:已发放*/
public void setIssued(Integer issued) {
this.issued = issued;
}
/**获取发放时间*/
public Date getIssuedEffDate() {
return issuedEffDate;
}
/**设置发放时间*/
public void setIssuedEffDate(Date issuedEffDate) {
this.issuedEffDate = issuedEffDate;
}
/**获取发放后失效时间*/
public Date getIssuedExpDate() {
return issuedExpDate;
}
/**设置发放后失效时间*/
public void setIssuedExpDate(Date issuedExpDate) {
this.issuedExpDate = issuedExpDate;
}
/**获取是否已使用 1:已使用/绑定 0:未使用*/
public Integer getIsUesed() {
return isUesed;
}
/**设置是否已使用 1:已使用/绑定 0:未使用*/
public void setIsUesed(Integer isUesed) {
this.isUesed = isUesed;
}
/**获取车牌号*/
public String getCarNumber() {
return carNumber;
}
/**设置车牌号*/
public void setCarNumber(String carNumber) {
this.carNumber = carNumber == null ? null : carNumber.trim();
}
/**获取订单id*/
public String getOrderId() {
return orderId;
}
/**设置订单id*/
public void setOrderId(String orderId) {
this.orderId = orderId == null ? null : orderId.trim();
}
/**获取支付单id*/
public String getPayOrderId() {
return payOrderId;
}
/**设置支付单id*/
public void setPayOrderId(String payOrderId) {
this.payOrderId = payOrderId == null ? null : payOrderId.trim();
}
/**获取描述*/
public String getCardRemarks() {
return cardRemarks;
}
/**设置描述*/
public void setCardRemarks(String cardRemarks) {
this.cardRemarks = cardRemarks == null ? null : cardRemarks.trim();
}
/**获取服务点对应二级组织ID*/
public Long getOrgId() {
return orgId;
}
/**设置服务点对应二级组织ID*/
public void setOrgId(Long orgId) {
this.orgId = orgId;
}
/**获取数据状态:1有效,0无效*/
public Integer getDataState() {
return dataState;
}
/**设置数据状态:1有效,0无效*/
public void setDataState(Integer dataState) {
this.dataState = dataState;
}
/**获取创建人*/
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 Date getUsedDate() {
return usedDate;
}
/**设置使用时间*/
public void setUsedDate(Date usedDate) {
this.usedDate = usedDate;
}
public String getCardRelParkNo() {
return cardRelParkNo;
}
public void setCardRelParkNo(String cardRelParkNo) {
this.cardRelParkNo = cardRelParkNo;
}
}