package com.pj.project.tb_vehicle.param;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 创建叫车记录表入参类
 * @Author Mechrevo
 * @Date 2023 08 09 15 33
 **/
@Data
public class MakeCarRecordParam {


    /**
     * 交易地区ID
     */
    @NotNull(message = "tradeAreaId,交易地区ID不能为空")
    private Long tradeAreaId;

    /**
     * 交易地区名称
     */
    @NotNull(message = "tradeAreaName,交易地区名称不能为空")
    private String tradeAreaName;

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

    /**
     * 一级市场商户主键
     */
    @NotNull(message = "enterpriseId,一级市场商户表ID不能为空")
    private Long enterpriseId;

    /**
     * 一级市场订单表主键
     */
    @NotNull(message = "orderId,一级市场订单表ID不能为空")
    private Long orderId;

    /**
     * 车辆表主键
     */
    @NotNull(message = "vehicleId,车辆表ID不能为空")
    private Long vehicleId;

    /**
     * 装货地址
     */
    @NotBlank(message = "loadingAddress,装货地址不能为空!")
    private String loadingAddress;

    /**
     * 商户备注
     */
    private String remark;
}
