jikan-rest/app/Dto/AnimeUserUpdatesLookupCommand.php

18 lines
381 B
PHP
Raw Normal View History

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