MCPcopy Create free account
hub / github.com/apache/devlake / TapdWorkspace

Struct TapdWorkspace

backend/plugins/tapd/models/workspace.go:43–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43type TapdWorkspace struct {
44 common.Scope `mapstructure:",squash"`
45 Id uint64 `gorm:"primaryKey;type:BIGINT" mapstructure:"id" json:"id,string"`
46 Name string `gorm:"type:varchar(255)" mapstructure:"name" json:"name"`
47 PrettyName string `gorm:"type:varchar(255)" mapstructure:"pretty_name" json:"pretty_name"`
48 Category string `gorm:"type:varchar(255)" mapstructure:"category" json:"category"`
49 Status string `gorm:"type:varchar(255)" mapstructure:"status" json:"status"`
50 Description string `mapstructure:"description" json:"description"`
51 BeginDate *common.CSTTime `mapstructure:"begin_date" json:"begin_date"`
52 EndDate *common.CSTTime `mapstructure:"end_date" json:"end_date"`
53 ExternalOn string `gorm:"type:varchar(255)" mapstructure:"external_on" json:"external_on"`
54 ParentId uint64 `gorm:"type:BIGINT" mapstructure:"parent_id,string" json:"parent_id,string"`
55 Creator string `gorm:"type:varchar(255)" mapstructure:"creator" json:"creator"`
56 Created *common.CSTTime `mapstructure:"created" json:"created"`
57}
58
59func (TapdWorkspace) TableName() string {
60 return "_tool_tapd_workspaces"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected