package com.yami.shop.bean.event;

import com.yami.shop.bean.model.Order;
import com.yami.shop.bean.model.OrderSettlement;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.List;

/**
 *  支付时判断积分是否足够事件
 */
@Data
@AllArgsConstructor
public class ScoreIsEnoughEvent {


    /**
     * 订单信息
     */
    private Order orderDb;
    /**
     * 订单结算信息
     */
    private List<OrderSettlement> orderSettlements;

}
