package models type KafkaAlarm struct { MessageMode string `json:"messageMode"` StructureId int `json:"structureId"` StructureName string `json:"structureName"` SourceId string `json:"sourceId"` SourceName string `json:"sourceName"` AlarmTypeCode string `json:"alarmTypeCode"` AlarmCode string `json:"alarmCode"` Content string `json:"content"` Time string `json:"time"` SourceTypeId int `json:"sourceTypeId"` Sponsor string `json:"sponsor"` Extras any `json:"extras"` SubDevices []any `json:"subDevices"` }