import { IPage } from './page.model';
export interface ICoursePart {
  id: number;
  name: string;
  number?: number;
  urlName?: string;
}
export interface ICourse extends ICoursePart {
  courseModules: Array<ICourseModule>;
}
export interface ICourseModule extends ICoursePart {
  sessions: Array<ISession>;
  preventNumbering?: boolean;
  comingSoon?: boolean;
}
export interface ISession extends ICoursePart {
  pages: Array<IPage>;
  preventNumbering?: boolean;
  comingSoon?: boolean;
}
