import { RemoveLeagueMemberOutputDTO } from '../types/generated/RemoveLeagueMemberOutputDTO';

/**
 * View Model for Remove Member Result
 *
 * Represents the result of removing a member from a league in a UI-ready format.
 */
export class RemoveMemberViewModel {
  success: boolean;

  constructor(dto: RemoveLeagueMemberOutputDTO) {
    this.success = dto.success;
  }

  /** UI-specific: Success message */
  get successMessage(): string {
    return this.success ? 'Member removed successfully!' : 'Failed to remove member.';
  }
}