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

20 lines
405 B
Go
Raw Permalink Normal View History

2019-04-22 10:49:16 +00:00
package model
import "go-common/library/time"
// Build build.
type Build struct {
ID int64 `json:"id"`
AppID int64 `json:"app_id"`
Name string `json:"name"`
TagID int64 `json:"tag_id"`
Operator string `json:"operator"`
Ctime time.Time `json:"ctime"`
Mtime time.Time `json:"mtime"`
}
// TableName build.
func (Build) TableName() string {
return "build"
}