package model

import "time"

type Change struct {
	Id      int       `gorm:"column:id;primaryKey"`
	Time    time.Time `gorm:"column:time"`
	CityId  int       `gorm:"column:city"`
	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"
}
