
package com.sckw.fleet.model.vo;

import com.sckw.core.web.request.PageReq;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.Valid;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;
import java.sql.Timestamp;
import java.time.LocalDateTime;
import java.util.List;

/**
 * @author PC
 */
@Data
public class TruckRoteDetailVo implements Serializable {
    @Serial
    private static final long serialVersionUID = 2817549090778895464L;
    /**
     * 起始点
     */
    @Schema(description = "起始点")
    private String startPoint;
    /**
     * 卸货点
     */
    @Schema(description = "卸货点")
    private String unloadingPoint;
    List<TruckRoteDetail> truckRoteDetails;
    @Data
    public static class TruckRoteDetail {
        /**
         * 定位时间
         */
        @Schema(description = "定位时间")
        private Timestamp ts;

        /**
         * 经度
         */
        @Schema(description = "经度")
        private String longitude;

        /**
         * 纬度
         */
        @Schema(description = "纬度")
        private String latitude;
    }
}