package com.ho.business.vo.req;

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

import java.util.List;

/**
 * @Description 设备查询入参
 * Author yule
 * Date 2022/10/13 14:04
 */
@Data
public class DeviceReqVO {

    @ApiModelProperty(value = "第几页")
    private Integer pageNum = 1;

    @ApiModelProperty(value = "分页数量")
    private Integer pageSize = 10;

    @ApiModelProperty(value = "电站id")
    //@NotNull(message = "电站id不能为空")
    private Integer stationId;

    @ApiModelProperty(value = "src_id")
    private Integer srcId;

    @ApiModelProperty(value = "类别",hidden = true)
    private Integer category;

    @ApiModelProperty(value = "分组id",hidden = true)
    private Integer groupId;

    @ApiModelProperty(value = "电站id列表" ,hidden = true)
    List<Integer> stationIds;

    @ApiModelProperty(value = "设备id列表" ,hidden = true)
    List<Integer> deviceIds;

    @ApiModelProperty(value = "设备名称")
    private String deviceName;

    @ApiModelProperty(value = "设备SN")
    private String serialNo;

    @ApiModelProperty(hidden = true,value = "设备类型前缀",notes = "用于查询同一种设备")
    private String deviceTypePrefix;

    //以下两个参数隐藏
    @ApiModelProperty(hidden = true,value = "设备类型")
    private String deviceType;

    @ApiModelProperty(hidden = true,value = "设备类型列表,内部使用")
    private List<String> deviceTypeList;

    @ApiModelProperty(hidden = true,value = "设备状态")
    List<Integer> statusList ;

    //以下两个参数隐藏
    @ApiModelProperty(hidden = true,value = "pid")
    private Integer pId;

    @ApiModelProperty(hidden = true,value = "需要过滤电站，间隔，接入点标志位")
    private Integer needFilter;

    private Integer hide;

    private List<Integer> srcIdList;

    private Integer noNeedFromId;

    private List<Integer> formIdList;

    @ApiModelProperty(hidden = true,value = "设备类型模糊匹配",notes = "用于查询同一种设备")
    private String fuzzyDeviceType;

    @ApiModelProperty(hidden = true,value = "获取设备类型不为空的第一个设备")
    private Integer needDeviceTypeNotNull;

    @ApiModelProperty(value = "多语言切换-查询字段")
    private String lang;
}
