feat: GetManga endpoint + tests
This commit is contained in:
parent
e3d380eadd
commit
2f615a4936
20
src/Domain/Manga/Application/Response/MangaResponse.php
Normal file
20
src/Domain/Manga/Application/Response/MangaResponse.php
Normal file
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\Manga\Application\Response;
|
||||
|
||||
readonly class MangaResponse
|
||||
{
|
||||
public function __construct(
|
||||
public string $id,
|
||||
public string $title,
|
||||
public string $slug,
|
||||
public string $description,
|
||||
public string $author,
|
||||
public int $publicationYear,
|
||||
public array $genres,
|
||||
public string $status,
|
||||
public ?string $externalId,
|
||||
public ?string $imageUrl,
|
||||
public ?float $rating
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user