feat: GetMangaList endpoint + tests + test db
This commit is contained in:
parent
073439163b
commit
e3d380eadd
13
src/Domain/Manga/Application/Query/GetMangaList.php
Normal file
13
src/Domain/Manga/Application/Query/GetMangaList.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Domain\Manga\Application\Query;
|
||||
|
||||
readonly class GetMangaList
|
||||
{
|
||||
public function __construct(
|
||||
public ?int $page = 1,
|
||||
public ?int $limit = 20,
|
||||
public ?string $sortBy = 'title',
|
||||
public ?string $sortOrder = 'asc'
|
||||
) {}
|
||||
}
|
||||
Reference in New Issue
Block a user