import Common from '@/layout/common/index'

const router = {
  menuId: 'DataMgr',
  path: '/data-management',
  name: '数据管理',
  component: Common,
  redirect: '/data-management/data-model',
  meta: { title: '数据管理', icon: 'data-mgr' },
  alwaysShow: true,
  children: [
    {
      menuId: 'DataModel',
      path: 'data-model',
      name: '数据模型',
      component: () => import('@/views/data-management/model-management'),
      meta: { title: '数据模型', icon: 'data-model' }
    },
    {
      menuId: 'DataInstance',
      path: 'object-instance',
      name: '数据实例',
      component: () => import('@/views/data-management/instance-management'),
      meta: { title: '数据实例', icon: 'data-instance' }
    }
  ]
}
export default router
