const lesson: AuthRoute.Route = {
  name: 'lesson',
  path: '/lesson',
  component: 'basic',
  children: [
    {
      name: 'lesson_group',
      path: '/lesson/group',
      component: 'self',
      meta: {
        title: '班级管理',
        i18nTitle: 'message.routes.lesson.group',
        requiresAuth: true,
        localIcon: 'class'
      }
    },
    {
      name: 'lesson_schedule',
      path: '/lesson/schedule',
      component: 'self',
      meta: {
        title: '排课管理',
        i18nTitle: 'message.routes.lesson.schedule',
        requiresAuth: true,
        icon: 'healthicons:i-schedule-school-date-time'
      }
    },
    {
      name: 'lesson_calendar',
      path: '/lesson/calendar',
      component: 'self',
      meta: {
        title: '排课日历',
        i18nTitle: 'message.routes.lesson.calendar',
        requiresAuth: true,
        icon: 'radix-icons:calendar'
      }
    },
    {
      name: 'lesson_checkin',
      path: '/lesson/checkin',
      component: 'self',
      meta: {
        title: '课程签到',
        i18nTitle: 'message.routes.lesson.checkin',
        requiresAuth: true,
        icon: 'mdi:sign'
      }
    },
    {
      name: 'lesson_score',
      path: '/lesson/score',
      component: 'self',
      meta: {
        title: '课程考核',
        i18nTitle: 'message.routes.lesson.score',
        requiresAuth: true,
        icon: 'healthicons:i-exam-qualification-outline'
      }
    },
    {
      name: 'lesson_student',
      path: '/lesson/student',
      component: 'self',
      meta: {
        title: '排课日历',
        i18nTitle: 'message.routes.lesson.student',
        requiresAuth: true,
        icon: 'typcn:group'
      }
    },
    {
      name: 'lesson_classroom',
      path: '/lesson/classroom',
      component: 'self',
      meta: {
        title: '教室管理',
        i18nTitle: 'message.routes.lesson.classroom',
        requiresAuth: true,
        localIcon: 'classroom'
      }
    }
  ],
  meta: {
    title: '课程管理',
    i18nTitle: 'message.routes.lesson._value',
    localIcon: 'lesson',
    order: 9
  }
};

export default lesson;
