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

export class PasswordResetConfirmDto {
  @ApiProperty({ example: 'pr_...' })
  @IsString()
  @MaxLength(500)
  token!: string;

  @ApiProperty({ example: 'NewPass1234' })
  @IsString()
  @MinLength(4)
  @MaxLength(72)
  newPassword!: string;
}
