"""Schemas for file upload endpoints."""
from datetime import datetime
from uuid import UUID
from pydantic import BaseModel


class FileUploadResponse(BaseModel):
    id: UUID
    filename: str
    content_type: str
    size_bytes: int
    url: str
    created_at: datetime

    model_config = {"from_attributes": True}
