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

import com.prolog.upcloud.base.wh.operate.model.WmsMoveD;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author wujunjie
 * @desc 移库确认参数
 * @date 2021-04-06
 */
@Data
@ApiModel
public class MoveConfirmParamsVO {

    @ApiModelProperty(value = "移库类型 0：下架、1：WMS上架、2：设备下架 3.设备上架")
    @NotNull(message = "{required}")
//    @Range(min = 0, max = 1, message = "{invalid}")
    private Integer moveFlag;

    @ApiModelProperty(value = "子单据(列表)")
    //@Size(min = 1, message = "{required}")
    private String[] lineIds;

    @ApiModelProperty(value = "明细清单")
    private List<ReplenishDetailVO> replenishDetailVOList;

    @ApiModelProperty(value = "明细清单-补货上架确认")
    private List<ReplenishDetailLocationVO> dtls;

    @ApiModelProperty(value = "明细清单-移库")
    private List<WmsMoveD> moveDetailList;

    @ApiModelProperty(value = "子单据")
    private String lineId;

    /**
     * 目标区域编码
     */
    @ApiModelProperty("目标区域编码")
    private String toWarehouseAreaCode;

    @ApiModelProperty("任务ID")
    private String taskId;

    @ApiModelProperty("容器号")
    private String containerNo;

    @ApiModelProperty(value = "库存数量")
    private Double inventoryQty;


}
