import { IsString, MinLength } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';

export class SearchUmodDto {
  @ApiProperty({ example: 'kits', minLength: 2 })
  @IsString()
  @MinLength(2)
  query: string;
}
