import type { AppRouteModule } from '/@/router/types';

import { LAYOUT } from '/@/router/constant';
import { t } from '/@/hooks/web/useI18n';

const staff: AppRouteModule = {
  path: '/staff',
  name: 'Staff',
  component: LAYOUT,
  redirect: '/staff/list',
  meta: {
    icon: 'medical-icon:care-staff-area',
    title: t('routes.dashboard.staff'),
    orderNo: 102,
  },
  children: [
    {
      path: 'list',
      name: 'StaffList',
      component: () => import('/@/views/staff/list.vue'),
      meta: {
        title: t('routes.dashboard.staffList'),
        icon: 'ic:outline-remember-me',
      },
    },
    {
      path: 'clean',
      name: 'StaffClean',
      component: () => import('/@/views/staff/clean.vue'),
      meta: {
        title: t('routes.dashboard.staffClean'),
        icon: 'ic:outline-remember-me',
      },
    },
  ],
};

export default staff;
