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

export const equityRoute: AppRouteRecordRaw = {
  path: '/equity',
  name: 'Equity',
  redirect: '/equity/index',
  component: LAYOUT,
  meta: {
    title: t('routes.dashboard.equity'),
    icon: 'raphael:customer',
    orderNo: 8,
    hideChildrenInMenu: true,
  },
  children: [
    {
      path: 'index',
      name: 'EquityIndex',
      component: () => import('/@/views/equity/index.vue'),
      meta: {
        title: t('routes.dashboard.equity'),
        hideBreadcrumb: true,
        icon: 'raphael:customer',
      },
    },
  ],
};
export default equityRoute;
