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

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class ReplenishPreVO {

    /**
     * 企业ID
     */
    @ApiModelProperty(value = "企业ID", required = true)
    @NotBlank(message = "{required}")
    private String enterpriseId;

    /**
     * 仓库ID
     */
    @NotBlank(message = "{required}")
    @Length(max = 32, message = "{noMoreThan}")
    @ApiModelProperty("仓库ID")
    private String warehouseId;

    /**
     * 货主ID
     */
    @NotBlank(message = "{required}")
    @Length(max = 32, message = "{noMoreThan}")
    @ApiModelProperty("货主ID")
    private String cargoOwnerId;

    /**
     * 商品ID
     */
    @NotBlank(message = "{required}")
    @Length(max = 32, message = "{noMoreThan}")
    @ApiModelProperty("商品ID")
    private String itemId;

    /**
     * 批次号
     */
    @ApiModelProperty("批次号")
    private String manufacturerLotNum;

    /**
     * 补货数量
     */
    @ApiModelProperty("补货数量")
    @NotNull(message = "{required}")
    private BigDecimal pieceQuantity;

    /**
     * 库别
     */
    @ApiModelProperty("库别")
    @NotBlank(message = "{required}")
    private String warehouseAreaCategory;

    @ApiModelProperty("波次id")
    private String waveId;

}
