package com.zg.project.Inventory.domain.dto;

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

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import java.util.List;

@Data
@ApiModel("库存查询参数")
public class SodQueryDTO {

    @ApiModelProperty("系统入库时间，格式 yyyy-MM-dd")
    private String tme;

    @ApiModelProperty("货品码ID集合")
    private List<String> ids;

    @ApiModelProperty("页码，从1开始")
    @Min(value = 1, message = "页码最小为1")
    private Integer pageNum = 1;

    @ApiModelProperty("每页条数")
    @Min(value = 1, message = "每页条数最小为1")
    @Max(value = 100, message = "每页条数最大为100")
    private Integer pageSize = 10;

    @ApiModelProperty("查询状态 0=正常数据, 1=未扫到, 2=误扫")
    private Integer status;

    @ApiModelProperty("设备ID")
    private String deviceId;

    @ApiModelProperty("盘点类型（0=手动盘点，1=自动盘点）")
    private Integer scanType;

    @ApiModelProperty("盘点任务名称")
    private String taskName;


}