import Layout from '@/layout'

export default {
  path: '/pos-device-management',
  component: Layout,
  meta: {
    title: 'POS Device Management',
    icon: 'pos-device',
    activeIcon: 'pos-device-active',
    affix: true
  },
  children: [
    {
      path: '/pos-device-management',
      component: () => import('@/views/posDevice/index'),
      name: 'pos-device-index',
      meta: {
        title: 'POS Device Management',
        icon: 'pos-device',
        activeIcon: 'pos-device-active',
        breadcrumb: false,
        additional: true
      }
    },
    {
      path: '/pos-device-management/add',
      component: () => import('@/views/posDevice/detail'),
      name: 'pos-device-add',
      meta: {
        title: 'Add Device',
        activeMenu: '/pos-device-management'
      }
    },
    {
      path: '/pos-device-management/edit/:deviceId',
      component: () => import('@/views/posDevice/detail'),
      name: 'pos-device-edit',
      meta: {
        title: 'Edit Device',
        activeMenu: '/pos-device-management'
      }
    }
  ]
}