package cn.freemud.demo.entities.bo.goods;

import cn.freemud.demo.entities.bo.promotion.GetCalculationDiscountBO;
import cn.freemud.entities.dto.CheckSpqInfoResponseDto;
import cn.freemud.entities.vo.CartGoods;
import lombok.Data;

import java.util.HashMap;
import java.util.List;

@Data
public class CalCostBO {

    List<CartGoods> cartGoods;

    /**
     * 前端用来提示的信息
     */
    private String toastMsg;
    /**
     * 购物车中商品价格或有效性是否发生变化
     */
    private Boolean changed=false;

    private Long deliveryAmount;

    private HashMap<String, CheckSpqInfoResponseDto> validCouponMap;

    private ShoppingCartContext shoppingCartContext;

    private GetCalculationDiscountBO getCalculationDiscountBO;

    private CalculationDiscountBO calculationDiscountBO;

}
