import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {SharedModule} from '../../../../shared/shared.module';
import {LayoutInterviewComponent} from './layout-interview/layout-interview.component';
import {LayoutWrittenComponent} from './layout-written/layout-written.component';
import {LayoutWrittenArrangeComponent} from './layout-written-arrange/layout-written-arrange.component';
import {LayoutInterviewArrangeComponent} from './layout-interview-arrange/layout-interview-arrange.component';
import {LayoutInterviewDetailComponent} from './layout-interview-detail/layout-interview-detail.component';
import {LayoutInterviewAppointmentComponent} from './layout-interview-appointment/layout-interview-appointment.component';
import { LayoutGroupParamComponent } from './layout-group-param/layout-group-param.component';
import { LayoutGroupParamDetailComponent } from './layout-group-param-detail/layout-group-param-detail.component';
import { UmpGroupInterviewComponent } from './ump-group-interview/ump-group-interview.component';
import { UmpGroupInterviewDetailComponent } from './ump-group-interview-detail/ump-group-interview-detail.component';
import { LayoutGroupParamNewComponent } from './layout-group-param-new/layout-group-param-new.component';

const routes: Routes = [
  {path: 'interview', component: LayoutInterviewComponent},
  {path: 'written', component: LayoutWrittenComponent},
  {path: 'param', component: LayoutGroupParamComponent},
  {path: 'umpgroup' , component : UmpGroupInterviewComponent}
];

@NgModule({
  imports: [
    SharedModule,
    RouterModule.forChild(routes)
  ],
  entryComponents: [LayoutWrittenArrangeComponent, LayoutInterviewArrangeComponent, LayoutInterviewDetailComponent, LayoutInterviewAppointmentComponent, LayoutGroupParamDetailComponent],
  declarations: [LayoutInterviewComponent, LayoutWrittenComponent, LayoutWrittenArrangeComponent, LayoutInterviewArrangeComponent, LayoutInterviewDetailComponent, LayoutInterviewAppointmentComponent, LayoutGroupParamComponent, LayoutGroupParamDetailComponent, UmpGroupInterviewComponent, UmpGroupInterviewDetailComponent, LayoutGroupParamNewComponent],
  exports: [
    RouterModule
  ]
})
export class LayoutGroupModule {
}
