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

20 lines
405 B
Go

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"
}