package com.sckw.transport.api.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 贸易订单维度：已完成运单车次与净重汇总
 */
@Data
public class TradeOrderWaybillAggDto implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "贸易订单id")
    private Long tOrderId;

    @Schema(description = "已完成车辆运单数量")
    private Integer tripCount;

    @Schema(description = "已完成运单净重合计（吨，未做展示层四舍五入）")
    private BigDecimal netWeightSum;
}
