go-common/app/infra/config/model/force.go
2019-04-22 18:49:16 +08:00

21 lines
439 B
Go

package model
import "go-common/library/time"
// Force ...
type Force struct {
ID int64 `json:"id"`
AppID int64 `json:"app_id"`
HostName string `json:"hostname"`
IP string `json:"ip"`
Version int64 `json:"version"`
Operator string `json:"operator"`
Ctime time.Time `json:"ctime"`
Mtime time.Time `json:"mtime"`
}
// TableName build.
func (Force) TableName() string {
return "force"
}