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

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 DiscountResultBO {

    List<CartGoods> cartGoods;

    private Boolean isMember;

    private HashMap<String, CheckSpqInfoResponseDto> validCouponMap;
    private HashMap<String, List<String>> spqIdToCartUuidMap;

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

    private ShoppingCartContext shoppingCartContext;

}
