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;

/**
 * @author zk
 * @desc 车辆信息
 * @date 2023/7/12 0012
 */
@Data
public class AssociatedTrackAddRequest {

    /**
     * 企业id
     */
    @Schema(description = "企业id")
    @NotNull(message = "企业id不能为空!")
    private Long entId;

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

    /**
     * 车牌号
     */
    @Schema(description = "车牌号")
    @NotBlank(message = "车辆号不能为空!")
    private String truckNo;

    /**
     * 车辆轴数id
     */
    @Schema(description = "车辆轴数id")
    @NotNull(message = "车辆id不能为空!")
    private Long truckAxleId;


}
