// Questo file fa parte di MyTown.
// MyTown è software libero: puoi ridistribuirlo e/o modificarlo secondo
// i termini della GNU Affero General Public License come pubblicata dalla
// Free Software Foundation, versione 3.
// Distribuito senza ALCUNA GARANZIA; vedi la GNU AGPL v3 per i dettagli.
// Copyright (C) Kondor Consulting & Services S.r.l.
// SPDX-License-Identifier: AGPL-3.0-or-later

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

import { BizAppointmentsHomePage } from './home/biz-appointments-home.page';
import { BizAppointmentsListPage } from './list/biz-appointments-list.page';
import { BizAppointmentDetailPage } from './detail/biz-appointment-detail.page';
import { BizAppointmentRequestPage } from './request/biz-appointment-request.page';
import { BizServiceTypesPage } from './service-types/biz-service-types.page';
import { BizAvailabilityPage } from './availability/biz-availability.page';
const routes: Routes = [
	{ path: '', redirectTo: 'home', pathMatch: 'full' },
	{ path: 'home', component: BizAppointmentsHomePage },
	{ path: 'list', component: BizAppointmentsListPage },
	{ path: 'detail/:id', component: BizAppointmentDetailPage },
	{ path: 'request', component: BizAppointmentRequestPage },
	{ path: 'service-types', component: BizServiceTypesPage },
	{ path: 'availability', component: BizAvailabilityPage },
];

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