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

/**
 * 비밀번호 재설정 요청 DTO
 *
 * @export
 * @class ResetPasswordDto
 */
export class ResetPasswordDto {
  @IsString()
  @IsNotEmpty()
  resetToken: string;

  @IsString()
  @IsNotEmpty()
  @MinLength(6)
  newPassword: string;
}
