import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {SharedModule} from '../../shared/shared.module';
import {StdRegChooseComponent} from './std/reg/std-reg-choose/std-reg-choose.component';
import {StdRegSearchComponent} from './std/reg/std-reg-search/std-reg-search.component';


const routes: Routes = [
  {path: 'conf', loadChildren: () => import('./conf/conf.art.module').then(m => m.ArtConfModule)},
  {path: 'enrol', loadChildren: () => import('./enrol/enrol.art.module').then(m => m.ArtEnrolModule)},
  {path: 'std', loadChildren: () => import('./std/std.art.module').then(m => m.ArtStdModule)},
  {path: 'exam', loadChildren: () => import('./exam/exam.art.module').then(m => m.ArtExamModule)},
  {path: 'layout', loadChildren: () => import('./layout/layout.art.module').then(m => m.ArtLayoutModule)},
  {path: 'score', loadChildren: () => import('./score/score.art.module').then(m => m.ArtScoreModule)},
  {path: 'admit', loadChildren: () => import('./admit/admit.art.module').then(m => m.ArtAdmitModule)},
  {path: 'plan', loadChildren: () => import('./plan/plan.art.module').then(m => m.ArtPlanModule)},
  {path: 'wish', loadChildren: () => import('./wish/wish.art.module').then(m => m.ArtWishModule)},
  {path: 'devops', loadChildren: () => import('./devops/devops.art.module').then(m => m.ArtDevopsModule)}
];

@NgModule({
  imports: [
    RouterModule.forChild(routes),
    SharedModule
  ],
  entryComponents: [],
  declarations: [StdRegSearchComponent,StdRegChooseComponent],
  exports: [
    RouterModule,
    StdRegSearchComponent,
    StdRegChooseComponent
  ]
})
export class ArtModule {
}
