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

export class VerifyEmailChangeDto {
  @ApiProperty({ example: '123456', description: '6-digit OTP from email' })
  @IsString()
  @Length(6, 6)
  otp!: string;
}
