TaigaProject represents a Taiga project (scope)
| 26 | |
| 27 | // TaigaProject represents a Taiga project (scope) |
| 28 | type 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 | |
| 40 | func (p TaigaProject) ScopeId() string { |
| 41 | return fmt.Sprintf("%d", p.ProjectId) |
nothing calls this directly
no outgoing calls
no test coverage detected