import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { DailySummaryTtbRouter } from './router/daily-summary-ttb-router';
import { DailySummaryTtbContainer } from './container/daily-summary-ttb/daily-summary-ttb.container';
import {SharedModule} from '../../../shared/shared.module';
import {RouterModule, Routes} from '@angular/router';
import { DailySummaryTtbListComponent } from './presenter/list/daily-summary-ttb-list/daily-summary-ttb-list.component';
import { DailySummaryTtbSearchComponent } from './presenter/search/daily-summary-ttb-search/daily-summary-ttb-search.component';

const routes : Routes =[
  {
    path: '',
    component: DailySummaryTtbRouter,
    children:[
      {
        path:'',
        component: DailySummaryTtbContainer
      },
    ]
  }
]

@NgModule({
  declarations: [
    DailySummaryTtbRouter,
    DailySummaryTtbContainer,
    DailySummaryTtbListComponent,
    DailySummaryTtbSearchComponent
  ],
  imports: [
    SharedModule,
    RouterModule.forChild(routes)
  ]
})
export class DailySummaryTtbModule { }
