<?php

namespace App\Domain\Manga\Infrastructure\ApiPlatform\Dto;

readonly class ChapterCollection
{
    public function __construct(
        /** @var ChapterListItem[] */
        public array $items,
        public int $total,
        public int $page,
        public int $limit,
        public bool $hasNextPage,
        public bool $hasPreviousPage
    ) {
    }
}
