import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {SharedModule} from '../../shared/shared.module';
import {RouterModule, Routes} from '@angular/router';
import { ChangeExamDayRouter } from './router/router';
import { ChangeExamDayContainer } from './container/change-exam-day/change-exam-day.container';
import { ListComponent } from './presenter/list/list/list.component';
import { AlrdyListComponent } from './presenter/alrdy-list/alrdy-list/alrdy-list.component';
import { EmptyListComponent } from './presenter/empty-list/empty-list/empty-list.component';
import { WaitListComponent } from './presenter/wait-list/wait-list/wait-list.component';
import { ReasonDialogComponent } from './presenter/dialog/reason-dialog/reason-dialog/reason-dialog.component';
import { ChangeDialogComponent } from './presenter/dialog/change-dialog/change-dialog/change-dialog.component';

const routes: Routes = [
  {
    path: '',
    component: ChangeExamDayRouter,
    children: [
      {
        path: '',
        component: ChangeExamDayContainer
      },
    ]
  }
];

@NgModule({
  declarations: [
    ChangeExamDayContainer,
    ChangeExamDayRouter,
    ListComponent,
    AlrdyListComponent,
    EmptyListComponent,
    WaitListComponent,
    ReasonDialogComponent,
    ChangeDialogComponent
  ],
  imports: [
    CommonModule,
    SharedModule,
    RouterModule.forChild(routes),
  ]
})
export class ChangeExamDayModule {}
