<?php

namespace App\Domain\Manga\Application\Response;

readonly class ChapterResponse
{
    public function __construct(
        public string $id,
        public float $number,
        public ?string $title,
        public ?int $volume,
        public bool $isVisible,
        public ?string $pagesDirectory,
        public string $createdAt,
        public bool $isVolumeGroup = false,
        public ?string $volumeChaptersRange = null,
        public int $volumeChapterCount = 0,
    ) {
    }
}
