import type { LeagueScheduleRaceViewModel } from './LeagueScheduleViewModel';

export class LeagueAdminScheduleViewModel {
  readonly seasonId: string;
  readonly published: boolean;
  readonly races: LeagueScheduleRaceViewModel[];

  constructor(input: { seasonId: string; published: boolean; races: LeagueScheduleRaceViewModel[] }) {
    this.seasonId = input.seasonId;
    this.published = input.published;
    this.races = input.races;
  }
}