import { IsEmail, IsNotEmpty, IsString, Length } from 'class-validator';

/**
 * 아이디 찾기 인증번호 검증 요청 DTO
 *
 * @export
 * @class VerifyFindIdCodeDto
 */
export class VerifyFindIdCodeDto {
  @IsEmail()
  @IsNotEmpty()
  userEmail: string;

  @IsString()
  @IsNotEmpty()
  @Length(6, 6)
  verificationCode: string;
}
