| 41 | } |
| 42 | |
| 43 | type 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 | |
| 59 | func (TapdWorkspace) TableName() string { |
| 60 | return "_tool_tapd_workspaces" |
nothing calls this directly
no outgoing calls
no test coverage detected