You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
364 B
18 lines
364 B
package model |
|
|
|
import "go-common/library/time" |
|
|
|
//Team team. |
|
type Team struct { |
|
ID int64 `json:"id" gorm:"primary_key"` |
|
Name string `json:"name"` |
|
Env string `json:"env"` |
|
Zone string `json:"zone"` |
|
Ctime time.Time `json:"ctime"` |
|
Mtime time.Time `json:"mtime"` |
|
} |
|
|
|
// TableName team. |
|
func (Team) TableName() string { |
|
return "project_team" |
|
}
|
|
|