import Layout from '@/layout'

export default {
  path: '/financial-management',
  component: Layout,
  redirect: '/financial-management/charging-transactions',
  meta: {
    title: 'Financial Management',
    affix: false,
    icon: 'financial'
  },
  children: [
    {
      path: '/financial-management/charging-transactions',
      component: () => import('@/views/financial/index'),
      name: 'ChargingTransactions',
      meta: {
        title: 'Charging Transactions',
        icon: 'sidebar-submenu-item',
        activeIcon: 'sidebar-submenu-item-active',
        affix: false
      }
    },
    {
      path: '/financial-management/idle-fee',
      component: () => import('@/views/financial/IdleFee'),
      name: 'FinancialIdleFee',
      meta: {
        title: 'Idle Fee',
        icon: 'sidebar-submenu-item',
        activeIcon: 'sidebar-submenu-item-active',
        affix: false
      }
    },
    {
      path: '/financial-management/top-up',
      component: () => import('@/views/financial/TopUp'),
      name: 'FinancialTopup',
      meta: {
        title: 'Top-Up',
        icon: 'sidebar-submenu-item',
        activeIcon: 'sidebar-submenu-item-active',
        affix: false
      }
    }
  ]
}