package com.sckw.usual.entity;

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

import java.util.List;

/**
 * @desc 手动完结
 * @author zk
 * @date 2023/12/8 0008
 */
@Data
public class OrderManualCompletionDto {

    /**
     * 数据id
     */
    @NotNull(message = "单据id不能为空")
    private Long id;

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

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