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 OrderShippedEvent {
    private Long orderId;
    private String orderNo;
    private String shortId;
    private String platform;
    private Long shopId;
    private String expressCompany;
    private String expressNo;
    private BigDecimal goodsAmount;
    private BigDecimal freight;
    private BigDecimal totalAmount;
    private LocalDateTime shipTime;
}
