import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {SharedModule} from '../../../../shared/shared.module';
import { ExamRoomExtractComponent } from './exam-room-extract/exam-room-extract.component';
import { ExamRoomExtractSearchComponent } from './exam-room-extract-search/exam-room-extract-search.component';
import { ExamRoomExtractQueryComponent } from './exam-room-extract-query/exam-room-extract-query.component';

const routes: Routes = [
  {path: 'interview', component: ExamRoomExtractComponent},
  {path: 'search', component: ExamRoomExtractSearchComponent},
  {path: 'query', component: ExamRoomExtractQueryComponent},
];

@NgModule({
  imports: [
    SharedModule,
    RouterModule.forChild(routes)
  ],
  entryComponents: [ExamRoomExtractSearchComponent,ExamRoomExtractQueryComponent],
  declarations: [ExamRoomExtractComponent, ExamRoomExtractSearchComponent,ExamRoomExtractQueryComponent],
  exports: [
    RouterModule
  ]
})
export class ExamExtractModule {
}
