feat(mma): Implement Ticket and Track models

This commit is contained in:
2026-02-26 19:55:03 -05:00
parent 0b2c0dd8d7
commit f9b5a504e5
2 changed files with 91 additions and 0 deletions

22
models.py Normal file
View File

@@ -0,0 +1,22 @@
from dataclasses import dataclass, field
from typing import List
@dataclass
class Ticket:
"""
Represents a discrete unit of work within a track.
"""
id: str
description: str
status: str
assigned_to: str
depends_on: List[str] = field(default_factory=list)
@dataclass
class Track:
"""
Represents a collection of tickets that together form an architectural track or epic.
"""
id: str
description: str
tickets: List[Ticket] = field(default_factory=list)