package com.njcn.device.pq.pojo.param;

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

import java.util.List;

/**
 *
 *
 * @author wr
 * @createTime: 2023-04-03
 */
@Data
public class OnlineRateParam {

    @ApiModelProperty(name = "ids", value = "设备id")
    private List<String> ids;

    @ApiModelProperty(name = "startTime", value = "开始时间")
    private String startTime;

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

    @ApiModelProperty(name = "type", value = "区分类型0：topid搜索 1：devid搜索")
    private Integer type;

    @Data
    public static class Info extends OnlineRateParam {
        @ApiModelProperty(name = "dicData", value = "字典id")
        private List<String> dicData;
    }
}
