import type { RouteRecordRaw } from 'vue-router';

import { $t } from '#/locales';

const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'lucide:calendar-check',
      order: 2,
      title: $t('page.booking.title'),
    },
    name: 'Booking',
    path: '/booking',
    redirect: '/booking/list',
    children: [
      {
        name: 'BookingList',
        path: 'list',
        component: () => import('#/views/booking/list.vue'),
        meta: {
          icon: 'lucide:list',
          title: $t('page.booking.list'),
        },
      },
    ],
  },
];

export default routes;

