from pydantic import BaseModel

from src.schema.comics.comic import ComicResponse
from src.schema.comics.volume import VolumeResponse


class IssueDetailsResponse(BaseModel):
    id: str
    issue_number: str
    in_stock: bool
    is_read: bool
    comic: ComicResponse
    volume: VolumeResponse | None

