package com.sckw.transport.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 CurrentTaskTraceReqVo implements Serializable {
    @Serial
    private static final long serialVersionUID = -8645240848510669952L;
    /**
     * 运单号
     */
    @Schema(description = "运单号")
    private String orderNo;
    private List<CurrentTaskTrace> currentTaskTraceList;

    //点位信息
    @Schema(description = "点位信息")
    private List<CurrentAddress> currentAddressList;

    @Data
    public static class CurrentTaskTrace {
        /**
         * 经度
         */
        @Schema(description = "经度")
        private String longitude;
        /**
         * 纬度
         */
        @Schema(description = "纬度")
        private String latitude;
        /**
         * 定位时间
         */
        @Schema(description = "定位时间")
        private String locationTime;
        /**
         * 状态
         */
        @Schema(description = "状态")
        private String status;
        /**
         * 状态描述
         */
        @Schema(description = "状态描述")
        private String statusDesc;
        /**
         * 耗时
         */
        @Schema(description = "耗时")
        private String duration;
    }
    /**
     * 总耗时
     */
    @Schema(description = "总耗时")
    private String totalDuration;
    @Data
    public static class CurrentAddress {
        /**
         * 点位
         */
        @Schema(description = "点位")
        private String point;
        /**
         * 耗时
         */
        @Schema(description = "耗时")
        private String duration;

    }
}
