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

/** 文件职责：订单管理模块静态路由。 */
const routes: RouteRecordRaw[] = [
  {
    meta: {
      icon: 'lucide:receipt-text',
      order: 15,
      title: '订单管理',
    },
    name: 'Order',
    path: '/order',
    children: [
      {
        name: 'OrderHall',
        path: '/order/hall',
        component: () => import('#/views/order/hall/index.vue'),
        meta: {
          icon: 'lucide:layout-dashboard',
          title: '订单大厅',
        },
      },
      {
        name: 'OrderAll',
        path: '/order/list',
        component: () => import('#/views/order/list/index.vue'),
        meta: {
          icon: 'lucide:list-ordered',
          title: '全部订单',
        },
      },
    ],
  },
];

export default routes;
