build.go 405 B

12345678910111213141516171819
  1. package model
  2. import "go-common/library/time"
  3. // Build build.
  4. type Build struct {
  5. ID int64 `json:"id"`
  6. AppID int64 `json:"app_id"`
  7. Name string `json:"name"`
  8. TagID int64 `json:"tag_id"`
  9. Operator string `json:"operator"`
  10. Ctime time.Time `json:"ctime"`
  11. Mtime time.Time `json:"mtime"`
  12. }
  13. // TableName build.
  14. func (Build) TableName() string {
  15. return "build"
  16. }