package com.prolog.cs.base.gsp;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 养护查询对象
 *
 * @author tianhailong
 */

@Data
@ApiModel
public class QueryDTO extends QueryVO implements Serializable {

    private static final long serialVersionUID = -4382080867353082291L;

    @ApiModelProperty(value = "仓库ID")
    private String warehouseId;

    @ApiModelProperty(value = "货主ID")
    private String cargoOwnerId;

    @ApiModelProperty(value = "ID")
    private String id;

    @ApiModelProperty(value = "建筑物ID")
    private String bldgId;

    @ApiModelProperty(value = "商品ID")
    private String itemId;

    @ApiModelProperty(value = "商品大类")
    private String itemHealthCategory;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "开始时间")
    private Date startTime;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "结束时间")
    private Date endTime;

    @ApiModelProperty(value = "类型：0=未分类 1=重点特殊药品，2=重点专管药品，3=重点其他药品，4=重点医疗器械，5=重点非药品，6=一般药品，7=一般器械，8=一般非药品")
    private String upkeepType;

    private String type;

    @ApiModelProperty(value = "养护类型：(0=一般 1=重点)")
    private String isProtected;

    @ApiModelProperty(value = "养护id")
    private String planId;

    @ApiModelProperty(value = "托盘号")
    private String containerCode;

    @ApiModelProperty(value = "商品条码")
    private String itemBarcode;

    @ApiModelProperty(value = "货位")
    private String locatorCode;
    @ApiModelProperty(value = "货位")
    private String locatorId;

    @ApiModelProperty(value = "批号")
    private String lotNum;
}
