"""Domain entity: Child (per-child entitlement anchor).""" from dataclasses import dataclass from datetime import date, datetime from uuid import UUID @dataclass class Child: id: UUID workspace_id: UUID name: str birth_date: date # use expected_birth_date (due date) if unborn preschool_start_date: date | None = None # drives the preschool-day reserve tip # Per-child override for annual preschool planning-day ("studiedagar") closures. # Defaults to LeaveRules.preschool_planning_days_per_year (see app/config.py). preschool_planning_days_per_year: int = 6 created_at: datetime | None = None