package com.njcn.mq.message;

import com.njcn.middle.rocket.domain.BaseMessage;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * @author xy
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BZEventMessage extends BaseMessage {

    //补召事件
    @Data
    public static class Event{

        @ApiModelProperty("请求的guid")
        private String guid;

        @ApiModelProperty("终端id")
        private String terminalId;

        @ApiModelProperty("监测点id")
        private List<String> monitorIdList;

        @ApiModelProperty("数据类型 0 稳态 1 暂态事件 2 暂态波形")
        private Integer dataType;

        @ApiModelProperty("时间范围")
        private List<String> timeInterval;

    }

    //补召波形
    @Data
    public static class File{

        @ApiModelProperty("请求的guid")
        private String guid;

        @ApiModelProperty("终端id")
        private String terminalId;

        @ApiModelProperty("监测点id")
        private String monitorId;

        @ApiModelProperty("数据类型 0 稳态 1 暂态事件 2 暂态波形")
        private Integer dataType;

        @ApiModelProperty("缺失波形时标集合")
        private List<String> timeList;

    }

}
