import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { ProjectdefinitionmasterComponent } from './projectdefinitionmaster/projectdefinitionmaster.component';
import { ProjectconfigurationComponent } from './projectconfiguration/projectconfiguration.component';
import { AuthGuard } from '../auth.guard';
import { OutlineconfigurationComponent } from './outlineconfiguration/outlineconfiguration.component';
import { OutlineComponent } from './outline/outline.component';
import { ProjectfollowupComponent } from './projectfollowup/projectfollowup.component';
const routes: Routes = [
  { path: '', component: ProjectdefinitionmasterComponent, canActivate: [AuthGuard] },
  { path: 'projectdefinitionmaster', component: ProjectdefinitionmasterComponent, canActivate: [AuthGuard] },
  { path: 'projectdefinition', component: ProjectconfigurationComponent, canActivate: [AuthGuard]},
  { path: 'outlineconfiguration', component: OutlineconfigurationComponent, canActivate: [AuthGuard]},
  { path: 'outlinemaster', component: OutlineComponent, canActivate: [AuthGuard]},
  { path: 'projectfollowup', component: ProjectfollowupComponent, canActivate: [AuthGuard]}
];

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