xinyb
2024-07-19 d0bd1e17f0265b7190ad3492b79b3ca02b7a983f
提交 | 用户 | age
a6a76f 1 package com.yc.sdk.shopping.entity;
F 2
3 import java.util.Date;
4
5 public class CartEntity {
6     private Integer cartId = null ;
7     private String userCode = null ;
8     private String userName = null ;
9     private String sessionId = null ;
10     private String openId = null ;   //微信用户openid 
5a4acf 11     private String cltCode = null ;
F 12     private String cltName = null;
13     private String matCode = null;
14     private String matName = null;
15     private String special = null;
16     private Integer recurringId = null;
17     private String optionJson = null;   //option json 格式
18     private String optionText = null; //option text 格式
19     private double quantity = 0;
20     private Date dateAdded = null;
21     private Double price = null;
22     private Double manualPrice = null;
23     private Double amount = null;
a6a76f 24     private double weight = 0;
5a4acf 25
F 26     private boolean isRefreshPrice = true;   //是否需要新价格 ,正常商品需要刷新价格, 对于礼品劵之类的,则不需要刷新价格
27
28     private String voucherDocCode = null;  //礼品劵单号
29
30     private double totalQuantity = 0;
31     private double selectedTotalQuantity = 0;
32     private double totalAmount = 0;
a6a76f 33     private double selectedTotalAmount = 0 ;
F 34     private double totalWeight = 0 ; 
35     private double selectedTotalWeight = 0 ; 
22907b 36     private int selectedItems = 0 ; //已选择的记录条数
J 37     private int cartItems = 0 ; //购物车中所有记录条数
a6a76f 38     private String shopMatCode = null ;
F 39     private String shopCcCode = null ;
40     private String shopCcName = null ;
41     private Double mininum = null ;  //最小订购量
42     private String matName2 = null ; 
43     private String matName3 = null ; 
44     private String matName4 = null ; 
45     private String brand = null ;
46     private boolean isSelected = false ; //是否选中
47     private String refDocCode;
48     private Integer refFormId;
49     private Integer refFormType;
50     private String refRowId;
51
52     private Integer preSendMinutes ;
53     private String preSendMinutesDesc ;
54     private Integer maxPreSendMinutes ;
55     private String maxPreSendMinutesDesc ;
56     private Date maxPreSendDateTime ;
57     private String photoPath = null ;
58     private String photoPathUrl = null ;
59     private boolean isGoShop = false ;  //是否立即下单
60     private boolean isStartupGroupBuying = false ;
61     
62     private Integer skuId1 ;
63     private String skuName1 ;
64     
65     private Integer skuId2 ;
66     private String skuName2 ;
67     
68     private Integer skuId3 ;
69     private String skuName3 ;
70     
71     private Integer skuId4 ;
72     private String skuName4 ;
73     
74     private Integer skuId5 ;
75     private String skuName5 ;
76     
77     private Integer skuId6 ;
78     private String skuName6 ;
79     
80     private Integer skuId7 ;
5a4acf 81     private String skuName7;
F 82
83     private Integer skuId8;
84     private String skuName8;
85
86     private Integer skuId9;
87     private String skuName9;
88
89     private Integer skuId10;
90     private String skuName10;
91
6a5d4e 92     private int cartRowCount =0 ;  //购物车总记录数
J 93     private double cartQuantitySum = 0 ; //购物车总数量
94     
419647 95     private int isRestrictQuantity=  0 ;  //是否限量销售
J 96     private double restrictQuantity = 0 ; //可用库存限量
97
52123d 98     private int cartRowCountForMatCode =0 ;  //购物车单个商品总记录数
J 99     private double cartQuantitySumForMatCode = 0 ; //购物车单个商品总数量
22907b 100         
d0bd1e 101     private Integer currentCartId ;  //当前新增的记录 cartId
1159e1 102     private Integer exchangePointsQuantity = 0;//积分
22907b 103     
J 104     public int getCartItems() {
105         return cartItems;
106     }
107
108     public void setCartItems(int cartItems) {
109         this.cartItems = cartItems;
110     }
111
112     public int getSelectedItems() {
113         return selectedItems;
114     }
115
116     public void setSelectedItems(int selectedItems) {
117         this.selectedItems = selectedItems;
118     }
119
120     public Integer getCurrentCartId() {
121         return currentCartId;
122     }
123
124     public void setCurrentCartId(Integer currentCartId) {
125         this.currentCartId = currentCartId;
126     }
127
52123d 128     public int getCartRowCountForMatCode() {
J 129         return cartRowCountForMatCode;
130     }
131
132     public void setCartRowCountForMatCode(int cartRowCountForMatCode) {
133         this.cartRowCountForMatCode = cartRowCountForMatCode;
134     }
135
136     public double getCartQuantitySumForMatCode() {
137         return cartQuantitySumForMatCode;
138     }
139
140     public void setCartQuantitySumForMatCode(double cartQuantitySumForMatCode) {
141         this.cartQuantitySumForMatCode = cartQuantitySumForMatCode;
142     }
143
419647 144     public int getIsRestrictQuantity() {
J 145         return isRestrictQuantity;
146     }
147
148     public void setIsRestrictQuantity(int isRestrictQuantity) {
149         this.isRestrictQuantity = isRestrictQuantity;
150     }
151
152
153     public double getRestrictQuantity() {
154         return restrictQuantity;
155     }
156
157     public void setRestrictQuantity(double restrictQuantity) {
158         this.restrictQuantity = restrictQuantity;
159     }
6a5d4e 160
J 161     public int getCartRowCount() {
162         return cartRowCount;
163     }
164
165     public void setCartRowCount(int cartRowCount) {
166         this.cartRowCount = cartRowCount;
167     }
168
169     
170
171     public double getCartQuantitySum() {
172         return cartQuantitySum;
173     }
174
175     public void setCartQuantitySum(double cartQuantitySum) {
176         this.cartQuantitySum = cartQuantitySum;
177     }
178
5a4acf 179     public Double getManualPrice() {
F 180         return manualPrice;
181     }
182
183     public void setManualPrice(Double manualPrice) {
184         this.manualPrice = manualPrice;
185     }
186
a6a76f 187     public boolean isStartupGroupBuying() {
F 188         return isStartupGroupBuying;
189     }
190
191     public void setStartupGroupBuying(boolean isStartupGroupBuying) {
192         this.isStartupGroupBuying = isStartupGroupBuying;
193     }
194
195     public Integer getSkuId1() {
196         return skuId1;
197     }
198
199     public CartEntity setSkuId1(Integer skuId1) {
200         this.skuId1 = skuId1;
201         return this;
202     }
203
204     public String getSkuName1() {
205         return skuName1;
206     }
207
208     public CartEntity setSkuName1(String skuName1) {
209         this.skuName1 = skuName1;
210         return this;
211     }
212
213     public Integer getSkuId2() {
214         return skuId2;
215     }
216
217     public CartEntity setSkuId2(Integer skuId2) {
218         this.skuId2 = skuId2;
219         return this;
220     }
221
222     public String getSkuName2() {
223         return skuName2;
224     }
225
226     public CartEntity setSkuName2(String skuName2) {
227         this.skuName2 = skuName2;
228         return this;
229     }
230
231     public Integer getSkuId3() {
232         return skuId3;
233     }
234
235     public CartEntity setSkuId3(Integer skuId3) {
236         this.skuId3 = skuId3;
237         return this;
238     }
239
240     public String getSkuName3() {
241         return skuName3;
242     }
243
244     public CartEntity setSkuName3(String skuName3) {
245         this.skuName3 = skuName3;
246         return this;
247     }
248
249     public Integer getSkuId4() {
250         return skuId4;
251     }
252
253     public CartEntity setSkuId4(Integer skuId4) {
254         this.skuId4 = skuId4;
255         return this;
256     }
257
258     public String getSkuName4() {
259         return skuName4;
260     }
261
262     public CartEntity setSkuName4(String skuName4) {
263         this.skuName4 = skuName4;
264         return this;
265     }
266
267     public Integer getSkuId5() {
268         return skuId5;
269     }
270
271     public CartEntity setSkuId5(Integer skuId5) {
272         this.skuId5 = skuId5;
273         return this;
274     }
275
276     public String getSkuName5() {
277         return skuName5;
278     }
279
280     public CartEntity setSkuName5(String skuName5) {
281         this.skuName5 = skuName5;
282         return this;
283     }
284
285     public Integer getSkuId6() {
286         return skuId6;
287     }
288
289     public CartEntity setSkuId6(Integer skuId6) {
290         this.skuId6 = skuId6;
291         return this;
292     }
293
294     public String getSkuName6() {
295         return skuName6;
296     }
297
298     public CartEntity setSkuName6(String skuName6) {
299         this.skuName6 = skuName6;
300         return this;
301     }
302
303     public Integer getSkuId7() {
304         return skuId7;
305     }
306
307     public CartEntity setSkuId7(Integer skuId7) {
308         this.skuId7 = skuId7;
309         return this;
310     }
311
312     public String getSkuName7() {
313         return skuName7;
314     }
315
316     public CartEntity setSkuName7(String skuName7) {
317         this.skuName7 = skuName7;
318         return this;
319     }
320
321     public Integer getSkuId8() {
322         return skuId8;
323     }
324
325     public CartEntity setSkuId8(Integer skuId8) {
326         this.skuId8 = skuId8;
327         return this;
328     }
329
330     public String getSkuName8() {
331         return skuName8;
332     }
333
334     public CartEntity setSkuName8(String skuName8) {
335         this.skuName8 = skuName8;
336         return this;
337     }
338
339     public Integer getSkuId9() {
340         return skuId9;
341     }
342
343     public CartEntity setSkuId9(Integer skuId9) {
344         this.skuId9 = skuId9;
345         return this;
346     }
347
348     public String getSkuName9() {
349         return skuName9;
350     }
351
352     public CartEntity setSkuName9(String skuName9) {
353         this.skuName9 = skuName9;
354         return this;
355     }
356
357     public Integer getSkuId10() {
358         return skuId10;
359     }
360
361     public CartEntity setSkuId10(Integer skuId10) {
362         this.skuId10 = skuId10;
363         return this;
364     }
365
366     public String getSkuName10() {
367         return skuName10;
368     }
369
370     public CartEntity setSkuName10(String skuName10) {
371         this.skuName10 = skuName10;
372         return this;
373     }
374
375     public boolean isGoShop() {
376         return isGoShop;
377     }
378
379     public void setGoShop(boolean isGoShop) {
380         this.isGoShop = isGoShop;
381     }
382
383     public double getSelectedTotalQuantity() {
384         return selectedTotalQuantity;
385     }
386
387     public void setSelectedTotalQuantity(double selectedTotalQuantity) {
388         this.selectedTotalQuantity = selectedTotalQuantity;
389     }
390
391     public double getSelectedTotalAmount() {
392         return selectedTotalAmount;
393     }
394
395     public void setSelectedTotalAmount(double selectedTotalAmount) {
396         this.selectedTotalAmount = selectedTotalAmount;
397     }
398
399     public double getSelectedTotalWeight() {
400         return selectedTotalWeight;
401     }
402
403     public void setSelectedTotalWeight(double selectedTotalWeight) {
404         this.selectedTotalWeight = selectedTotalWeight;
405     }
406
407     public String getPhotoPathUrl() {
408         return photoPathUrl;
409     }
410
411     public void setPhotoPathUrl(String photoPathUrl) {
412         this.photoPathUrl = photoPathUrl;
413     }
414
415     public boolean isSelected() {
416         return isSelected;
417     }
418
419     public void setSelected(boolean isSelected) {
420         this.isSelected = isSelected;
421     }
422
423     public Integer getPreSendMinutes() {
424         return preSendMinutes;
425     }
426
427     public void setPreSendMinutes(Integer preSendMinutes) {
428         this.preSendMinutes = preSendMinutes;
429     }
430
431     public String getPreSendMinutesDesc() {
432         return preSendMinutesDesc;
433     }
434
435     public void setPreSendMinutesDesc(String preSendMinutesDesc) {
436         this.preSendMinutesDesc = preSendMinutesDesc;
437     }
438
439     public Integer getMaxPreSendMinutes() {
440         return maxPreSendMinutes;
441     }
442
443     public void setMaxPreSendMinutes(Integer maxPreSendMinutes) {
444         this.maxPreSendMinutes = maxPreSendMinutes;
445     }
446
447     public String getMaxPreSendMinutesDesc() {
448         return maxPreSendMinutesDesc;
449     }
450
451     public void setMaxPreSendMinutesDesc(String maxPreSendMinutesDesc) {
452         this.maxPreSendMinutesDesc = maxPreSendMinutesDesc;
453     }
454
455     public Date getMaxPreSendDateTime() {
456         return maxPreSendDateTime;
457     }
458
459     public void setMaxPreSendDateTime(Date maxPreSendDateTime) {
460         this.maxPreSendDateTime = maxPreSendDateTime;
461     }
462
463     public String getRefDocCode() {
464         return refDocCode;
465     }
466
467     public void setRefDocCode(String refDocCode) {
468         this.refDocCode = refDocCode;
469     }
470
471     public Integer getRefFormId() {
472         return refFormId;
473     }
474
475     public void setRefFormId(Integer refFormId) {
476         this.refFormId = refFormId;
477     }
478
479     public Integer getRefFormType() {
480         return refFormType;
481     }
482
483     public void setRefFormType(Integer refFormType) {
484         this.refFormType = refFormType;
485     }
486
487     public String getRefRowId() {
488         return refRowId;
489     }
490
491     public void setRefRowId(String refRowId) {
492         this.refRowId = refRowId;
493     }
494
495     public String getMatName2() {
496         return matName2;
497     }
498     public void setMatName2(String matName2) {
499         this.matName2 = matName2;
500     }
501     public String getMatName3() {
502         return matName3;
503     }
504     public void setMatName3(String matName3) {
505         this.matName3 = matName3;
506     }
507     public String getMatName4() {
508         return matName4;
509     }
510     public void setMatName4(String matName4) {
511         this.matName4 = matName4;
512     }
513     public String getBrand() {
514         return brand;
515     }
516     public void setBrand(String brand) {
517         this.brand = brand;
518     }
519     public Double getMininum() {
520         return mininum;
521     }
522     public void setMininum(Double mininum) {
523         this.mininum = mininum;
524     }
525     public String getShopCcName() {
526         return shopCcName;
527     }
528     public void setShopCcName(String shopCcName) {
529         this.shopCcName = shopCcName;
530     }
531     public String getShopMatCode() {
532         return shopMatCode;
533     }
534     public void setShopMatCode(String shopMatCode) {
535         this.shopMatCode = shopMatCode;
536     }
537     public String getShopCcCode() {
538         return shopCcCode;
539     }
540     public void setShopCcCode(String shopCcCode) {
541         this.shopCcCode = shopCcCode;
542     }
543     public double getTotalQuantity() {
544         return totalQuantity;
545     }
546     public void setTotalQuantity(double totalQuantity) {
547         this.totalQuantity = totalQuantity;
548     }
549     public double getTotalAmount() {
550         return totalAmount;
551     }
552     public void setTotalAmount(double totalAmount) {
553         this.totalAmount = totalAmount;
554     }
555     public double getTotalWeight() {
556         return totalWeight;
557     }
558     public void setTotalWeight(double totalWeight) {
559         this.totalWeight = totalWeight;
560     }
561     public String getCltCode() {
562         return cltCode;
563     }
564     public void setCltCode(String cltCode) {
565         this.cltCode = cltCode;
566     }
567     public String getCltName() {
568         return cltName;
569     }
570     public void setCltName(String cltName) {
571         this.cltName = cltName;
572     }
573     public String getOpenId() {
574         return openId;
575     }
576     public void setOpenId(String openId) {
577         this.openId = openId;
578     }
579     public String getVoucherDocCode() {
580         return voucherDocCode;
581     }
582     public void setVoucherDocCode(String voucherDocCode) {
583         this.voucherDocCode = voucherDocCode;
584     }
585     public boolean isRefreshPrice() {
586         return isRefreshPrice;
587     }
588     public void setRefreshPrice(boolean isRefreshPrice) {
589         this.isRefreshPrice = isRefreshPrice;
590     }
591     public String getOptionJson() {
592         return optionJson;
593     }
594     public void setOptionJson(String optionJson) {
595         this.optionJson = optionJson;
596     }
597     public String getOptionText() {
598         return optionText;
599     }
600     public void setOptionText(String optionText) {
601         this.optionText = optionText;
602     }
603     public double getWeight() {
604         return weight;
605     }
606     public void setWeight(double weight) {
607         this.weight = weight;
608     }
609     public Double getAmount() {
610         return amount;
611     }
612     public void setAmount(Double amount) {
613         this.amount = amount;
614     }
615     
616     
617     
618     public String getPhotoPath() {
619         return photoPath;
620     }
621     public void setPhotoPath(String photoPath) {
622         this.photoPath = photoPath;
623     }
624     public Double getPrice() {
625         return price;
626     }
627     public void setPrice(Double price) {
628         this.price = price;
629     }
630     public Integer getCartId() {
631         return cartId;
632     }
633     public void setCartId(Integer cartId) {
634         this.cartId = cartId;
635     }
636     public String getUserCode() {
637         return userCode;
638     }
639     public void setUserCode(String userCode) {
640         this.userCode = userCode;
641     }
642     public String getUserName() {
643         return userName;
644     }
645     public void setUserName(String userName) {
646         this.userName = userName;
647     }
648     public String getSessionId() {
649         return sessionId;
650     }
651     public void setSessionId(String sessionId) {
652         this.sessionId = sessionId;
653     }
654     public String getMatCode() {
655         return matCode;
656     }
657     public void setMatCode(String matCode) {
658         this.matCode = matCode;
659     }
660     public String getMatName() {
661         return matName;
662     }
663     public void setMatName(String matName) {
664         this.matName = matName;
665     }
666     public String getSpecial() {
667         return special;
668     }
669     public void setSpecial(String special) {
670         this.special = special;
671     }
672     public Integer getRecurringId() {
673         return recurringId;
674     }
675     public void setRecurringId(Integer recurringId) {
676         this.recurringId = recurringId;
677     }
678     public double getQuantity() {
679         return quantity;
680     }
681     public void setQuantity(double quantity) {
682         this.quantity = quantity;
683     }
684     public Date getDateAdded() {
685         return dateAdded;
686     }
687     public void setDateAdded(Date dateAdded) {
688         this.dateAdded = dateAdded;
689     }
1159e1 690     public Integer getExchangePointsQuantity() {
X 691         return exchangePointsQuantity;
692     }
693
694     public void setExchangePointsQuantity(Integer exchangePointsQuantity) {
695         this.exchangePointsQuantity = exchangePointsQuantity;
696     }
a6a76f 697 }