package com.sckw.fleet.model.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 根据司机ID和装货卸货地址查询常用路线请求参数
 * @author PC
 */
@Data
public class QueryTruckRouteByDriverReq implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 司机id
     */
    @NotNull(message = "司机ID不能为空")
    @Schema(description = "司机id")
    private Long driverId;

    /**
     * 装货地址（起始点）
     */
    //@NotNull(message = "装货地址不能为空")
    @Schema(description = "装货地址（起始点）")
    private String startPoint;

    /**
     * 卸货地址
     */
    //@NotNull(message = "卸货地址不能为空")
    @Schema(description = "卸货地址")
    private String unloadingPoint;
    /**
     * 运单id
     */
    @Schema(description = "运单id")
    private Long wayBillOrderId;
}
