package com.sckw.transport.model.dto;

import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;
import java.util.List;

/**
 * @author lfdc
 * @description 物流完结订单v4.2
 * @date 2024-03-12 09:03:16
 */
@Data
public class LogisticsOrderFinishDto implements Serializable {
    /**
     * 数据id
     */
    @NotNull(message = "单据id不能为空")
    private Long id;

    /**
     * 备注
     */
    @Length(max = 200,message = "单据编号长度错误最大长度:{max}")
    private String remark;

    /**
     * 装卸货信息
     */
    private List<OrderGoodsLoadingDto> loading;


    /**
     * 线路信息
     */
    private List<LogisticsOrderLineFreightRateDto> lineFreightRate;


    /**
     * 运输趟次
     */
    private Integer count;

}
