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

const routes: Routes = [

  { path: 'school', loadChildren: ()=> import('./school/school.cf.module').then(m => m.CfSchoolModule) },
  { path: 'batch', loadChildren: ()=> import('./batch/batch.cf.module').then(m => m.CfBatchModule) },
  { path: 'category', loadChildren: ()=> import('./category/category.cf.module').then(m => m.CfCategoryModule) },
  { path: 'aspect', loadChildren: ()=> import('./aspect/aspect.cf.module').then(m => m.CfAspectModule) },
  { path: 'maertiail.def', loadChildren: ()=> import('./material-def/material-def.cf.module').then(m => m.CfMaterialDefModule) },
  { path: 'maertiail.rule', loadChildren: ()=> import('./material-rule/material-rule.cf.module').then(m => m.CfMaterialRuleModule) },
  { path: 'initial.optr', loadChildren: ()=> import('./initail-optr/initial-optr.cf.module').then(m => m.CfInitialOptrModule) },
  { path: 'promise', loadChildren: ()=> import('./promise/promise.cf.module').then(m => m.CfPromiseModule) },
  { path: 'pattern', loadChildren: ()=> import('./pattern/pattern.cf.module').then(m => m.CfPatternModule) },
  { path: 'authtag', loadChildren: ()=> import('./authtag/authtag.cf.module').then(m => m.CfAuthTagModule) },
  { path: 'subject', loadChildren: ()=> import('./cf-subject/cf-subject.module').then(m => m.CfSubjectModule) }
];

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

export class CfModule {
}
