force.go 439 B

1234567891011121314151617181920
  1. package model
  2. import "go-common/library/time"
  3. // Force ...
  4. type Force struct {
  5. ID int64 `json:"id"`
  6. AppID int64 `json:"app_id"`
  7. HostName string `json:"hostname"`
  8. IP string `json:"ip"`
  9. Version int64 `json:"version"`
  10. Operator string `json:"operator"`
  11. Ctime time.Time `json:"ctime"`
  12. Mtime time.Time `json:"mtime"`
  13. }
  14. // TableName build.
  15. func (Force) TableName() string {
  16. return "force"
  17. }