From b0c5d432ec041221dcbe81ca5ae3aa20fe3bddc6 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Mon, 22 Mar 2021 20:17:58 +0800 Subject: [PATCH] Merge branch 'score_shop' of http://120.27.238.55:7000/r/beauty-erp into score_shop --- zq-erp/src/main/java/com/matrix/system/shopXcx/api/vo/ShopCartVo.java | 94 +++++++++------------------------------------- 1 files changed, 19 insertions(+), 75 deletions(-) diff --git a/zq-erp/src/main/java/com/matrix/system/shopXcx/api/vo/ShopCartVo.java b/zq-erp/src/main/java/com/matrix/system/shopXcx/api/vo/ShopCartVo.java index 185f984..6d1733e 100644 --- a/zq-erp/src/main/java/com/matrix/system/shopXcx/api/vo/ShopCartVo.java +++ b/zq-erp/src/main/java/com/matrix/system/shopXcx/api/vo/ShopCartVo.java @@ -2,6 +2,7 @@ import com.matrix.system.shopXcx.bean.ShopCoupon; import com.matrix.system.shopXcx.bean.ShopShoppingCart; +import lombok.Data; import java.math.BigDecimal; import java.util.List; @@ -9,90 +10,33 @@ /** * 购物车前台展示对象 */ +@Data public class ShopCartVo { - private ShopCoupon coupon; + private ShopCoupon coupon; - private CouponReceiveInfoVO couponReceiveInfoVO; + private CouponReceiveInfoVO couponReceiveInfoVO; - public CouponReceiveInfoVO getCouponReceiveInfoVO() { - return couponReceiveInfoVO; - } - public void setCouponReceiveInfoVO(CouponReceiveInfoVO couponReceiveInfoVO) { - this.couponReceiveInfoVO = couponReceiveInfoVO; - } + //是否满足优惠 + private boolean satisfactionCoupon; - //是否满足优惠 - private boolean satisfactionCoupon; + private List<ShopShoppingCart> cartList; - private List<ShopShoppingCart> cartList; + //提示语 + private String msg = ""; - //提示语 - private String msg=""; + //优惠小计金额 + private BigDecimal subtotal = BigDecimal.ZERO; - //优惠小计金额 - private BigDecimal subtotal=BigDecimal.ZERO; + //原价 + private BigDecimal srcPrice = BigDecimal.ZERO; - //原价 - private BigDecimal srcPrice=BigDecimal.ZERO; + //优惠金额 + private BigDecimal couponPrice = BigDecimal.ZERO; + /** + * 抵用积分 + */ + private BigDecimal scorePay = BigDecimal.ZERO; - //优惠金额 - private BigDecimal couponPrice=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 void setCouponPrice(BigDecimal couponPrice) { - this.couponPrice = couponPrice; - } } -- Gitblit v1.9.1