
package com.tmerclub.cloud.api.discount.vo;

import com.tmerclub.cloud.common.order.vo.ChooseDiscountItemVO;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Map;

/**
 * 某个店铺的满江活动的活动信息
 * @author tmerclub
 */
@Data
public class DiscountSumVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     * 以优惠活动id为key， 优惠活动金额 为value的map
     * {优惠活动id：优惠活动金额}
     */
    private Map<Long, DiscountSumItemVO> discountIdDiscountSumItemMap;

    /**
     * 所有优惠活动加起来的金额
     */
    private Long totalReduceAmount;

    private ChooseDiscountItemVO chooseDiscountItem;

}
