package com.prolog.upcloud.base.wh.operate.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * 移位打印数据
 *
 * @author 鄢菁KingYan
 * @date 2022/07/13
 */
@Data
public class MovePrintDataVO {

    @ApiModelProperty(value = "仓库", required = true)
    @NotBlank(message = "仓库名不能为空")
    private String warehouseName;

    @ApiModelProperty(value = "货主", required = true)
    @NotBlank(message = "货主不能为空")
    private String cargoOwnerName;

    @ApiModelProperty(value = "明细ID")
    @NotEmpty(message = "请选择打印记录")
    @Valid
    private List<MovePrintDataDtlVO> dtls;

}
