完善更新记录以排查IP分配重复问题
This commit is contained in:
@@ -1,17 +0,0 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type Change struct {
|
||||
Id int `gorm:"column:id;primaryKey"`
|
||||
Time time.Time `gorm:"column:time"`
|
||||
Gateway string `gorm:"column:macaddr"`
|
||||
OldEdge string `gorm:"column:edge_old"`
|
||||
NewEdge string `gorm:"column:edge_new"`
|
||||
Network string `gorm:"column:network"`
|
||||
Info string `gorm:"column:info"`
|
||||
}
|
||||
|
||||
func (Change) TableName() string {
|
||||
return "change"
|
||||
}
|
||||
Reference in New Issue
Block a user