import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {SharedModule} from '../../../shared/shared.module';
import {RouterModule, Routes} from '@angular/router';
import { ImportRouter } from './router/router';
import { ImportContainer } from './container/import/import.container';
import { ListComponent } from './presenter/list/list.component';

const routes: Routes = [
  {
    path: '',
    component: ImportRouter,
    children: [
      {
        path: '',
        component: ImportContainer
      },
    ]
  }
];

@NgModule({
  declarations: [
    ImportRouter,
    ImportContainer,
    ListComponent
  ],
  imports: [
    CommonModule,
    SharedModule,
    RouterModule.forChild(routes),
  ]
})
export class ImportModule { }
