package com.tykj.dev.device.library.subject.vo;

import com.tykj.dev.misc.base.CustomPage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author dengdiyi
 */
@Data
@ApiModel("装备查询类")
public class DeviceLibrarySelectVo extends CustomPage {

    @ApiModelProperty(value = "装备id", example = "1")
    public Integer deviceId;

    @ApiModelProperty(value = "操作人", example = "1")
    public Integer UserAId;

    @ApiModelProperty(value = "审核人", example = "1")
    public Integer UserBId;

    @ApiModelProperty(value = "型号", example = "bmxx")
    public String model;

    @ApiModelProperty(value = "类型", example = "1")
    public Integer type;

    @ApiModelProperty(value = "密级", example = "1")
    public Integer secretLevel;

    @ApiModelProperty(value = "可见范围(应用领域)", example = "1")
    public Integer invisibleRange;

    @ApiModelProperty(value = "名称", example = "BM-1")
    public String name;

    @ApiModelProperty(value = "配用范围", example = "1")
    public Integer matchingRange;

    @ApiModelProperty(value = "入库类型", example = "1")
    public Integer storageType;

    @ApiModelProperty(value = "管理状态", example = "1")
    public Integer manageStatus;

    @ApiModelProperty(value = "单位id", example = "1")
    public Integer unitId;

    @ApiModelProperty(value = "区域id", example = "1")
    public Integer areaId;

    @ApiModelProperty(value = "模糊查询内容", example = "测试")
    public String content;

    @ApiModelProperty(value = "发起时间", example = "2020-10-10 01:10:10")
    public Date startTime;

    @ApiModelProperty(value = "确认时间", example = "2020-10-10 01:10:10")
    public Date endTime;

    @ApiModelProperty(value = "装备状态", example = "1,2,3,4")
    public List<Integer> lifeStatus;

    @ApiModelProperty(value = "列装id")
    private Integer packingId;

    @ApiModelProperty(value = "所在单位")
    private String locationUnit;

    @ApiModelProperty(value = "所属单位")
    private String ownUnit;

    @ApiModelProperty(value = "rfid卡号")
    private String rfidCardId;

    @ApiModelProperty(value = "是不是配件（0:不是，1:是）")
    private Integer isPart;

    @ApiModelProperty(value = "序列号区间")
    private String seqInterval;

    @ApiModelProperty(value = "型号模糊查询字段")
    private String modelDim;

    @ApiModelProperty(value = "名称模糊查询字段")
    private String nameDim;

    @ApiModelProperty(value = "序列号模糊查询字段")
    private String seqDim;

    @ApiModelProperty(value = "表面号模糊查询字段")
    private String surfaceDim;

    @ApiModelProperty(value = "标签编码模糊查询字段")
    private String rfidCardDim;

    @ApiModelProperty(value = "所在单位模糊查询字段")
    private String locationUnitDim;

    @ApiModelProperty(value = "所属单位模糊查询字段")
    private String ownUnitDim;

    @ApiModelProperty(value = "生命状态模糊查询字段")
    private String lifeStatusDim;

    @ApiModelProperty(value = "更新时间模糊查询字段")
    private String updateTimeDim;

    @ApiModelProperty(value = "创建时间模糊查询字段")
    private String createTimeDim;

    @ApiModelProperty(value = "更新时间年份")
    private Integer year;

    @ApiModelProperty(value = "查询是否打印标签（有没有表面号）装备")
    private Integer isPrint;

    @ApiModelProperty(value = "存储位置")
    private String storageLocation;

    @ApiModelProperty(value = "存储位置的模糊查询字段")
    private String storageLocationDim;

//    @ApiModelProperty(value = "装备形态")
//    private String typeName;
//
    @ApiModelProperty(value = "装备形态模糊查询字段")
    private String typeDim;

    @ApiModelProperty(value = "作为已报废，已销毁，已退役的标志位",notes = "0 代表查询  1代表查询其他")
    private Integer isScraped =1;
}
