-- Dumping data for table `purchase_xml_imports`
--

SET autocommit=0;
COMMIT;

-- Dumped table `purchase_xml_imports` with 0 row(s)
--

--
-- Table structure for table `quotations`
--

CREATE TABLE `quotations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `seller_id` int(10) unsigned DEFAULT NULL,
  `external_id` char(36) NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `establishment` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`establishment`)),
  `soap_type_id` char(2) NOT NULL,
  `state_type_id` char(2) NOT NULL,
  `prefix` char(3) NOT NULL,
  `date_of_issue` date NOT NULL,
  `time_of_issue` time NOT NULL,
  `date_of_due` varchar(255) DEFAULT NULL,
  `delivery_date` varchar(255) DEFAULT NULL,
  `customer_id` int(10) unsigned NOT NULL,
  `customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`customer`)),
  `shipping_address` text DEFAULT NULL,
  `currency_type_id` varchar(255) NOT NULL,
  `payment_method_type_id` char(2) DEFAULT NULL,
  `exchange_rate_sale` decimal(13,3) NOT NULL,
  `total_prepayment` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exportation` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxed` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_unaffected` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exonerated` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_value` decimal(12,2) NOT NULL DEFAULT 0.00,
  `subtotal` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `prepayments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`prepayments`)),
  `guides` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`guides`)),
  `related` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`related`)),
  `perception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`perception`)),
  `detraction` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`detraction`)),
  `legends` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`legends`)),
  `filename` varchar(255) DEFAULT NULL,
  `terms_condition` text DEFAULT NULL,
  `referential_information` varchar(100) DEFAULT NULL,
  `account_number` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `contact` varchar(255) DEFAULT NULL,
  `changed` tinyint(1) NOT NULL DEFAULT 0,
  `sale_opportunity_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `description` varchar(1000) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `quotations_user_id_foreign` (`user_id`),
  KEY `quotations_establishment_id_foreign` (`establishment_id`),
  KEY `quotations_customer_id_foreign` (`customer_id`),
  KEY `quotations_soap_type_id_foreign` (`soap_type_id`),
  KEY `quotations_state_type_id_foreign` (`state_type_id`),
  KEY `quotations_currency_type_id_foreign` (`currency_type_id`),
  KEY `quotations_payment_method_type_id_foreign` (`payment_method_type_id`),
  KEY `quotations_sale_opportunity_id_foreign` (`sale_opportunity_id`),
  CONSTRAINT `quotations_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `quotations_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `quotations_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `quotations_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `quotations_sale_opportunity_id_foreign` FOREIGN KEY (`sale_opportunity_id`) REFERENCES `sale_opportunities` (`id`),
  CONSTRAINT `quotations_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `quotations_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `quotations_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `quotations`
--

SET autocommit=0;
COMMIT;

-- Dumped table `quotations` with 0 row(s)
--

--
-- Table structure for table `quotation_items`
--

CREATE TABLE `quotation_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `quotation_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`item`)),
  `quantity` decimal(12,4) NOT NULL,
  `unit_value` decimal(16,6) NOT NULL,
  `affectation_igv_type_id` varchar(255) NOT NULL,
  `total_base_igv` decimal(12,2) NOT NULL,
  `percentage_igv` decimal(12,2) NOT NULL,
  `total_igv` decimal(12,2) NOT NULL,
  `system_isc_type_id` varchar(255) DEFAULT NULL,
  `total_base_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `percentage_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `percentage_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxes` decimal(12,2) NOT NULL,
  `price_type_id` varchar(255) NOT NULL,
  `unit_price` decimal(16,6) NOT NULL,
  `total_value` decimal(12,2) NOT NULL,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attributes`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `additional_information` longtext DEFAULT NULL COMMENT 'Informacion adicional',
  `warehouse_id` int(10) unsigned DEFAULT 0 COMMENT 'Id de warehouse',
  `name_product_pdf` longtext DEFAULT NULL COMMENT 'Nombre de producto en el pdf',
  PRIMARY KEY (`id`),
  KEY `quotation_items_quotation_id_foreign` (`quotation_id`),
  KEY `quotation_items_item_id_foreign` (`item_id`),
  KEY `quotation_items_affectation_igv_type_id_foreign` (`affectation_igv_type_id`),
  KEY `quotation_items_system_isc_type_id_foreign` (`system_isc_type_id`),
  KEY `quotation_items_price_type_id_foreign` (`price_type_id`),
  CONSTRAINT `quotation_items_affectation_igv_type_id_foreign` FOREIGN KEY (`affectation_igv_type_id`) REFERENCES `cat_affectation_igv_types` (`id`),
  CONSTRAINT `quotation_items_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `quotation_items_price_type_id_foreign` FOREIGN KEY (`price_type_id`) REFERENCES `cat_price_types` (`id`),
  CONSTRAINT `quotation_items_quotation_id_foreign` FOREIGN KEY (`quotation_id`) REFERENCES `quotations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `quotation_items_system_isc_type_id_foreign` FOREIGN KEY (`system_isc_type_id`) REFERENCES `cat_system_isc_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `quotation_items`
--

SET autocommit=0;
COMMIT;

-- Dumped table `quotation_items` with 0 row(s)
--

--
-- Table structure for table `quotation_payments`
--

CREATE TABLE `quotation_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `quotation_id` int(10) unsigned NOT NULL,
  `date_of_payment` date NOT NULL,
  `payment_method_type_id` char(2) NOT NULL,
  `has_card` tinyint(1) NOT NULL DEFAULT 0,
  `card_brand_id` char(2) DEFAULT NULL,
  `reference` varchar(255) DEFAULT NULL,
  `change` decimal(12,2) DEFAULT NULL,
  `payment` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `quotation_payments_quotation_id_foreign` (`quotation_id`),
  KEY `quotation_payments_card_brand_id_foreign` (`card_brand_id`),
  KEY `quotation_payments_payment_method_type_id_foreign` (`payment_method_type_id`),
  CONSTRAINT `quotation_payments_card_brand_id_foreign` FOREIGN KEY (`card_brand_id`) REFERENCES `card_brands` (`id`),
  CONSTRAINT `quotation_payments_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `quotation_payments_quotation_id_foreign` FOREIGN KEY (`quotation_id`) REFERENCES `quotations` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `quotation_payments`
--

SET autocommit=0;
COMMIT;

-- Dumped table `quotation_payments` with 0 row(s)
--

--
-- Table structure for table `rel_user_to_documentary_offices`
--

CREATE TABLE `rel_user_to_documentary_offices` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `active` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `user_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'usuario asociado',
  `documentary_office_id` int(10) unsigned NOT NULL DEFAULT 0 COMMENT 'etapa asociada',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `rel_user_to_documentary_offices`
--

SET autocommit=0;
COMMIT;

-- Dumped table `rel_user_to_documentary_offices` with 0 row(s)
--

--
-- Table structure for table `report_configurations`
--

CREATE TABLE `report_configurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `route_name` varchar(255) NOT NULL,
  `route_path` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `convert_pen` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `report_configurations_route_name_unique` (`route_name`),
  UNIQUE KEY `report_configurations_route_path_unique` (`route_path`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `report_configurations`
--

SET autocommit=0;
INSERT INTO `report_configurations` VALUES (1,'tenant.reports.general_items.index','reports/general-items','Ventas - Reporte general de productos',0,'2026-07-03 15:14:53','2026-07-03 15:14:53'),(2,'tenant.reports.purchases.general_items.index','reports/purchases/general_items','Compras - Reporte general de productos',0,'2026-07-03 15:14:53','2026-07-03 15:14:53'),(3,'tenant.reports.purchases.index','reports/purchases','Compras - Compras totales',0,'2026-07-03 15:14:53','2026-07-03 15:14:53');
COMMIT;

-- Dumped table `report_configurations` with 3 row(s)
--

--
-- Table structure for table `restaurant_configurations`
--

CREATE TABLE `restaurant_configurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `menu_pos` tinyint(1) NOT NULL,
  `menu_order` tinyint(1) NOT NULL,
  `menu_tables` tinyint(1) NOT NULL,
  `first_menu` varchar(255) NOT NULL,
  `tables_quantity` int(11) NOT NULL DEFAULT 15,
  `menu_bar` tinyint(1) NOT NULL DEFAULT 1,
  `menu_kitchen` tinyint(1) NOT NULL DEFAULT 1,
  `items_maintenance` tinyint(1) NOT NULL DEFAULT 0,
  `enabled_environment_1` tinyint(1) NOT NULL DEFAULT 1,
  `enabled_environment_2` tinyint(1) NOT NULL DEFAULT 0,
  `tables_quantity_environment_2` int(11) NOT NULL DEFAULT 5,
  `enabled_environment_3` tinyint(1) NOT NULL DEFAULT 0,
  `tables_quantity_environment_3` int(11) NOT NULL DEFAULT 5,
  `enabled_environment_4` tinyint(1) NOT NULL DEFAULT 0,
  `tables_quantity_environment_4` int(11) NOT NULL DEFAULT 5,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `restaurant_configurations`
--

SET autocommit=0;
INSERT INTO `restaurant_configurations` VALUES (1,1,1,1,'POS',15,1,1,0,1,0,5,0,5,0,5);
COMMIT;

-- Dumped table `restaurant_configurations` with 1 row(s)
--

--
-- Table structure for table `restaurant_notes`
--

CREATE TABLE `restaurant_notes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `restaurant_notes`
--

SET autocommit=0;
COMMIT;

-- Dumped table `restaurant_notes` with 0 row(s)
--

--
-- Table structure for table `restaurant_roles`
--

CREATE TABLE `restaurant_roles` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `code` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `restaurant_roles`
--

SET autocommit=0;
INSERT INTO `restaurant_roles` VALUES (1,'MOZO','Mozo','Usuario que genera pedidos en mesas',NULL,NULL),(2,'CAJA','Caja','Usuario que genera pago de pedidos',NULL,NULL),(3,'ADM','Administrador','Usuario con permisos totales',NULL,NULL),(6,'KITBAR','Cocina/Bar','Usuario con acceso a cocina y bar',NULL,NULL);
COMMIT;

-- Dumped table `restaurant_roles` with 4 row(s)
--

--
-- Table structure for table `restaurant_tables`
--

CREATE TABLE `restaurant_tables` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `status` varchar(255) NOT NULL,
  `products` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`products`)),
  `total` decimal(12,2) NOT NULL,
  `personas` int(11) NOT NULL,
  `cliente` varchar(255) DEFAULT NULL,
  `comentarios` varchar(255) DEFAULT NULL,
  `label` varchar(255) NOT NULL,
  `shape` varchar(255) NOT NULL,
  `environment` varchar(255) NOT NULL,
  `waiter` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `restaurant_tables`
--

SET autocommit=0;
COMMIT;

-- Dumped table `restaurant_tables` with 0 row(s)
--

--
-- Table structure for table `restaurant_table_envs`
--

CREATE TABLE `restaurant_table_envs` (
  `id` int(10) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `active` tinyint(1) NOT NULL,
  `tables_quantity` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `restaurant_table_envs`
--

SET autocommit=0;
INSERT INTO `restaurant_table_envs` VALUES (1,'Ambiente 1',1,25),(2,'Ambiente 2',1,25),(3,'Ambiente 3',1,25),(4,'Ambiente 4',1,25);
COMMIT;

-- Dumped table `restaurant_table_envs` with 4 row(s)
--

--
-- Table structure for table `retentions`
--

SET autocommit=0;
COMMIT;

-- Dumped table `retentions` with 0 row(s)
--

--
-- Table structure for table `retention_documents`
--

CREATE TABLE `retention_documents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `retention_id` int(10) unsigned NOT NULL,
  `document_type_id` varchar(255) NOT NULL,
  `series` varchar(255) NOT NULL,
  `number` varchar(255) NOT NULL,
  `date_of_issue` date NOT NULL,
  `currency_type_id` varchar(255) NOT NULL,
  `total_document` decimal(10,2) NOT NULL,
  `payments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`payments`)),
  `exchange_rate` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`exchange_rate`)),
  `date_of_retention` date NOT NULL,
  `total_retention` decimal(10,2) NOT NULL,
  `total_to_pay` decimal(10,2) NOT NULL,
  `total_payment` decimal(10,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `retention_documents_retention_id_foreign` (`retention_id`),
  KEY `retention_documents_document_type_id_foreign` (`document_type_id`),
  KEY `retention_documents_currency_type_id_foreign` (`currency_type_id`),
  CONSTRAINT `retention_documents_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `retention_documents_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `retention_documents_retention_id_foreign` FOREIGN KEY (`retention_id`) REFERENCES `retentions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `retention_documents`
--

SET autocommit=0;
COMMIT;

-- Dumped table `retention_documents` with 0 row(s)
--

--
-- Table structure for table `sale_notes`
--

CREATE TABLE `sale_notes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `voided_by_user_id` int(10) unsigned DEFAULT NULL,
  `voided_at` timestamp NULL DEFAULT NULL,
  `voided_reason` varchar(255) DEFAULT NULL,
  `external_id` char(36) NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `establishment` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`establishment`)),
  `soap_type_id` char(2) NOT NULL,
  `state_type_id` char(2) NOT NULL,
  `prefix` char(2) NOT NULL DEFAULT 'NV',
  `series` varchar(255) DEFAULT NULL,
  `number` int(11) DEFAULT NULL,
  `date_of_issue` date NOT NULL,
  `time_of_issue` time NOT NULL,
  `customer_id` int(10) unsigned NOT NULL,
  `customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`customer`)),
  `currency_type_id` varchar(255) NOT NULL,
  `payment_condition_id` char(2) NOT NULL DEFAULT '01',
  `payment_method_type_id` char(2) DEFAULT NULL,
  `exchange_rate_sale` decimal(13,3) NOT NULL,
  `point_system` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'indica si se uso en sistema por puntos',
  `point_system_data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'datos de sistema por puntos' CHECK (json_valid(`point_system_data`)),
  `created_from_pos` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'indica si se registro desde pos',
  `apply_concurrency` tinyint(1) NOT NULL DEFAULT 0,
  `enabled_concurrency` tinyint(1) NOT NULL DEFAULT 0,
  `automatic_date_of_issue` date DEFAULT NULL,
  `quantity_period` int(11) DEFAULT NULL,
  `type_period` varchar(255) DEFAULT NULL,
  `total_prepayment` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `coupon_id` int(10) unsigned DEFAULT NULL,
  `coupon_code` varchar(50) DEFAULT NULL,
  `total_exportation` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxed` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_unaffected` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exonerated` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_plastic_bag_taxes` decimal(6,2) NOT NULL DEFAULT 0.00,
  `total_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_value` decimal(12,2) NOT NULL DEFAULT 0.00,
  `subtotal` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `dispatch_ticket_pdf` tinyint(1) NOT NULL DEFAULT 0,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `prepayments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`prepayments`)),
  `guides` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`guides`)),
  `related` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`related`)),
  `perception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`perception`)),
  `detraction` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`detraction`)),
  `legends` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`legends`)),
  `additional_information` text DEFAULT NULL,
  `filename` varchar(255) DEFAULT NULL,
  `unique_filename` varchar(255) DEFAULT NULL,
  `quotation_id` int(10) unsigned DEFAULT NULL,
  `order_note_id` int(10) unsigned DEFAULT NULL,
  `technical_service_id` int(10) unsigned DEFAULT NULL,
  `order_id` int(10) unsigned DEFAULT NULL,
  `total_canceled` tinyint(1) NOT NULL DEFAULT 0,
  `changed` tinyint(1) NOT NULL DEFAULT 0,
  `paid` tinyint(1) NOT NULL DEFAULT 0,
  `license_plate` varchar(255) DEFAULT NULL,
  `plate_number` varchar(255) DEFAULT NULL,
  `reference_data` varchar(500) DEFAULT NULL,
  `agent_id` int(10) unsigned DEFAULT NULL,
  `observation` text DEFAULT NULL,
  `purchase_order` varchar(50) DEFAULT NULL,
  `document_id` int(10) unsigned DEFAULT NULL,
  `user_rel_suscription_plan_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con suscripciones',
  `due_date` date DEFAULT NULL COMMENT 'Fecha de vencimiento',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `total_points` double NOT NULL DEFAULT 0,
  `seller_id` int(10) unsigned DEFAULT 0,
  `grade` text DEFAULT NULL COMMENT 'Grado designado - utilizado en matricula',
  `section` text DEFAULT NULL COMMENT 'Seccion designado - utilizado en matricula',
  `terms_condition` text DEFAULT NULL,
  `prescription_doctor_id` int(10) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `sale_notes_unique_filename_unique` (`unique_filename`),
  KEY `sale_notes_user_id_foreign` (`user_id`),
  KEY `sale_notes_establishment_id_foreign` (`establishment_id`),
  KEY `sale_notes_customer_id_foreign` (`customer_id`),
  KEY `sale_notes_soap_type_id_foreign` (`soap_type_id`),
  KEY `sale_notes_state_type_id_foreign` (`state_type_id`),
  KEY `sale_notes_currency_type_id_foreign` (`currency_type_id`),
  KEY `sale_notes_quotation_id_foreign` (`quotation_id`),
  KEY `sale_notes_apply_concurrency_index` (`apply_concurrency`),
  KEY `sale_notes_type_period_index` (`type_period`),
  KEY `sale_notes_quantity_period_index` (`quantity_period`),
  KEY `sale_notes_automatic_date_of_issue_index` (`automatic_date_of_issue`),
  KEY `sale_notes_enabled_concurrency_index` (`enabled_concurrency`),
  KEY `sale_notes_order_note_id_foreign` (`order_note_id`),
  KEY `sale_notes_payment_method_type_id_foreign` (`payment_method_type_id`),
  KEY `sale_notes_order_id_foreign` (`order_id`),
  KEY `sale_notes_technical_service_id_foreign` (`technical_service_id`),
  KEY `sale_notes_agent_id_foreign` (`agent_id`),
  KEY `sale_notes_changed_index` (`changed`),
  KEY `sale_notes_payment_condition_id_foreign` (`payment_condition_id`),
  CONSTRAINT `sale_notes_agent_id_foreign` FOREIGN KEY (`agent_id`) REFERENCES `agents` (`id`),
  CONSTRAINT `sale_notes_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `sale_notes_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `sale_notes_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `sale_notes_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`),
  CONSTRAINT `sale_notes_order_note_id_foreign` FOREIGN KEY (`order_note_id`) REFERENCES `order_notes` (`id`),
  CONSTRAINT `sale_notes_payment_condition_id_foreign` FOREIGN KEY (`payment_condition_id`) REFERENCES `payment_conditions` (`id`),
  CONSTRAINT `sale_notes_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `sale_notes_quotation_id_foreign` FOREIGN KEY (`quotation_id`) REFERENCES `quotations` (`id`),
  CONSTRAINT `sale_notes_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `sale_notes_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `sale_notes_technical_service_id_foreign` FOREIGN KEY (`technical_service_id`) REFERENCES `technical_services` (`id`),
  CONSTRAINT `sale_notes_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_notes`
--

SET autocommit=0;
COMMIT;

-- Dumped table `sale_notes` with 0 row(s)
--

--
-- Table structure for table `sale_note_fee`
--

CREATE TABLE `sale_note_fee` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `sale_note_id` int(10) unsigned NOT NULL,
  `date` date NOT NULL,
  `currency_type_id` varchar(255) NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `payment_method_type_id` varchar(2) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `sale_note_fee_sale_note_id_foreign` (`sale_note_id`),
  KEY `sale_note_fee_currency_type_id_foreign` (`currency_type_id`),
  KEY `sale_note_fee_payment_method_type_id_foreign` (`payment_method_type_id`),
  CONSTRAINT `sale_note_fee_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `sale_note_fee_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `sale_note_fee_sale_note_id_foreign` FOREIGN KEY (`sale_note_id`) REFERENCES `sale_notes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_note_fee`
--

SET autocommit=0;
COMMIT;

-- Dumped table `sale_note_fee` with 0 row(s)
--

--
-- Table structure for table `sale_note_items`
--

CREATE TABLE `sale_note_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `sale_note_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`item`)),
  `quantity` decimal(12,4) NOT NULL,
  `unit_value` decimal(16,6) NOT NULL,
  `affectation_igv_type_id` varchar(255) NOT NULL,
  `total_base_igv` decimal(12,2) NOT NULL,
  `percentage_igv` decimal(12,2) NOT NULL,
  `total_igv` decimal(12,2) NOT NULL,
  `system_isc_type_id` varchar(255) DEFAULT NULL,
  `total_base_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `percentage_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_isc` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `percentage_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_plastic_bag_taxes` decimal(6,2) NOT NULL DEFAULT 0.00,
  `total_taxes` decimal(12,2) NOT NULL,
  `price_type_id` varchar(255) NOT NULL,
  `unit_price` decimal(16,6) NOT NULL,
  `total_value` decimal(12,2) NOT NULL,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attributes`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `additional_information` text DEFAULT NULL,
  `inventory_kardex_id` int(10) unsigned DEFAULT NULL,
  `warehouse_id` int(10) unsigned DEFAULT NULL,
  `name_product_pdf` longtext DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `sale_note_items_sale_note_id_foreign` (`sale_note_id`),
  KEY `sale_note_items_item_id_foreign` (`item_id`),
  KEY `sale_note_items_affectation_igv_type_id_foreign` (`affectation_igv_type_id`),
  KEY `sale_note_items_system_isc_type_id_foreign` (`system_isc_type_id`),
  KEY `sale_note_items_price_type_id_foreign` (`price_type_id`),
  KEY `sale_note_items_inventory_kardex_id_foreign` (`inventory_kardex_id`),
  KEY `sale_note_items_warehouse_id_foreign` (`warehouse_id`),
  CONSTRAINT `sale_note_items_affectation_igv_type_id_foreign` FOREIGN KEY (`affectation_igv_type_id`) REFERENCES `cat_affectation_igv_types` (`id`),
  CONSTRAINT `sale_note_items_inventory_kardex_id_foreign` FOREIGN KEY (`inventory_kardex_id`) REFERENCES `inventory_kardex` (`id`),
  CONSTRAINT `sale_note_items_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `sale_note_items_price_type_id_foreign` FOREIGN KEY (`price_type_id`) REFERENCES `cat_price_types` (`id`),
  CONSTRAINT `sale_note_items_sale_note_id_foreign` FOREIGN KEY (`sale_note_id`) REFERENCES `sale_notes` (`id`) ON DELETE CASCADE,
  CONSTRAINT `sale_note_items_system_isc_type_id_foreign` FOREIGN KEY (`system_isc_type_id`) REFERENCES `cat_system_isc_types` (`id`),
  CONSTRAINT `sale_note_items_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_note_items`
--

SET autocommit=0;
COMMIT;

-- Dumped table `sale_note_items` with 0 row(s)
--

--
-- Table structure for table `sale_note_migration`
--

CREATE TABLE `sale_note_migration` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `sale_notes_id` int(10) unsigned NOT NULL,
  `user_id` int(10) unsigned NOT NULL,
  `success` tinyint(3) unsigned NOT NULL DEFAULT 0,
  `url` varchar(255) NOT NULL,
  `remote_id` int(10) unsigned NOT NULL DEFAULT 0,
  `number` varchar(255) DEFAULT NULL,
  `data` longtext DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_note_migration`
--

SET autocommit=0;
COMMIT;

-- Dumped table `sale_note_migration` with 0 row(s)
--

--
-- Table structure for table `sale_note_payments`
--

CREATE TABLE `sale_note_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `sale_note_id` int(10) unsigned NOT NULL,
  `date_of_payment` date NOT NULL,
  `payment_method_type_id` char(2) NOT NULL,
  `has_card` tinyint(1) NOT NULL DEFAULT 0,
  `card_brand_id` char(2) DEFAULT NULL,
  `reference` varchar(255) DEFAULT NULL,
  `payment_received` tinyint(1) DEFAULT NULL,
  `change` decimal(12,2) DEFAULT NULL,
  `payment` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `sale_note_payments_sale_note_id_foreign` (`sale_note_id`),
  KEY `sale_note_payments_card_brand_id_foreign` (`card_brand_id`),
  KEY `sale_note_payments_payment_method_type_id_foreign` (`payment_method_type_id`),
  KEY `sale_note_payments_date_of_payment_index` (`date_of_payment`),
  CONSTRAINT `sale_note_payments_card_brand_id_foreign` FOREIGN KEY (`card_brand_id`) REFERENCES `card_brands` (`id`),
  CONSTRAINT `sale_note_payments_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `sale_note_payments_sale_note_id_foreign` FOREIGN KEY (`sale_note_id`) REFERENCES `sale_notes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_note_payments`
--

SET autocommit=0;
COMMIT;

-- Dumped table `sale_note_payments` with 0 row(s)
--

--
-- Table structure for table `sale_opportunities`
--

CREATE TABLE `sale_opportunities` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `external_id` char(36) NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `establishment` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`establishment`)),
  `soap_type_id` char(2) NOT NULL,
  `state_type_id` char(2) NOT NULL,
  `prefix` varchar(255) NOT NULL,
  `date_of_issue` date NOT NULL,
  `time_of_issue` time NOT NULL,
  `customer_id` int(10) unsigned NOT NULL,
  `customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`customer`)),
  `currency_type_id` varchar(255) NOT NULL,
  `exchange_rate_sale` decimal(13,3) NOT NULL,
  `total_exportation` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_free` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxed` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_unaffected` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_exonerated` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_igv` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_taxes` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_value` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `filename` varchar(255) DEFAULT NULL,
  `detail` text DEFAULT NULL,
  `observation` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `sale_opportunities_user_id_foreign` (`user_id`),
  KEY `sale_opportunities_establishment_id_foreign` (`establishment_id`),
  KEY `sale_opportunities_customer_id_foreign` (`customer_id`),
  KEY `sale_opportunities_soap_type_id_foreign` (`soap_type_id`),
  KEY `sale_opportunities_state_type_id_foreign` (`state_type_id`),
  KEY `sale_opportunities_currency_type_id_foreign` (`currency_type_id`),
  CONSTRAINT `sale_opportunities_currency_type_id_foreign` FOREIGN KEY (`currency_type_id`) REFERENCES `cat_currency_types` (`id`),
  CONSTRAINT `sale_opportunities_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `sale_opportunities_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`),
  CONSTRAINT `sale_opportunities_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `sale_opportunities_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `sale_opportunities_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_opportunities`
--

SET autocommit=0;
COMMIT;

-- Dumped table `sale_opportunities` with 0 row(s)
--

--
-- Table structure for table `sale_opportunity_files`
--

CREATE TABLE `sale_opportunity_files` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `sale_opportunity_id` int(10) unsigned NOT NULL,
  `filename` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `sale_opportunity_files_sale_opportunity_id_foreign` (`sale_opportunity_id`),
  CONSTRAINT `sale_opportunity_files_sale_opportunity_id_foreign` FOREIGN KEY (`sale_opportunity_id`) REFERENCES `sale_opportunities` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_opportunity_files`
--

SET autocommit=0;
COMMIT;

-- Dumped table `sale_opportunity_files` with 0 row(s)
--

--
-- Table structure for table `sale_opportunity_items`
--

CREATE TABLE `sale_opportunity_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `sale_opportunity_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`item`)),
  `quantity` decimal(12,4) NOT NULL,
  `unit_value` decimal(16,6) NOT NULL,
  `affectation_igv_type_id` varchar(255) NOT NULL,
  `total_base_igv` decimal(12,2) NOT NULL,
  `percentage_igv` decimal(12,2) NOT NULL,
  `total_igv` decimal(12,2) NOT NULL,
  `total_taxes` decimal(12,2) NOT NULL,
  `price_type_id` varchar(255) NOT NULL,
  `unit_price` decimal(16,6) NOT NULL,
  `total_value` decimal(12,2) NOT NULL,
  `total_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attributes`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  PRIMARY KEY (`id`),
  KEY `sale_opportunity_items_sale_opportunity_id_foreign` (`sale_opportunity_id`),
  KEY `sale_opportunity_items_item_id_foreign` (`item_id`),
  KEY `sale_opportunity_items_affectation_igv_type_id_foreign` (`affectation_igv_type_id`),
  KEY `sale_opportunity_items_price_type_id_foreign` (`price_type_id`),
  CONSTRAINT `sale_opportunity_items_affectation_igv_type_id_foreign` FOREIGN KEY (`affectation_igv_type_id`) REFERENCES `cat_affectation_igv_types` (`id`),
  CONSTRAINT `sale_opportunity_items_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `sale_opportunity_items_price_type_id_foreign` FOREIGN KEY (`price_type_id`) REFERENCES `cat_price_types` (`id`),
  CONSTRAINT `sale_opportunity_items_sale_opportunity_id_foreign` FOREIGN KEY (`sale_opportunity_id`) REFERENCES `sale_opportunities` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sale_opportunity_items`
--

SET autocommit=0;
COMMIT;

-- Dumped table `sale_opportunity_items` with 0 row(s)
--

--
-- Table structure for table `seller_point_ledger`
--

CREATE TABLE `seller_point_ledger` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `seller_id` int(10) unsigned NOT NULL,
  `cash_id` int(10) unsigned DEFAULT NULL,
  `shift_type` varchar(10) DEFAULT NULL,
  `sales_net` decimal(12,2) NOT NULL DEFAULT 0.00,
  `points` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'con signo: + earned / +-/ adjustment',
  `reason` varchar(20) NOT NULL DEFAULT 'earned',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seller_point_ledger_seller_id_created_at_index` (`seller_id`,`created_at`),
  KEY `seller_point_ledger_seller_id_index` (`seller_id`),
  KEY `seller_point_ledger_cash_id_index` (`cash_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `seller_point_ledger`
--

SET autocommit=0;
COMMIT;

-- Dumped table `seller_point_ledger` with 0 row(s)
--

--
-- Table structure for table `seller_reward`
--

CREATE TABLE `seller_reward` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `points_cost` decimal(12,2) NOT NULL DEFAULT 0.00,
  `stock` int(11) DEFAULT NULL COMMENT 'NULL = ilimitado',
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seller_reward_active_index` (`active`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `seller_reward`
--

SET autocommit=0;
COMMIT;

-- Dumped table `seller_reward` with 0 row(s)
--

--
-- Table structure for table `seller_reward_redemption`
--

CREATE TABLE `seller_reward_redemption` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `seller_id` int(10) unsigned NOT NULL,
  `seller_reward_id` int(10) unsigned NOT NULL,
  `reward_name` varchar(255) NOT NULL,
  `points_cost` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seller_reward_redemption_seller_id_created_at_index` (`seller_id`,`created_at`),
  KEY `seller_reward_redemption_seller_id_index` (`seller_id`),
  KEY `seller_reward_redemption_seller_reward_id_index` (`seller_reward_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `seller_reward_redemption`
--

SET autocommit=0;
COMMIT;

-- Dumped table `seller_reward_redemption` with 0 row(s)
--

--
-- Table structure for table `series`
--

CREATE TABLE `series` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `establishment_id` int(10) unsigned NOT NULL,
  `document_type_id` varchar(255) NOT NULL,
  `number` varchar(255) NOT NULL,
  `contingency` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `series_establishment_id_foreign` (`establishment_id`),
  KEY `series_document_type_id_foreign` (`document_type_id`),
  CONSTRAINT `series_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `series_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `series`
--

SET autocommit=0;
INSERT INTO `series` VALUES (3,1,'07','FC01',0,NULL,NULL),(4,1,'07','BC01',0,NULL,NULL),(5,1,'08','FD01',0,NULL,NULL),(6,1,'08','BD01',0,NULL,NULL),(7,1,'20','R001',0,NULL,NULL),(8,1,'09','T001',0,NULL,NULL),(9,1,'40','P001',0,NULL,NULL),(10,1,'80','NV01',0,NULL,NULL),(11,1,'04','L001',0,NULL,NULL),(12,1,'U2','NIA1',0,NULL,NULL),(13,1,'U3','NSA1',0,NULL,NULL),(14,1,'U4','NTA1',0,NULL,NULL),(15,1,'01','FX01',0,'2026-07-09 10:32:50','2026-07-09 10:32:50'),(16,1,'03','BX01',0,'2026-07-09 10:32:58','2026-07-09 10:32:58'),(19,2,'07','FC02',0,'2026-07-09 11:34:14','2026-07-09 11:34:14'),(20,2,'07','BC02',0,'2026-07-09 11:34:14','2026-07-09 11:34:14'),(21,2,'08','FD02',0,'2026-07-09 11:34:14','2026-07-09 11:34:14'),(22,2,'08','BD02',0,'2026-07-09 11:34:14','2026-07-09 11:34:14'),(23,2,'20','R002',0,'2026-07-09 11:34:14','2026-07-09 11:34:14'),(24,2,'09','T002',0,'2026-07-09 11:34:14','2026-07-09 11:34:14'),(25,2,'40','P002',0,'2026-07-09 11:34:14','2026-07-09 11:34:14'),(26,2,'80','NV02',0,'2026-07-09 11:34:14','2026-07-09 11:34:14'),(27,2,'04','L002',0,'2026-07-09 11:34:14','2026-07-09 11:34:14'),(28,2,'U2','NIA2',0,'2026-07-09 11:34:14','2026-07-09 11:34:14'),(29,2,'U3','NSA2',0,'2026-07-09 11:34:14','2026-07-09 11:34:14'),(30,2,'U4','NTA2',0,'2026-07-09 11:34:14','2026-07-09 11:34:14'),(31,2,'01','FX02',0,'2026-07-09 11:35:46','2026-07-09 11:35:46'),(32,2,'03','BX02',0,'2026-07-09 11:35:54','2026-07-09 11:35:54');
COMMIT;

-- Dumped table `series` with 28 row(s)
--

--
-- Table structure for table `series_configurations`
--

CREATE TABLE `series_configurations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `series_id` int(10) unsigned NOT NULL,
  `document_type_id` varchar(255) NOT NULL,
  `series` varchar(255) NOT NULL,
  `number` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `series_configurations_series_id_foreign` (`series_id`),
  KEY `series_configurations_series_index` (`series`),
  KEY `series_configurations_number_index` (`number`),
  KEY `series_configurations_document_type_id_foreign` (`document_type_id`),
  CONSTRAINT `series_configurations_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `series_configurations_series_id_foreign` FOREIGN KEY (`series_id`) REFERENCES `series` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `series_configurations`
--

SET autocommit=0;
COMMIT;

-- Dumped table `series_configurations` with 0 row(s)
--

--
-- Table structure for table `skins`
--

CREATE TABLE `skins` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `filename` varchar(255) NOT NULL,
  `status` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `skins`
--

SET autocommit=0;
INSERT INTO `skins` VALUES (1,'Default','default.css',1,NULL,NULL),(2,'Light','light.css',1,NULL,NULL);
COMMIT;

-- Dumped table `skins` with 2 row(s)
--

--
-- Table structure for table `soap_types`
--

CREATE TABLE `soap_types` (
  `id` char(2) NOT NULL,
  `description` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `soap_types`
--

SET autocommit=0;
INSERT INTO `soap_types` VALUES ('01','Demo'),('02','Producción'),('03','Interno');
COMMIT;

-- Dumped table `soap_types` with 3 row(s)
--

--
-- Table structure for table `specialties`
--

CREATE TABLE `specialties` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `code` varchar(255) DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `status` tinyint(1) DEFAULT 1,
  `item_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `specialties_code_unique` (`code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `specialties`
--

SET autocommit=0;
COMMIT;

-- Dumped table `specialties` with 0 row(s)
--

--
-- Table structure for table `state_types`
--

CREATE TABLE `state_types` (
  `id` char(2) NOT NULL,
  `description` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `state_types`
--

SET autocommit=0;
INSERT INTO `state_types` VALUES ('01','Registrado'),('03','Enviado'),('05','Aceptado'),('07','Observado'),('09','Rechazado'),('11','Anulado'),('13','Por anular');
COMMIT;

-- Dumped table `state_types` with 7 row(s)
--

--
-- Table structure for table `status_orders`
--

CREATE TABLE `status_orders` (
  `id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  `description` varchar(30) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `status_orders`
--

SET autocommit=0;
INSERT INTO `status_orders` VALUES (1,'Pago sin verificar','2026-07-03 15:14:46',NULL),(2,'Pago verificado','2026-07-03 15:14:46',NULL),(3,'Despachado','2026-07-03 15:14:46',NULL),(4,'Confirmado por el cliente','2026-07-03 15:14:46',NULL);
COMMIT;

-- Dumped table `status_orders` with 4 row(s)
--

--
-- Table structure for table `summaries`
--

CREATE TABLE `summaries` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `external_id` char(36) NOT NULL,
  `soap_type_id` char(2) NOT NULL,
  `state_type_id` char(2) NOT NULL,
  `summary_status_type_id` varchar(255) NOT NULL,
  `ubl_version` varchar(255) NOT NULL,
  `date_of_issue` date NOT NULL,
  `date_of_reference` date NOT NULL,
  `identifier` varchar(255) NOT NULL,
  `filename` varchar(255) NOT NULL,
  `unique_filename` varchar(255) DEFAULT NULL,
  `ticket` varchar(255) DEFAULT NULL,
  `has_ticket` tinyint(1) NOT NULL DEFAULT 0,
  `has_cdr` tinyint(1) NOT NULL DEFAULT 0,
  `soap_shipping_response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`soap_shipping_response`)),
  `send_to_pse` tinyint(1) NOT NULL DEFAULT 0,
  `response_signature_pse` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`response_signature_pse`)),
  `response_send_cdr_pse` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`response_send_cdr_pse`)),
  `unknown_error_status_response` tinyint(1) NOT NULL DEFAULT 0,
  `manually_regularized` tinyint(1) NOT NULL DEFAULT 0,
  `error_manually_regularized` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`error_manually_regularized`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `summaries_unique_filename_unique` (`unique_filename`),
  KEY `summaries_user_id_foreign` (`user_id`),
  KEY `summaries_soap_type_id_foreign` (`soap_type_id`),
  KEY `summaries_state_type_id_foreign` (`state_type_id`),
  KEY `summaries_summary_status_type_id_foreign` (`summary_status_type_id`),
  KEY `summaries_date_of_issue_index` (`date_of_issue`),
  CONSTRAINT `summaries_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `summaries_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `summaries_summary_status_type_id_foreign` FOREIGN KEY (`summary_status_type_id`) REFERENCES `cat_summary_status_types` (`id`),
  CONSTRAINT `summaries_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `summaries`
--

SET autocommit=0;
INSERT INTO `summaries` VALUES (13,1,'bed90dd9-129c-4ec7-af6d-eb4106576ec4','02','09','1','2.0','2026-07-09','2026-07-08','RC-20260709-1','20613303643-RC-20260709-1','20613303643-RC-20260709-1','202621256809495',0,0,'{\"sent\":true,\"code\":\"2282\",\"description\":\"Existe documento ya informado anteriormente - Existe documento ya informado anteriormente Detalle:xxx.xxx.xxx value=\'ticket: 202621256809495 error: Comprobante enviados en un resumen: [[03-B001-1]]\'\",\"notes\":[],\"is_accepted\":false,\"status_code\":99}',0,NULL,NULL,0,0,NULL,'2026-07-09 10:32:11','2026-07-09 10:32:16');
COMMIT;

-- Dumped table `summaries` with 1 row(s)
--

--
-- Table structure for table `summary_documents`
--

CREATE TABLE `summary_documents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `summary_id` int(10) unsigned NOT NULL,
  `document_id` int(10) unsigned NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `summary_documents_summary_id_foreign` (`summary_id`),
  KEY `summary_documents_document_id_foreign` (`document_id`),
  CONSTRAINT `summary_documents_document_id_foreign` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`),
  CONSTRAINT `summary_documents_summary_id_foreign` FOREIGN KEY (`summary_id`) REFERENCES `summaries` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `summary_documents`
--

SET autocommit=0;
INSERT INTO `summary_documents` VALUES (13,13,1,NULL);
COMMIT;

-- Dumped table `summary_documents` with 1 row(s)
--

--
-- Table structure for table `supplier_item_aliases`
--

CREATE TABLE `supplier_item_aliases` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `supplier_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `supplier_item_code` varchar(100) DEFAULT NULL,
  `supplier_description_original` varchar(500) DEFAULT NULL,
  `supplier_description_normalized` varchar(255) DEFAULT NULL,
  `created_by` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `supplier_item_aliases_supplier_code_unique` (`supplier_id`,`supplier_item_code`),
  KEY `supplier_item_aliases_item_id_foreign` (`item_id`),
  KEY `supplier_item_aliases_created_by_foreign` (`created_by`),
  KEY `supplier_item_aliases_supplier_desc_idx` (`supplier_id`,`supplier_description_normalized`),
  CONSTRAINT `supplier_item_aliases_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`),
  CONSTRAINT `supplier_item_aliases_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `supplier_item_aliases_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `persons` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `supplier_item_aliases`
--

SET autocommit=0;
COMMIT;

-- Dumped table `supplier_item_aliases` with 0 row(s)
--

--
-- Table structure for table `suscription_grade`
--

CREATE TABLE `suscription_grade` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscription_grade`
--

SET autocommit=0;
INSERT INTO `suscription_grade` VALUES (1,'1er'),(2,'2do'),(3,'3ro'),(4,'4to'),(5,'5to'),(6,'6to'),(7,'7mo'),(8,'8vo');
COMMIT;

-- Dumped table `suscription_grade` with 8 row(s)
--

--
-- Table structure for table `suscription_plans`
--

CREATE TABLE `suscription_plans` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `cat_period_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con el periodo de tiempo',
  `name` text NOT NULL COMMENT 'Nombre del plan',
  `description` longtext NOT NULL COMMENT 'Descripcion del plan',
  `total` float DEFAULT 0 COMMENT 'El total del costo del plan',
  `currency_type_id` varchar(255) DEFAULT NULL,
  `payment_method_type_id` varchar(255) DEFAULT NULL,
  `quantity_period` int(10) unsigned DEFAULT NULL,
  `exchange_rate_sale` float DEFAULT 0,
  `total_prepayment` float DEFAULT 0,
  `total_charge` float DEFAULT 0,
  `total_discount` float DEFAULT 0,
  `total_exportation` float DEFAULT 0,
  `total_free` float DEFAULT 0,
  `total_taxed` float DEFAULT 0,
  `total_unaffected` float DEFAULT 0,
  `total_exonerated` float DEFAULT 0,
  `total_igv` float DEFAULT 0,
  `total_igv_free` float DEFAULT 0,
  `total_base_isc` float DEFAULT 0,
  `total_isc` float DEFAULT 0,
  `total_base_other_taxes` float DEFAULT 0,
  `total_other_taxes` float DEFAULT 0,
  `total_taxes` float DEFAULT 0,
  `total_value` float DEFAULT 0,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attributes`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `prepayments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`prepayments`)),
  `related` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`related`)),
  `perception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`perception`)),
  `detraction` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`detraction`)),
  `legends` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`legends`)),
  `terms_condition` longtext DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscription_plans`
--

SET autocommit=0;
INSERT INTO `suscription_plans` VALUES (1,1,'Matricula Escolar','Demostración de matricula escolar',1,'PEN','01',12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
COMMIT;

-- Dumped table `suscription_plans` with 1 row(s)
--

--
-- Table structure for table `suscription_section`
--

CREATE TABLE `suscription_section` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `suscription_section`
--

SET autocommit=0;
INSERT INTO `suscription_section` VALUES (1,'A'),(2,'B'),(3,'C'),(4,'D'),(5,'E'),(6,'F'),(7,'G'),(8,'H');
COMMIT;

-- Dumped table `suscription_section` with 8 row(s)
--

--
-- Table structure for table `system_activity_logs`
--

CREATE TABLE `system_activity_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT NULL,
  `system_activity_log_type_id` varchar(255) DEFAULT NULL,
  `date` date NOT NULL,
  `time` time NOT NULL,
  `origin_id` int(11) DEFAULT NULL,
  `origin_type` varchar(255) DEFAULT NULL,
  `ip` varchar(255) DEFAULT NULL,
  `device_name` varchar(255) DEFAULT NULL,
  `device_type` varchar(255) DEFAULT NULL,
  `platform_name` varchar(255) DEFAULT NULL,
  `platform_version` varchar(255) DEFAULT NULL,
  `browser_name` varchar(255) DEFAULT NULL,
  `browser_version` varchar(255) DEFAULT NULL,
  `request_email` varchar(255) DEFAULT NULL,
  `route` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `location` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`location`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payment_index` (`origin_id`,`origin_type`),
  KEY `system_activity_logs_user_id_foreign` (`user_id`),
  KEY `system_activity_logs_auth_transaction_type_index` (`system_activity_log_type_id`),
  KEY `system_activity_logs_date_index` (`date`),
  KEY `system_activity_logs_time_index` (`time`),
  KEY `system_activity_logs_device_type_index` (`device_type`),
  CONSTRAINT `system_activity_logs_system_activity_log_type_id_foreign` FOREIGN KEY (`system_activity_log_type_id`) REFERENCES `system_activity_log_types` (`id`),
  CONSTRAINT `system_activity_logs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=303 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `system_activity_logs`
--

SET autocommit=0;
INSERT INTO `system_activity_logs` VALUES (1,1,'login','2026-07-03','15:15:31',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-03 15:15:31','2026-07-03 15:15:31'),(2,1,'logout','2026-07-03','15:28:33',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-03 15:28:33','2026-07-03 15:28:33'),(3,1,'login','2026-07-03','15:28:36',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-03 15:28:36','2026-07-03 15:28:36'),(4,1,'companies_certificate','2026-07-03','20:16:00',1,'App\\Models\\Tenant\\Company','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-03 20:16:00','2026-07-03 20:16:00'),(5,1,'login','2026-07-04','12:53:18',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','phone','AndroidOS','10','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-04 12:53:18','2026-07-04 12:53:18'),(6,1,'login','2026-07-04','13:01:02',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-04 13:01:02','2026-07-04 13:01:02'),(7,1,'companies_soap_username','2026-07-04','16:18:20',1,'App\\Models\\Tenant\\Company','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-04 16:18:20','2026-07-04 16:18:20'),(8,1,'companies_soap_password','2026-07-04','16:18:20',1,'App\\Models\\Tenant\\Company','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-04 16:18:20','2026-07-04 16:18:20'),(9,1,'companies_soap_type_id','2026-07-04','16:18:27',1,'App\\Models\\Tenant\\Company','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-04 16:18:27','2026-07-04 16:18:27'),(10,1,'login','2026-07-08','12:25:42',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-08 12:25:42','2026-07-08 12:25:42'),(11,1,'logout','2026-07-08','12:53:11',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-08 12:53:11','2026-07-08 12:53:11'),(12,1,'login','2026-07-08','12:54:33',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-08 12:54:33','2026-07-08 12:54:33'),(13,1,'login','2026-07-08','14:25:41',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-08 14:25:41','2026-07-08 14:25:41'),(14,6,'login','2026-07-08','15:55:15',6,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-08 15:55:15','2026-07-08 15:55:15'),(15,NULL,'login_lockout','2026-07-08','16:23:32',NULL,NULL,'181.233.26.59','WebKit','phone','AndroidOS','10','Chrome','149.0.0.0','mendoza.cuidarteperu@gmail.com',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-08 16:23:32','2026-07-08 16:23:32'),(16,NULL,'login_lockout','2026-07-08','16:23:52',NULL,NULL,'181.233.26.59','WebKit','phone','AndroidOS','10','Chrome','149.0.0.0','mendoza.cuidarteperu@gmail.com',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-08 16:23:52','2026-07-08 16:23:52'),(17,6,'logout','2026-07-08','22:02:34',6,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-08 22:02:34','2026-07-08 22:02:34'),(18,1,'login','2026-07-09','02:09:34',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','149.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-09 02:09:34','2026-07-09 02:09:34'),(19,2,'login','2026-07-09','09:49:34',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-09 09:49:34','2026-07-09 09:49:34'),(20,2,'module_access_error','2026-07-09','09:49:35',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-09 09:49:35','2026-07-09 09:49:35'),(21,6,'login','2026-07-09','09:50:56',6,'App\\Models\\Tenant\\User','179.6.6.250','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"HUV\",\"region_name\":\"Huancavelica\",\"city_name\":\"Pampas\",\"latitude\":\"-12.3988\",\"longitude\":\"-74.8685\",\"timezone\":\"America\\/Lima\"}','2026-07-09 09:50:56','2026-07-09 09:50:56'),(22,6,'login','2026-07-09','09:50:56',6,'App\\Models\\Tenant\\User','179.6.6.250','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"HUV\",\"region_name\":\"Huancavelica\",\"city_name\":\"Pampas\",\"latitude\":\"-12.3988\",\"longitude\":\"-74.8685\",\"timezone\":\"America\\/Lima\"}','2026-07-09 09:50:56','2026-07-09 09:50:56'),(23,2,'module_access_error','2026-07-09','09:52:03',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents/create',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-09 09:52:03','2026-07-09 09:52:03'),(24,5,'login','2026-07-09','09:54:47',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-09 09:54:47','2026-07-09 09:54:47'),(25,5,'module_access_error','2026-07-09','09:54:47',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-09 09:54:47','2026-07-09 09:54:47'),(26,6,'logout','2026-07-09','09:55:21',6,'App\\Models\\Tenant\\User','179.6.6.250','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"HUV\",\"region_name\":\"Huancavelica\",\"city_name\":\"Pampas\",\"latitude\":\"-12.3988\",\"longitude\":\"-74.8685\",\"timezone\":\"America\\/Lima\"}','2026-07-09 09:55:21','2026-07-09 09:55:21'),(27,6,'login','2026-07-09','09:55:33',6,'App\\Models\\Tenant\\User','179.6.6.250','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"HUV\",\"region_name\":\"Huancavelica\",\"city_name\":\"Pampas\",\"latitude\":\"-12.3988\",\"longitude\":\"-74.8685\",\"timezone\":\"America\\/Lima\"}','2026-07-09 09:55:33','2026-07-09 09:55:33'),(28,1,'companies_soap_password','2026-07-09','10:31:59',1,'App\\Models\\Tenant\\Company','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-09 10:31:59','2026-07-09 10:31:59'),(29,2,'level_module_access_error','2026-07-09','14:01:59',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents/not-sent',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-09 14:01:59','2026-07-09 14:01:59'),(30,2,'module_access_error','2026-07-09','14:01:59',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-09 14:01:59','2026-07-09 14:01:59'),(31,6,'logout','2026-07-09','14:29:27',6,'App\\Models\\Tenant\\User','179.6.6.250','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"HUV\",\"region_name\":\"Huancavelica\",\"city_name\":\"Pampas\",\"latitude\":\"-12.3988\",\"longitude\":\"-74.8685\",\"timezone\":\"America\\/Lima\"}','2026-07-09 14:29:27','2026-07-09 14:29:27'),(32,2,'module_access_error','2026-07-09','20:32:45',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-09 20:32:45','2026-07-09 20:32:45'),(33,1,'logout','2026-07-09','22:21:02',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-09 22:21:02','2026-07-09 22:21:02'),(34,3,'login','2026-07-09','22:21:24',3,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-09 22:21:24','2026-07-09 22:21:24'),(35,3,'module_access_error','2026-07-09','22:21:24',3,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-09 22:21:24','2026-07-09 22:21:24'),(36,3,'level_module_access_error','2026-07-09','23:20:22',3,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents/not-sent',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-09 23:20:22','2026-07-09 23:20:22'),(37,3,'module_access_error','2026-07-09','23:20:22',3,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-09 23:20:22','2026-07-09 23:20:22'),(38,6,'login','2026-07-11','21:41:48',6,'App\\Models\\Tenant\\User','179.6.6.250','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"HUV\",\"region_name\":\"Huancavelica\",\"city_name\":\"Pampas\",\"latitude\":\"-12.3988\",\"longitude\":\"-74.8685\",\"timezone\":\"America\\/Lima\"}','2026-07-11 21:41:48','2026-07-11 21:41:48'),(39,4,'failed','2026-07-12','11:30:58',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-12 11:30:58','2026-07-12 11:30:58'),(40,4,'login','2026-07-12','11:31:34',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-12 11:31:34','2026-07-12 11:31:34'),(41,4,'module_access_error','2026-07-12','11:31:34',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-12 11:31:34','2026-07-12 11:31:34'),(42,4,'module_access_error','2026-07-12','14:50:04',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-12 14:50:04','2026-07-12 14:50:04'),(43,4,'logout','2026-07-12','14:52:44',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-12 14:52:44','2026-07-12 14:52:44'),(44,5,'login','2026-07-12','14:54:07',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-12 14:54:07','2026-07-12 14:54:07'),(45,5,'module_access_error','2026-07-12','14:54:08',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-12 14:54:08','2026-07-12 14:54:08'),(46,3,'login','2026-07-12','15:39:18',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-12 15:39:18','2026-07-12 15:39:18'),(47,3,'module_access_error','2026-07-12','15:39:18',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-12 15:39:18','2026-07-12 15:39:18'),(48,3,'level_module_access_error','2026-07-12','15:46:48',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents/not-sent',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-12 15:46:48','2026-07-12 15:46:48'),(49,3,'module_access_error','2026-07-12','15:46:48',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-12 15:46:48','2026-07-12 15:46:48'),(50,6,'login','2026-07-12','16:15:06',6,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','phone','AndroidOS','10','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-12 16:15:06','2026-07-12 16:15:06'),(51,5,'module_access_error','2026-07-12','16:20:11',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-12 16:20:11','2026-07-12 16:20:11'),(52,6,'logout','2026-07-12','16:20:22',6,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','phone','AndroidOS','10','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-12 16:20:22','2026-07-12 16:20:22'),(53,5,'level_module_access_error','2026-07-12','16:22:09',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents/not-sent',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-12 16:22:09','2026-07-12 16:22:09'),(54,5,'module_access_error','2026-07-12','16:22:09',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-12 16:22:09','2026-07-12 16:22:09'),(55,5,'module_access_error','2026-07-12','18:43:37',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-12 18:43:37','2026-07-12 18:43:37'),(56,5,'login','2026-07-13','08:33:11',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-13 08:33:11','2026-07-13 08:33:11'),(57,5,'module_access_error','2026-07-13','08:33:11',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-13 08:33:11','2026-07-13 08:33:11'),(58,3,'failed','2026-07-13','14:39:24',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-13 14:39:24','2026-07-13 14:39:24'),(59,3,'login','2026-07-13','14:40:09',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-13 14:40:09','2026-07-13 14:40:09'),(60,3,'module_access_error','2026-07-13','14:40:10',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-13 14:40:10','2026-07-13 14:40:10'),(61,5,'logout','2026-07-13','15:25:41',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-13 15:25:41','2026-07-13 15:25:41'),(62,4,'login','2026-07-13','15:26:14',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-13 15:26:14','2026-07-13 15:26:14'),(63,4,'module_access_error','2026-07-13','15:26:14',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-13 15:26:14','2026-07-13 15:26:14'),(64,6,'login','2026-07-13','17:50:44',6,'App\\Models\\Tenant\\User','179.6.6.250','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"HUV\",\"region_name\":\"Huancavelica\",\"city_name\":\"Pampas\",\"latitude\":\"-12.3988\",\"longitude\":\"-74.8685\",\"timezone\":\"America\\/Lima\"}','2026-07-13 17:50:44','2026-07-13 17:50:44'),(65,4,'logout','2026-07-13','21:47:59',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-13 21:47:59','2026-07-13 21:47:59'),(66,4,'login','2026-07-14','08:02:37',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-14 08:02:37','2026-07-14 08:02:37'),(67,4,'module_access_error','2026-07-14','08:02:38',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-14 08:02:38','2026-07-14 08:02:38'),(68,4,'logout','2026-07-14','21:44:14',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-14 21:44:14','2026-07-14 21:44:14'),(69,6,'login','2026-07-14','23:24:14',6,'App\\Models\\Tenant\\User','179.6.6.250','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"HUV\",\"region_name\":\"Huancavelica\",\"city_name\":\"Pampas\",\"latitude\":\"-12.3988\",\"longitude\":\"-74.8685\",\"timezone\":\"America\\/Lima\"}','2026-07-14 23:24:14','2026-07-14 23:24:14'),(70,5,'login','2026-07-15','08:03:33',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-15 08:03:33','2026-07-15 08:03:33'),(71,5,'module_access_error','2026-07-15','08:03:33',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-15 08:03:33','2026-07-15 08:03:33'),(72,5,'level_module_access_error','2026-07-15','20:01:23',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents/not-sent',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-15 20:01:23','2026-07-15 20:01:23'),(73,5,'module_access_error','2026-07-15','20:01:23',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-15 20:01:23','2026-07-15 20:01:23'),(74,5,'failed','2026-07-16','07:56:06',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-16 07:56:06','2026-07-16 07:56:06'),(75,5,'login','2026-07-16','07:56:35',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-16 07:56:35','2026-07-16 07:56:35'),(76,5,'login','2026-07-16','11:12:22',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-16 11:12:22','2026-07-16 11:12:22'),(77,5,'module_access_error','2026-07-16','11:12:23',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-16 11:12:23','2026-07-16 11:12:23'),(78,5,'level_module_access_error','2026-07-16','11:12:31',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents/not-sent',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-16 11:12:31','2026-07-16 11:12:31'),(79,5,'module_access_error','2026-07-16','11:12:32',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-16 11:12:32','2026-07-16 11:12:32'),(80,5,'logout','2026-07-16','16:12:55',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-16 16:12:55','2026-07-16 16:12:55'),(81,4,'login','2026-07-16','16:13:42',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-16 16:13:42','2026-07-16 16:13:42'),(82,4,'module_access_error','2026-07-16','16:13:43',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-16 16:13:43','2026-07-16 16:13:43'),(83,4,'level_module_access_error','2026-07-16','16:13:55',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents/not-sent',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-16 16:13:55','2026-07-16 16:13:55'),(84,4,'module_access_error','2026-07-16','16:13:55',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-16 16:13:55','2026-07-16 16:13:55'),(85,5,'login','2026-07-17','10:27:29',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-17 10:27:29','2026-07-17 10:27:29'),(86,5,'module_access_error','2026-07-17','10:27:29',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-17 10:27:29','2026-07-17 10:27:29'),(87,5,'level_module_access_error','2026-07-17','10:27:34',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents/not-sent',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-17 10:27:34','2026-07-17 10:27:34'),(88,5,'module_access_error','2026-07-17','10:27:34',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-17 10:27:34','2026-07-17 10:27:34'),(89,3,'login','2026-07-17','12:09:37',3,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-17 12:09:37','2026-07-17 12:09:37'),(90,3,'module_access_error','2026-07-17','12:09:37',3,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-17 12:09:37','2026-07-17 12:09:37'),(91,3,'logout','2026-07-17','12:09:44',3,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-17 12:09:44','2026-07-17 12:09:44'),(92,1,'login','2026-07-17','12:09:55',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-17 12:09:55','2026-07-17 12:09:55'),(93,3,'login','2026-07-17','12:37:24',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-17 12:37:24','2026-07-17 12:37:24'),(94,3,'module_access_error','2026-07-17','12:37:25',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-17 12:37:25','2026-07-17 12:37:25'),(95,5,'level_module_access_error','2026-07-17','12:39:57',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents/not-sent',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-17 12:39:57','2026-07-17 12:39:57'),(96,5,'module_access_error','2026-07-17','12:39:58',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-17 12:39:58','2026-07-17 12:39:58'),(97,5,'level_module_access_error','2026-07-17','12:40:14',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents/not-sent',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-17 12:40:14','2026-07-17 12:40:14'),(98,5,'module_access_error','2026-07-17','12:40:14',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-17 12:40:14','2026-07-17 12:40:14'),(99,5,'level_module_access_error','2026-07-17','12:40:34',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents/not-sent',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-17 12:40:34','2026-07-17 12:40:34'),(100,5,'module_access_error','2026-07-17','12:40:34',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-17 12:40:34','2026-07-17 12:40:34'),(101,5,'logout','2026-07-17','18:07:50',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-17 18:07:50','2026-07-17 18:07:50'),(102,4,'login','2026-07-17','18:08:07',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-17 18:08:07','2026-07-17 18:08:07'),(103,4,'module_access_error','2026-07-17','18:08:07',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-17 18:08:07','2026-07-17 18:08:07'),(104,4,'login','2026-07-18','12:31:02',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-18 12:31:02','2026-07-18 12:31:02'),(105,4,'logout','2026-07-18','12:39:27',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-18 12:39:27','2026-07-18 12:39:27'),(106,4,'login','2026-07-18','12:41:43',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-18 12:41:43','2026-07-18 12:41:43'),(107,4,'module_access_error','2026-07-18','12:41:43',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-18 12:41:43','2026-07-18 12:41:43'),(108,4,'logout','2026-07-18','14:47:19',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-18 14:47:19','2026-07-18 14:47:19'),(109,5,'login','2026-07-18','14:59:17',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-18 14:59:17','2026-07-18 14:59:17'),(110,5,'module_access_error','2026-07-18','14:59:17',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-18 14:59:17','2026-07-18 14:59:17'),(111,4,'failed','2026-07-19','07:56:20',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-19 07:56:20','2026-07-19 07:56:20'),(112,4,'failed','2026-07-19','07:56:37',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-19 07:56:37','2026-07-19 07:56:37'),(113,4,'failed','2026-07-19','07:56:38',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-19 07:56:38','2026-07-19 07:56:38'),(114,NULL,'login_lockout','2026-07-19','07:57:07',NULL,NULL,'200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0','frecia@gmail.com',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-19 07:57:07','2026-07-19 07:57:07'),(115,4,'login','2026-07-19','08:06:42',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-19 08:06:42','2026-07-19 08:06:42'),(116,4,'module_access_error','2026-07-19','08:06:43',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-19 08:06:43','2026-07-19 08:06:43'),(117,4,'logout','2026-07-19','15:29:38',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-19 15:29:38','2026-07-19 15:29:38'),(118,5,'login','2026-07-19','15:30:58',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-19 15:30:58','2026-07-19 15:30:58'),(119,5,'module_access_error','2026-07-19','15:30:59',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-19 15:30:59','2026-07-19 15:30:59'),(120,5,'login','2026-07-20','08:24:25',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-20 08:24:25','2026-07-20 08:24:25'),(121,5,'module_access_error','2026-07-20','08:24:25',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-20 08:24:25','2026-07-20 08:24:25'),(122,5,'logout','2026-07-20','15:10:08',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-20 15:10:08','2026-07-20 15:10:08'),(123,4,'login','2026-07-20','15:10:38',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-20 15:10:38','2026-07-20 15:10:38'),(124,4,'module_access_error','2026-07-20','15:10:38',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-20 15:10:38','2026-07-20 15:10:38'),(125,4,'login','2026-07-21','08:50:13',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-21 08:50:13','2026-07-21 08:50:13'),(126,4,'module_access_error','2026-07-21','08:50:14',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-21 08:50:14','2026-07-21 08:50:14'),(127,5,'login','2026-07-22','07:19:59',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-22 07:19:59','2026-07-22 07:19:59'),(128,5,'module_access_error','2026-07-22','07:19:59',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-22 07:19:59','2026-07-22 07:19:59'),(129,6,'login','2026-07-22','18:59:19',6,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','phone','AndroidOS','10','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-22 18:59:19','2026-07-22 18:59:19'),(130,3,'failed','2026-07-22','19:08:07',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-22 19:08:07','2026-07-22 19:08:07'),(131,3,'failed','2026-07-22','19:08:50',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-22 19:08:50','2026-07-22 19:08:50'),(132,3,'failed','2026-07-22','19:09:16',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-22 19:09:16','2026-07-22 19:09:16'),(133,NULL,'login_lockout','2026-07-22','19:09:49',NULL,NULL,'181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0','VIOLETA@GMAIL.COM',NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-22 19:09:49','2026-07-22 19:09:49'),(134,3,'login','2026-07-22','19:16:15',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-22 19:16:15','2026-07-22 19:16:15'),(135,3,'module_access_error','2026-07-22','19:16:16',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-22 19:16:16','2026-07-22 19:16:16'),(136,6,'login','2026-07-22','19:16:31',6,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Edge','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-22 19:16:31','2026-07-22 19:16:31'),(137,1,'login','2026-07-22','20:26:46',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-22 20:26:46','2026-07-22 20:26:46'),(138,6,'logout','2026-07-22','21:33:42',6,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Edge','146.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-22 21:33:42','2026-07-22 21:33:42'),(139,5,'logout','2026-07-22','21:39:07',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-22 21:39:07','2026-07-22 21:39:07'),(140,1,'logout','2026-07-23','02:49:22',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-23 02:49:22','2026-07-23 02:49:22'),(141,1,'login','2026-07-23','02:49:24',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-23 02:49:24','2026-07-23 02:49:24'),(142,1,'logout','2026-07-23','03:03:40',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-23 03:03:40','2026-07-23 03:03:40'),(143,6,'failed','2026-07-23','03:03:46',6,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-23 03:03:46','2026-07-23 03:03:46'),(144,6,'login','2026-07-23','03:04:45',6,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-23 03:04:45','2026-07-23 03:04:45'),(145,3,'module_access_error','2026-07-23','07:16:32',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-23 07:16:32','2026-07-23 07:16:32'),(146,3,'logout','2026-07-23','07:17:12',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-23 07:17:12','2026-07-23 07:17:12'),(147,2,'login','2026-07-23','07:19:44',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-23 07:19:44','2026-07-23 07:19:44'),(148,2,'module_access_error','2026-07-23','07:19:44',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-23 07:19:44','2026-07-23 07:19:44'),(149,6,'login','2026-07-23','08:49:45',6,'App\\Models\\Tenant\\User','181.176.108.30','WebKit','phone','AndroidOS','10','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-23 08:49:45','2026-07-23 08:49:45'),(150,6,'login','2026-07-23','09:35:47',6,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','phone','AndroidOS','10','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-23 09:35:47','2026-07-23 09:35:47'),(151,6,'login','2026-07-23','11:44:53',6,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-23 11:44:53','2026-07-23 11:44:53'),(152,7,'login','2026-07-23','13:06:04',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-23 13:06:04','2026-07-23 13:06:04'),(153,7,'module_access_error','2026-07-23','13:06:04',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-23 13:06:04','2026-07-23 13:06:04'),(154,2,'logout','2026-07-23','14:36:53',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-23 14:36:53','2026-07-23 14:36:53'),(155,7,'logout','2026-07-23','15:46:50',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-23 15:46:50','2026-07-23 15:46:50'),(156,4,'login','2026-07-23','15:47:21',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-23 15:47:21','2026-07-23 15:47:21'),(157,4,'module_access_error','2026-07-23','15:47:21',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-23 15:47:21','2026-07-23 15:47:21'),(158,3,'failed','2026-07-23','16:30:33',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-23 16:30:33','2026-07-23 16:30:33'),(159,3,'login','2026-07-23','16:31:30',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-23 16:31:30','2026-07-23 16:31:30'),(160,3,'module_access_error','2026-07-23','16:31:31',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-23 16:31:31','2026-07-23 16:31:31'),(161,3,'module_access_error','2026-07-24','07:04:56',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-24 07:04:56','2026-07-24 07:04:56'),(162,3,'logout','2026-07-24','07:05:24',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-24 07:05:24','2026-07-24 07:05:24'),(163,2,'login','2026-07-24','07:05:45',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-24 07:05:45','2026-07-24 07:05:45'),(164,2,'module_access_error','2026-07-24','07:05:45',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-24 07:05:45','2026-07-24 07:05:45'),(165,4,'failed','2026-07-24','08:03:08',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-24 08:03:08','2026-07-24 08:03:08'),(166,4,'login','2026-07-24','08:03:26',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-24 08:03:26','2026-07-24 08:03:26'),(167,4,'logout','2026-07-24','14:35:09',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-24 14:35:09','2026-07-24 14:35:09'),(168,2,'module_access_error','2026-07-24','16:40:57',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-24 16:40:57','2026-07-24 16:40:57'),(169,2,'module_access_error','2026-07-24','16:42:12',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-24 16:42:12','2026-07-24 16:42:12'),(170,2,'logout','2026-07-24','16:42:28',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-24 16:42:28','2026-07-24 16:42:28'),(171,3,'failed','2026-07-24','16:42:50',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-24 16:42:50','2026-07-24 16:42:50'),(172,3,'login','2026-07-24','16:43:06',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-24 16:43:06','2026-07-24 16:43:06'),(173,3,'module_access_error','2026-07-24','16:43:07',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-24 16:43:07','2026-07-24 16:43:07'),(174,5,'failed','2026-07-24','17:56:27',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-24 17:56:27','2026-07-24 17:56:27'),(175,5,'login','2026-07-24','17:56:38',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-24 17:56:38','2026-07-24 17:56:38'),(176,5,'module_access_error','2026-07-24','17:56:38',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-24 17:56:38','2026-07-24 17:56:38'),(177,5,'logout','2026-07-24','21:15:36',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-24 21:15:36','2026-07-24 21:15:36'),(178,6,'login','2026-07-25','01:10:53',6,'App\\Models\\Tenant\\User','179.6.6.250','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 01:10:53','2026-07-25 01:10:53'),(179,3,'module_access_error','2026-07-25','06:18:12',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 06:18:12','2026-07-25 06:18:12'),(180,3,'module_access_error','2026-07-25','06:18:37',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 06:18:37','2026-07-25 06:18:37'),(181,3,'logout','2026-07-25','06:18:46',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 06:18:46','2026-07-25 06:18:46'),(182,3,'login','2026-07-25','06:19:07',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 06:19:07','2026-07-25 06:19:07'),(183,3,'module_access_error','2026-07-25','06:19:07',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 06:19:07','2026-07-25 06:19:07'),(184,7,'login','2026-07-25','08:37:29',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-25 08:37:29','2026-07-25 08:37:29'),(185,7,'module_access_error','2026-07-25','08:37:29',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-25 08:37:29','2026-07-25 08:37:29'),(186,6,'login','2026-07-25','13:25:08',6,'App\\Models\\Tenant\\User','179.6.6.250','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 13:25:08','2026-07-25 13:25:08'),(187,6,'logout','2026-07-25','13:30:58',6,'App\\Models\\Tenant\\User','179.6.6.250','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 13:30:58','2026-07-25 13:30:58'),(188,3,'logout','2026-07-25','14:46:50',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 14:46:50','2026-07-25 14:46:50'),(189,2,'login','2026-07-25','14:53:47',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 14:53:47','2026-07-25 14:53:47'),(190,2,'module_access_error','2026-07-25','14:53:48',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 14:53:48','2026-07-25 14:53:48'),(191,2,'logout','2026-07-25','15:40:03',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 15:40:03','2026-07-25 15:40:03'),(192,6,'login','2026-07-25','15:40:24',6,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 15:40:24','2026-07-25 15:40:24'),(193,6,'logout','2026-07-25','15:48:17',6,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 15:48:17','2026-07-25 15:48:17'),(194,8,'login','2026-07-25','15:49:49',8,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 15:49:49','2026-07-25 15:49:49'),(195,8,'module_access_error','2026-07-25','15:49:49',8,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 15:49:49','2026-07-25 15:49:49'),(196,6,'login','2026-07-25','15:57:09',6,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','phone','AndroidOS','10','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 15:57:09','2026-07-25 15:57:09'),(197,6,'inventory_created','2026-07-25','16:07:36',2621,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','phone','AndroidOS','10','Chrome','150.0.0.0',NULL,'items',NULL,NULL,'2026-07-25 16:07:36','2026-07-25 16:07:36'),(198,8,'module_access_error','2026-07-25','18:10:56',8,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 18:10:56','2026-07-25 18:10:56'),(199,7,'module_access_error','2026-07-25','20:14:39',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-25 20:14:39','2026-07-25 20:14:39'),(200,7,'logout','2026-07-25','20:16:01',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-25 20:16:01','2026-07-25 20:16:01'),(201,5,'login','2026-07-25','20:16:29',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-25 20:16:29','2026-07-25 20:16:29'),(202,5,'module_access_error','2026-07-25','20:16:29',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-25 20:16:29','2026-07-25 20:16:29'),(203,5,'logout','2026-07-25','21:09:58',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-25 21:09:58','2026-07-25 21:09:58'),(204,8,'logout','2026-07-25','23:05:36',8,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-25 23:05:36','2026-07-25 23:05:36'),(205,2,'login','2026-07-26','07:12:57',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-26 07:12:57','2026-07-26 07:12:57'),(206,2,'module_access_error','2026-07-26','07:12:58',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-26 07:12:58','2026-07-26 07:12:58'),(207,7,'login','2026-07-26','07:37:01',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-26 07:37:01','2026-07-26 07:37:01'),(208,7,'module_access_error','2026-07-26','07:37:02',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-26 07:37:02','2026-07-26 07:37:02'),(209,7,'module_access_error','2026-07-26','12:32:14',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-26 12:32:14','2026-07-26 12:32:14'),(210,7,'level_module_access_error','2026-07-26','12:32:24',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents/not-sent',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-26 12:32:24','2026-07-26 12:32:24'),(211,7,'module_access_error','2026-07-26','12:32:25',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-26 12:32:25','2026-07-26 12:32:25'),(212,2,'logout','2026-07-26','17:56:42',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-26 17:56:42','2026-07-26 17:56:42'),(213,3,'failed','2026-07-26','17:57:02',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-26 17:57:02','2026-07-26 17:57:02'),(214,3,'login','2026-07-26','17:57:22',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-26 17:57:22','2026-07-26 17:57:22'),(215,3,'module_access_error','2026-07-26','17:57:22',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-26 17:57:22','2026-07-26 17:57:22'),(216,7,'logout','2026-07-26','21:04:22',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-26 21:04:22','2026-07-26 21:04:22'),(217,5,'login','2026-07-26','21:04:37',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-26 21:04:37','2026-07-26 21:04:37'),(218,5,'module_access_error','2026-07-26','21:04:37',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-26 21:04:37','2026-07-26 21:04:37'),(219,5,'logout','2026-07-26','21:16:50',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-26 21:16:50','2026-07-26 21:16:50'),(220,3,'logout','2026-07-26','23:38:06',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-26 23:38:06','2026-07-26 23:38:06'),(221,6,'login','2026-07-27','01:13:17',6,'App\\Models\\Tenant\\User','179.6.6.250','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 01:13:17','2026-07-27 01:13:17'),(222,2,'login','2026-07-27','06:52:21',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 06:52:21','2026-07-27 06:52:21'),(223,2,'module_access_error','2026-07-27','06:52:22',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 06:52:22','2026-07-27 06:52:22'),(224,2,'level_module_access_error','2026-07-27','06:52:35',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents/not-sent',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 06:52:35','2026-07-27 06:52:35'),(225,2,'module_access_error','2026-07-27','06:52:35',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 06:52:35','2026-07-27 06:52:35'),(226,2,'level_module_access_error','2026-07-27','06:52:54',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents/not-sent',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 06:52:54','2026-07-27 06:52:54'),(227,2,'module_access_error','2026-07-27','06:52:54',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 06:52:54','2026-07-27 06:52:54'),(228,2,'level_module_access_error','2026-07-27','06:53:05',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents/not-sent',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 06:53:05','2026-07-27 06:53:05'),(229,2,'module_access_error','2026-07-27','06:53:05',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 06:53:05','2026-07-27 06:53:05'),(230,6,'inventory_created','2026-07-27','08:55:21',2622,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,'items',NULL,NULL,'2026-07-27 08:55:21','2026-07-27 08:55:21'),(231,7,'failed','2026-07-27','09:24:14',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-27 09:24:14','2026-07-27 09:24:14'),(232,7,'login','2026-07-27','09:24:20',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-27 09:24:20','2026-07-27 09:24:20'),(233,7,'module_access_error','2026-07-27','09:24:20',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-27 09:24:20','2026-07-27 09:24:20'),(234,6,'login','2026-07-27','09:59:41',6,'App\\Models\\Tenant\\User','179.6.6.250','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 09:59:41','2026-07-27 09:59:41'),(235,6,'login','2026-07-27','10:05:38',6,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 10:05:38','2026-07-27 10:05:38'),(236,6,'logout','2026-07-27','10:07:50',6,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 10:07:50','2026-07-27 10:07:50'),(237,1,'login','2026-07-27','10:08:06',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 10:08:06','2026-07-27 10:08:06'),(238,6,'login','2026-07-27','10:10:47',6,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 10:10:47','2026-07-27 10:10:47'),(239,6,'login','2026-07-27','11:49:50',6,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 11:49:50','2026-07-27 11:49:50'),(240,6,'login','2026-07-27','12:16:20',6,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 12:16:20','2026-07-27 12:16:20'),(241,6,'inventory_created','2026-07-27','14:07:38',2623,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,'items',NULL,NULL,'2026-07-27 14:07:38','2026-07-27 14:07:38'),(242,7,'logout','2026-07-27','14:43:44',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-27 14:43:44','2026-07-27 14:43:44'),(243,5,'login','2026-07-27','14:46:00',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-27 14:46:00','2026-07-27 14:46:00'),(244,5,'module_access_error','2026-07-27','14:46:01',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-27 14:46:01','2026-07-27 14:46:01'),(245,6,'inventory_transfer_created','2026-07-27','14:48:42',1,'Modules\\Inventory\\Models\\InventoryTransfer','172.18.0.1','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,'purchases/5/distribute',NULL,NULL,'2026-07-27 14:48:42','2026-07-27 14:48:42'),(246,6,'inventory_created','2026-07-27','14:48:42',2624,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,'purchases/5/distribute',NULL,NULL,'2026-07-27 14:48:42','2026-07-27 14:48:42'),(247,6,'inventory_created','2026-07-27','14:48:42',2625,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,'purchases/5/distribute',NULL,NULL,'2026-07-27 14:48:42','2026-07-27 14:48:42'),(248,6,'inventory_created','2026-07-27','14:48:42',2626,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,'purchases/5/distribute',NULL,NULL,'2026-07-27 14:48:42','2026-07-27 14:48:42'),(249,6,'inventory_created','2026-07-27','14:48:43',2627,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,'purchases/5/distribute',NULL,NULL,'2026-07-27 14:48:43','2026-07-27 14:48:43'),(250,6,'inventory_created','2026-07-27','14:48:43',2628,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,'purchases/5/distribute',NULL,NULL,'2026-07-27 14:48:43','2026-07-27 14:48:43'),(251,6,'inventory_created','2026-07-27','14:48:43',2629,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,'purchases/5/distribute',NULL,NULL,'2026-07-27 14:48:43','2026-07-27 14:48:43'),(252,6,'login','2026-07-27','16:17:49',6,'App\\Models\\Tenant\\User','181.176.102.174','WebKit','phone','AndroidOS','10','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 16:17:49','2026-07-27 16:17:49'),(253,2,'logout','2026-07-27','17:24:03',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 17:24:03','2026-07-27 17:24:03'),(254,3,'failed','2026-07-27','17:24:18',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 17:24:18','2026-07-27 17:24:18'),(255,3,'login','2026-07-27','17:24:33',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 17:24:33','2026-07-27 17:24:33'),(256,3,'module_access_error','2026-07-27','17:24:34',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 17:24:34','2026-07-27 17:24:34'),(257,5,'logout','2026-07-27','21:03:47',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-27 21:03:47','2026-07-27 21:03:47'),(258,3,'logout','2026-07-27','23:45:46',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-27 23:45:46','2026-07-27 23:45:46'),(259,2,'login','2026-07-28','06:25:40',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-28 06:25:40','2026-07-28 06:25:40'),(260,2,'module_access_error','2026-07-28','06:25:41',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-28 06:25:41','2026-07-28 06:25:41'),(261,6,'login','2026-07-28','08:12:35',6,'App\\Models\\Tenant\\User','179.6.6.250','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-28 08:12:35','2026-07-28 08:12:35'),(262,7,'login','2026-07-28','11:28:33',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-28 11:28:33','2026-07-28 11:28:33'),(263,7,'module_access_error','2026-07-28','11:28:33',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-28 11:28:33','2026-07-28 11:28:33'),(264,7,'logout','2026-07-28','14:28:22',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-28 14:28:22','2026-07-28 14:28:22'),(265,5,'login','2026-07-28','15:36:17',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-28 15:36:17','2026-07-28 15:36:17'),(266,5,'module_access_error','2026-07-28','15:36:17',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-28 15:36:17','2026-07-28 15:36:17'),(267,2,'logout','2026-07-28','16:37:00',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-28 16:37:00','2026-07-28 16:37:00'),(268,3,'login','2026-07-28','16:37:39',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-28 16:37:39','2026-07-28 16:37:39'),(269,3,'module_access_error','2026-07-28','16:37:39',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-28 16:37:39','2026-07-28 16:37:39'),(270,6,'login','2026-07-28','22:35:35',6,'App\\Models\\Tenant\\User','179.6.6.250','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-28 22:35:35','2026-07-28 22:35:35'),(271,6,'inventory_created','2026-07-28','23:15:13',2630,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,'items/duplicate',NULL,NULL,'2026-07-28 23:15:13','2026-07-28 23:15:13'),(272,6,'inventory_created','2026-07-28','23:21:16',2631,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,'items/duplicate',NULL,NULL,'2026-07-28 23:21:16','2026-07-28 23:21:16'),(273,6,'inventory_created','2026-07-28','23:34:53',2632,'Modules\\Inventory\\Models\\Inventory','172.18.0.1','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,'items',NULL,NULL,'2026-07-28 23:34:53','2026-07-28 23:34:53'),(274,3,'logout','2026-07-28','23:42:16',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-28 23:42:16','2026-07-28 23:42:16'),(275,2,'login','2026-07-30','08:09:18',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-30 08:09:18','2026-07-30 08:09:18'),(276,2,'module_access_error','2026-07-30','08:09:18',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-30 08:09:18','2026-07-30 08:09:18'),(277,2,'module_access_error','2026-07-30','08:09:26',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-30 08:09:26','2026-07-30 08:09:26'),(278,4,'login','2026-07-30','12:11:48',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-30 12:11:48','2026-07-30 12:11:48'),(279,4,'module_access_error','2026-07-30','12:11:49',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-30 12:11:49','2026-07-30 12:11:49'),(280,2,'logout','2026-07-30','14:48:21',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-30 14:48:21','2026-07-30 14:48:21'),(281,3,'login','2026-07-30','14:53:31',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-30 14:53:31','2026-07-30 14:53:31'),(282,3,'module_access_error','2026-07-30','14:53:31',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-30 14:53:31','2026-07-30 14:53:31'),(283,4,'logout','2026-07-30','17:12:10',4,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-30 17:12:10','2026-07-30 17:12:10'),(284,5,'login','2026-07-30','17:12:22',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-30 17:12:22','2026-07-30 17:12:22'),(285,5,'module_access_error','2026-07-30','17:12:23',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-30 17:12:23','2026-07-30 17:12:23'),(286,3,'module_access_error','2026-07-30','17:14:37',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-30 17:14:37','2026-07-30 17:14:37'),(287,1,'login','2026-07-30','17:43:54',1,'App\\Models\\Tenant\\User','179.6.26.113','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-30 17:43:54','2026-07-30 17:43:54'),(288,5,'logout','2026-07-30','21:34:08',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-30 21:34:08','2026-07-30 21:34:08'),(289,3,'logout','2026-07-30','23:52:21',3,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-30 23:52:21','2026-07-30 23:52:21'),(290,2,'login','2026-07-31','06:50:32',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-31 06:50:32','2026-07-31 06:50:32'),(291,2,'module_access_error','2026-07-31','06:50:33',2,'App\\Models\\Tenant\\User','181.233.26.59','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-31 06:50:33','2026-07-31 06:50:33'),(292,7,'login','2026-07-31','09:15:46',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-31 09:15:46','2026-07-31 09:15:46'),(293,7,'module_access_error','2026-07-31','09:15:46',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-31 09:15:46','2026-07-31 09:15:46'),(294,7,'logout','2026-07-31','14:09:41',7,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-31 14:09:41','2026-07-31 14:09:41'),(295,5,'login','2026-07-31','14:42:34',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-31 14:42:34','2026-07-31 14:42:34'),(296,5,'module_access_error','2026-07-31','14:42:34',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-31 14:42:34','2026-07-31 14:42:34'),(297,6,'login','2026-07-31','16:14:36',6,'App\\Models\\Tenant\\User','179.6.6.250','WebKit','desktop','Windows','10.0','Edge','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-31 16:14:36','2026-07-31 16:14:36'),(298,2,'logout','2026-07-31','16:25:40',2,'App\\Models\\Tenant\\User','132.191.1.126','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-31 16:25:40','2026-07-31 16:25:40'),(299,3,'login','2026-07-31','16:26:01',3,'App\\Models\\Tenant\\User','132.191.1.126','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-31 16:26:01','2026-07-31 16:26:01'),(300,3,'module_access_error','2026-07-31','16:26:01',3,'App\\Models\\Tenant\\User','132.191.1.126','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,'documents',NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-31 16:26:01','2026-07-31 16:26:01'),(301,5,'logout','2026-07-31','21:18:01',5,'App\\Models\\Tenant\\User','200.215.251.109','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LIM\",\"region_name\":\"Lima region\",\"city_name\":\"San Juan de Lurigancho\",\"latitude\":\"-12.0064\",\"longitude\":\"-77.0139\",\"timezone\":\"America\\/Lima\"}','2026-07-31 21:18:01','2026-07-31 21:18:01'),(302,3,'logout','2026-07-31','23:52:11',3,'App\\Models\\Tenant\\User','132.191.1.126','WebKit','desktop','Windows','10.0','Chrome','150.0.0.0',NULL,NULL,NULL,'{\"country_name\":\"Peru\",\"country_code\":\"PE\",\"region_code\":\"LMA\",\"region_name\":\"Lima Province\",\"city_name\":\"Lima\",\"latitude\":\"-12.046\",\"longitude\":\"-77.0305\",\"timezone\":\"America\\/Lima\"}','2026-07-31 23:52:11','2026-07-31 23:52:11');
COMMIT;

-- Dumped table `system_activity_logs` with 302 row(s)
--

--
-- Table structure for table `system_activity_log_types`
--

CREATE TABLE `system_activity_log_types` (
  `id` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `system_activity_log_types`
--

SET autocommit=0;
INSERT INTO `system_activity_log_types` VALUES ('companies_certificate','Actualización del campo certificado en configuración de empresa'),('companies_name','Actualización del campo nombre en configuración de empresa'),('companies_number','Actualización del campo número en configuración de empresa'),('companies_soap_password','Actualización del campo SOAP Contraseña en configuración de empresa'),('companies_soap_send_id','Actualización del campo SOAP envío en configuración de empresa'),('companies_soap_type_id','Actualización del campo SOAP tipo en configuración de empresa'),('companies_soap_url','Actualización del campo SOAP url envío en configuración de empresa'),('companies_soap_username','Actualización del campo SOAP Usuario en configuración de empresa'),('contract_voided','Anulación de contrato'),('document_voided','Anulación de comprobante (boleta/factura)'),('expense_voided','Anulación de gasto'),('failed','Error de inicio de sesión'),('fixed_asset_purchase_voided','Anulación de compra de activo fijo'),('income_voided','Anulación de ingreso'),('inventory_created','Movimiento/ajuste de inventario'),('inventory_transfer_created','Traslado entre almacenes'),('level_module_access_error','Error de acceso al submódulo (no tiene permiso)'),('login','Iniciar sesión'),('login_lockout','Bloqueo de usuario por exceder límite de intentos permitidos al iniciar sesión'),('logout','Cerrar sesión'),('module_access_error','Error de acceso al módulo (no tiene permiso)'),('order_note_voided','Anulación de nota de pedido'),('payment_method_corrected','Corrección de método de pago'),('purchase_order_voided','Anulación de orden de compra'),('purchase_voided','Anulación de compra'),('quotation_voided','Anulación de cotización'),('sale_note_voided','Anulación de nota de venta');
COMMIT;

-- Dumped table `system_activity_log_types` with 27 row(s)
--

--
-- Table structure for table `tags`
--

CREATE TABLE `tags` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `status` tinyint(1) NOT NULL DEFAULT 1,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tags`
--

SET autocommit=0;
COMMIT;

-- Dumped table `tags` with 0 row(s)
--

--
-- Table structure for table `tasks`
--

CREATE TABLE `tasks` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `class` varchar(255) NOT NULL,
  `execution_time` time NOT NULL,
  `output` longtext DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tasks`
--

SET autocommit=0;
COMMIT;

-- Dumped table `tasks` with 0 row(s)
--

--
-- Table structure for table `technical_services`
--

CREATE TABLE `technical_services` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `soap_type_id` char(2) NOT NULL,
  `establishment_id` int(10) unsigned DEFAULT 0,
  `establishment` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`establishment`)),
  `customer_id` int(10) unsigned NOT NULL,
  `customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`customer`)),
  `currency_type_id` text DEFAULT NULL,
  `payment_condition_id` text DEFAULT NULL,
  `payment_method_type_id` text DEFAULT NULL,
  `seller_id` int(10) unsigned DEFAULT 0,
  `exchange_rate_sale` decimal(13,3) DEFAULT 0.000,
  `total_prepayment` decimal(12,2) DEFAULT 0.00,
  `total_charge` decimal(12,2) DEFAULT 0.00,
  `total_discount` decimal(12,2) DEFAULT 0.00,
  `total_exportation` decimal(12,2) DEFAULT 0.00,
  `total_free` decimal(12,2) DEFAULT 0.00,
  `total_taxed` decimal(12,2) DEFAULT 0.00,
  `total_unaffected` decimal(12,2) DEFAULT 0.00,
  `total_exonerated` decimal(12,2) DEFAULT 0.00,
  `total_igv` decimal(12,2) DEFAULT 0.00,
  `total_igv_free` decimal(12,2) DEFAULT 0.00,
  `total_base_isc` decimal(12,2) DEFAULT 0.00,
  `total_isc` decimal(12,2) DEFAULT 0.00,
  `total_base_other_taxes` decimal(12,2) DEFAULT 0.00,
  `total_other_taxes` decimal(12,2) DEFAULT 0.00,
  `total_plastic_bag_taxes` decimal(6,2) DEFAULT 0.00,
  `total_taxes` decimal(12,2) DEFAULT 0.00,
  `total_value` decimal(12,2) DEFAULT 0.00,
  `subtotal` decimal(12,2) DEFAULT 0.00,
  `total` decimal(12,2) DEFAULT 0.00,
  `is_editable` tinyint(3) unsigned DEFAULT 0,
  `cellphone` varchar(255) NOT NULL,
  `date_of_issue` date NOT NULL,
  `time_of_issue` time NOT NULL,
  `description` text NOT NULL,
  `state` text NOT NULL,
  `reason` text NOT NULL,
  `serial_number` varchar(255) NOT NULL,
  `filename` varchar(255) DEFAULT NULL,
  `cost` decimal(12,2) NOT NULL DEFAULT 0.00,
  `prepayment` decimal(12,2) NOT NULL DEFAULT 0.00,
  `activities` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `brand` varchar(255) DEFAULT NULL,
  `equipment` varchar(255) DEFAULT NULL,
  `important_note` text DEFAULT NULL,
  `repair` tinyint(1) NOT NULL DEFAULT 0,
  `warranty` tinyint(1) NOT NULL DEFAULT 0,
  `maintenance` tinyint(1) NOT NULL DEFAULT 0,
  `diagnosis` tinyint(1) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  KEY `technical_services_user_id_foreign` (`user_id`),
  KEY `technical_services_soap_type_id_foreign` (`soap_type_id`),
  KEY `technical_services_customer_id_foreign` (`customer_id`),
  KEY `technical_services_date_of_issue_index` (`date_of_issue`),
  KEY `technical_services_serial_number_index` (`serial_number`),
  CONSTRAINT `technical_services_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `persons` (`id`),
  CONSTRAINT `technical_services_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `technical_services_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `technical_services`
--

SET autocommit=0;
COMMIT;

-- Dumped table `technical_services` with 0 row(s)
--

--
-- Table structure for table `technical_service_items`
--

CREATE TABLE `technical_service_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `technical_services_id` int(10) unsigned DEFAULT 0 COMMENT 'Id de technical_services',
  `item_id` int(10) unsigned DEFAULT 0 COMMENT 'Id de item',
  `item` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Json con el contenido de item' CHECK (json_valid(`item`)),
  `quantity` float DEFAULT 0 COMMENT 'Cantidad de item usado',
  `unit_value` float DEFAULT 0 COMMENT 'unit_value',
  `affectation_igv_type_id` longtext DEFAULT NULL COMMENT 'Tipo de afectacion dde igv. cat_affectation_igv_types',
  `total_base_igv` float DEFAULT 0 COMMENT 'Monto base del IGV',
  `percentage_igv` float DEFAULT 0,
  `total_igv` float DEFAULT 0,
  `system_isc_type_id` longtext DEFAULT NULL,
  `total_base_isc` float DEFAULT 0,
  `percentage_isc` float DEFAULT 0,
  `total_isc` float DEFAULT 0,
  `total_base_other_taxes` float DEFAULT 0,
  `percentage_other_taxes` float DEFAULT 0,
  `total_other_taxes` float DEFAULT 0,
  `total_plastic_bag_taxes` float DEFAULT 0,
  `total_taxes` float DEFAULT 0,
  `price_type_id` longtext DEFAULT NULL,
  `unit_price` float DEFAULT 0,
  `total_value` float DEFAULT 0,
  `total_charge` float DEFAULT 0,
  `total_discount` float DEFAULT 0,
  `total` float DEFAULT 0,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Atributos' CHECK (json_valid(`attributes`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Descuentos' CHECK (json_valid(`discounts`)),
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL COMMENT 'Cargos' CHECK (json_valid(`charges`)),
  `additional_information` longtext DEFAULT NULL COMMENT 'Informacion adicional',
  `warehouse_id` int(10) unsigned DEFAULT 0 COMMENT 'Id de item',
  `name_product_pdf` longtext DEFAULT NULL COMMENT 'Nombre de producto en el pdf',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `technical_service_items`
--

SET autocommit=0;
COMMIT;

-- Dumped table `technical_service_items` with 0 row(s)
--

--
-- Table structure for table `technical_service_payments`
--

CREATE TABLE `technical_service_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `technical_service_id` int(10) unsigned NOT NULL,
  `date_of_payment` date NOT NULL,
  `payment_method_type_id` char(2) NOT NULL,
  `reference` varchar(255) DEFAULT NULL,
  `change` decimal(12,2) NOT NULL DEFAULT 0.00,
  `payment` decimal(12,2) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `technical_service_payments_technical_service_id_foreign` (`technical_service_id`),
  KEY `technical_service_payments_payment_method_type_id_foreign` (`payment_method_type_id`),
  CONSTRAINT `technical_service_payments_payment_method_type_id_foreign` FOREIGN KEY (`payment_method_type_id`) REFERENCES `payment_method_types` (`id`),
  CONSTRAINT `technical_service_payments_technical_service_id_foreign` FOREIGN KEY (`technical_service_id`) REFERENCES `technical_services` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `technical_service_payments`
--

SET autocommit=0;
COMMIT;

-- Dumped table `technical_service_payments` with 0 row(s)
--

--
-- Table structure for table `tips`
--

CREATE TABLE `tips` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `soap_type_id` char(2) NOT NULL,
  `date` date NOT NULL COMMENT 'Fecha de registro',
  `origin_date_of_issue` date NOT NULL COMMENT 'Fecha del documento origen de la propina',
  `origin_id` int(11) NOT NULL,
  `origin_type` varchar(255) NOT NULL,
  `worker_full_name` varchar(255) NOT NULL,
  `total` decimal(12,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `origin_index` (`origin_id`,`origin_type`),
  KEY `tips_soap_type_id_foreign` (`soap_type_id`),
  KEY `tips_date_index` (`date`),
  KEY `tips_origin_date_of_issue_index` (`origin_date_of_issue`),
  KEY `tips_worker_full_name_index` (`worker_full_name`),
  CONSTRAINT `tips_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `tips`
--

SET autocommit=0;
COMMIT;

-- Dumped table `tips` with 0 row(s)
--

--
-- Table structure for table `track_api_peru_services`
--

CREATE TABLE `track_api_peru_services` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `service` int(10) unsigned DEFAULT 0 COMMENT 'Tipo de servicio  1 => sunat/dni, 2 => validacion_multiple_cpe, 3 => CPE, 4 => tipo_de_cambio, 5 => printer_ticket',
  `date_of_issue` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `track_api_peru_services`
--

SET autocommit=0;
COMMIT;

-- Dumped table `track_api_peru_services` with 0 row(s)
--

--
-- Table structure for table `transactions`
--

CREATE TABLE `transactions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `payment_link_id` int(10) unsigned NOT NULL,
  `soap_type_id` char(2) DEFAULT NULL,
  `date` date NOT NULL,
  `time` time NOT NULL,
  `uuid` char(36) NOT NULL,
  `description` varchar(255) NOT NULL,
  `payment_id` varchar(255) DEFAULT NULL,
  `amount` decimal(16,2) NOT NULL,
  `transaction_state_id` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `transactions_uuid_unique` (`uuid`),
  KEY `transactions_payment_link_id_foreign` (`payment_link_id`),
  KEY `transactions_transaction_state_id_foreign` (`transaction_state_id`),
  KEY `transactions_date_index` (`date`),
  KEY `transactions_time_index` (`time`),
  KEY `transactions_description_index` (`description`),
  KEY `transactions_payment_id_index` (`payment_id`),
  KEY `transactions_amount_index` (`amount`),
  KEY `transactions_soap_type_id_foreign` (`soap_type_id`),
  CONSTRAINT `transactions_payment_link_id_foreign` FOREIGN KEY (`payment_link_id`) REFERENCES `payment_links` (`id`),
  CONSTRAINT `transactions_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `transactions_transaction_state_id_foreign` FOREIGN KEY (`transaction_state_id`) REFERENCES `transaction_states` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transactions`
--

SET autocommit=0;
COMMIT;

-- Dumped table `transactions` with 0 row(s)
--

--
-- Table structure for table `transaction_queries`
--

CREATE TABLE `transaction_queries` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `date` date NOT NULL,
  `time` time NOT NULL,
  `response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`response`)),
  `transaction_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `transaction_queries_transaction_id_foreign` (`transaction_id`),
  CONSTRAINT `transaction_queries_transaction_id_foreign` FOREIGN KEY (`transaction_id`) REFERENCES `transactions` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transaction_queries`
--

SET autocommit=0;
COMMIT;

-- Dumped table `transaction_queries` with 0 row(s)
--

--
-- Table structure for table `transaction_states`
--

CREATE TABLE `transaction_states` (
  `id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `success` tinyint(1) NOT NULL,
  `status` varchar(255) NOT NULL,
  `status_detail` varchar(255) NOT NULL,
  `original_message` varchar(255) NOT NULL,
  `user_message` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `transaction_states_name_index` (`name`),
  KEY `transaction_states_success_index` (`success`),
  KEY `transaction_states_status_index` (`status`),
  KEY `transaction_states_status_detail_index` (`status_detail`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transaction_states`
--

SET autocommit=0;
INSERT INTO `transaction_states` VALUES ('00','Rechazado (Error desconocido)',0,'other','other','Error desconocido','Lo sentimos, ocurrió un error inesperado.'),('01','Aceptado',1,'approved','accredited','¡Listo! Se acreditó tu pago. En tu resumen verás el cargo de amount como statement_descriptor.','¡Listo! Se acreditó tu pago. En tu resumen verás el cargo del pago.'),('02','En proceso',1,'in_process','pending_contingency','Estamos procesando tu pago. No te preocupes, menos de 2 días hábiles te avisaremos por e-mail si se acreditó.','Estamos procesando tu pago. No te preocupes, en menos de 2 días hábiles te avisaremos por e-mail si se acreditó.'),('03','En proceso',1,'in_process','pending_review_manual','Estamos procesando tu pago. No te preocupes, menos de 2 días hábiles te avisaremos por e-mail si se acreditó o si necesitamos más información.','Estamos procesando tu pago. No te preocupes, en menos de 2 días hábiles te avisaremos por e-mail si se acreditó o si necesitamos más información.'),('04','Rechazado',0,'rejected','cc_rejected_bad_filled_card_number','Revisa el número de tarjeta.','Lo sentimos, ocurrió un inconveniente. Revisa el número de tarjeta.'),('05','Rechazado',0,'rejected','cc_rejected_bad_filled_date','Revisa la fecha de vencimiento.','Lo sentimos, ocurrió un inconveniente. Revisa la fecha de vencimiento.'),('06','Rechazado',0,'rejected','cc_rejected_bad_filled_other','Revisa los datos.','Lo sentimos, ocurrió un inconveniente. Revisa los datos.'),('07','Rechazado',0,'rejected','cc_rejected_bad_filled_security_code','Revisa el código de seguridad de la tarjeta.','Lo sentimos, ocurrió un inconveniente. Revisa el código de seguridad de la tarjeta.'),('08','Rechazado',0,'rejected','cc_rejected_blacklist','No pudimos procesar tu pago.','Lo sentimos, ocurrió un inconveniente. No pudimos procesar tu pago.'),('09','Rechazado',0,'rejected','cc_rejected_call_for_authorize','Debes autorizar ante payment_method_id el pago de amount.','Debes autorizar ante el medio de pago, el pago a realizar.'),('10','Rechazado',0,'rejected','cc_rejected_card_disabled','Llama a payment_method_id para activar tu tarjeta o usa otro medio de pago. El teléfono está al dorso de tu tarjeta.','Llama a la entidad para activar tu tarjeta o usa otro medio de pago. El teléfono está al dorso de tu tarjeta.'),('11','Rechazado',0,'rejected','cc_rejected_card_error','No pudimos procesar tu pago.','Lo sentimos, ocurrió un inconveniente. No pudimos procesar tu pago.'),('12','Rechazado',0,'rejected','cc_rejected_duplicated_payment','Ya hiciste un pago por ese valor. Si necesitas volver a pagar usa otra tarjeta u otro medio de pago.','Ya hiciste un pago por ese valor. Si necesitas volver a pagar usa otra tarjeta u otro medio de pago.'),('13','Rechazado',0,'rejected','cc_rejected_high_risk','Tu pago fue rechazado. Elige otro de los medios de pago, te recomendamos con medios en efectivo.','Tu pago fue rechazado. Elige otro de los medios de pago, te recomendamos con medios en efectivo.'),('14','Rechazado',0,'rejected','cc_rejected_insufficient_amount','Tu payment_method_id no tiene fondos suficientes.','Lo sentimos, ocurrió un inconveniente. Tu medio de pago no tiene fondos suficientes.'),('15','Rechazado',0,'rejected','cc_rejected_invalid_installments','payment_method_id no procesa pagos en installments cuotas.','Para el medio de pago ingresado, no se puede procesar los pagos en la cantidad de cuotas seleccionadas.'),('16','Rechazado',0,'rejected','cc_rejected_max_attempts','Llegaste al límite de intentos permitidos. Elige otra tarjeta u otro medio de pago.','Llegaste al límite de intentos permitidos. Elige otra tarjeta u otro medio de pago.'),('17','Rechazado',0,'rejected','cc_rejected_other_reason','payment_method_id no procesó el pago.','Lo sentimos, ocurrió un inconveniente. El pago no pudo ser procesado por el medio usado');
COMMIT;

-- Dumped table `transaction_states` with 18 row(s)
--

--
-- Table structure for table `transfer_account_payments`
--

CREATE TABLE `transfer_account_payments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `origin_id` int(10) unsigned DEFAULT 0 COMMENT 'id Cuenta de origen',
  `origin_type` text DEFAULT NULL COMMENT 'Modelo de origen',
  `destiny_id` int(10) unsigned DEFAULT 0 COMMENT 'id Cuenta de destino',
  `destiny_type` text DEFAULT NULL COMMENT 'Modelo de destino',
  `amount` decimal(9,2) DEFAULT 0.00 COMMENT 'Monto a transferir',
  `date_of_movement` datetime DEFAULT NULL COMMENT 'Fecha de movimiento',
  `user_id` int(10) unsigned DEFAULT 0 COMMENT 'Usuario que realiza el movimiento',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transfer_account_payments`
--

SET autocommit=0;
COMMIT;

-- Dumped table `transfer_account_payments` with 0 row(s)
--

--
-- Table structure for table `transports`
--

CREATE TABLE `transports` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `plate_number` varchar(50) NOT NULL,
  `model` varchar(255) NOT NULL,
  `brand` varchar(255) NOT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `transports`
--

SET autocommit=0;
COMMIT;

-- Dumped table `transports` with 0 row(s)
--

--
-- Table structure for table `users`
--

SET autocommit=0;
COMMIT;

-- Dumped table `users` with 8 row(s)
--

--
-- Table structure for table `user_commissions`
--

CREATE TABLE `user_commissions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `amount` decimal(8,2) NOT NULL,
  `type` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `user_commissions_user_id_foreign` (`user_id`),
  CONSTRAINT `user_commissions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_commissions`
--

SET autocommit=0;
COMMIT;

-- Dumped table `user_commissions` with 0 row(s)
--

--
-- Table structure for table `user_default_document_types`
--

CREATE TABLE `user_default_document_types` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `document_type_id` varchar(255) NOT NULL,
  `series_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `user_default_document_types_user_id_foreign` (`user_id`),
  KEY `user_default_document_types_document_type_id_foreign` (`document_type_id`),
  KEY `user_default_document_types_series_id_foreign` (`series_id`),
  CONSTRAINT `user_default_document_types_document_type_id_foreign` FOREIGN KEY (`document_type_id`) REFERENCES `cat_document_types` (`id`),
  CONSTRAINT `user_default_document_types_series_id_foreign` FOREIGN KEY (`series_id`) REFERENCES `series` (`id`),
  CONSTRAINT `user_default_document_types_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_default_document_types`
--

SET autocommit=0;
INSERT INTO `user_default_document_types` VALUES (1,8,'03',16,'2026-07-25 15:46:36','2026-07-25 15:46:36'),(2,8,'80',10,'2026-07-25 15:46:36','2026-07-25 15:46:36'),(3,8,'01',15,'2026-07-25 15:46:36','2026-07-25 15:46:36');
COMMIT;

-- Dumped table `user_default_document_types` with 3 row(s)
--

--
-- Table structure for table `user_mobile_establishments`
--

CREATE TABLE `user_mobile_establishments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `establishment_id` int(10) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ume_user_establishment_unique` (`user_id`,`establishment_id`),
  KEY `user_mobile_establishments_establishment_id_foreign` (`establishment_id`),
  CONSTRAINT `user_mobile_establishments_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `user_mobile_establishments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_mobile_establishments`
--

SET autocommit=0;
INSERT INTO `user_mobile_establishments` VALUES (1,1,1,NULL,NULL),(2,1,2,NULL,NULL),(3,6,1,NULL,NULL),(4,6,2,NULL,NULL);
COMMIT;

-- Dumped table `user_mobile_establishments` with 4 row(s)
--

--
-- Table structure for table `user_rel_suscription_plans`
--

CREATE TABLE `user_rel_suscription_plans` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con usuario',
  `suscription_plan_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con planes de suscripcion',
  `cat_period_id` int(10) unsigned DEFAULT 0 COMMENT 'Relacion con el periodo de tiempo',
  `items` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT 'Pega los items relacionados a modo de standar' CHECK (json_valid(`items`)),
  `editable` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'Si ya ha sido adquirido, no puede ser modificado',
  `deletable` tinyint(4) NOT NULL DEFAULT 0 COMMENT 'Si ya ha sido adquirido, no puede ser borrado',
  `start_date` date DEFAULT NULL COMMENT 'Fecha de inicio',
  `sale_notes` text DEFAULT NULL,
  `documents` text DEFAULT NULL,
  `dates_of_documents` text DEFAULT NULL,
  `automatic_date_of_issue` date DEFAULT NULL,
  `customer_id` int(10) unsigned DEFAULT 0,
  `customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`customer`)),
  `parent_customer_id` int(10) unsigned DEFAULT 0,
  `parent_customer` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`parent_customer`)),
  `children_customer_id` int(10) unsigned DEFAULT 0,
  `children_customer` longtext DEFAULT NULL,
  `quantity_period` int(10) unsigned DEFAULT 0,
  `apply_concurrency` int(10) unsigned NOT NULL DEFAULT 0,
  `enabled_concurrency` int(10) unsigned NOT NULL DEFAULT 1 COMMENT 'Se pasará a nota de ventas como activo',
  `currency_type_id` varchar(255) DEFAULT NULL,
  `payment_method_type_id` varchar(255) DEFAULT NULL,
  `exchange_rate_sale` float DEFAULT 0,
  `total_prepayment` float DEFAULT 0,
  `total_charge` float DEFAULT 0,
  `total_discount` float DEFAULT 0,
  `total_exportation` float DEFAULT 0,
  `total_free` float DEFAULT 0,
  `total_taxed` float DEFAULT 0,
  `total_unaffected` float DEFAULT 0,
  `total_exonerated` float DEFAULT 0,
  `total_igv` float DEFAULT 0,
  `total_igv_free` float DEFAULT 0,
  `total_base_isc` float DEFAULT 0,
  `total_isc` float DEFAULT 0,
  `total_base_other_taxes` float DEFAULT 0,
  `total_other_taxes` float DEFAULT 0,
  `total_taxes` float DEFAULT 0,
  `total_value` float DEFAULT 0,
  `total` decimal(12,2) DEFAULT 0.00,
  `charges` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`charges`)),
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attributes`)),
  `discounts` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`discounts`)),
  `prepayments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`prepayments`)),
  `related` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`related`)),
  `perception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`perception`)),
  `detraction` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`detraction`)),
  `legends` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`legends`)),
  `terms_condition` longtext DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `grade` text DEFAULT NULL COMMENT 'Grado designado - utilizado en matricula',
  `section` text DEFAULT NULL COMMENT 'Seccion designado - utilizado en matricula',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `user_rel_suscription_plans`
--

SET autocommit=0;
COMMIT;

-- Dumped table `user_rel_suscription_plans` with 0 row(s)
--

--
-- Table structure for table `vet_appointments`
--

CREATE TABLE `vet_appointments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `owner_id` int(10) unsigned DEFAULT NULL,
  `veterinarian_id` int(10) unsigned DEFAULT NULL,
  `establishment_id` int(10) unsigned DEFAULT NULL,
  `scheduled_at` datetime NOT NULL,
  `duration_minutes` smallint(5) unsigned NOT NULL DEFAULT 30,
  `title` varchar(255) DEFAULT NULL,
  `reason` varchar(255) DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'scheduled',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_appointments_veterinarian_id_scheduled_at_index` (`veterinarian_id`,`scheduled_at`),
  KEY `vet_appointments_pet_id_index` (`pet_id`),
  KEY `vet_appointments_owner_id_index` (`owner_id`),
  KEY `vet_appointments_veterinarian_id_index` (`veterinarian_id`),
  KEY `vet_appointments_scheduled_at_index` (`scheduled_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_appointments`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_appointments` with 0 row(s)
--

--
-- Table structure for table `vet_boardings`
--

CREATE TABLE `vet_boardings` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned NOT NULL,
  `owner_id` int(10) unsigned DEFAULT NULL,
  `establishment_id` int(10) unsigned DEFAULT NULL,
  `check_in` date NOT NULL,
  `check_out` date DEFAULT NULL,
  `kennel` varchar(255) DEFAULT NULL,
  `daily_rate` decimal(10,2) NOT NULL DEFAULT 0.00,
  `status` varchar(255) NOT NULL DEFAULT 'active',
  `notes` text DEFAULT NULL,
  `document_id` int(10) unsigned DEFAULT NULL,
  `sale_note_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_boardings_status_check_in_index` (`status`,`check_in`),
  KEY `vet_boardings_pet_id_index` (`pet_id`),
  KEY `vet_boardings_owner_id_index` (`owner_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_boardings`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_boardings` with 0 row(s)
--

--
-- Table structure for table `vet_breeds`
--

CREATE TABLE `vet_breeds` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `species_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_breeds_species_id_index` (`species_id`),
  KEY `vet_breeds_active_index` (`active`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_breeds`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_breeds` with 0 row(s)
--

--
-- Table structure for table `vet_consultations`
--

CREATE TABLE `vet_consultations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned NOT NULL,
  `veterinarian_id` int(10) unsigned DEFAULT NULL,
  `establishment_id` int(10) unsigned DEFAULT NULL,
  `consultation_date` date NOT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'consulta',
  `reason` varchar(255) DEFAULT NULL,
  `weight` decimal(8,2) DEFAULT NULL,
  `temperature` decimal(5,2) DEFAULT NULL,
  `heart_rate` varchar(20) DEFAULT NULL,
  `resp_rate` varchar(20) DEFAULT NULL,
  `general_state` varchar(191) DEFAULT NULL,
  `diarrhea` tinyint(1) DEFAULT NULL,
  `diarrhea_note` varchar(191) DEFAULT NULL,
  `vaccination_status` varchar(20) DEFAULT NULL,
  `deworming_status` varchar(20) DEFAULT NULL,
  `anamnesis` text DEFAULT NULL,
  `diagnosis_text` text DEFAULT NULL,
  `prescription_cie10_id` int(10) unsigned DEFAULT NULL,
  `treatment` text DEFAULT NULL,
  `observations` text DEFAULT NULL,
  `document_id` int(10) unsigned DEFAULT NULL,
  `sale_note_id` int(10) unsigned DEFAULT NULL,
  `appointment_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_consultations_pet_id_consultation_date_index` (`pet_id`,`consultation_date`),
  KEY `vet_consultations_pet_id_index` (`pet_id`),
  KEY `vet_consultations_veterinarian_id_index` (`veterinarian_id`),
  KEY `vet_consultations_prescription_cie10_id_index` (`prescription_cie10_id`),
  KEY `vet_consultations_appointment_id_index` (`appointment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_consultations`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_consultations` with 0 row(s)
--

--
-- Table structure for table `vet_consultation_attachments`
--

CREATE TABLE `vet_consultation_attachments` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `consultation_id` int(10) unsigned NOT NULL,
  `name` varchar(191) NOT NULL,
  `path` varchar(255) NOT NULL,
  `mime` varchar(100) DEFAULT NULL,
  `kind` varchar(20) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_consultation_attachments_consultation_id_index` (`consultation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_consultation_attachments`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_consultation_attachments` with 0 row(s)
--

--
-- Table structure for table `vet_consultation_procedures`
--

CREATE TABLE `vet_consultation_procedures` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `consultation_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned NOT NULL,
  `name` varchar(191) NOT NULL,
  `quantity` decimal(12,2) NOT NULL DEFAULT 1.00,
  `unit_price` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_consultation_procedures_consultation_id_index` (`consultation_id`),
  KEY `vet_consultation_procedures_item_id_index` (`item_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_consultation_procedures`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_consultation_procedures` with 0 row(s)
--

--
-- Table structure for table `vet_memberships`
--

CREATE TABLE `vet_memberships` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `owner_id` int(10) unsigned NOT NULL,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `plan_name` varchar(255) NOT NULL,
  `price` decimal(10,2) NOT NULL DEFAULT 0.00,
  `period` varchar(255) NOT NULL DEFAULT 'monthly',
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'active',
  `benefits` text DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `document_id` int(10) unsigned DEFAULT NULL,
  `sale_note_id` int(10) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_memberships_status_end_date_index` (`status`,`end_date`),
  KEY `vet_memberships_owner_id_index` (`owner_id`),
  KEY `vet_memberships_pet_id_index` (`pet_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_memberships`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_memberships` with 0 row(s)
--

--
-- Table structure for table `vet_notification_log`
--

CREATE TABLE `vet_notification_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned DEFAULT NULL,
  `owner_id` int(10) unsigned DEFAULT NULL,
  `channel` varchar(20) NOT NULL,
  `destination` varchar(191) NOT NULL,
  `subject` varchar(191) DEFAULT NULL,
  `body` text NOT NULL,
  `ref_type` varchar(40) DEFAULT NULL,
  `ref_id` int(10) unsigned DEFAULT NULL,
  `status` varchar(20) NOT NULL,
  `error` text DEFAULT NULL,
  `sent_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_notification_log_ref_type_ref_id_index` (`ref_type`,`ref_id`),
  KEY `vet_notification_log_status_index` (`status`),
  KEY `vet_notification_log_pet_id_index` (`pet_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_notification_log`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_notification_log` with 0 row(s)
--

--
-- Table structure for table `vet_pets`
--

CREATE TABLE `vet_pets` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `owner_id` int(10) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `species` varchar(60) DEFAULT NULL,
  `species_id` int(10) unsigned DEFAULT NULL,
  `breed` varchar(120) DEFAULT NULL,
  `breed_id` int(10) unsigned DEFAULT NULL,
  `sex` varchar(20) DEFAULT NULL,
  `birthdate` date DEFAULT NULL,
  `weight` decimal(8,2) DEFAULT NULL,
  `color` varchar(60) DEFAULT NULL,
  `microchip` varchar(60) DEFAULT NULL,
  `sterilized` tinyint(1) DEFAULT NULL,
  `photo` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `allergies` text DEFAULT NULL,
  `chronic_conditions` text DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_pets_owner_id_active_index` (`owner_id`,`active`),
  KEY `vet_pets_owner_id_index` (`owner_id`),
  KEY `vet_pets_species_id_index` (`species_id`),
  KEY `vet_pets_breed_id_index` (`breed_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_pets`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_pets` with 0 row(s)
--

--
-- Table structure for table `vet_prescriptions`
--

CREATE TABLE `vet_prescriptions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned NOT NULL,
  `owner_id` int(10) unsigned DEFAULT NULL,
  `veterinarian_id` int(10) unsigned DEFAULT NULL,
  `consultation_id` int(10) unsigned DEFAULT NULL,
  `prescription_date` date NOT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_prescriptions_pet_id_prescription_date_index` (`pet_id`,`prescription_date`),
  KEY `vet_prescriptions_pet_id_index` (`pet_id`),
  KEY `vet_prescriptions_owner_id_index` (`owner_id`),
  KEY `vet_prescriptions_veterinarian_id_index` (`veterinarian_id`),
  KEY `vet_prescriptions_consultation_id_index` (`consultation_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_prescriptions`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_prescriptions` with 0 row(s)
--

--
-- Table structure for table `vet_prescription_items`
--

CREATE TABLE `vet_prescription_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `prescription_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `dosage` varchar(255) DEFAULT NULL,
  `route` varchar(255) DEFAULT NULL,
  `frequency` varchar(255) DEFAULT NULL,
  `duration` varchar(255) DEFAULT NULL,
  `instructions` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_prescription_items_prescription_id_index` (`prescription_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_prescription_items`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_prescription_items` with 0 row(s)
--

--
-- Table structure for table `vet_quotes`
--

CREATE TABLE `vet_quotes` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned NOT NULL,
  `owner_id` int(10) unsigned DEFAULT NULL,
  `veterinarian_id` int(10) unsigned DEFAULT NULL,
  `quote_date` date NOT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'draft',
  `notes` text DEFAULT NULL,
  `total` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_quotes_pet_id_quote_date_index` (`pet_id`,`quote_date`),
  KEY `vet_quotes_pet_id_index` (`pet_id`),
  KEY `vet_quotes_owner_id_index` (`owner_id`),
  KEY `vet_quotes_veterinarian_id_index` (`veterinarian_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_quotes`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_quotes` with 0 row(s)
--

--
-- Table structure for table `vet_quote_items`
--

CREATE TABLE `vet_quote_items` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `quote_id` int(10) unsigned NOT NULL,
  `item_id` int(10) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `quantity` decimal(12,2) NOT NULL DEFAULT 1.00,
  `unit_price` decimal(12,2) NOT NULL DEFAULT 0.00,
  `subtotal` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_quote_items_quote_id_index` (`quote_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_quote_items`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_quote_items` with 0 row(s)
--

--
-- Table structure for table `vet_species`
--

CREATE TABLE `vet_species` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_species_active_index` (`active`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_species`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_species` with 0 row(s)
--

--
-- Table structure for table `vet_vaccination_records`
--

CREATE TABLE `vet_vaccination_records` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `pet_id` int(10) unsigned NOT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'vaccine',
  `item_id` int(10) unsigned DEFAULT NULL,
  `vaccine_name` varchar(255) NOT NULL,
  `applied_date` date DEFAULT NULL,
  `lot_code` varchar(60) DEFAULT NULL,
  `next_dose_date` date DEFAULT NULL,
  `veterinarian_id` int(10) unsigned DEFAULT NULL,
  `document_id` int(10) unsigned DEFAULT NULL,
  `sale_note_id` int(10) unsigned DEFAULT NULL,
  `observations` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_vaccination_records_pet_id_applied_date_index` (`pet_id`,`applied_date`),
  KEY `vet_vaccination_records_pet_id_index` (`pet_id`),
  KEY `vet_vaccination_records_item_id_index` (`item_id`),
  KEY `vet_vaccination_records_next_dose_date_index` (`next_dose_date`),
  KEY `vet_vaccination_records_veterinarian_id_index` (`veterinarian_id`),
  KEY `vet_vaccination_records_type_index` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_vaccination_records`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_vaccination_records` with 0 row(s)
--

--
-- Table structure for table `vet_vaccine_protocols`
--

CREATE TABLE `vet_vaccine_protocols` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `species_id` int(10) unsigned NOT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'vaccine',
  `dose_name` varchar(191) NOT NULL,
  `offset_value` int(11) NOT NULL,
  `offset_unit` varchar(10) NOT NULL DEFAULT 'weeks',
  `offset_from` varchar(10) NOT NULL DEFAULT 'birth',
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_vaccine_protocols_species_id_sort_order_index` (`species_id`,`sort_order`),
  KEY `vet_vaccine_protocols_species_id_index` (`species_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_vaccine_protocols`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_vaccine_protocols` with 0 row(s)
--

--
-- Table structure for table `vet_veterinarians`
--

CREATE TABLE `vet_veterinarians` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `cmp` varchar(255) DEFAULT NULL,
  `specialty` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `user_id` int(10) unsigned DEFAULT NULL,
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `work_days` varchar(20) DEFAULT NULL,
  `work_start` time DEFAULT NULL,
  `work_end` time DEFAULT NULL,
  `slot_minutes` int(10) unsigned DEFAULT 30,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vet_veterinarians_active_index` (`active`),
  KEY `vet_veterinarians_user_id_index` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vet_veterinarians`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vet_veterinarians` with 0 row(s)
--

--
-- Table structure for table `vital_signs_parameters`
--

CREATE TABLE `vital_signs_parameters` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `specialty_id` int(10) unsigned NOT NULL,
  `paramter_name` varchar(255) NOT NULL,
  `unit` varchar(255) DEFAULT NULL,
  `type` varchar(255) DEFAULT NULL,
  `is_optional` tinyint(1) DEFAULT NULL,
  `order` int(11) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vsp_specialty_id` (`specialty_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vital_signs_parameters`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vital_signs_parameters` with 0 row(s)
--

--
-- Table structure for table `vital_signs_values`
--

CREATE TABLE `vital_signs_values` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `appointment_id` int(10) unsigned NOT NULL,
  `vital_sign_id` int(10) unsigned NOT NULL,
  `value` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vsv_appointment_id` (`appointment_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `vital_signs_values`
--

SET autocommit=0;
COMMIT;

-- Dumped table `vital_signs_values` with 0 row(s)
--

--
-- Table structure for table `voided`
--

CREATE TABLE `voided` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` int(10) unsigned NOT NULL,
  `external_id` char(36) NOT NULL,
  `soap_type_id` char(2) NOT NULL,
  `state_type_id` char(2) NOT NULL,
  `ubl_version` varchar(255) NOT NULL,
  `date_of_issue` date NOT NULL,
  `date_of_reference` date NOT NULL,
  `identifier` varchar(255) NOT NULL,
  `filename` varchar(255) NOT NULL,
  `ticket` varchar(255) DEFAULT NULL,
  `has_ticket` tinyint(1) NOT NULL DEFAULT 0,
  `has_cdr` tinyint(1) NOT NULL DEFAULT 0,
  `soap_shipping_response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`soap_shipping_response`)),
  `send_to_pse` tinyint(1) NOT NULL DEFAULT 0,
  `response_signature_pse` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`response_signature_pse`)),
  `response_send_cdr_pse` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`response_send_cdr_pse`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `voided_user_id_foreign` (`user_id`),
  KEY `voided_soap_type_id_foreign` (`soap_type_id`),
  KEY `voided_state_type_id_foreign` (`state_type_id`),
  CONSTRAINT `voided_soap_type_id_foreign` FOREIGN KEY (`soap_type_id`) REFERENCES `soap_types` (`id`),
  CONSTRAINT `voided_state_type_id_foreign` FOREIGN KEY (`state_type_id`) REFERENCES `state_types` (`id`),
  CONSTRAINT `voided_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `voided`
--

SET autocommit=0;
COMMIT;

-- Dumped table `voided` with 0 row(s)
--

--
-- Table structure for table `voided_documents`
--

CREATE TABLE `voided_documents` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `voided_id` int(10) unsigned NOT NULL,
  `document_id` int(10) unsigned NOT NULL,
  `description` varchar(255) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `voided_documents_voided_id_foreign` (`voided_id`),
  KEY `voided_documents_document_id_foreign` (`document_id`),
  CONSTRAINT `voided_documents_document_id_foreign` FOREIGN KEY (`document_id`) REFERENCES `documents` (`id`),
  CONSTRAINT `voided_documents_voided_id_foreign` FOREIGN KEY (`voided_id`) REFERENCES `voided` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `voided_documents`
--

SET autocommit=0;
COMMIT;

-- Dumped table `voided_documents` with 0 row(s)
--

--
-- Table structure for table `waiters`
--

CREATE TABLE `waiters` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `last_name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `waiters`
--

SET autocommit=0;
COMMIT;

-- Dumped table `waiters` with 0 row(s)
--

--
-- Table structure for table `warehouses`
--

CREATE TABLE `warehouses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `establishment_id` int(10) unsigned NOT NULL,
  `description` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `warehouses_establishment_id_foreign` (`establishment_id`),
  CONSTRAINT `warehouses_establishment_id_foreign` FOREIGN KEY (`establishment_id`) REFERENCES `establishments` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `warehouses`
--

SET autocommit=0;
INSERT INTO `warehouses` VALUES (1,1,'Almacén - PUENTE','2026-07-03 15:15:02','2026-07-09 02:07:45'),(2,2,'Almacén - BAYOVAR','2026-07-03 15:22:44','2026-07-09 02:07:45');
COMMIT;

-- Dumped table `warehouses` with 2 row(s)
--

--
-- Table structure for table `web_platforms`
--

CREATE TABLE `web_platforms` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `web_platforms`
--

SET autocommit=0;
INSERT INTO `web_platforms` VALUES (1,'Saga Falabella',NULL,NULL),(2,'Mercado Libre ',NULL,NULL),(3,'Linio',NULL,NULL);
COMMIT;

-- Dumped table `web_platforms` with 3 row(s)
--

--
-- Table structure for table `workers`
--

CREATE TABLE `workers` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `identity_document_type_id` varchar(255) NOT NULL,
  `number` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `birth_date` date NOT NULL,
  `admission_date` date NOT NULL,
  `occupation` varchar(255) NOT NULL,
  `address` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `telephone` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `workers_identity_document_type_id_foreign` (`identity_document_type_id`),
  KEY `workers_number_index` (`number`),
  KEY `workers_name_index` (`name`),
  CONSTRAINT `workers_identity_document_type_id_foreign` FOREIGN KEY (`identity_document_type_id`) REFERENCES `cat_identity_document_types` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `workers`
--

SET autocommit=0;
COMMIT;

-- Dumped table `workers` with 0 row(s)
--

--
-- Table structure for table `zones`
--

CREATE TABLE `zones` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `zones`
--

SET autocommit=0;
COMMIT;

-- Dumped table `zones` with 0 row(s)
--


