jyy
2021-03-19 c16b9ffceac828840ef7ebc4827612d17906704a
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
package com.matrix.system.shopXcx.api.vo;
 
import com.matrix.system.shopXcx.bean.ShopCoupon;
import com.matrix.system.shopXcx.bean.ShopShoppingCart;
 
import java.math.BigDecimal;
import java.util.List;
 
/**
 * 购物车前台展示对象
 */
public class ShopCartVo {
 
    private ShopCoupon coupon;
 
    private CouponReceiveInfoVO couponReceiveInfoVO;
 
    public CouponReceiveInfoVO getCouponReceiveInfoVO() {
        return couponReceiveInfoVO;
    }
 
    public void setCouponReceiveInfoVO(CouponReceiveInfoVO couponReceiveInfoVO) {
        this.couponReceiveInfoVO = couponReceiveInfoVO;
    }
 
    //是否满足优惠
    private boolean satisfactionCoupon;
 
    private List<ShopShoppingCart> cartList;
 
    //提示语
    private String msg="";
 
    //优惠小计金额
    private BigDecimal subtotal=BigDecimal.ZERO;
 
    //原价
    private BigDecimal srcPrice=BigDecimal.ZERO;
 
    //优惠金额
    private BigDecimal  couponPrice=BigDecimal.ZERO;
    /**
     * 抵用积分
     */
    private BigDecimal scorePay = BigDecimal.ZERO;
 
    public ShopCoupon getCoupon() {
        return coupon;
    }
 
    public void setCoupon(ShopCoupon coupon) {
        this.coupon = coupon;
    }
 
    public boolean isSatisfactionCoupon() {
        return satisfactionCoupon;
    }
 
    public void setSatisfactionCoupon(boolean satisfactionCoupon) {
        this.satisfactionCoupon = satisfactionCoupon;
    }
 
    public List<ShopShoppingCart> getCartList() {
        return cartList;
    }
 
    public void setCartList(List<ShopShoppingCart> cartList) {
        this.cartList = cartList;
    }
 
    public String getMsg() {
        return msg;
    }
 
    public void setMsg(String msg) {
        this.msg = msg;
    }
 
    public BigDecimal getSubtotal() {
        return subtotal;
    }
 
    public void setSubtotal(BigDecimal subtotal) {
        this.subtotal = subtotal;
    }
 
    public BigDecimal getSrcPrice() {
        return srcPrice;
    }
 
    public void setSrcPrice(BigDecimal srcPrice) {
        this.srcPrice = srcPrice;
    }
 
    public BigDecimal getCouponPrice() {
        return couponPrice;
    }
 
    public BigDecimal getScorePay() {
        return scorePay;
    }
 
    public void setScorePay(BigDecimal scorePay) {
        this.scorePay = scorePay;
    }
 
    public void setCouponPrice(BigDecimal couponPrice) {
        this.couponPrice = couponPrice;
    }
}