package com.erp.common.core.event;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 订单支付事件 - 订单支付成功时发布
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class OrderPaidEvent {
    private Long orderId;
    private String orderNo;
    private String shortId;
    private String platform;
    private Long shopId;
    private BigDecimal paidAmount;
    private String paymentMethod;
    private LocalDateTime paymentTime;
}
