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 { PeriodSummaryContainer } from './container/period-summary/period-summary.container';
import { PeriodSummaryRouter } from './router/period-summary-router';
import { PeriodSummaryListComponent } from './presenter/list/period-summary-list/period-summary-list.component';
import { PeriodSummarySearchComponent } from './presenter/search/period-summary-search/period-summary-search.component';
const routes : Routes =[
  {
    path:'',
    component: PeriodSummaryRouter,
    children:[
      {
        path:'',
        component: PeriodSummaryContainer
      },
    ]
  }
]

@NgModule({
  declarations: [
    PeriodSummaryRouter,
    PeriodSummaryContainer,
    PeriodSummaryListComponent,
    PeriodSummarySearchComponent
  ],
  imports: [
    CommonModule,
    SharedModule,
    RouterModule.forChild(routes)
  ]
})
export class PeriodSummaryModule { }
