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

export class RequestAvatarGenerationOutputDTO {
  @ApiProperty({ type: Boolean })
  @IsBoolean()
  success: boolean;

  @ApiProperty({ required: false })
  @IsString()
  requestId?: string;

  @ApiProperty({ type: [String], required: false })
  avatarUrls?: string[];

  @ApiProperty({ required: false })
  @IsString()
  errorMessage?: string;
}