export default [
  {
    path: "business",
    name: "BusinessPage",
    component: () => import("pages/business/BusinessPage.vue"),
    meta: {
      title: "Empreendimento",
      requireAuth: true,
      requiredPermission: "config.city",
      breadcrumbs: [
        {
          name: "WelcomePage",
          title: "Inicio",
        },
        {
          title: "Propriedades",
        },
        {
          name: "BusinessPage",
          title: "Empreendimento",
        },
      ],
    },
  },

  {
    path: "business/create",
    name: "BusinessCreatePage",
    component: () => import("pages/business/BusinessActionPage.vue"),
    meta: {
      title: "Criar Empreendimento",
      requireAuth: true,
      requiredPermission: "config.city",
    },
  },
  {
    path: "business/:id",
    name: "BusinessEditPage",
    component: () => import("pages/business/BusinessActionPage.vue"),
    meta: {
      title: "Editar Empreendimento",
      requireAuth: true,
      requiredPermission: "config.city",
    },
  },

  {
    path: "properties",
    name: "PropertyPage",
    component: () => import("pages/property/PropertyPage.vue"),
    meta: {
      title: "Apartamentos",
      requireAuth: true,
      requiredPermission: "config.city",
      breadcrumbs: [
        {
          name: "WelcomePage",
          title: "Inicio",
        },
        {
          title: "Propriedades",
        },
        {
          name: "PropertyPage",
          title: "Imóveis",
        },
      ],
    },
  },

  {
    path: "advertisement/create",
    name: "AdvertisementCreatePage",
    component: () => import("pages/advertisement/AdvertisementActionPage.vue"),
    meta: {
      title: "Criar Anúncio",
      requireAuth: true,
      requiredPermission: "config.city",
    },
  },

  {
    path: "advertisement/:id",
    name: "AdvertisementEditPage",
    component: () => import("pages/advertisement/AdvertisementActionPage.vue"),
    meta: {
      title: "Editar Anúncio",
      requireAuth: true,
      requiredPermission: "config.city",
    },
  },
];
