1 changed files with 13 additions and 13 deletions
@ -1,17 +1,17 @@ |
|||
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"` |
|||
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 []string `json:"subDevices"` |
|||
} |
|||
|
Loading…
Reference in new issue