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

export class RejectKycDto {
  @ApiProperty({ description: 'ID of the user whose KYC to reject', example: 'usr_abc123' })
  @IsString()
  userId!: string;

  @ApiProperty({ description: 'Reason for KYC rejection (min 5 chars)', example: 'Document image is blurry and unreadable', minLength: 5 })
  @IsString()
  @MinLength(5)
  reason!: string;
}
