import { IsNotEmpty, IsUUID } from 'class-validator';
import { ApiProperty } from '@nestjs/swagger';

export class CountryIdParamDto {
  @ApiProperty({ example: 'UUID', required: true })
  @IsNotEmpty({ message: 'Country ID is required.' })
  @IsUUID(undefined, { message: 'Country ID is invalid.' })
  country_id: string;
}
