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

export class UpdateProfileDto {
  @ApiPropertyOptional() @IsOptional() @IsString() @MaxLength(50) nickname?: string;
  @ApiPropertyOptional() @IsOptional() @IsString() @MaxLength(500) avatarUrl?: string;
  @ApiPropertyOptional() @IsOptional() @IsString() @MaxLength(5) residenceState?: string;
  @ApiPropertyOptional() @IsOptional() @IsString() @MaxLength(5) nationality?: string;
}
