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

export class GenerateBackupCodesDto {
  @ApiProperty({
    example: 'abandon abandon ...',
    description: '当前助记词（验证身份用）',
  })
  @IsString()
  @IsNotEmpty({ message: '请提供当前助记词' })
  mnemonic: string;
}
