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 :chenXiaoFei
 * @version :1.0
 * @description : 查询车辆请求参数
 * @create :2025-11-12 16:11:00
 */

@Data
public class QueryFleetResp  implements Serializable {
    @Serial
    private static final long serialVersionUID = 6703980100931396505L;
    /**
     * 主键id
     */
    @Schema(description = "主键id")
    private Long id;

    /**
     * 企业id
     */
    @Schema(description = "企业id")
    private Long entId;

    /**
     * 车队长id
     */
    @Schema(description = "车队长id")
    private Long captainId;
    /**
     * 车队长名称
     */
    @Schema(description = "车队长名称")
    private String captainName;

    /**
     * 车队名称
     */
    @Schema(description = "车队名称")
    private String name;

    /**
     * 车队联系人
     */
    @Schema(description = "车队联系人")
    private String contacts;

    /**
     * 联系电话
     */
    @Schema(description = "联系电话")
    private String phone;

    /**
     * 创建人
     */
    @Schema(description = "创建人")
    private String createBy;

    /**
     * 创建人
     */
    @Schema(description = "创建人")
    private String createByName;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private String createTime;


   /**
     * 更新时间
     */
    @Schema(description = "更新时间")
    private String updateTime;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;
    /**
     * 车队车辆数量
     */
    @Schema(description = "车队车辆数量")
    private Integer truckNum;

    /**
     * 车辆信息
     */
    @Schema(description = "车辆信息")
    private List<TruckInfo> truckInfo;
    @Data
    public static class TruckInfo implements Serializable{
        @Serial
        private static final long serialVersionUID = -1243328886609432583L;
        /**
         * 车辆id
         */
        @Schema(description = "车辆id")
        private Long truckId;
        /**
         * 车牌号
         */
        @Schema(description = "车牌号")
        private String truckNo;
        /**
         * 车辆轴数
         */
        @Schema(description = "车辆轴数")
        private String axleNum;

        /**
         * 车辆类别(牵引车、货车)
         */
        @Schema(description = "车辆类别(牵引车、货车)")
        private Integer type;

        /**
         * 车辆类别描述
         */
        @Schema(description = "车辆类别描述")
        private String typeDesc;
    }
}
