go-common/app/infra/config/model/force.go

21 lines
439 B
Go
Raw Permalink Normal View History

2019-04-22 10:49:16 +00:00
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"
}