jikan-rest/app/Dto/AnimeVideosEpisodesLookupCommand.php

18 lines
384 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 AnimeVideosEpisodesLookupCommand extends LookupDataCommand
{
#[Numeric, Min(1)]
public int|Optional $page = 1;
}