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

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

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

/**
 * @Description 盘点主表
 * @Date 2021-04-07
 */
@ApiModel
@Data
public class WmsInvCheckAddVO implements Serializable {
    private static final long serialVersionUID = 3073178292478187214L;

    @ApiModelProperty(value = "盘点方式")
    @NotBlank(message = "{required}")
    private String checkMethod;

    @ApiModelProperty(value = "盘点类型")
    @NotBlank(message = "{required}")
    private String checkType;

    @ApiModelProperty(value = "盘点明细")
    @NotEmpty(message = "盘点明细不能为空")
    private List<@Valid WmsInvCheckDVO> invCheckDVOList;


}
