import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

import { EmployeeComponent } from './employee/employee.component';
import { RoleComponent } from './role/role.component';
import { StudyCenterComponent } from './study-center/study-center.component';
import { FormListComponent } from './form-list/form-list.component';
import { UniversityMasterComponent } from './university-master/university-master.component';
import { BatchMasterComponent } from './batch-master/batch-master.component';
import { DocumentMasterComponent } from './document-master/document-master.component';
import { FeesMasterComponent } from './fees-master/fees-master.component';
import { ExamtimeTableComponent } from './examtime-table/examtime-table.component';
import { StudyMaterialComponent } from './study-material/study-material.component';
import { CourseMasterComponent } from './course-master/course-master.component';
import { FeesShareAllotmentMasterComponent } from './fees-share-allotment-master/fees-share-allotment-master.component';
import { SessionMasterComponent } from './session-master/session-master.component';
import { StatusMasterComponent } from './status-master/status-master.component';
const routes: Routes = [
  {
    path: '',
    data: {
     title: 'Masters'
    },
    children: [
      {
        path: 'employee',
        component: EmployeeComponent,
        data: {
          title: 'Employee'
        }
      },
      {
        path: 'role',
        component: RoleComponent,
        data: {
          title: 'Role'
        }
      },
      {
        path: 'studyCenter',
        component: StudyCenterComponent,
        data: {
          title: 'Study Center'
        }
      },
      {
        path: 'formList',
        component: FormListComponent,
        data: {
          title: 'Form List'
        }
      }
	  ,
	   {
        path: 'UniversityMaster',
        component: UniversityMasterComponent,
        data: {
          title: 'University'
        }
      },
	  {
        path: 'BatchMaster',   
        component: BatchMasterComponent,
        data: {
          title: 'Batch'
        }
      },
	   {
        path: 'FeesMaster',
        component: FeesMasterComponent,
        data: {
          title: 'Fees'
        }
      },
	  {
        path: 'DocumentMaster',
        component: DocumentMasterComponent,
        data: {
          title: 'Document'
        }
      },
	  {
        path: 'ExamTimetable',
        component: ExamtimeTableComponent,
        data: {
          title: 'ExamTimetable'
        }
    },
    {
      path: "coursemaster",
      component: CourseMasterComponent,
      data: {
        title: "Course"
      }
    },
    {
      path: "shareallotmentmaster",
      component: FeesShareAllotmentMasterComponent,
      data: {
        title: "Fees Share"
      }
    },
    {
      path: "sessionmaster",
      component: SessionMasterComponent,
      data: {
        title: "Session"
      }
    },
    {
     path: "statusmaster",
     component: StatusMasterComponent,
     data: {
       title: "Status"
     }
   }
    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class MastersRoutingModule {}
