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

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

const corporation: AppRouteModule = {
  path: '/corporation',
  name: 'Corporation',
  component: LAYOUT,
  redirect: '/corporation/index',
  meta: {
    // hideChildrenInMenu: true,
    icon: 'carbon:location-company',
    title: t('routes.dashboard.corporation'),
    orderNo: 11,
  },
  children: [
    {
      path: 'index',
      name: 'corporationAccount',
      component: () => import('/@/views/corporation/index.vue'),
      meta: {
        title: t('routes.dashboard.corporationAccount'),
        icon: 'ic:baseline-account-tree',
        // hideMenu: true,
      },
    },
    {
      path: 'mange',
      name: 'corporationVerify',
      component: () => import('/@/views/corporation/verify.vue'),
      meta: {
        title: t('routes.dashboard.corporationVerify'),
        icon: 'ic:outline-verified',
        // hideMenu: true,
      },
    },
  ],
};

export default corporation;
