task.go

16 lines
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package models

import "congo.gg/pkg/database"

// Task is a structured work item with priority and assignment.
// Replaces the overloaded Activity model for task tracking.
type Task struct {
	database.Model
	Title       string
	Description string
	Priority    string // high, medium, low
	Status      string // todo, in_progress, done, blocked
	Blocked     string // reason if blocked
	Assignee    string // twin, connor, or empty
	Category    string // domains, ping, congo, infra, etc
}