<?php

namespace App\Data;

use Spatie\LaravelData\Attributes\FromRouteParameter;
use Spatie\LaravelData\Attributes\Validation\Max;
use Spatie\LaravelData\Attributes\Validation\Min;
use Spatie\LaravelData\Dto;

class ClaveDto extends Dto
{
    public function __construct(
        #[FromRouteParameter('clave'), Min('50'), Max('50')]
        public string $clave
    ) {}
}
