package com.sckw.transport.model.param;

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

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

/**
 * @author :chenXiaoFei
 * @version :1.0
 * @description : 分页查询运单信息响应参数
 * @create :2025-11-11 20:16:00
 */
@Data
public class SalesWaybillOrderResp implements Serializable {

    @Serial
    private static final long serialVersionUID = -6153312023002477484L;

    /**
     * 执行中的订单
     */
    @Schema(description = "执行中的订单")
    private Integer ongoingLogOrderCount;

    /**
     * 今日车次
     */
    @Schema(description = "今日车次")
    private Integer todayTruckCount;

    /**
     * 场内车辆
     */
    @Schema(description = "场内车辆")
    private Integer insideVehicleCount;

    /**
     * 今日出货量
     */
    @Schema(description = "今日出货量")
    private BigDecimal todayShipmentWeightCount;

    /**
     * 本月出货量
     */
    @Schema(description = "本月出货量")
    private BigDecimal monthShipmentWeightCount;

    /**
     * 近7天出货量
     */
    @Schema(description = "本月出货量")
    private List<RecentSevenDayShipmentVO> recentSevenDayShipmentCountVOs;


    @Data
    public static class RecentSevenDayShipmentVO {
        @Schema(description = "日期：yyyy-MM-dd")
        private String date;

        @Schema(description = "当日出货量")
        private BigDecimal shipmentWeight;
    }


}
