1 changed files with 13 additions and 13 deletions
@ -1,17 +1,17 @@ |
|||||
package models |
package models |
||||
|
|
||||
type KafkaAlarm struct { |
type KafkaAlarm struct { |
||||
MessageMode string `json:"messageMode"` |
MessageMode string `json:"messageMode"` |
||||
StructureId int `json:"structureId"` |
StructureId int `json:"structureId"` |
||||
StructureName string `json:"structureName"` |
StructureName string `json:"structureName"` |
||||
SourceId string `json:"sourceId"` |
SourceId string `json:"sourceId"` |
||||
SourceName string `json:"sourceName"` |
SourceName string `json:"sourceName"` |
||||
AlarmTypeCode string `json:"alarmTypeCode"` |
AlarmTypeCode string `json:"alarmTypeCode"` |
||||
AlarmCode string `json:"alarmCode"` |
AlarmCode string `json:"alarmCode"` |
||||
Content string `json:"content"` |
Content string `json:"content"` |
||||
Time string `json:"time"` |
Time string `json:"time"` |
||||
SourceTypeId int `json:"sourceTypeId"` |
SourceTypeId int `json:"sourceTypeId"` |
||||
Sponsor string `json:"sponsor"` |
Sponsor string `json:"sponsor"` |
||||
Extras any `json:"extras"` |
Extras any `json:"extras"` |
||||
SubDevices []any `json:"subDevices"` |
SubDevices []string `json:"subDevices"` |
||||
} |
} |
||||
|
Loading…
Reference in new issue