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

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

import javax.validation.constraints.NotBlank;
import java.util.Date;

/**
 * @author wujunjie
 */
@Data
@ApiModel
public class MoveQueryVO {

    @ApiModelProperty(name = "subBillType", value = "移库类型 1 移库 2移位", dataType = "String", required = true)
    private String subBillType;

    @ApiModelProperty(name = "status", value = "状态 0:未审核 1:已审核 2:审核失败", dataType = "String", required = true)
    @NotBlank(message = "{required}")
    private String status;

    @ApiModelProperty(name = "moveBillType", value = "移库来源类型 WMS/GSP/ERP", dataType = "String")
    private String moveBillType;

    @ApiModelProperty(name = "cargoOwnerId", value = "货主编码", dataType = "String")
    private String cargoOwnerId;

    @ApiModelProperty(name = "warehouseId", value = "仓库编码", dataType = "String")
    private String warehouseId;

    /**
     * 移入建筑物
     */
    @ApiModelProperty(name = "moveInBldg", value = "移入建筑物")
    private String moveInBldg;

    /**
     * 移出建筑物
     */
    @ApiModelProperty(name = "moveOutBldg", value = "移出建筑物")
    private String moveOutBldg;

    @ApiModelProperty(name = "autoBillNum", value = "自动单号")
    private String autoBillNum;

    @ApiModelProperty(name = "autoBillNum", value = "移库单编码")
    private String moveHeaderId;

    @ApiModelProperty(name = "start", value = "开始日期", dataType = "Date")
    private Date start;

    @ApiModelProperty(name = "end", value = "结束日期", dataType = "Date")
    private Date end;
}
