import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { ApproveExaminationRouter } from './router/approve-examination-router';
import { ApproveExaminationContainer } from './container/approve-examination/approve-examination.container';
import {SharedModule} from '../../shared/shared.module';
import {RouterModule, Routes} from '@angular/router';
import { ApproveExaminationSearchComponent } from './feature/search/approve-examination-search/approve-examination-search.component';
import { ApproveExaminationListComponent } from './feature/list/approve-examination-list/approve-examination-list.component';
import { ApproveDialogComponent } from './feature/dialog/approve-dialog/approve-dialog.component';

const routes: Routes = [
  {
    path: '',
    component: ApproveExaminationRouter,
    children: [
      {
        path: '',
        component: ApproveExaminationContainer
      },
    ]
  }
];

@NgModule({
  declarations: [
    ApproveExaminationRouter,
    ApproveExaminationContainer,
    ApproveExaminationSearchComponent,
    ApproveExaminationListComponent,
    ApproveDialogComponent],
  imports: [
    CommonModule,
    SharedModule,
    RouterModule.forChild(routes),
  ]
})
export class ApproveExaminationModule { }
