package com.ho.business.vo.req;

import com.ho.business.vo.resp.DeviceRespVO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author fancl
 * @desc: 监控页面查询请求实体
 * @date 2022/9/6
 */
@Data
public class MonitorQuery implements Serializable {

    @ApiModelProperty(value = "电站id,对应拓扑数据的stationId")
    @NotNull(message = "电站id不能为空")
    Integer stationId; //电站id

    @ApiModelProperty(value = "设备id,对应拓扑数据的srcId")
    @NotNull(message = "设备id不能为空")
    Integer srcId; //设备id

    @ApiModelProperty(value = "开始时间")
    String beginTime;

    @ApiModelProperty(value = "结束时间")
    String endTime;

    //用于传输多个电站id
    List<Integer> stationIds;
    //Date格式的开始时间
    Date begin;
    //Date格式的开始时间
    Date end;


    @ApiModelProperty(value = "抽样时间")
    Integer sampleTime;

    @ApiModelProperty(value = "抽样间隔数目")
    Integer sampleNum;

    //设备列表--站首页查日充日放需要查td库时传递
    List<DeviceRespVO> deviceRespVOS;
}
