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

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

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

/**
 * @author wujunjie
 * @desc 主动补货信息
 * @date 2021-05-14
 */
@Data
@ApiModel
public class ReplenishInitiativeSaveVO {

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

//    @ApiModelProperty("是否允许超补（0否1是）")
//    private String isExceed;

    private List<@Valid ReplenishInitiativeSaveDetailVO> details;

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

    @ApiModelProperty("是否推送EIS：N否")
    private String isSendEis;
}
