feat(mma): Implement Ticket and Track models
This commit is contained in:
22
models.py
Normal file
22
models.py
Normal 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)
|
||||
Reference in New Issue
Block a user