import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {SharedModule} from '../../../../shared/shared.module';
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 {StdMaterialRefuseComponent} from '../material/std-material-refuse/std-material-refuse.component';
import {StdRegModifyComponent} from './std-reg-modify/std-reg-modify.component';
import {StdRegAgentComponent} from './std-reg-agent/std-reg-agent.component';
import {StdRegAspectComponent} from './std-reg-aspect/std-reg-aspect.component';
import { StdInterviewModifyComponent } from './std-interview-modify/std-interview-modify.component';

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

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