import { RequestAvatarGenerationOutputDTO } from '@/lib/types/generated/RequestAvatarGenerationOutputDTO';

/**
 * AvatarGenerationViewModel
 *
 * View model for avatar generation process
 */
export class AvatarGenerationViewModel {
  readonly success: boolean;
  readonly avatarUrls: string[];
  readonly errorMessage?: string;

  constructor(dto: RequestAvatarGenerationOutputDTO) {
    this.success = dto.success;
    this.avatarUrls = dto.avatarUrls || [];
    this.errorMessage = dto.errorMessage;
  }
}