from __future__ import annotations

from typing import Any

from pydantic import BaseModel, Field


class DigitalEmployeeDashboardRead(BaseModel):
    window_days: int
    generated_at: str
    has_real_data: bool
    totals: dict[str, Any] = Field(default_factory=dict)
    daily_work: list[dict[str, Any]] = Field(default_factory=list)
    task_distribution: list[dict[str, Any]] = Field(default_factory=list)
    category_distribution: list[dict[str, Any]] = Field(default_factory=list)
    recent_runs: list[dict[str, Any]] = Field(default_factory=list)
