import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {SharedModule} from '../../shared/shared.module';
import {RouterModule, Routes} from '@angular/router';
import { PrintExamCardRouter } from './router/router';
import { PrintExamCardContainer } from './container/print-exam-card/print-exam-card.container';
import { SearchComponent } from './presenter/search/search.component';
import { InfoComponent } from './presenter/info/info.component';

const routes: Routes = [
  {
    path: '',
    component: PrintExamCardRouter,
    children: [
      {
        path: '',
        component: PrintExamCardContainer
      },
      {
        path: 'info',
        component: InfoComponent
      },
    ]
  }
];

@NgModule({
  declarations: [
    PrintExamCardRouter,
    PrintExamCardContainer,
    SearchComponent,
    InfoComponent
  ],
  imports: [
    CommonModule,
    SharedModule,
    RouterModule.forChild(routes),
  ]
})
export class PrintExamCardModule { }
