import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {SharedModule} from '../../../shared/shared.module';

const routes: Routes = [
  {path: 'agent', loadChildren: () => import('./agent/agent.conf.module').then(m => m.ConfAgentModule)},
  {path: 'aspect', loadChildren: () => import('./aspect/aspect.conf.module').then(m => m.ConfAspectModule)},
  {path: 'category', loadChildren: () => import('./category/category.conf.module').then(m => m.ConfCategoryModule)},
  {path: 'fee', loadChildren: () => import('./fee/fee.conf.module').then(m => m.ConfFeeModule)},
  {path: 'major', loadChildren: () => import('./major/major.conf.module').then(m => m.ConfMajorModule)},
  {path: 'material', loadChildren: () => import('./material/material.conf.module').then(m => m.ConfMaterialModule)},
  {path: 'province', loadChildren: () => import('./province/province.conf.module').then(m => m.ConfProvinceModule)},
  {path: 'rule', loadChildren: () => import('./rule/rule.conf.module').then(m => m.ConfRuleModule)},
  {path: 'subject', loadChildren: () => import('./subject/subject.conf.module').then(m => m.ConfSubjectModule)},
  {path: 'tracks', loadChildren: () => import('./tracks/tracks.conf.module').then(m => m.ConfTracksModule)},
  {path: 'variety', loadChildren: () => import('./variety/variety.conf.module').then(m => m.ConfVarietyModule)},
  {path: 'param', loadChildren: () => import('./param/param.conf.module').then(m => m.ConfEnrolParamModule)},
  {path: 'imp', loadChildren: () => import('./impdata/impdata.conf.module').then(m => m.ConfImpdataModule)},
];

@NgModule({
  imports: [
    SharedModule,
    RouterModule.forChild(routes)
  ],
  entryComponents: [],
  declarations: [],
  exports: [
    RouterModule
  ]
})

export class ArtConfModule {
}
