import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {StdRegDetailComponent} from './std-reg-detail/std-reg-detail.component';
import {StdRegPageComponent} from './std-reg-page/std-reg-page.component';
import {StdRegCreateComponent} from './std-reg-create/std-reg-create.component';
import {StdRegAgentComponent} from './std-reg-agent/std-reg-agent.component';
import {StdRegAspectComponent} from './std-reg-aspect/std-reg-aspect.component';
import { StdRegTracksComponent } from './std-reg-tracks/std-reg-tracks.component';
import { StdInterviewModifyComponent } from './std-interview-modify/std-interview-modify.component';
import { StdLaterEnrolComponent } from './std-later-enrol/std-later-enrol.component';
import { StdRegCustomExportComponent } from './std-reg-custom-export/std-reg-custom-export.component';
import { StdRegVideoFaceComponent } from './std-reg-video-face/std-reg-video-face.component';
import { SharedModule } from '../../../../../app/shared/shared.module';
import { StdRegModifyComponent } from './std-reg-modify/std-reg-modify.component';
//import { StdMaterialRefuseComponent } from '../material/std-material-refuse/std-material-refuse.component';

const routes: Routes = [
  {path: 'page', component: StdRegPageComponent},
  {path: 'detail/:std_id', component: StdRegDetailComponent},
  {path: 'videoface', component: StdRegVideoFaceComponent}
];

@NgModule({
  imports: [
    SharedModule,
    RouterModule.forChild(routes)
  ],
  entryComponents: [StdRegCreateComponent, StdRegAgentComponent,StdRegAspectComponent,StdRegTracksComponent,StdInterviewModifyComponent,StdLaterEnrolComponent,StdRegCustomExportComponent],
  declarations: [StdRegPageComponent, StdRegDetailComponent, StdRegCreateComponent, StdRegAgentComponent, StdRegAspectComponent, StdRegTracksComponent, StdInterviewModifyComponent,StdLaterEnrolComponent, StdRegCustomExportComponent, StdRegVideoFaceComponent,StdRegModifyComponent],
  exports: [
    RouterModule
  ]
})
export class StdRegModule {
}
