Files
F-r-ldraledigplannerare/backend/app/entities/workspace.py
T
2026-06-01 16:48:21 +02:00

14 lines
334 B
Python
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""Domain entity: Workspace (shared planning space for 1–2 parents)."""
from dataclasses import dataclass
from datetime import datetime
from uuid import UUID
@dataclass
class Workspace:
id: UUID
name: str
planning_goal: str = "balanced" # 'max_time' | 'max_money' | 'balanced'
created_at: datetime | None = None