package com.shkj.wms.bo;

import com.shkj.wms.validator.Dict;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

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

/**
 * 盘点计划对象
 *
 * @author lch
 * @date 2022-06-10
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class BusinStockInvAddBo implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * 盘点类型
     */
    @NotBlank(message = "盘点类型不得为空")
    @Dict(type = "inv_type_dict", message = "盘点类型与数据字典值不匹配")
    private String invType;

    /**
     * 盘点方式 明盘 open 盲盘 close
     */
    //@NotBlank(message = "盘点方式不得为空")
    private String invWay;

    /**
     * 库存id集合
     */
    @NotEmpty(message = "库存id集合不得为空")
    private List<Long> ids;

    /**
     * 出库楼层
     */
    private Integer layer;


}
