package com.sckw.fleet.model.vo;


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

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

/**
 * 运力实况返回数据
 * @author PC
 */
@Data
public class CapacityStatusVo implements Serializable {
    @Serial
    private static final long serialVersionUID = 718957004655863405L;
    /**
     * 车辆数据
     */
    @Schema(description = "车辆数据")
    private List<Truck> truck;

    @Data
    public static class Truck implements Serializable{
        @Serial
        private static final long serialVersionUID = 2971251347608274308L;
        /**
         * 车队 ID
         */
        @Schema(description = "车队ID")
        private String fleetId;
        /**
         * 车队名称
         */
        @Schema(description = "车队名称")
        private String fleetName;

        /**
         * 空闲车辆数
         */
        @Schema(description = "空闲车辆数")
        private String idleNum;
        /**
         * 运行车辆数
         */
        @Schema(description = "运行车辆数")
        private String runningNum;
        /**
         * 异常车辆数
         */
        @Schema(description = "异常车辆数")
        private String abnormalNum;
    }


}
