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

/**
 * 비밀번호 재설정 인증번호 검증 요청 DTO
 *
 * @export
 * @class VerifyResetPasswordCodeDto
 */
export class VerifyResetPasswordCodeDto {
  @IsString()
  @IsNotEmpty()
  userId: string;

  @IsEmail()
  @IsNotEmpty()
  userEmail: string;

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