package com.ho.flow.vo.req.event;


import com.ho.business.entity.DeviceType;
import com.ho.business.vo.req.EventColReq;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Description 告警管理分页查询参数
 * Author yule
 * Date 2022/8/29 16:29
 */
@Data
public class EventReqPageVO {
    @ApiModelProperty(value = "第几页")
    private int pageNum = 1;

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

    @ApiModelProperty(value = "电站id集合")
    private List<Integer> stationIds;

    @ApiModelProperty(value = "设备类型集合")
    private List<DeviceType> deviceTypeList;

    @ApiModelProperty(value = "设备id集合")
    private List<Integer> srcIdList;

    @ApiModelProperty(value = "事件描述")
    private String description;

    @ApiModelProperty(value = "事件类型集合,对应字典表中的eventType")
    private List<Integer> eventTypes;

    @ApiModelProperty(value = "告警等级集合,对应字典表中的eventLevel")
    private List<Integer> eventLevels;

    @ApiModelProperty(value = "开始日期,格式为yyyy-MM-dd")
    private String startTime;

    @ApiModelProperty(value = "结束时间,格式为yyyy-MM-dd")
    private String endTime;

    @ApiModelProperty(value = "事件状态 1已确认 0 未确认")
    private Integer status;

    @ApiModelProperty(value = "最大显示limit条数", hidden = true)
    private Integer limitCount;

    @ApiModelProperty(value = "事件设备(设备id)", hidden = true)
    private Integer targetDevice;

    @ApiModelProperty(value = "包含虚拟设备时用这个字段去查告警", hidden = true)
    private List<EventColReq> eventColReqList;

    @ApiModelProperty(value = "事件设备(设备id)", hidden = true)
    private Integer userLevel;

    @ApiModelProperty(value = "告警id集合")
    private List<Long> ids;

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

}
