from pydantic import BaseModel
from typing import Optional, Dict, Any

class User(BaseModel):
    id: int
    email: str
    role: str
    locale: str = "de"
    user_group: str = "demo"
    theme: str = "pico-default"
    accessibility: Optional[Dict[str, Any]] = None
    created_at: Optional[Any] = None
