package com.sckw.car.entity.req;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @desc: 轿运-派车任务地址信息
 * @author: Lt
 * @date: 2024-04-28
 */
@Data
public class KwOrderCarWaybillOrderDispatchAddressReq implements Serializable {

    /**
     * 订单id
     */
    @NotNull(message = "缺少参数: orderId")
    private Long orderId;

    /**
     * 运单id
     */
    @NotNull(message = "缺少参数: waybillId")
    private Long waybillId;

    private static final long serialVersionUID = 1L;

    /**
     * 路径名称
     */
    private String name;

    /**
     * 地址id
     */
    private Long addressId;

    /**
     * 计量单位 1台 2件
     */
    private Integer unit;

    /**
     * 装卸数量
     */
    private Integer entrustAmount;

    /**
     * 装卸货类型
     */
    private Integer addressType;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * create_by
     */
    private String createBy;

}
