import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { EducationTypeRouter } from './router/education-type-router';
import {SharedModule} from '../../../shared/shared.module';
import {RouterModule, Routes} from '@angular/router';
import { EducationTypeContainer } from './container/education-type/education-type.container';
import { EducationTypeListComponent } from './presenter/list/education-type-list/education-type-list.component';
import { EducationTypeSearchComponent } from './presenter/search/education-type-search/education-type-search.component';
import { EducationTypeDialogComponent } from './presenter/dialog/education-type-dialog/education-type-dialog.component';


const routes: Routes = [
  {
    path: '',
    component: EducationTypeRouter,
    children: [
      {
        path: '',
        component: EducationTypeContainer
      },
    ]
  }
];

@NgModule({
  declarations: [
    EducationTypeRouter,
    EducationTypeContainer,
    EducationTypeListComponent,
    EducationTypeSearchComponent,
    EducationTypeDialogComponent
  ],
  imports: [
    CommonModule,
    SharedModule,
    RouterModule.forChild(routes)
  ]
})
export class EducationTypeModule { }
