from datetime import datetime

from pydantic import BaseModel, Field


class PdfSettingsOut(BaseModel):
    pdf_generation_concurrency_limit: int
    updated_at: datetime | None = None


class PdfSettingsUpdate(BaseModel):
    pdf_generation_concurrency_limit: int = Field(ge=1, le=10)
