import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { TestingFieldRouter } from './router/testing-field-router';
import { TestingFieldContainer } from './container/testing-field/testing-field.container';
import {SharedModule} from '../../../shared/shared.module';
import {RouterModule, Routes} from '@angular/router';
import { TestingFieldListComponent } from './presenter/list/testing-field-list/testing-field-list.component';
import { TestingFieldSearchComponent } from './presenter/search/testing-field-search/testing-field-search.component';
import { TestingFieldDialogComponent } from './presenter/dialog/testing-field-dialog/testing-field-dialog.component';

const routes: Routes = [
    {
        path: '',
        component: TestingFieldRouter,
        children: [
            {
                path: '',
                component: TestingFieldContainer
            },
        ]
    }
];

@NgModule({
    declarations: [
        TestingFieldRouter,
        TestingFieldContainer,
        TestingFieldListComponent,
        TestingFieldSearchComponent,
        TestingFieldDialogComponent
    ],
    imports: [
        CommonModule,
        SharedModule,
        RouterModule.forChild(routes)
    ]
})
export class TestingFieldModule { }
