import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { SharedModule } from 'src/app/shared/shared.module';
import { RouterModule, Routes } from '@angular/router';
import { AcademicSemestersRouter } from './router/academic-semesters-router';
import { AcademicSemestersContainer } from './container/academic-semesters/academic-semesters.container';
import { AcademicSemestersSearchComponent } from './presenter/search/academic-semesters-search/academic-semesters-search.component';
import { AcademicSemestersListComponent } from './presenter/list/academic-semesters-list/academic-semesters-list.component';
import { AcademicSemestersDialogComponent } from './presenter/dialog/academic-semesters-dialog/academic-semesters-dialog.component';

const routes : Routes =[
  {
    path:'',
    component: AcademicSemestersRouter,
    children:[
      {
        path:'',
        component: AcademicSemestersContainer
      },
    ]
  }
]

@NgModule({
  declarations: [
    AcademicSemestersContainer,
    AcademicSemestersRouter,
    AcademicSemestersSearchComponent,
    AcademicSemestersListComponent,
    AcademicSemestersDialogComponent
  ],
  imports: [
    CommonModule,
    SharedModule,
    RouterModule.forChild(routes)
  ]
})
export class AcademicSemestersModule { }
