规则链审计日志

This commit is contained in:
XM-GO
2023-09-06 17:24:02 +08:00
parent 876a19adfe
commit 3c645e7529
18 changed files with 94 additions and 228 deletions

View File

@@ -19,6 +19,12 @@ type DeviceAlarm struct {
Details string `gorm:"type:varchar(255);comment:告警详情" json:"details"`
}
type DeviceAlarmForm struct {
DeviceAlarm
StartTime string `gorm:"-" json:"startTime"`
EndTime string `gorm:"-" json:"endTime"`
}
type DeviceCmdLog struct {
Id string `json:"id" gorm:"primary_key;"`
DeviceId string `gorm:"type:varchar(64);comment:所属设备" json:"deviceId"`