import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { TypesubjectRouter } from './router/typesubject-router';
import {SharedModule} from '../../../shared/shared.module';
import {RouterModule, Routes} from '@angular/router';
import { TypesubjectContainer } from './container/typesubject/typesubject.container';
import { TypesubjectListComponent } from './presenter/list/typesubject-list/typesubject-list.component';
import { TypesubjectSearchComponent } from './presenter/search/typesubject-search/typesubject-search.component';
import { TypesubjectDialogComponent } from './presenter/dialog/typesubject-dialog/typesubject-dialog.component';


const routes: Routes = [
    {
        path: '',
        component: TypesubjectRouter,
        children: [
            {
                path: '',
                component: TypesubjectContainer
            },
        ]
    }
];


@NgModule({
    declarations: [
        TypesubjectRouter,
        TypesubjectContainer,
        TypesubjectListComponent,
        TypesubjectSearchComponent,
        TypesubjectDialogComponent
    ],
    imports: [
        CommonModule,
        SharedModule,
        RouterModule.forChild(routes)
    ]
})
export class TypesubjectModule { }
