export default [
  {
    path: "/contracts",
    name: "ContractsPage",
    component: () => import("pages/contracts/ContractsPage.vue"),
    meta: {
      title: "Contratos",
      requireAuth: true,
      requiredPermission: "franchisee_contracts",
      breadcrumbs: [
        {
          name: "ContractsPage",
          title: "Contratos",
        },
      ],
    },
  },
  {
    path: "/students",
    name: "StudentPage",
    component: () => import("pages/students/StudentPage.vue"),
    meta: {
      title: "Alunos",
      requireAuth: true,
      requiredPermission: "franchisee_students",
      breadcrumbs: [
        {
          name: "StudentPage",
          title: "Alunos",
        },
      ],
    },
  },
  {
    path: "/users/create",
    name: "UserAddPage",
    component: () => import("pages/users/UserActionPage.vue"),
    meta: {
      title: "Cadastro de Usuário",
      requireAuth: true,
      requiredPermission: "franchisee_users",
      breadcrumbs: [
        { name: "UsersPage", title: "Usuários" },
        { name: "UserAddPage", title: "Cadastro de Usuário" },
      ],
    },
  },
  {
    path: "/users/:id/edit",
    name: "UserEditPage",
    component: () => import("pages/users/UserActionPage.vue"),
    meta: {
      title: "Editar Usuário",
      requireAuth: true,
      requiredPermission: "franchisee_users",
      breadcrumbs: [
        { name: "UsersPage", title: "Usuários" },
        { name: "UserEditPage", title: "Editar Usuário" },
      ],
    },
  },
  {
    path: "/users",
    name: "UsersPage",
    component: () => import("pages/users/UsersPage.vue"),
    meta: {
      title: {
        value: "ui.navigation.users",
        translate: true,
      },
      description: {
        value: "page.users.description",
        translate: true,
      },
      requireAuth: true,
      requiredPermission: "franchisee_users",
      breadcrumbs: [
        {
          name: "UsersPage",
          title: "ui.navigation.users",
          translate: true,
        },
      ],
    },
  },
];
