| | |
| | | */ |
| | | public class ShopShoppingCart extends EntityDTOExt { |
| | | @Extend |
| | | private static final long serialVersionUID = 1L; |
| | | private static final long serialVersionUID = 1L; |
| | | /** |
| | | *购物车类型-直接购买 |
| | | */ |
| | | public static final int CAR_TYPE_MICRO =1; |
| | | /** |
| | | *购物车类型-积分兑换 |
| | | */ |
| | | public static final int CAR_TYPE_SCORE=2; |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 主键 |
| | | */ |
| | | private Integer cartId; |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 用户ID |
| | | */ |
| | | private String cartUserId; |
| | | |
| | | |
| | | private Long cartUserId; |
| | | |
| | | |
| | | /** |
| | | * 产品ID |
| | | */ |
| | | private Integer cartProductId; |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 规格ID |
| | | */ |
| | | private Integer cartSkuId; |
| | | |
| | | |
| | | |
| | | |
| | | /** |
| | | * 数量 |
| | | */ |
| | |
| | | * 用户是否选中 1选中 2未选中 |
| | | */ |
| | | private Integer isSelected; |
| | | /** |
| | | * 购物车类型 1直接支付 2积分兑换 |
| | | */ |
| | | private Integer cartType; |
| | | |
| | | |
| | | |
| | | /** |
| | | * 门店id |
| | |
| | | */ |
| | | @Extend |
| | | private BigDecimal price; |
| | | /** |
| | | * 积分兑换所需支付金额 |
| | | */ |
| | | @Extend |
| | | private BigDecimal scorePrice; |
| | | /** |
| | | * 积分兑换所需支付积分 |
| | | */ |
| | | @Extend |
| | | private Integer scoreCount; |
| | | |
| | | /** |
| | | * 产品手机端封面地址 |
| | |
| | | this.increaseAndDecrease = increaseAndDecrease; |
| | | } |
| | | |
| | | public BigDecimal getScorePrice() { |
| | | return scorePrice; |
| | | } |
| | | |
| | | public void setScorePrice(BigDecimal scorePrice) { |
| | | this.scorePrice = scorePrice; |
| | | } |
| | | |
| | | public Integer getScoreCount() { |
| | | return scoreCount; |
| | | } |
| | | |
| | | public void setScoreCount(Integer scoreCount) { |
| | | this.scoreCount = scoreCount; |
| | | } |
| | | |
| | | public Integer getModifyCartNumber() { |
| | | return modifyCartNumber; |
| | | } |
| | |
| | | public Integer getCartId() { |
| | | return cartId; |
| | | } |
| | | |
| | | public void setCartId(Integer cartId) { |
| | | |
| | | public void setCartId(Integer cartId) { |
| | | this.cartId=cartId; |
| | | } |
| | | |
| | | |
| | | public String getCartUserId() { |
| | | |
| | | public Long getCartUserId() { |
| | | return cartUserId; |
| | | } |
| | | |
| | | public void setCartUserId(String cartUserId) { |
| | | |
| | | public void setCartUserId(Long cartUserId) { |
| | | this.cartUserId=cartUserId; |
| | | } |
| | | |
| | | |
| | | |
| | | public Integer getCartProductId() { |
| | | return cartProductId; |
| | | } |
| | | |
| | | public void setCartProductId(Integer cartProductId) { |
| | | |
| | | public void setCartProductId(Integer cartProductId) { |
| | | this.cartProductId=cartProductId; |
| | | } |
| | | |
| | | |
| | | |
| | | public Integer getCartSkuId() { |
| | | return cartSkuId; |
| | | } |
| | | |
| | | public void setCartSkuId(Integer cartSkuId) { |
| | | |
| | | public void setCartSkuId(Integer cartSkuId) { |
| | | this.cartSkuId=cartSkuId; |
| | | } |
| | | |
| | | |
| | | |
| | | public Integer getCartNumber() { |
| | | return cartNumber; |
| | | } |
| | | |
| | | public void setCartNumber(Integer cartNumber) { |
| | | |
| | | public void setCartNumber(Integer cartNumber) { |
| | | this.cartNumber=cartNumber; |
| | | } |
| | | |
| | |
| | | |
| | | public void setShopCoupons(List<ShopCoupon> shopCoupons) { |
| | | this.shopCoupons=shopCoupons; |
| | | |
| | | |
| | | } |
| | | |
| | | public List<ShopCoupon> getShopCoupons() { |
| | | return shopCoupons; |
| | | } |
| | | |
| | | |
| | | |
| | | public Integer getCartType() { |
| | | return cartType; |
| | | } |
| | | |
| | | public void setCartType(Integer cartType) { |
| | | this.cartType = cartType; |
| | | } |
| | | } |