package com.yami.shop.bean.event;

import com.yami.shop.bean.app.dto.ShopCartItemDto;
import com.yami.shop.bean.app.dto.ShopCartOrderMergerDto;
import com.yami.shop.bean.app.param.OrderParam;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 *  平台确认订单，包括平台优惠券，等级
 */
@Data
@AllArgsConstructor
public class PlatformConfirmOrderEvent {

    /**
     * 组装好的订单信息
     */
    private ShopCartOrderMergerDto shopCartOrderMergerDto;

    /**
     * 下单参数
     */
    private OrderParam orderParam;

    /**
     * 订单内所有商品item
     */
    List<ShopCartItemDto> allCartItem;

}
