<?php

namespace App\Domain\Manga\Application\Response;

readonly class MangaSearchItem
{
    public function __construct(
        public int $id,
        public string $externalId,
        public string $title,
        public string $slug,
        public string $description,
        public string $author,
        public int $publicationYear,
        public array $genres,
        public string $status,
        public ?string $imageUrl,
        public ?string $thumbnailUrl,
        public ?float $rating
    ) {
    }
}
