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 TruckInfoVo implements Serializable {
    @Serial
    private static final long serialVersionUID = -9020028380990215378L;


    /**
     * 企业id
     */
    @Schema(description = "企业id")
    private String entId;
    /**
     * 企业名称
     */
    @Schema(description = "企业名称")
    private String entName;
    /**
     * 车辆数据
     */
    @Schema(description = "车辆数据")
    private List<TruckData> truck;

    @Data
    public static class TruckData implements Serializable{
        @Serial
        private static final long serialVersionUID = -8647322705630318076L;
        /**
         * 车辆id
         */
        @Schema(description = "车辆id")
        private String truckId;
        /**
         * 车牌号
         */
        @Schema(description = "车牌号")
        private String truckNo;
        /**
         * 经度
         */
        @Schema(description = "经度")
        private String longitude;
        /**
         * 纬度
         */
        @Schema(description = "纬度")
        private String latitude;
        /**
         * 车辆状态
         *
         */
        @Schema(description = "车辆状态")
        private String businessStatus;
        /**
         * 车辆类型(0-自有车辆，1-外部车辆)
         */
        @Schema(description = "车辆类型(0-自有车辆，1-外部车辆)")
        private String truckMark;
    }
}