/**
 * View Model for Update Team Result
 *
 * Represents the result of updating a team in a UI-ready format.
 */
export class UpdateTeamViewModel {
  success: boolean;

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

  /** UI-specific: Success message */
  get successMessage(): string {
    return this.success ? 'Team updated successfully!' : 'Failed to update team.';
  }
}