import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { NotificationCheckExamRouter } from './router/notification-check-exam-router';
import {SharedModule} from '../../shared/shared.module';
import {RouterModule, Routes} from '@angular/router';
import { NotificationCheckExamContainer } from './container/notification-check-exam/notification-check-exam.container';
import { NotificationCheckExamListContainer } from './container/notification-check-exam-list/notification-check-exam-list.container';
import { NotificationCheckExamAllComponent } from './presenter/notification-check-exam/list/notification-check-exam-all/notification-check-exam-all.component';
import { NotificationCheckExamSearchComponent } from './presenter/notification-check-exam/search/notification-check-exam-search/notification-check-exam-search.component';
import { NotificationCheckExamListComponent } from './presenter/notification-check-exam-list/list/notification-check-exam-list/notification-check-exam-list.component';
import { NotificationCheckExamListSearchComponent } from './presenter/notification-check-exam-list/search/notification-check-exam-list-search/notification-check-exam-list-search.component';
import {
  NotificationCheckExamDialogComponent
} from './presenter/notification-check-exam/dialog/notification-check-exam-dialog/notification-check-exam-dialog.component';

const routes: Routes = [
  {
    path: '',
    component: NotificationCheckExamRouter,
    children: [
      {
        path: '',
        component: NotificationCheckExamListContainer
      },
      {
        path: 'detail/:id',
        component: NotificationCheckExamContainer
      },
    ]
  }
];

@NgModule({
  declarations: [
    NotificationCheckExamRouter,
    NotificationCheckExamContainer,
    NotificationCheckExamListContainer,
    NotificationCheckExamAllComponent,
    NotificationCheckExamSearchComponent,
    NotificationCheckExamListComponent,
    NotificationCheckExamListSearchComponent,
    NotificationCheckExamDialogComponent
  ],
  imports: [
    CommonModule,
    SharedModule,
    RouterModule.forChild(routes),
  ]
})
export class NotificationCheckExamModule { }
