jikan-rest/app/Dto/AnimeNewsLookupCommand.php
2023-05-21 11:14:35 +01:00

18 lines
374 B
PHP

<?php
namespace App\Dto;
use Illuminate\Http\JsonResponse;
use Spatie\LaravelData\Attributes\Validation\Min;
use Spatie\LaravelData\Attributes\Validation\Numeric;
use Spatie\LaravelData\Optional;
/**
* @extends LookupDataCommand<JsonResponse>
*/
final class AnimeNewsLookupCommand extends LookupDataCommand
{
#[Numeric, Min(1)]
public int|Optional $page = 1;
}