重构
This commit is contained in:
1 parent
38d3b7450e
commit
96de169777
45 files changed
+881
-676
No files matched your search
@@ -0,0 +1,33 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type Alarm struct {
|
||||
Id int
|
||||
AlarmSeq int
|
||||
AlarmId string
|
||||
NeId string
|
||||
AlarmCode int
|
||||
AlarmTitle string
|
||||
EventTime time.Time
|
||||
AlarmType string
|
||||
OrigSeverity string
|
||||
PVFlag string
|
||||
NeName string
|
||||
NeType string
|
||||
ObjectName string
|
||||
ObjectUID string
|
||||
ObjectType string
|
||||
LocationInfo string
|
||||
Province string
|
||||
AlarmStatus int
|
||||
SpecificProblem string
|
||||
SpecificProblemID string
|
||||
AddInfo string
|
||||
ClearType int
|
||||
ClearTime time.Time
|
||||
}
|
||||
|
||||
func (Alarm) TableName() string {
|
||||
return "alarm"
|
||||
}
|
||||
Reference in new issue
Block a user