import { ApiProperty } from '@nestjs/swagger';
import { IsObject } from 'class-validator';

export class UpdatePlayerSettingsDto {
  @ApiProperty({
    description: '账号级游戏设置',
    example: { master_volume: 0.8, show_chat_bubbles: true },
  })
  @IsObject({ message: '账号设置必须是对象格式' })
  settings!: Record<string, unknown>;
}
