<?php

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

use ApiPlatform\Metadata\ApiProperty;

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