package com.dcs.hnyz.domain.dto;

import com.dcs.hnyz.domain.AlarmEvent;
import lombok.Data;

import java.util.List;

/**
 * AlarmBroadcastPayload
 * 告警广播消息体(数据传输对象)
 * @author: hmy
 */
@Data
public class AlarmBroadcastPayload {
    private String type = "ALARM";               // 消息类型
    private long timestamp = System.currentTimeMillis();  // 推送时间戳
    private List<AlarmEvent> alarms;             // 告警事件列表
}
