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

export class CreateCountryDto {
  @ApiProperty()
  @IsString()
  @IsNotEmpty()
  countryName!: string;

  @ApiProperty({ required: false, nullable: true })
  @IsOptional()
  @IsString()
  countryIcon?: string;
}
