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 OrderCreatedEvent {
    private Long orderId;
    private String orderNo;
    private String shortId;
    private String platform;
    private Long shopId;
    private BigDecimal totalAmount;
    private String paymentMethod;
    private LocalDateTime orderTime;
    private String operator;
}
