28 lines
528 B
Go
28 lines
528 B
Go
package model
|
|
|
|
// MonitorIO 监控_磁盘IO monitor_io
|
|
type MonitorIO struct {
|
|
// id
|
|
ID int64 `json:"id" gorm:"primaryKey"`
|
|
// 创建时间
|
|
CreateTime int64 `json:"createTime"`
|
|
// 磁盘名
|
|
Name string `json:"name"`
|
|
// 读取K
|
|
Read int64 `json:"read"`
|
|
// 写入K
|
|
Write int64 `json:"write"`
|
|
// 次数
|
|
Count int64 `json:"count"`
|
|
// 耗时
|
|
Time int64 `json:"time"`
|
|
// 网元ID
|
|
NeType string `json:"neType"`
|
|
// 网元类型
|
|
NeID string `json:"neId"`
|
|
}
|
|
|
|
func (MonitorIO) TableName() string {
|
|
return "monitor_io"
|
|
}
|