import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {SharedModule} from '../../../shared/shared.module';
import { FrameDeptDetailComponent } from './frame-dept-detail/frame-dept-detail.component';
import { FrameDeptPageComponent } from './frame-dept-page/frame-dept-page.component';
import { FrameDeptTreeComponent } from './frame-dept-tree/frame-dept-tree.component';

const routes: Routes = [
  {path: 'page', component: FrameDeptPageComponent},
];

@NgModule({
  imports: [
    SharedModule,
    RouterModule.forChild(routes)
  ],
  entryComponents: [FrameDeptDetailComponent, FrameDeptTreeComponent],
  declarations: [FrameDeptDetailComponent, FrameDeptPageComponent, FrameDeptTreeComponent],
  exports: [
    RouterModule
  ]
})
export class FrameDeptModule {
}
