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

18 lines
401 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\Attributes\Validation\Required;
/**
* @extends LookupDataCommand<JsonResponse>
*/
final class AnimeEpisodeLookupCommand extends LookupDataCommand
{
#[Numeric, Required, Min(1)]
public int $episodeId;
}