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

Struct TaigaProject

backend/plugins/taiga/models/project.go:28–38  ·  view source on GitHub ↗

TaigaProject represents a Taiga project (scope)

Source from the content-addressed store, hash-verified

26
27// TaigaProject represents a Taiga project (scope)
28type TaigaProject struct {
29 common.Scope `mapstructure:",squash"`
30 ProjectId uint64 `json:"projectId" gorm:"primaryKey;autoIncrement:false"`
31 Name string `gorm:"type:varchar(255)" json:"name"`
32 Slug string `gorm:"type:varchar(255)" json:"slug"`
33 Description string `gorm:"type:text" json:"description"`
34 Url string `gorm:"type:varchar(255)" json:"url"`
35 IsPrivate bool `json:"isPrivate"`
36 TotalMilestones int `json:"totalMilestones"`
37 TotalStoryPoints float64 `json:"totalStoryPoints"`
38}
39
40func (p TaigaProject) ScopeId() string {
41 return fmt.Sprintf("%d", p.ProjectId)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected