-- Table structure for table `company_referral_payments`
--

CREATE TABLE `company_referral_payments` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_referral_id` bigint unsigned NOT NULL,
  `company_router_invoice_payment_id` int NOT NULL,
  `user_id` int DEFAULT NULL,
  `payment_mode_id` bigint unsigned NOT NULL,
  `transaction_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_referral_payments_company_referral_id_foreign` (`company_referral_id`),
  KEY `company_referral_payments_payment_mode_id_foreign` (`payment_mode_id`),
  CONSTRAINT `company_referral_payments_company_referral_id_foreign` FOREIGN KEY (`company_referral_id`) REFERENCES `company_referrals` (`id`) ON DELETE CASCADE,
  CONSTRAINT `company_referral_payments_payment_mode_id_foreign` FOREIGN KEY (`payment_mode_id`) REFERENCES `payment_modes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_referral_payments`
--


--
-- Table structure for table `company_referrals`
--

CREATE TABLE `company_referrals` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` bigint unsigned NOT NULL,
  `referrer_id` int NOT NULL,
  `percentage_commission` decimal(8,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_referrals_company_id_foreign` (`company_id`),
  CONSTRAINT `company_referrals_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_referrals`
--


--
-- Table structure for table `company_router_customers`
--

CREATE TABLE `company_router_customers` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_router_id` bigint unsigned NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_router_customers_company_router_id_foreign` (`company_router_id`),
  CONSTRAINT `company_router_customers_company_router_id_foreign` FOREIGN KEY (`company_router_id`) REFERENCES `company_routers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=265 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_router_customers`
--

INSERT INTO `company_router_customers` VALUES (1,2,'7E:A5:C8:0E:3C:6A','255763752350','2025-08-05 18:59:16','2025-08-20 05:38:54',NULL),(2,2,'5A:DD:D5:00:65:24','255693311437','2025-08-05 19:03:34','2025-08-14 20:20:44',NULL),(3,2,'26:FD:5C:BC:F1:CF','255672040034','2025-08-07 18:53:51','2025-10-01 14:02:18',NULL),(4,2,'22:6A:1A:31:4A:46','255617595193','2025-08-08 15:56:01','2025-09-12 15:01:45',NULL),(5,2,'D4:67:D3:E3:17:BD','255656056606','2025-08-09 11:05:16','2025-08-09 11:05:16',NULL),(6,2,'76:B4:55:80:75:CE','255618250327','2025-08-11 19:33:35','2025-10-07 18:13:06',NULL),(7,2,'Silas','0796230626','2025-08-17 08:18:10','2025-08-17 08:18:10',NULL),(8,2,'Wankrew','0792222222','2025-08-17 13:16:10','2025-08-17 13:16:10',NULL),(9,2,'Admin','0723232334','2025-08-17 14:00:15','2025-08-17 14:00:15',NULL),(10,2,'Admin','0723232323','2025-08-17 14:05:10','2025-08-17 14:05:10',NULL),(11,2,'njovu','0763752350','2025-08-17 14:08:43','2025-08-17 14:08:43',NULL),(12,2,'EA:58:A4:7A:3F:40','255746278281','2025-08-17 15:44:23','2025-08-17 15:44:23',NULL),(13,2,'30:FC:EB:7A:0C:90','255758728802','2025-08-19 09:09:34','2025-10-18 19:11:07',NULL),(14,2,'62:06:D0:8C:47:36','255673093138','2025-08-19 17:48:08','2025-08-19 17:48:08',NULL),(15,2,'E6:12:A3:41:F4:AD','255746184273','2025-08-19 20:41:06','2025-08-19 20:41:06',NULL),(16,2,'14:9F:3C:6B:96:77','255783709549','2025-08-20 10:01:10','2025-08-20 10:01:10',NULL),(17,2,'F2:50:95:0B:4B:27','255747101974','2025-08-20 13:10:29','2025-10-19 15:40:09',NULL),(18,2,'Faith','0712050835','2025-08-20 14:09:02','2025-08-20 14:09:02',NULL),(19,2,'5A:22:D6:25:36:E9','255616535743','2025-08-20 18:26:13','2025-08-20 18:26:13',NULL),(20,2,'3E:A5:2D:34:21:C5','255617223653','2025-08-20 20:00:36','2025-08-24 08:24:28',NULL),(21,2,'BE:FD:23:A1:58:ED','255654966625','2025-08-21 06:30:08','2025-08-21 06:30:08',NULL),(22,2,'1A:4E:95:05:E9:3F','255625284273','2025-08-21 19:38:06','2025-09-20 01:05:35',NULL),(23,2,'0A:00:F5:20:D1:35','255769211401','2025-08-21 20:22:20','2025-08-21 20:22:20',NULL),(24,2,'FE:96:EF:57:F0:70','255714840147','2025-08-22 17:26:43','2025-08-22 17:26:43',NULL),(25,2,'F2:65:ED:BF:19:CD','255785162610','2025-08-22 20:56:29','2025-09-10 16:53:47',NULL),(26,2,'0A:00:F5:20:D1:35','255629671401','2025-08-22 22:46:53','2025-08-22 22:46:53',NULL),(27,2,'4E:ED:DD:40:F3:A1','255792736886','2025-08-23 09:26:25','2025-08-23 09:26:25',NULL),(28,2,'A6:85:AC:A3:94:CF','255742925839','2025-08-24 09:30:08','2025-08-24 09:30:08',NULL),(29,2,'F6:E9:A8:B2:71:EC','255769039595','2025-08-24 21:25:55','2025-10-18 17:36:31',NULL),(30,2,'66:BB:53:AB:22:4E','255715060369','2025-08-25 17:22:24','2025-09-03 18:00:08',NULL),(31,2,'1A:AD:C3:02:AB:DA','255774422687','2025-08-25 17:32:30','2025-10-02 17:59:24',NULL),(32,2,'CA:AB:0C:3B:E0:FC','255775514233','2025-08-25 19:15:59','2025-09-16 20:39:11',NULL),(33,2,'5A:22:D6:25:36:E9','255767631761','2025-08-26 14:51:15','2025-08-26 14:51:15',NULL),(34,6,'Mwamba','123456','2025-08-26 17:28:39','2025-08-26 17:28:39',NULL),(35,2,'EE:DD:A9:17:42:89','255761933535','2025-08-26 20:37:23','2025-10-17 07:13:09',NULL),(36,2,'F2:94:94:28:61:0A','255685827717','2025-08-26 21:17:04','2025-08-26 21:17:04',NULL),(37,5,'maleko','0713277244','2025-08-26 21:46:05','2025-08-26 21:46:05',NULL),(38,5,'magwila','0785949091','2025-08-26 21:53:10','2025-08-26 21:53:10',NULL),(39,5,'luta','0789880287','2025-08-26 21:58:54','2025-08-26 21:58:54',NULL),(40,5,'gilbert','0715807200','2025-08-26 22:02:34','2025-08-26 22:02:34',NULL),(41,6,'A2:ED:93:63:1B:07','255781995838','2025-08-27 10:46:41','2025-08-27 10:46:41',NULL),(42,6,'C2:14:39:F6:BE:64','255767506018','2025-08-27 10:48:07','2025-08-27 10:48:07',NULL),(43,2,'FA:DD:BA:69:C0:C7','255786509766','2025-08-28 13:09:31','2025-10-07 11:35:41',NULL),(44,2,'4E:AC:71:9B:AA:D8','255687691491','2025-08-28 15:53:52','2025-09-06 22:30:03',NULL),(45,2,'daniel','0657745566','2025-08-29 05:36:04','2025-08-29 05:36:04',NULL),(46,2,'munisi','0784354707','2025-08-29 05:38:44','2025-08-29 05:38:44',NULL),(47,2,'ndunguru','0763462201','2025-08-29 05:41:06','2025-08-29 05:41:06',NULL),(48,2,'2E:02:FF:6E:4D:83','255622713224','2025-08-29 12:02:21','2025-08-29 12:02:21',NULL),(49,2,'F6:E9:A8:B2:71:EC','255625387323','2025-08-29 12:46:55','2025-10-20 20:37:57',NULL),(50,2,'52:79:1D:E2:BB:02','255768091773','2025-08-29 13:16:58','2025-08-30 07:18:53',NULL),(51,7,'8E:E0:2B:0F:11:26','255754578434','2025-08-29 20:53:37','2025-08-29 20:53:37',NULL),(52,2,'7E:5E:FC:92:8D:6E','255656397070','2025-08-30 08:01:52','2025-08-30 08:01:52',NULL),(53,2,'26:FF:4F:81:B9:CD','255794449030','2025-08-30 09:12:33','2025-08-30 09:12:33',NULL),(54,2,'62:98:4F:47:C4:C9','255656537308','2025-08-30 11:39:29','2025-08-30 11:39:29',NULL),(55,2,'E2:CA:F4:73:20:C8','255747433974','2025-08-30 16:26:16','2025-09-27 20:01:34',NULL),(56,2,'CA:72:22:4C:C5:32','255794474606','2025-08-31 10:25:51','2025-09-08 11:24:33',NULL),(57,6,'7A:39:BF:E7:E7:A8','255784130128','2025-08-31 11:28:50','2025-08-31 11:28:50',NULL),(58,6,'C2:FB:8E:57:E1:CE','255712513119','2025-08-31 11:39:01','2025-08-31 11:39:01',NULL),(59,6,'C8:B2:9B:7C:5F:29','255758219626','2025-08-31 13:13:17','2025-08-31 13:13:17',NULL),(60,2,'BE:D8:5E:B0:49:F7','255752565788','2025-08-31 15:02:58','2025-09-20 10:51:08',NULL),(61,2,'10:3F:44:60:C7:32','255783339170','2025-08-31 19:08:51','2025-08-31 19:08:51',NULL),(62,2,'C2:90:68:DF:AC:2C','255749709448','2025-08-31 20:49:57','2025-10-14 12:03:42',NULL),(63,2,'C6:C2:9D:CB:45:91','255786334359','2025-08-31 21:27:22','2025-10-16 21:24:59',NULL),(64,2,'FE:54:93:3B:80:42','255764788454','2025-09-01 05:50:29','2025-10-16 05:00:31',NULL),(65,7,'C6:F2:E7:AB:DB:E5','255745071246','2025-09-01 08:25:02','2025-09-01 08:25:02',NULL),(66,6,'BA:C8:C0:76:B0:F5','255679180150','2025-09-01 09:41:32','2025-09-01 09:41:32',NULL),(67,2,'16:90:94:94:7D:93','255616692225','2025-09-01 10:11:33','2025-09-12 19:36:39',NULL),(68,7,'CE:0A:06:DF:1F:AA','255742455774','2025-09-01 10:21:41','2025-09-01 10:21:41',NULL),(69,7,'DE:FE:99:B9:7F:F5','255785581266','2025-09-01 10:47:55','2025-09-01 10:47:55',NULL),(70,2,'4C:63:71:96:C0:61','255760565257','2025-09-01 11:22:40','2025-09-01 11:22:40',NULL),(71,7,'EA:56:D4:D3:43:77','255766383956','2025-09-01 12:38:35','2025-09-02 07:22:06',NULL),(72,7,'F2:8D:73:23:0E:53','255794877187','2025-09-01 13:08:34','2025-09-01 13:08:34',NULL),(73,2,'6E:86:6A:C0:08:FA','255625593547','2025-09-01 14:36:31','2025-09-13 12:25:40',NULL),(74,2,'A6:FE:2D:DE:CA:43','255756686605','2025-09-01 15:25:14','2025-09-01 15:25:14',NULL),(75,7,'DA:A8:28:9C:36:F4','255684128557','2025-09-01 16:03:03','2025-09-01 16:03:03',NULL),(76,7,'5E:93:95:94:AB:32','255760634846','2025-09-01 16:31:16','2025-09-01 16:31:16',NULL),(77,7,'C6:1B:31:E0:18:15','255792840418','2025-09-01 17:21:13','2025-09-01 17:21:13',NULL),(78,7,'56:3C:66:83:95:BB','255745504484','2025-09-01 21:17:35','2025-09-01 21:17:35',NULL),(79,7,'A6:F5:4F:AB:DF:19','255695220884','2025-09-01 21:25:11','2025-09-01 21:25:11',NULL),(80,2,'8E:84:80:D7:56:E5','255784147778','2025-09-01 21:39:52','2025-09-24 05:48:08',NULL),(81,2,'4E:63:7D:67:95:A8','255611299495','2025-09-01 22:34:54','2025-09-08 11:15:10',NULL),(82,7,'9A:1F:40:7C:81:B4','255783748565','2025-09-02 09:24:52','2025-09-02 09:24:52',NULL),(83,2,'62:18:B0:28:93:23','255756172712','2025-09-02 09:36:11','2025-09-11 21:02:51',NULL),(84,2,'46:A8:8D:A0:81:EC','255699798976','2025-09-02 14:51:27','2025-10-16 17:32:57',NULL),(85,2,'7A:84:79:EC:32:66','255754410997','2025-09-02 16:45:57','2025-09-02 16:45:57',NULL),(86,2,'C6:82:84:09:10:28','255761028792','2025-09-02 19:19:24','2025-09-24 14:02:25',NULL),(87,2,'82:75:18:2D:C9:ED','255674057530','2025-09-02 19:35:14','2025-09-02 19:35:14',NULL),(88,2,'86:87:D5:B9:81:15','255654759552','2025-09-03 06:31:13','2025-09-27 16:25:25',NULL),(89,2,'CE:42:78:C4:E6:C9','255627130488','2025-09-03 07:53:49','2025-09-03 07:53:49',NULL),(90,2,'A0:CC:2B:B3:51:BB','255624253578','2025-09-03 08:46:53','2025-09-03 08:46:53',NULL),(91,2,'92:85:32:EB:61:BE','255627921037','2025-09-03 12:40:14','2025-09-14 17:50:02',NULL),(92,2,'FE:06:92:FA:87:6B','255753338233','2025-09-03 16:52:38','2025-09-03 16:52:38',NULL),(93,2,'22:F0:CA:D5:AF:FC','255781692464','2025-09-03 18:20:25','2025-10-04 19:30:34',NULL),(94,2,'3A:13:89:8C:B7:66','255747422865','2025-09-03 19:43:24','2025-09-06 18:32:52',NULL),(95,2,'C2:75:91:4A:D0:2B','255749757880','2025-09-03 19:56:14','2025-09-04 05:00:37',NULL),(96,2,'B2:C2:DD:A2:16:D9','255786116106','2025-09-03 20:55:49','2025-09-03 20:55:49',NULL),(97,2,'46:A4:18:50:39:B8','255765432361','2025-09-04 13:53:19','2025-09-04 13:53:19',NULL),(98,2,'24:DA:33:08:FD:6A','255622490139','2025-09-04 15:02:22','2025-09-04 15:02:22',NULL),(99,2,'AA:D6:9F:AD:AF:80','255740914542','2025-09-04 15:31:49','2025-09-04 15:31:49',NULL),(100,2,'C6:3B:86:7E:E7:2B','255742085274','2025-09-04 16:11:04','2025-10-08 13:26:43',NULL),(101,2,'74:C1:7D:15:5A:9A','255795143391','2025-09-04 16:45:16','2025-09-04 16:45:16',NULL),(102,2,'FE:06:92:FA:87:6B','255714222204','2025-09-04 17:49:57','2025-09-04 17:49:57',NULL),(103,2,'12:9B:F6:38:BA:E8','255761722492','2025-09-04 19:41:52','2025-09-04 19:41:52',NULL),(104,2,'22:46:15:C3:28:9B','255687982751','2025-09-05 11:58:37','2025-09-05 11:58:37',NULL),(105,2,'F6:D1:00:86:57:E6','255760087423','2025-09-05 18:57:36','2025-09-06 12:51:54',NULL),(106,2,'0A:00:F5:20:D1:35','255710137513','2025-09-05 22:08:38','2025-09-05 22:08:38',NULL),(107,9,'Admin','07123455650','2025-09-06 06:56:00','2025-09-06 06:56:00',NULL),(108,9,'80:AF:CA:23:CF:5C','255693519319','2025-09-06 10:40:09','2025-10-01 16:59:24',NULL),(109,2,'B2:08:B4:45:AA:47','255717139791','2025-09-06 10:58:58','2025-10-13 08:32:32',NULL),(110,2,'CE:F3:65:7D:D8:A3','255752578492','2025-09-06 19:03:13','2025-10-04 10:58:24',NULL),(111,2,'D2:AF:D0:06:95:D8','255781312402','2025-09-06 22:02:57','2025-09-06 22:02:57',NULL),(112,2,'C6:DA:37:27:8C:70','255619252915','2025-09-07 05:41:35','2025-09-07 05:41:35',NULL),(113,2,'86:B6:B4:B9:05:BA','255611073440','2025-09-07 09:29:15','2025-09-07 09:29:15',NULL),(114,2,'FE:AC:67:50:DD:CC','255755097003','2025-09-07 11:12:11','2025-09-07 11:12:11',NULL),(115,2,'10:3F:44:60:C7:32','255793339170','2025-09-07 15:12:41','2025-09-07 15:12:41',NULL),(116,2,'1A:FA:73:E9:FA:23','255740579665','2025-09-07 19:44:32','2025-10-18 20:40:40',NULL),(117,2,'8A:24:9C:08:15:98','255784682699','2025-09-08 16:36:39','2025-09-08 16:36:39',NULL),(118,2,'F2:C6:C1:71:E4:92','255745890713','2025-09-08 17:12:55','2025-10-18 01:14:02',NULL),(119,2,'60:70:72:60:6A:C2','255712876627','2025-09-09 00:15:23','2025-09-09 00:15:23',NULL),(120,10,'Admin','0753432321','2025-09-09 11:06:17','2025-09-09 11:06:17',NULL),(121,10,'FA:16:BC:FD:54:06','255681905115','2025-09-09 13:28:05','2025-09-09 13:28:05',NULL),(122,2,'BE:B3:CB:9E:09:DC','255776288209','2025-09-09 13:56:44','2025-09-09 13:56:44',NULL),(123,2,'EE:F7:43:4A:79:AC','255785686231','2025-09-09 18:49:50','2025-10-03 19:16:16',NULL),(124,2,'temu','+255657745566','2025-09-10 19:02:48','2025-09-10 19:02:48',NULL),(125,2,'FE:06:92:FA:87:6B','255783338233','2025-09-11 19:22:53','2025-09-11 19:22:53',NULL),(126,2,'3A:13:89:8C:B7:66','255624046228','2025-09-11 20:00:22','2025-09-15 19:57:48',NULL),(127,2,'52:23:86:29:18:8C','255610203016','2025-09-13 17:26:56','2025-09-13 17:26:56',NULL),(128,2,'B2:08:B4:45:AA:47','255650077452','2025-09-13 17:54:45','2025-09-13 17:54:45',NULL),(129,2,'60:F1:89:64:28:26','255689986637','2025-09-13 21:33:40','2025-09-13 21:33:40',NULL),(130,2,'16:90:94:94:7D:93','255749747697','2025-09-14 05:54:25','2025-09-14 05:54:25',NULL),(131,2,'20:26:81:EC:2E:02','255628577119','2025-09-14 10:11:23','2025-09-14 10:11:23',NULL),(132,2,'veda','0754959295','2025-09-14 15:32:29','2025-09-14 15:32:29',NULL),(133,2,'96:AD:AE:3B:F4:1C','255768654552','2025-09-14 16:46:57','2025-10-20 19:04:36',NULL),(134,2,'52:C3:10:22:FB:F4','255624465679','2025-09-15 13:03:04','2025-09-15 13:03:04',NULL),(135,2,'njovu','0716583413','2025-09-16 19:08:40','2025-09-16 19:08:40',NULL),(136,2,'AA:82:34:B6:ED:67','255659559103','2025-09-17 17:49:42','2025-09-17 17:49:42',NULL),(137,2,'06:9D:01:F5:0E:47','255753617602','2025-09-18 07:33:09','2025-09-18 07:33:09',NULL),(138,2,'A2:32:59:BA:56:02','255789191644','2025-09-18 13:46:19','2025-09-18 13:46:19',NULL),(139,2,'72:27:6C:EA:34:29','255785225957','2025-09-18 15:39:55','2025-09-18 15:39:55',NULL),(140,2,'56:F8:E5:75:D9:C1','255750909628','2025-09-18 17:59:47','2025-09-24 08:23:21',NULL),(141,2,'F2:68:FE:84:94:69','255612357142','2025-09-18 18:22:39','2025-09-18 18:22:39',NULL),(142,2,'96:44:14:52:B0:A6','255778966928','2025-09-19 11:18:09','2025-09-19 11:18:09',NULL),(143,2,'C2:75:91:4A:D0:2B','255627056783','2025-09-19 12:44:31','2025-09-22 20:59:52',NULL),(144,5,'92:51:2E:7A:C8:B4','255683193097','2025-09-19 14:39:39','2025-09-19 14:39:39',NULL),(145,2,'8A:B7:46:D2:A4:15','255621220599','2025-09-19 18:48:27','2025-09-19 18:48:27',NULL),(146,2,'9E:0D:04:94:2B:3A','255773417388','2025-09-20 07:38:06','2025-10-07 16:06:18',NULL),(147,2,'24:2E:02:2C:C6:79','255792984334','2025-09-20 19:40:14','2025-09-20 19:40:14',NULL),(148,2,'78:3A:6C:7F:20:71','255613030131','2025-09-20 21:31:52','2025-09-20 21:31:52',NULL),(149,2,'42:CC:90:DA:81:CB','255718522465','2025-09-22 20:46:09','2025-09-22 20:46:09',NULL),(150,2,'36:5A:F6:67:35:9C','255658129093','2025-09-23 00:03:37','2025-09-23 00:03:37',NULL),(151,2,'AA:C1:1A:D2:79:24','255713566041','2025-09-23 09:39:35','2025-09-23 09:39:35',NULL),(152,2,'16:EE:4C:44:25:89','255767120113','2025-09-23 19:40:34','2025-09-23 19:40:34',NULL),(153,2,'A2:0F:93:4E:A6:AC','255784538988','2025-09-24 18:54:15','2025-10-03 15:11:00',NULL),(154,2,'E6:9C:C5:2C:07:A5','255698242697','2025-09-26 09:35:11','2025-10-01 12:27:32',NULL),(155,13,'C6:1F:F0:E6:26:3A','255714453893','2025-09-26 14:41:34','2025-09-26 14:41:34',NULL),(156,13,'F8:2E:3F:C2:26:47','255788443614','2025-09-26 22:24:14','2025-10-07 16:21:46',NULL),(157,13,'F8:2E:3F:C2:26:47','255744460432','2025-09-27 10:03:05','2025-09-27 10:03:05',NULL),(158,2,'0A:96:C0:81:31:8F','255766643884','2025-09-28 09:05:27','2025-09-28 09:05:27',NULL),(159,2,'1A:89:CC:42:69:58','255616729350','2025-09-28 16:32:58','2025-09-28 16:32:58',NULL),(160,14,'EA:20:82:96:79:F9','255765288577','2025-09-28 16:35:30','2025-10-07 11:27:13',NULL),(161,14,'86:41:1C:60:68:46','255785970744','2025-09-28 18:56:14','2025-09-28 18:56:14',NULL),(162,14,'32:67:7E:83:97:B1','255786547458','2025-09-29 05:15:50','2025-10-01 08:15:13',NULL),(163,14,'56:94:9E:DC:17:30','255617755355','2025-09-29 05:47:46','2025-10-01 11:32:27',NULL),(164,14,'6A:0E:42:B6:7B:C7','255781139508','2025-09-29 08:22:14','2025-09-29 08:22:14',NULL),(165,14,'66:61:3D:A7:FA:8E','255718481568','2025-09-29 08:28:11','2025-10-10 11:28:31',NULL),(166,14,'C2:3A:51:3B:5C:2E','255742058428','2025-09-29 11:17:41','2025-09-29 11:17:41',NULL),(167,2,'60:70:72:60:6A:C2','255615262892','2025-09-29 12:23:50','2025-09-29 12:23:50',NULL),(168,14,'96:E8:68:23:C5:E3','255741596868','2025-09-29 12:47:12','2025-09-29 12:47:12',NULL),(169,2,'5A:FA:A2:DD:E8:DA','255683113941','2025-09-29 12:58:22','2025-10-20 09:34:55',NULL),(170,15,'D2:7C:2D:A8:C1:B3','255745470536','2025-09-29 13:28:07','2025-09-29 13:28:07',NULL),(171,14,'1E:52:49:73:60:0C','255761600012','2025-09-29 17:39:05','2025-09-29 17:39:05',NULL),(172,2,'F2:C6:C1:71:E4:92','255792151153','2025-09-29 18:52:57','2025-09-30 21:02:56',NULL),(173,2,'DA:DC:1F:CD:53:22','255625493684','2025-09-29 21:29:04','2025-10-12 21:51:32',NULL),(174,14,'46:C4:E3:6B:23:2D','255717762600','2025-09-30 08:26:10','2025-09-30 08:26:10',NULL),(175,14,'0A:95:E3:8B:6C:3D','255611545747','2025-09-30 09:05:03','2025-09-30 09:05:03',NULL),(176,14,'86:41:1C:60:68:46','255793838348','2025-09-30 09:10:22','2025-09-30 09:10:22',NULL),(177,14,'9E:EF:47:4A:D0:F0','255682523590','2025-09-30 10:15:49','2025-09-30 10:15:49',NULL),(178,14,'02:8F:5C:86:3F:C2','255693975087','2025-09-30 14:11:04','2025-10-12 09:49:56',NULL),(179,14,'A8:87:B3:23:4F:BF','255616518439','2025-09-30 16:14:46','2025-09-30 16:14:46',NULL),(180,2,'4A:16:D9:48:F9:0B','255762986292','2025-09-30 19:00:35','2025-10-01 18:22:02',NULL),(181,13,'F8:2E:3F:C2:26:47','255788227701','2025-09-30 19:32:19','2025-09-30 19:32:19',NULL),(182,14,'F2:1F:42:EB:44:71','255616594966','2025-10-01 08:19:02','2025-10-01 08:19:02',NULL),(183,14,'F6:64:11:4D:F5:90','255687596450','2025-10-01 09:25:29','2025-10-01 09:25:29',NULL),(184,14,'AE:7F:25:63:4C:93','255686103315','2025-10-01 10:45:05','2025-10-01 10:45:05',NULL),(185,14,'12:30:2C:AB:37:7E','255712876399','2025-10-01 11:01:24','2025-10-03 09:27:51',NULL),(186,15,'F6:A1:80:80:71:F8','255767967942','2025-10-01 15:42:32','2025-10-07 12:42:02',NULL),(187,14,'AC:29:29:4A:C3:C3','255785980372','2025-10-01 18:52:46','2025-10-01 18:52:46',NULL),(188,9,'5A:2D:A2:9E:96:EF','255692147994','2025-10-01 19:10:12','2025-10-01 19:10:12',NULL),(189,19,'52:A2:65:65:1A:B8','255688680386','2025-10-01 22:19:52','2025-10-01 22:19:52',NULL),(190,14,'CE:AE:E9:2D:35:C4','255679819855','2025-10-01 23:01:40','2025-10-01 23:01:40',NULL),(191,2,'4E:36:D4:CB:59:EA','255745224063','2025-10-02 17:38:37','2025-10-02 17:38:37',NULL),(192,2,'64:CB:9F:D5:E1:66','255619604821','2025-10-03 03:26:30','2025-10-03 03:26:30',NULL),(193,2,'AA:78:91:3C:3F:A4','255618709910','2025-10-03 06:16:10','2025-10-03 06:16:10',NULL),(194,2,'2A:DA:E1:23:51:37','255680008038','2025-10-03 14:59:20','2025-10-14 10:38:26',NULL),(195,2,'0A:15:6E:77:2E:DE','255762224066','2025-10-03 17:40:35','2025-10-03 17:40:35',NULL),(196,13,'1E:A5:4B:F4:A3:F8','255786147759','2025-10-03 18:32:11','2025-10-03 18:32:11',NULL),(197,2,'00:9D:6B:E4:5B:9E','255755024066','2025-10-03 19:53:04','2025-10-03 19:53:04',NULL),(198,2,'CE:C0:E5:AE:DF:27','255654371727','2025-10-04 11:06:07','2025-10-04 11:06:07',NULL),(199,13,'14:09:DC:07:3E:A9','255783211621','2025-10-04 15:09:40','2025-10-04 15:09:40',NULL),(200,2,'82:3D:CF:B1:31:9B','255741716842','2025-10-04 15:53:13','2025-10-15 16:39:21',NULL),(201,13,'EC:4D:47:35:84:27','255712958704','2025-10-04 22:30:59','2025-10-04 22:30:59',NULL),(202,2,'06:04:75:A8:AE:04','255740770996','2025-10-05 17:11:07','2025-10-06 20:08:31',NULL),(203,2,'BE:13:B8:AF:2F:FD','255795898762','2025-10-05 18:54:28','2025-10-14 15:44:17',NULL),(204,13,'F8:2E:3F:C2:26:46','255756007732','2025-10-05 22:02:27','2025-10-05 22:02:27',NULL),(205,15,'FA:99:35:5F:3A:3B','255764779218','2025-10-06 11:57:08','2025-10-06 11:57:08',NULL),(206,15,'D6:E3:76:92:8D:B1','255767643180','2025-10-06 12:41:28','2025-10-06 12:41:28',NULL),(207,15,'FA:11:F1:41:A3:11','255741531372','2025-10-06 12:52:15','2025-10-17 12:42:19',NULL),(208,2,'CE:E7:4C:B0:16:D2','255742112062','2025-10-06 16:40:29','2025-10-06 16:40:29',NULL),(209,2,'FE:7D:17:D6:B7:19','255679081222','2025-10-07 15:18:05','2025-10-07 15:18:05',NULL),(210,15,'00:01:12:7B:5A:AA','255741742195','2025-10-07 16:06:06','2025-10-07 16:06:06',NULL),(211,14,'14:11:14:81:88:04','255670900955','2025-10-07 18:06:56','2025-10-07 18:06:56',NULL),(212,2,'42:CC:90:DA:81:CB','255772092465','2025-10-08 06:01:29','2025-10-20 18:49:16',NULL),(213,23,'BA:50:71:18:D4:82','255787109988','2025-10-08 08:41:19','2025-10-08 08:41:19',NULL),(214,15,'12:33:FA:AA:AB:11','255620695938','2025-10-08 09:55:39','2025-10-13 11:27:34',NULL),(215,15,'8E:66:93:23:BB:D0','255718726812','2025-10-08 13:43:37','2025-10-08 13:43:37',NULL),(216,15,'0E:AB:19:C4:3B:C9','255784866422','2025-10-08 13:57:36','2025-10-15 16:45:37',NULL),(217,2,'66:69:37:E7:6B:00','255763919160','2025-10-08 19:34:06','2025-10-08 19:34:06',NULL),(218,14,'2A:3A:87:41:FA:B8','255784750017','2025-10-09 06:40:28','2025-10-09 06:40:28',NULL),(219,15,'56:44:57:EB:B1:B4','255745548284','2025-10-09 08:21:04','2025-10-20 07:01:45',NULL),(220,2,'5E:31:65:EC:DD:43','255742645284','2025-10-09 09:28:30','2025-10-12 13:55:13',NULL),(221,2,'AE:A7:4D:CE:89:BF','255694925142','2025-10-09 10:26:28','2025-10-09 10:26:28',NULL),(222,13,'CA:2F:DE:09:AE:46','255759781219','2025-10-09 11:50:52','2025-10-09 11:50:52',NULL),(223,2,'EE:20:C1:F6:95:D2','255767407821','2025-10-09 14:38:33','2025-10-09 14:38:33',NULL),(224,13,'F8:2E:3F:C2:26:47','255618842875','2025-10-09 15:55:11','2025-10-09 15:55:11',NULL),(225,2,'82:3D:CF:B1:31:9B','255767512601','2025-10-10 08:00:00','2025-10-14 17:05:21',NULL),(226,15,'1E:EE:51:91:C9:F4','255695486181','2025-10-10 09:50:12','2025-10-14 10:57:04',NULL),(227,13,'14:09:DC:07:3E:A9','255653799918','2025-10-10 12:46:43','2025-10-10 12:46:43',NULL),(228,14,'1A:5F:7B:D5:4C:9C','255680941555','2025-10-10 14:35:03','2025-10-10 14:35:03',NULL),(229,5,'C2:10:70:97:6D:A5','255744581643','2025-10-10 14:37:46','2025-10-10 14:37:46',NULL),(230,2,'46:00:30:39:06:BD','255623695325','2025-10-11 06:56:34','2025-10-11 06:56:34',NULL),(231,14,'22:20:0A:03:AC:61','255694468951','2025-10-11 10:15:26','2025-10-11 10:15:26',NULL),(232,14,'AE:92:31:B0:20:03','255761957270','2025-10-11 13:46:28','2025-10-11 13:46:28',NULL),(233,14,'14:11:14:81:88:04','255714223920','2025-10-11 14:34:45','2025-10-11 14:34:45',NULL),(234,15,'B6:89:48:3E:45:9B','255744824749','2025-10-11 15:30:39','2025-10-11 15:30:39',NULL),(235,2,'0A:47:1B:5E:1E:BC','255780232928','2025-10-11 17:15:58','2025-10-11 17:15:58',NULL),(236,13,'0E:25:8E:23:47:6D','255713329303','2025-10-11 19:17:19','2025-10-11 19:17:19',NULL),(237,2,'1A:AD:C3:02:AB:DA','255741402687','2025-10-11 19:39:34','2025-10-11 19:39:34',NULL),(238,14,'92:59:BE:44:64:A2','255711575242','2025-10-11 21:03:29','2025-10-11 21:03:29',NULL),(239,2,'B2:1A:49:7E:1F:58','255621348786','2025-10-12 07:32:49','2025-10-12 07:32:49',NULL),(240,15,'22:4C:7D:8D:E2:A6','255742884469','2025-10-12 11:30:54','2025-10-12 11:30:54',NULL),(241,2,'7E:28:9B:C1:AB:64','255713413970','2025-10-12 12:43:25','2025-10-12 12:43:25',NULL),(242,2,'22:0C:FE:A8:E4:7B','255764557507','2025-10-12 18:20:39','2025-10-12 18:20:39',NULL),(243,2,'06:C2:96:BF:C6:A5','255782778877','2025-10-13 10:42:29','2025-10-13 10:42:29',NULL),(244,15,'B6:AE:DC:AE:9E:57','255746466465','2025-10-13 18:57:35','2025-10-13 18:57:35',NULL),(245,13,'F8:2E:3F:C2:26:47','255753426608','2025-10-14 06:51:19','2025-10-14 06:51:19',NULL),(246,2,'80:38:96:2B:FA:68','255619570756','2025-10-14 20:26:00','2025-10-14 20:26:00',NULL),(247,2,'CE:D5:26:D6:BE:9F','255670339170','2025-10-15 08:09:46','2025-10-15 08:09:46',NULL),(248,2,'1E:43:B2:97:E8:AE','255742718038','2025-10-15 09:53:40','2025-10-15 09:53:40',NULL),(249,2,'FE:AC:AA:09:8B:E5','255748334099','2025-10-16 07:08:10','2025-10-16 07:08:10',NULL),(250,2,'38:CA:73:72:CF:B0','255747933664','2025-10-16 07:33:15','2025-10-16 07:33:15',NULL),(251,13,'2A:CC:7E:77:B7:9A','255623275775','2025-10-16 18:17:20','2025-10-16 18:17:20',NULL),(252,13,'F8:2E:3F:C2:26:47','255760255178','2025-10-16 19:06:17','2025-10-16 19:06:17',NULL),(253,2,'76:37:43:48:70:A8','255748825145','2025-10-16 20:57:40','2025-10-16 20:57:40',NULL),(254,13,'14:09:DC:07:3E:A9','255786018539','2025-10-17 13:29:00','2025-10-17 13:29:00',NULL),(255,13,'F8:2E:3F:C2:26:46','255752490712','2025-10-18 07:56:41','2025-10-18 07:56:41',NULL),(256,2,'92:85:32:EB:61:BE','255659949755','2025-10-18 12:37:10','2025-10-18 12:37:10',NULL),(257,2,'E6:AD:BE:BE:1C:F9','255764010635','2025-10-18 18:13:23','2025-10-18 18:13:23',NULL),(258,13,'76:CD:64:29:1D:68','255684907013','2025-10-19 08:46:46','2025-10-19 08:46:46',NULL),(259,2,'42:6E:6A:EA:58:EC','255787864552','2025-10-19 10:16:17','2025-10-19 10:16:17',NULL),(260,13,'CA:7D:4A:27:49:98','255620461286','2025-10-19 18:14:11','2025-10-19 18:14:11',NULL),(261,2,'BA:DF:A0:4F:FC:50','255691154799','2025-10-19 21:34:57','2025-10-19 21:34:57',NULL),(262,2,'CA:CE:EF:52:D2:21','255759727393','2025-10-20 14:09:53','2025-10-20 14:09:53',NULL),(263,2,'02:B9:EF:2A:02:7D','255749522712','2025-10-20 15:41:26','2025-10-20 15:41:26',NULL),(264,2,'26:C2:3C:DC:C7:89','255628187856','2025-10-20 19:46:18','2025-10-20 19:46:18',NULL);

--
-- Table structure for table `company_router_interfaces`
--

CREATE TABLE `company_router_interfaces` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_router_id` bigint unsigned NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_router_interfaces_company_router_id_foreign` (`company_router_id`),
  CONSTRAINT `company_router_interfaces_company_router_id_foreign` FOREIGN KEY (`company_router_id`) REFERENCES `company_routers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=144 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_router_interfaces`
--

INSERT INTO `company_router_interfaces` VALUES (9,2,'ether1',1,'2025-08-05 17:44:20','2025-08-05 17:44:20',NULL),(10,2,'ether3',1,'2025-08-05 17:44:20','2025-08-05 17:44:20',NULL),(11,2,'ether4',1,'2025-08-05 17:44:20','2025-08-05 17:44:20',NULL),(12,2,'ether5',1,'2025-08-05 17:44:20','2025-08-05 17:44:20',NULL),(13,2,'bridge',1,'2025-08-05 17:44:20','2025-08-05 17:44:20',NULL),(14,2,'lo',1,'2025-08-05 17:44:20','2025-08-05 17:44:20',NULL),(15,2,'ovpn-out1',1,'2025-08-05 17:44:20','2025-08-05 17:44:20',NULL),(25,5,'ether1',1,'2025-08-26 18:11:46','2025-08-26 18:11:46',NULL),(26,5,'ether3',1,'2025-08-26 18:11:46','2025-08-26 18:11:46',NULL),(27,5,'ether4',1,'2025-08-26 18:11:46','2025-08-26 18:11:46',NULL),(28,5,'ether5',1,'2025-08-26 18:11:46','2025-08-26 18:11:46',NULL),(29,5,'bridge',1,'2025-08-26 18:11:46','2025-08-26 18:11:46',NULL),(30,5,'ovpn-out1',1,'2025-08-26 18:11:46','2025-08-26 18:11:46',NULL),(31,7,'ether1',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(32,7,'ether2',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(33,7,'ether3',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(34,7,'ether5',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(35,7,'ether6',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(36,7,'ether7',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(37,7,'ether8',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(38,7,'sfp1',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(39,7,'bridge',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(40,7,'lo',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(41,7,'ovpn-out1',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(42,7,'wifi1',1,'2025-08-29 20:13:38','2025-08-29 20:13:38',NULL),(43,10,'ether1',1,'2025-09-09 10:51:17','2025-09-09 10:51:17',NULL),(44,10,'ether2',1,'2025-09-09 10:51:17','2025-09-09 10:51:17',NULL),(45,10,'ether3',1,'2025-09-09 10:51:17','2025-09-09 10:51:17',NULL),(46,10,'RS',1,'2025-09-09 10:51:17','2025-09-09 10:51:17',NULL),(47,10,'R',1,'2025-09-09 10:51:17','2025-09-09 10:51:17',NULL),(48,10,'ovpn-out1',1,'2025-09-09 10:51:17','2025-09-09 10:51:17',NULL),(49,13,'ether1',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(50,13,'ether2',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(51,13,'ether3',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(52,13,'RS',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(53,13,'ether5',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(54,13,'ether6',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(55,13,'ether7',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(56,13,'ether8',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(57,13,'ether10',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(58,13,'sfp1',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(59,13,'wlan1',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(60,13,'R',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(61,13,'ovpn-out1',1,'2025-09-26 13:47:49','2025-09-26 13:47:49',NULL),(62,14,'ether1',1,'2025-09-28 15:46:40','2025-09-28 15:46:40',NULL),(63,14,'ether2',1,'2025-09-28 15:46:40','2025-09-28 15:46:40',NULL),(64,14,'RS',1,'2025-09-28 15:46:40','2025-09-28 15:46:40',NULL),(65,14,'ether4',1,'2025-09-28 15:46:40','2025-09-28 15:46:40',NULL),(66,14,'ether5',1,'2025-09-28 15:46:40','2025-09-28 15:46:40',NULL),(67,14,'wlan1',1,'2025-09-28 15:46:40','2025-09-28 15:46:40',NULL),(68,14,'R',1,'2025-09-28 15:46:40','2025-09-28 15:46:40',NULL),(69,14,'ovpn-out1',1,'2025-09-28 15:46:40','2025-09-28 15:46:40',NULL),(70,15,'ether1',1,'2025-09-29 12:03:50','2025-09-29 12:03:50',NULL),(71,15,'ether3',1,'2025-09-29 12:03:50','2025-09-29 12:03:50',NULL),(72,15,'ether4',1,'2025-09-29 12:03:50','2025-09-29 12:03:50',NULL),(73,15,'ether5',1,'2025-09-29 12:03:50','2025-09-29 12:03:50',NULL),(74,15,'ether6',1,'2025-09-29 12:03:50','2025-09-29 12:03:50',NULL),(75,15,'ether7',1,'2025-09-29 12:03:50','2025-09-29 12:03:50',NULL),(76,15,'ether8',1,'2025-09-29 12:03:50','2025-09-29 12:03:50',NULL),(77,15,'sfp1',1,'2025-09-29 12:03:50','2025-09-29 12:03:50',NULL),(78,15,'bridge',1,'2025-09-29 12:03:50','2025-09-29 12:03:50',NULL),(79,15,'lo',1,'2025-09-29 12:03:50','2025-09-29 12:03:50',NULL),(80,15,'ovpn-out1',1,'2025-09-29 12:03:50','2025-09-29 12:03:50',NULL),(81,15,'wifi1',1,'2025-09-29 12:03:50','2025-09-29 12:03:50',NULL),(82,16,'ether1',1,'2025-09-29 17:06:37','2025-09-29 17:06:37',NULL),(83,16,'ether3',1,'2025-09-29 17:06:37','2025-09-29 17:06:37',NULL),(84,16,'ether4',1,'2025-09-29 17:06:37','2025-09-29 17:06:37',NULL),(85,16,'ether5',1,'2025-09-29 17:06:37','2025-09-29 17:06:37',NULL),(86,16,'ether6',1,'2025-09-29 17:06:37','2025-09-29 17:06:37',NULL),(87,16,'ether7',1,'2025-09-29 17:06:37','2025-09-29 17:06:37',NULL),(88,16,'ether8',1,'2025-09-29 17:06:37','2025-09-29 17:06:37',NULL),(89,16,'ether9',1,'2025-09-29 17:06:37','2025-09-29 17:06:37',NULL),(90,16,'ether10',1,'2025-09-29 17:06:37','2025-09-29 17:06:37',NULL),(91,16,'sfp1',1,'2025-09-29 17:06:37','2025-09-29 17:06:37',NULL),(92,16,'bridge',1,'2025-09-29 17:06:37','2025-09-29 17:06:37',NULL),(93,16,'ovpn-out1',1,'2025-09-29 17:06:37','2025-09-29 17:06:37',NULL),(94,19,'ether1',1,'2025-10-01 16:33:53','2025-10-01 16:33:53',NULL),(95,19,'RS',1,'2025-10-01 16:33:54','2025-10-01 16:33:54',NULL),(96,19,'ether3',1,'2025-10-01 16:33:54','2025-10-01 16:33:54',NULL),(97,19,'ether4',1,'2025-10-01 16:33:54','2025-10-01 16:33:54',NULL),(98,19,'ether5',1,'2025-10-01 16:33:54','2025-10-01 16:33:54',NULL),(99,19,'wlan1',1,'2025-10-01 16:33:54','2025-10-01 16:33:54',NULL),(100,19,'R',1,'2025-10-01 16:33:54','2025-10-01 16:33:54',NULL),(101,19,'ovpn-out1',1,'2025-10-01 16:33:54','2025-10-01 16:33:54',NULL),(102,20,'ether1',1,'2025-10-03 09:48:37','2025-10-03 09:48:37',NULL),(103,20,'ether2',1,'2025-10-03 09:48:37','2025-10-03 09:48:37',NULL),(104,20,'ether3',1,'2025-10-03 09:48:37','2025-10-03 09:48:37',NULL),(105,20,'ether4',1,'2025-10-03 09:48:37','2025-10-03 09:48:37',NULL),(106,20,'ether5',1,'2025-10-03 09:48:37','2025-10-03 09:48:37',NULL),(107,20,'RS',1,'2025-10-03 09:48:37','2025-10-03 09:48:37',NULL),(108,20,'R',1,'2025-10-03 09:48:37','2025-10-03 09:48:37',NULL),(109,20,'ovpn-out1',1,'2025-10-03 09:48:37','2025-10-03 09:48:37',NULL),(110,21,'ether1',1,'2025-10-04 13:30:37','2025-10-04 13:30:37',NULL),(111,21,'RS',1,'2025-10-04 13:30:37','2025-10-04 13:30:37',NULL),(112,21,'ether3',1,'2025-10-04 13:30:37','2025-10-04 13:30:37',NULL),(113,21,'ether4',1,'2025-10-04 13:30:37','2025-10-04 13:30:37',NULL),(114,21,'ether5',1,'2025-10-04 13:30:37','2025-10-04 13:30:37',NULL),(115,21,'wlan1',1,'2025-10-04 13:30:37','2025-10-04 13:30:37',NULL),(116,21,'XS',1,'2025-10-04 13:30:37','2025-10-04 13:30:37',NULL),(117,21,'R',1,'2025-10-04 13:30:37','2025-10-04 13:30:37',NULL),(118,21,'ovpn-out1',1,'2025-10-04 13:30:37','2025-10-04 13:30:37',NULL),(119,22,'ether1',1,'2025-10-04 15:53:56','2025-10-04 15:53:56',NULL),(120,22,'RS',1,'2025-10-04 15:53:56','2025-10-04 15:53:56',NULL),(121,22,'ether3',1,'2025-10-04 15:53:56','2025-10-04 15:53:56',NULL),(122,22,'ether4',1,'2025-10-04 15:53:56','2025-10-04 15:53:56',NULL),(123,22,'ether5',1,'2025-10-04 15:53:56','2025-10-04 15:53:56',NULL),(124,22,'wlan1',1,'2025-10-04 15:53:56','2025-10-04 15:53:56',NULL),(125,22,'R',1,'2025-10-04 15:53:56','2025-10-04 15:53:56',NULL),(126,22,'ovpn-out1',1,'2025-10-04 15:53:56','2025-10-04 15:53:56',NULL),(127,23,'ether1-ISP',1,'2025-10-07 18:24:55','2025-10-07 18:24:55',NULL),(128,23,'RS',1,'2025-10-07 18:24:55','2025-10-07 18:24:55',NULL),(129,23,'ether3-HOTSPOT',1,'2025-10-07 18:24:55','2025-10-07 18:24:55',NULL),(130,23,'ether4-HOTSPOT',1,'2025-10-07 18:24:55','2025-10-07 18:24:55',NULL),(131,23,'ether5-HOTSPOT',1,'2025-10-07 18:24:55','2025-10-07 18:24:55',NULL),(132,23,'wlan1',1,'2025-10-07 18:24:55','2025-10-07 18:24:55',NULL),(133,23,'bridge',1,'2025-10-07 18:24:55','2025-10-07 18:24:55',NULL),(134,23,'lo',1,'2025-10-07 18:24:55','2025-10-07 18:24:55',NULL),(135,23,'ovpn-out1',1,'2025-10-07 18:24:55','2025-10-07 18:24:55',NULL),(136,26,'ether1',1,'2025-10-11 15:24:14','2025-10-11 15:24:14',NULL),(137,26,'ether2',1,'2025-10-11 15:24:14','2025-10-11 15:24:14',NULL),(138,26,'ether3',1,'2025-10-11 15:24:14','2025-10-11 15:24:14',NULL),(139,26,'ether4',1,'2025-10-11 15:24:14','2025-10-11 15:24:14',NULL),(140,26,'ether5',1,'2025-10-11 15:24:14','2025-10-11 15:24:14',NULL),(141,26,'RS',1,'2025-10-11 15:24:14','2025-10-11 15:24:14',NULL),(142,26,'R',1,'2025-10-11 15:24:14','2025-10-11 15:24:14',NULL),(143,26,'ovpn-out1',1,'2025-10-11 15:24:14','2025-10-11 15:24:14',NULL);

--
-- Table structure for table `company_router_invoice_payments`
--

CREATE TABLE `company_router_invoice_payments` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `router_invoice_id` int NOT NULL,
  `grouped_transaction_id` bigint unsigned NOT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `commission_amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_router_invoice_payments_grouped_transaction_id_foreign` (`grouped_transaction_id`),
  CONSTRAINT `company_router_invoice_payments_grouped_transaction_id_foreign` FOREIGN KEY (`grouped_transaction_id`) REFERENCES `grouped_transactions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_router_invoice_payments`
--

INSERT INTO `company_router_invoice_payments` VALUES (1,6,1,21000.00,0.00,'2025-08-28 06:42:22','2025-08-28 06:42:22',NULL),(2,10,2,21000.00,0.00,'2025-09-10 17:38:47','2025-09-10 17:38:47',NULL),(3,11,3,21000.00,0.00,'2025-09-18 14:40:49','2025-09-18 14:40:49',NULL),(4,13,4,21000.00,0.00,'2025-09-27 15:04:44','2025-09-27 15:04:44',NULL),(5,16,5,21000.00,0.00,'2025-10-01 12:28:16','2025-10-01 12:28:16',NULL),(6,17,6,21000.00,0.00,'2025-10-02 06:41:55','2025-10-02 06:41:55',NULL),(7,21,7,21000.00,0.00,'2025-10-03 12:19:17','2025-10-03 12:19:17',NULL);

--
-- Table structure for table `company_router_invoices`
--

CREATE TABLE `company_router_invoices` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `company_router_id` bigint unsigned NOT NULL,
  `from_date` timestamp NOT NULL,
  `to_date` timestamp NOT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `status` int NOT NULL DEFAULT '0' COMMENT '0=pending, 1=paid',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_router_invoices_company_router_id_foreign` (`company_router_id`),
  CONSTRAINT `company_router_invoices_company_router_id_foreign` FOREIGN KEY (`company_router_id`) REFERENCES `company_routers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_router_invoices`
--

INSERT INTO `company_router_invoices` VALUES (2,'1052P9',2,'2025-08-04 22:00:00','2025-09-04 22:00:00',1000.00,0,'2025-08-05 16:56:56','2025-08-28 13:27:33','2025-08-28 13:27:33'),(5,'L3POA9',5,'2025-08-17 22:00:00','2025-09-17 22:00:00',21000.00,0,'2025-08-18 17:15:11','2025-08-28 06:45:33',NULL),(6,'UMORD7',6,'2025-08-25 22:00:00','2025-09-25 22:00:00',21000.00,1,'2025-08-26 13:06:13','2025-08-28 06:42:22',NULL),(7,'LIM5SR',7,'2025-08-28 22:00:00','2025-09-28 22:00:00',21000.00,0,'2025-08-29 19:10:58','2025-08-29 19:10:58',NULL),(8,'UA4N6X',8,'2025-08-29 22:00:00','2025-09-29 22:00:00',21000.00,0,'2025-08-30 06:58:45','2025-08-30 06:58:45',NULL),(9,'XKAGB1',9,'2025-09-05 22:00:00','2025-10-05 22:00:00',21000.00,0,'2025-09-06 06:09:37','2025-09-25 06:34:59',NULL),(10,'IFBS2J',10,'2025-09-08 22:00:00','2025-10-08 22:00:00',21000.00,1,'2025-09-09 09:33:08','2025-09-10 17:38:47',NULL),(11,'O2YFSQ',11,'2025-09-17 22:00:00','2025-10-17 22:00:00',21000.00,1,'2025-09-18 14:24:23','2025-09-18 14:40:49',NULL),(12,'YXDQ1H',12,'2025-09-24 22:00:00','2025-10-24 22:00:00',21000.00,0,'2025-09-25 11:55:26','2025-09-25 11:55:26',NULL),(13,'2IS8WQ',13,'2025-09-25 22:00:00','2025-10-25 22:00:00',21000.00,1,'2025-09-26 08:35:02','2025-09-27 15:04:44',NULL),(14,'R3WP1U',6,'2025-09-27 22:00:00','2025-10-27 23:00:00',21000.00,0,'2025-09-28 06:00:33','2025-09-28 06:00:33',NULL),(15,'YGTP9N',14,'2025-09-27 22:00:00','2025-10-27 23:00:00',21000.00,0,'2025-09-28 14:43:39','2025-09-28 14:43:39',NULL),(16,'BEO5CU',15,'2025-09-28 22:00:00','2025-10-28 23:00:00',21000.00,1,'2025-09-29 10:07:30','2025-10-01 12:28:16',NULL),(17,'LG0OC1',16,'2025-09-28 22:00:00','2025-10-28 23:00:00',21000.00,1,'2025-09-29 16:41:08','2025-10-02 06:41:55',NULL),(18,'T3BUIG',17,'2025-09-29 22:00:00','2025-10-29 23:00:00',21000.00,0,'2025-09-30 08:49:41','2025-09-30 08:49:41',NULL),(19,'V5CJ14',18,'2025-09-29 22:00:00','2025-10-29 23:00:00',21000.00,0,'2025-09-30 09:13:04','2025-09-30 09:13:04',NULL),(20,'D5PAZM',19,'2025-09-30 22:00:00','2025-10-31 23:00:00',21000.00,0,'2025-10-01 16:23:50','2025-10-01 16:23:50',NULL),(21,'2QUX6H',20,'2025-10-02 22:00:00','2025-11-02 23:00:00',21000.00,1,'2025-10-03 09:04:23','2025-10-03 12:19:17',NULL),(22,'78BA5U',21,'2025-10-03 22:00:00','2025-11-03 23:00:00',21000.00,0,'2025-10-04 13:01:27','2025-10-04 13:01:27',NULL),(23,'M8Z2W9',22,'2025-10-03 22:00:00','2025-11-03 23:00:00',21000.00,0,'2025-10-04 15:30:12','2025-10-04 15:30:12',NULL),(24,'3EQ5WR',23,'2025-10-06 22:00:00','2025-11-06 23:00:00',21000.00,0,'2025-10-07 18:10:55','2025-10-07 18:10:55',NULL),(25,'3SMYQP',24,'2025-10-07 22:00:00','2025-11-07 23:00:00',21000.00,0,'2025-10-08 07:47:36','2025-10-08 07:47:36',NULL),(26,'QYAL7V',25,'2025-10-10 22:00:00','2025-11-10 23:00:00',21000.00,0,'2025-10-11 11:22:25','2025-10-11 11:22:25',NULL),(27,'XH5SWE',26,'2025-10-10 22:00:00','2025-11-10 23:00:00',21000.00,0,'2025-10-11 14:29:17','2025-10-11 14:29:17',NULL),(28,'Q28N53',27,'2025-10-15 22:00:00','2025-11-15 23:00:00',21000.00,0,'2025-10-16 06:14:37','2025-10-16 06:14:37',NULL),(29,'75KW6S',11,'2025-10-17 22:00:00','2025-11-17 23:00:00',21000.00,0,'2025-10-18 06:02:01','2025-10-18 06:02:01',NULL);

--
-- Table structure for table `company_routers`
--

CREATE TABLE `company_routers` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `company_id` bigint unsigned NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `ip_address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `public_ip` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `username` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `api_port` int NOT NULL DEFAULT '8728',
  `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `subscription_amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `expiry_date` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `customer_care_phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `online_status` int NOT NULL DEFAULT '1' COMMENT '0=offline, 1=online',
  `online_status_counter` int NOT NULL DEFAULT '0',
  `file_location` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transaction_frequency_id` bigint unsigned DEFAULT NULL,
  `next_transaction_date` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `hotspot_anti_sharing_enabled` int NOT NULL DEFAULT '0' COMMENT '0=no, 1=yes',
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active, 2=expired',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `company_routers_ip_address_unique` (`ip_address`),
  UNIQUE KEY `company_routers_public_ip_unique` (`public_ip`),
  KEY `company_routers_company_id_foreign` (`company_id`),
  KEY `company_routers_transaction_frequency_id_foreign` (`transaction_frequency_id`),
  CONSTRAINT `company_routers_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `company_routers_transaction_frequency_id_foreign` FOREIGN KEY (`transaction_frequency_id`) REFERENCES `transaction_frequencies` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_routers`
--

INSERT INTO `company_routers` VALUES (2,'GI6BYT',8,'Ngoni Net 1','50.50.50.2','161.97.174.20:16758','ngoni',8728,'48DWVF',0.00,'2025-09-30','0716583413',1,0,NULL,1,'2025-08-05',1,1,'2025-08-05 16:56:56','2025-10-20 18:35:38',NULL),(5,'YE6B2O',8,'Machinga Complex','50.50.50.5','161.97.174.20:11566','heritage',8728,'0HAWV2',21000.00,'2025-08-26','0763752350',0,0,NULL,NULL,NULL,1,1,'2025-08-18 17:15:11','2025-10-19 14:44:48',NULL),(6,'83WYM2',11,'Mwamba','50.50.50.6','161.97.174.20:18680','heritage',8728,'5ZISPW',21000.00,'2025-09-28','0786000803',0,0,'flash',NULL,NULL,1,0,'2025-08-26 13:06:13','2025-10-02 06:50:09',NULL),(7,'O37YGC',13,'La Zungu','50.50.50.7','161.97.174.20:18875','heritage',8728,'6ZNHLJ',21000.00,'2025-08-29','0754578434',0,5,NULL,NULL,NULL,1,2,'2025-08-29 19:10:58','2025-10-08 17:01:12',NULL),(8,'9N2EL1',14,'MwendoKasi','50.50.50.8',NULL,'heritage',8728,'heritage@2025',21000.00,'2025-08-30','0696849400',0,3,NULL,NULL,NULL,0,0,'2025-08-30 06:58:45','2025-10-02 18:50:56',NULL),(9,'D2WHM9',16,'Street Mesh','50.50.50.9','161.97.174.20:10194','heritage',8728,'X71WBR',21000.00,'2025-10-25','0747777710',0,3,'flash',NULL,NULL,1,2,'2025-09-06 06:09:37','2025-10-01 22:49:31',NULL),(10,'31DRYJ',17,'Mr Bando Internet Services','50.50.50.10','161.97.174.20:18997','heritage',8728,'L7BDGY',21000.00,'2025-10-10','0780601042',0,0,'flash',NULL,NULL,1,0,'2025-09-09 09:33:08','2025-09-11 06:52:45',NULL),(11,'43ORCJ',18,'G NJARO','50.50.50.11','161.97.174.20:10200','heritage',8728,'3R02DL',21000.00,'2025-10-18','0769932392',0,3,'flash',NULL,NULL,1,2,'2025-09-18 14:24:23','2025-10-18 12:37:33',NULL),(12,'9TGQOX',19,'Router12','50.50.50.12',NULL,'heritage',8728,'heritage@2025',21000.00,'2025-10-28','07577006671',0,3,NULL,NULL,NULL,0,2,'2025-09-25 11:55:26','2025-09-28 08:16:03',NULL),(13,'XH6WF3',20,'Mkiwa','50.50.50.13','161.97.174.20:19708','heritage',8728,'2VCSLF',21000.00,'2025-10-30','0788443614',1,0,NULL,NULL,NULL,0,1,'2025-09-26 08:35:02','2025-10-20 22:02:44',NULL),(14,'BJX2SV',21,'Kitonga','50.50.50.14','161.97.174.20:19796','heritage',8728,'N8MAJS',21000.00,'2025-10-30','0765288577',0,3,NULL,NULL,NULL,0,1,'2025-09-28 14:43:39','2025-10-12 15:42:23',NULL),(15,'F1TDMC',22,'Mshua Net','50.50.50.15','161.97.174.20:19673','heritage',8728,'9721RV',21000.00,'2025-10-31','0679254949',1,2,NULL,NULL,NULL,0,1,'2025-09-29 10:07:30','2025-10-20 18:54:47',NULL),(16,'PJV6KX',23,'ITeam','50.50.50.16','161.97.174.20:13166','heritage',8728,'JEXLR3',21000.00,'2025-10-31','0789431231',0,0,NULL,NULL,NULL,1,1,'2025-09-29 16:41:08','2025-10-11 16:03:09',NULL),(17,'HPW02V',24,'Router17','50.50.50.17',NULL,'heritage',8728,'heritage@2025',21000.00,'2025-09-30','0759920774',0,3,NULL,NULL,NULL,0,2,'2025-09-30 08:49:41','2025-09-30 08:52:32',NULL),(18,'Z03B4N',25,'Ktown','50.50.50.18','161.97.174.20:12008','heritage',8728,'D96KI4',21000.00,'2025-09-30','0783502405',0,3,NULL,NULL,NULL,1,0,'2025-09-30 09:13:04','2025-10-02 17:34:57',NULL),(19,'QEPFU3',26,'WiFi Net','50.50.50.19','161.97.174.20:11861','heritage',8728,'F8KRT3',21000.00,'2025-10-03','0688680386',0,3,NULL,NULL,NULL,0,2,'2025-10-01 16:23:50','2025-10-06 19:18:51',NULL),(20,'FY3HV7',27,'Twistechs','50.50.50.20','161.97.174.20:16370','heritage',8728,'4ERWVN',21000.00,'2025-11-03','22999985858',1,0,NULL,NULL,NULL,1,1,'2025-10-03 09:04:23','2025-10-20 11:52:50',NULL),(21,'37PHMJ',28,'Wakizungu','50.50.50.21',NULL,'heritage',8728,'heritage@2025',21000.00,'2025-10-04','0744002165',0,3,'flash',NULL,NULL,0,2,'2025-10-04 13:01:27','2025-10-20 20:02:53',NULL),(22,'R9UY6D',29,'Trekker','50.50.50.22','161.97.174.20:10154','heritage',8728,'CV4Y75',21000.00,'2025-10-04','256787176354',1,1,NULL,NULL,NULL,0,2,'2025-10-04 15:30:12','2025-10-20 12:50:52',NULL),(23,'FWDKP4',30,'Zurich','50.50.50.23','161.97.174.20:18285','heritage',8728,'ND5S2K',21000.00,'2025-10-07','0787109988',0,0,'flash',NULL,NULL,0,2,'2025-10-07 18:10:55','2025-10-11 16:22:52',NULL),(24,'D69E8Z',31,'JNET','50.50.50.24',NULL,'heritage',8728,'heritage@2025',21000.00,'2025-10-08','07778198889',0,3,'flash',NULL,NULL,0,2,'2025-10-08 07:47:36','2025-10-08 12:30:30',NULL),(25,'XAFKM2',32,'Moxetech','50.50.50.25','161.97.174.20:14243','heritage',8728,'72MSPJ',21000.00,'2025-10-11','0778180076',1,0,NULL,NULL,NULL,1,2,'2025-10-11 11:22:25','2025-10-20 22:04:59',NULL),(26,'4D26LZ',33,'Trial','50.50.50.26',NULL,'heritage',8728,'heritage@2025',21000.00,'2025-10-11','0712345',0,3,NULL,NULL,NULL,0,2,'2025-10-11 14:29:17','2025-10-12 18:38:43',NULL),(27,'EA7G54',34,'Router27','50.50.50.27',NULL,'heritage',8728,'heritage@2025',21000.00,'2025-10-16','0696011778',0,3,NULL,NULL,NULL,0,2,'2025-10-16 06:14:37','2025-10-16 06:17:54',NULL);

--
-- Table structure for table `company_service_plans`
--

CREATE TABLE `company_service_plans` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `company_id` bigint unsigned NOT NULL,
  `service_plan_id` bigint unsigned NOT NULL,
  `company_router_id` bigint unsigned DEFAULT NULL,
  `company_ip_pool_id` int DEFAULT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `download_limit` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `download_scale` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `upload_limit` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `upload_scale` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `burst_download_limit` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `burst_download_scale` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `burst_time` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `shared_users` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `valid_for` decimal(8,2) NOT NULL DEFAULT '1.00',
  `plan_validity_type_id` int DEFAULT NULL,
  `cost` decimal(8,2) NOT NULL DEFAULT '0.00',
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_service_plans_company_id_foreign` (`company_id`),
  KEY `company_service_plans_service_plan_id_foreign` (`service_plan_id`),
  KEY `company_service_plans_company_router_id_foreign` (`company_router_id`),
  CONSTRAINT `company_service_plans_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `company_service_plans_company_router_id_foreign` FOREIGN KEY (`company_router_id`) REFERENCES `company_routers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `company_service_plans_service_plan_id_foreign` FOREIGN KEY (`service_plan_id`) REFERENCES `service_plans` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=144 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_service_plans`
--

INSERT INTO `company_service_plans` VALUES (6,'F3L651',8,1,2,3,'1 Hour','5','M','5','M',NULL,NULL,NULL,'1',1.00,2,210.00,1,'2025-08-05 17:49:04','2025-10-17 21:12:52','2025-10-17 21:12:52'),(7,'YPH8AG',8,1,2,3,'3 Hours','3','M','2','M',NULL,NULL,NULL,'1',3.00,2,300.00,1,'2025-08-05 17:49:42','2025-08-31 19:13:23',NULL),(8,'RN5IOU',8,1,2,3,'12 Hours','3','M','3','M',NULL,NULL,NULL,'1',12.00,2,500.00,1,'2025-08-05 17:50:05','2025-08-28 22:28:21',NULL),(9,'SHZN7L',8,1,2,3,'24 Hours','3','M','3','M',NULL,NULL,NULL,'1',24.00,2,1000.00,1,'2025-08-05 17:50:21','2025-08-28 22:30:53',NULL),(10,'ICA7K6',8,1,2,3,'7 Day','3','M','3','M',NULL,NULL,NULL,'1',7.00,3,5000.00,1,'2025-08-08 19:52:48','2025-08-18 21:00:20',NULL),(22,'X8D2C0',8,2,2,4,'Kiboko','10','M','10','M',NULL,NULL,NULL,'1',30.00,3,40000.00,1,'2025-08-11 10:11:00','2025-08-11 10:11:00',NULL),(23,'Q3R0VS',8,1,2,3,'Mwezi','3','M','3','M',NULL,NULL,NULL,'1',30.00,3,15000.00,1,'2025-08-14 20:43:56','2025-08-15 18:44:13',NULL),(24,'48IY1U',8,1,2,3,'3 days','03','M','03','M',NULL,NULL,NULL,'1',3.00,3,2500.00,1,'2025-08-14 20:45:13','2025-08-14 20:45:13',NULL),(25,'OP0VN1',8,3,2,NULL,'6mbps/6mbps','3','M','3','M',NULL,NULL,NULL,'1',1.00,3,2000.00,1,'2025-08-19 20:17:59','2025-08-19 20:17:59',NULL),(26,'S3H0WT',8,1,2,3,'2 week','03','M','03','M',NULL,NULL,NULL,'1',14.00,3,7000.00,1,'2025-08-20 11:02:58','2025-08-20 11:02:58',NULL),(27,'0X5KNQ',11,1,6,6,'Ndovu','3','M','3','M',NULL,NULL,NULL,'50',30.00,1,500.00,1,'2025-08-26 17:07:49','2025-08-26 18:55:14','2025-08-26 18:55:14'),(28,'6KXBQV',11,1,6,6,'Chui','5','M','5','M',NULL,NULL,NULL,'1',24.00,2,10000.00,1,'2025-08-26 17:14:36','2025-08-26 18:55:46','2025-08-26 18:55:46'),(29,'X1OSK4',11,1,6,6,'Chui','5','M','5','M',NULL,NULL,NULL,'1',24.00,2,10000.00,1,'2025-08-26 17:14:44','2025-08-26 17:15:12','2025-08-26 17:15:12'),(30,'LTR62D',11,2,6,7,'5 Mbps','5','M','5','M',NULL,NULL,NULL,'1',30.00,3,10000.00,1,'2025-08-26 17:24:27','2025-08-26 21:41:08','2025-08-26 21:41:08'),(31,'R6Z9YE',8,1,5,8,'saa 1','3','M','3','M',NULL,NULL,NULL,'1',1.00,2,210.00,1,'2025-08-26 18:34:22','2025-08-26 18:35:41',NULL),(32,'LHSBZ6',8,1,5,8,'12h','3','M','3','M',NULL,NULL,NULL,'1',12.00,2,500.00,1,'2025-08-26 18:35:06','2025-08-26 18:35:06',NULL),(33,'Z1QWMR',8,1,5,8,'3 days','3','M','3','M',NULL,NULL,NULL,'1',3.00,3,2500.00,1,'2025-08-26 18:36:38','2025-08-26 18:36:38',NULL),(34,'PDSZU1',8,1,5,8,'24hs','3','M','3','M',NULL,NULL,NULL,'1',24.00,2,1000.00,1,'2025-08-26 18:37:51','2025-08-26 18:37:51',NULL),(35,'Y2XKDT',8,1,5,8,'7days','3','M','5','M',NULL,NULL,NULL,'1',7.00,3,5000.00,1,'2025-08-26 18:38:54','2025-10-12 06:07:09',NULL),(36,'LOYQE0',8,1,5,8,'2 weeks','3','M','3','M',NULL,NULL,NULL,'1',14.00,3,8000.00,1,'2025-08-26 18:40:14','2025-08-26 18:40:14',NULL),(37,'04YOGN',8,1,5,8,'30 days','3','M','5','M',NULL,NULL,NULL,'1',30.00,3,20000.00,1,'2025-08-26 18:41:01','2025-08-26 18:41:01',NULL),(38,'YEW603',11,1,6,6,'Masaa 6','100','M','100','M',NULL,NULL,NULL,'1',6.00,2,500.00,1,'2025-08-26 18:56:38','2025-08-28 12:57:08',NULL),(39,'F21X6R',11,1,6,6,'Masaa 24','150','M','150','M',NULL,NULL,NULL,'1',24.00,2,1000.00,1,'2025-08-26 18:58:52','2025-08-28 12:57:25',NULL),(40,'2PGTOV',11,1,6,6,'Siku 7','100','M','100','M',NULL,NULL,NULL,'1',7.00,3,5000.00,1,'2025-08-26 19:00:05','2025-08-28 12:57:46',NULL),(41,'BT1SFP',8,2,5,9,'flash','10','M','10','M',NULL,NULL,NULL,'1',30.00,3,40000.00,1,'2025-08-26 19:37:31','2025-08-26 19:37:31',NULL),(42,'C7SJTZ',8,2,5,9,'swala','5','M','5','M',NULL,NULL,NULL,'1',30.00,3,20000.00,1,'2025-08-26 19:38:42','2025-08-26 19:38:42',NULL),(43,'R4CLS6',13,1,7,10,'Pipi','2','M','5','M',NULL,NULL,NULL,'1',30.00,1,200.00,1,'2025-08-29 20:46:28','2025-08-31 07:25:31','2025-08-31 07:25:31'),(44,'4KDB2L',13,1,7,10,'30 | Nusu saa |','5','M','5','M',NULL,NULL,NULL,'1',30.00,1,200.00,1,'2025-08-31 07:28:52','2025-08-31 07:28:52',NULL),(45,'9ZH6DY',13,1,7,10,'1 Hour','5','M','5','M',NULL,NULL,NULL,'1',1.00,2,300.00,1,'2025-08-31 07:30:35','2025-08-31 07:30:35',NULL),(46,'5IR041',13,1,7,10,'2 Hours','5','M','5','M',NULL,NULL,NULL,'1',2.00,2,400.00,1,'2025-08-31 07:31:43','2025-08-31 07:31:43',NULL),(47,'8SOLGK',13,1,7,10,'4 Hours','8','M','8','M',NULL,NULL,NULL,'1',4.00,2,500.00,1,'2025-08-31 07:33:48','2025-08-31 07:33:48',NULL),(48,'8T6PNO',13,1,7,10,'7 Hours','8','M','8','M',NULL,NULL,NULL,'1',7.00,2,600.00,1,'2025-08-31 07:36:47','2025-08-31 07:36:47',NULL),(49,'25GC3H',13,1,7,10,'8 Hours','8','M','8','M',NULL,NULL,NULL,'1',8.00,2,700.00,1,'2025-08-31 07:38:26','2025-08-31 07:38:26',NULL),(50,'QPVI49',13,1,7,10,'9 Hours','8','M','8','M',NULL,NULL,NULL,'1',9.00,2,800.00,1,'2025-08-31 07:39:40','2025-08-31 07:39:40',NULL),(51,'CM5IHB',13,1,7,10,'12 Hours','8','M','8','M',NULL,NULL,NULL,'1',12.00,2,900.00,1,'2025-08-31 07:44:12','2025-08-31 07:44:12',NULL),(52,'3JX0O4',13,1,7,10,'1 Day','10','M','10','M',NULL,NULL,NULL,'1',1.00,3,1000.00,1,'2025-08-31 07:52:54','2025-08-31 07:52:54',NULL),(53,'3PV8ZA',13,1,7,10,'SIKU MOJA NA NUSU','10','M','10','M',NULL,NULL,NULL,'1',30.00,2,1500.00,1,'2025-08-31 08:13:23','2025-08-31 08:13:23',NULL),(54,'Z7RLWI',13,1,7,10,'3 Days','10','M','10','M',NULL,NULL,NULL,'1',3.00,3,2000.00,1,'2025-08-31 08:14:54','2025-08-31 08:14:54',NULL),(55,'M5FICZ',13,1,7,10,'1 Week','15','M','15','M',NULL,NULL,NULL,'1',7.00,3,4000.00,1,'2025-08-31 08:16:26','2025-08-31 08:16:26',NULL),(56,'VZ2NXP',13,1,7,10,'2 Weeks','15','M','15','M',NULL,NULL,NULL,'1',14.00,3,7500.00,1,'2025-08-31 08:19:55','2025-08-31 08:19:55',NULL),(57,'RMXA0W',13,1,7,10,'3 Weeks','15','M','15','M',NULL,NULL,NULL,'1',21.00,3,12000.00,1,'2025-08-31 08:32:43','2025-08-31 08:32:43',NULL),(58,'BE0OKR',13,1,7,10,'1 Month | Mwezi |','18','M','18','M',NULL,NULL,NULL,'1',28.00,3,15000.00,1,'2025-08-31 08:38:11','2025-08-31 08:38:11',NULL),(59,'CQHY58',16,1,9,12,'Unlimited 12hrs','3','M','3','M',NULL,NULL,NULL,'1',12.00,2,1000.00,1,'2025-09-06 06:53:48','2025-09-29 18:06:05',NULL),(60,'8ZXKH7',16,2,9,13,'Mwezi','10','M','10','M',NULL,NULL,NULL,'1',30.00,3,15000.00,1,'2025-09-06 06:55:07','2025-09-06 06:55:07',NULL),(61,'85EDC4',16,1,9,12,'Mselekeko Spenko','10','M','10','M',NULL,NULL,NULL,'3',30.00,3,30000.00,1,'2025-09-06 18:36:04','2025-09-29 18:04:18','2025-09-29 18:04:18'),(62,'3HA74Q',17,1,10,14,'SIKU','10','M','10','M',NULL,NULL,NULL,'1',24.00,2,1000.00,1,'2025-09-09 11:03:43','2025-09-09 11:03:43',NULL),(63,'TQM92W',17,2,10,15,'MWEZI','10','M','10','M',NULL,NULL,NULL,'1',30.00,3,25000.00,1,'2025-09-09 11:05:23','2025-09-09 11:05:23',NULL),(64,'CH17FV',18,1,11,16,'SIKU','10','M','10','M',NULL,NULL,NULL,'1',1.00,3,1000.00,1,'2025-09-18 14:59:05','2025-09-18 14:59:05',NULL),(65,'7JZES1',18,1,11,16,'VOCHA ZA MASAA 500/=','3','M','3','M',NULL,NULL,NULL,'1',5.00,2,500.00,1,'2025-09-18 15:37:39','2025-09-18 15:37:39',NULL),(66,'8V5GCZ',18,1,11,16,'MWEZI','10','M','10','M',NULL,NULL,NULL,'1',30.00,3,26000.00,1,'2025-09-18 18:29:05','2025-09-18 18:29:05',NULL),(67,'B2N8DJ',18,1,11,16,'WIKI','5','M','5','M',NULL,NULL,NULL,'1',7.00,3,6000.00,1,'2025-09-18 18:30:47','2025-09-18 18:30:47',NULL),(68,'BPG4NY',16,1,9,12,'Unlimited 24Hrs','3','M','3','M',NULL,NULL,NULL,'1',24.00,2,1500.00,1,'2025-09-22 21:35:08','2025-09-29 18:06:55',NULL),(69,'W0F76Z',16,1,9,12,'Unlimited 2Days','3','M','3','M',NULL,NULL,NULL,'1',2.00,3,3000.00,1,'2025-09-23 16:23:46','2025-09-29 18:08:06',NULL),(70,'RVJX80',20,1,13,18,'12 Hours 1 Device','3','M','3','M',NULL,NULL,NULL,'1',12.00,2,1000.00,1,'2025-09-26 13:52:52','2025-09-27 10:20:26',NULL),(71,'FUJ5C1',20,1,13,18,'1 Day 1 Device','3','M','3','M',NULL,NULL,NULL,'1',1.00,3,2000.00,1,'2025-09-26 14:49:07','2025-10-19 20:45:07',NULL),(72,'L51RS7',20,1,13,18,'7 Days 1 Device','3','M','3','M',NULL,NULL,NULL,'1',7.00,3,5500.00,1,'2025-09-26 15:01:08','2025-09-27 10:18:17',NULL),(73,'SQU2YH',20,1,13,18,'3 Day  1 Device','3','M','3','M',NULL,NULL,NULL,'1',3.00,3,3500.00,1,'2025-09-26 15:11:27','2025-09-30 10:12:59',NULL),(74,'DC413I',20,1,13,18,'30 Days 1 Device','3','M','3','M',NULL,NULL,NULL,'1',30.00,3,25000.00,1,'2025-09-27 10:03:18','2025-10-19 20:42:29',NULL),(75,'ER1T6A',20,1,13,18,'30 Days 3 Device','5','M','5','M',NULL,NULL,NULL,'1',30.00,3,35000.00,1,'2025-09-27 10:05:18','2025-10-19 20:43:51',NULL),(76,'2G79IP',20,1,13,18,'7 Days 2 Device','3','M','3','M',NULL,NULL,NULL,'2',7.00,3,10000.00,1,'2025-09-27 10:38:17','2025-10-19 20:46:47',NULL),(77,'G624X3',21,1,14,20,'Masaa 15','5','M','5','M',NULL,NULL,NULL,'1',15.00,2,700.00,1,'2025-09-28 15:52:06','2025-09-28 16:04:19',NULL),(78,'AQM4U8',21,1,14,20,'Masaa 24','5','M','5','M',NULL,NULL,NULL,'1',24.00,2,1000.00,1,'2025-09-28 15:53:09','2025-09-28 16:04:45',NULL),(79,'6GXFQ7',21,1,14,20,'Wiki','5','M','5','M',NULL,NULL,NULL,'1',7.00,3,5000.00,1,'2025-09-28 16:05:07','2025-09-28 16:05:07',NULL),(80,'NUD2OG',21,1,14,20,'Mwezi','5','M','5','M',NULL,NULL,NULL,'1',30.00,3,20000.00,1,'2025-09-28 16:05:31','2025-09-28 16:05:31',NULL),(81,'P4HLM9',22,1,15,22,'2 Hour (BILA KIKOMO)','10','M','10','M',NULL,NULL,NULL,'1',2.00,2,600.00,1,'2025-09-29 12:05:49','2025-10-01 13:58:19',NULL),(82,'WV0O73',22,1,15,22,'3 Hours (BILA KIKOMO)','10','M','10','M',NULL,NULL,NULL,'1',3.00,2,800.00,1,'2025-09-29 12:06:21','2025-10-01 13:59:30',NULL),(83,'J63HKS',23,1,16,24,'JERO 6HRS','5','M','5','M',NULL,NULL,NULL,'1',6.00,2,500.00,1,'2025-09-29 17:08:08','2025-10-01 17:30:07',NULL),(84,'2XJPZY',23,1,16,24,'6 Hours','5','M','5','M',NULL,NULL,NULL,'1',6.00,2,100.00,1,'2025-09-29 17:08:34','2025-09-29 17:10:15','2025-09-29 17:10:15'),(85,'K96LPM',23,1,16,24,'BUKU -24HRS','5','M','5','M',NULL,NULL,NULL,'1',24.00,2,1000.00,1,'2025-09-29 17:11:10','2025-10-01 17:30:43',NULL),(86,'0AIUGL',16,1,9,12,'Unlimited 7Days','3','M','3','M',NULL,NULL,NULL,'1',7.00,3,5000.00,1,'2025-09-29 18:09:17','2025-09-29 18:09:17',NULL),(87,'E14VAJ',16,1,9,12,'Unlimited 14Days','3','M','3','M',NULL,NULL,NULL,'1',14.00,3,10000.00,1,'2025-09-29 18:10:55','2025-09-29 18:10:55',NULL),(88,'L3R9BX',16,1,9,12,'Unlimited 30Days','3','M','3','M',NULL,NULL,NULL,'1',30.00,3,15000.00,1,'2025-09-29 18:12:07','2025-09-29 18:12:07',NULL),(89,'ZXRV6W',23,2,16,24,'islam','10','M','10','M',NULL,NULL,NULL,'1',120.00,3,1.00,1,'2025-09-29 19:20:03','2025-09-29 19:20:03',NULL),(90,'XZ0EAI',25,1,18,26,'24hrs','20','M','20','M',NULL,NULL,NULL,'1',24.00,2,1000.00,1,'2025-09-30 09:52:56','2025-09-30 10:05:29',NULL),(91,'0KS3Z2',25,2,18,27,'10000','5','M','5','M',NULL,NULL,NULL,'1',30.00,3,10000.00,1,'2025-09-30 09:55:54','2025-09-30 09:55:54',NULL),(92,'RJGF20',20,1,13,18,'Free','1','M','1','M',NULL,NULL,NULL,'1',2.00,1,0.00,1,'2025-09-30 16:22:41','2025-10-01 14:12:42','2025-10-01 14:12:42'),(93,'EMX8NH',23,1,16,24,'wakala','5','M','5','M',NULL,NULL,NULL,'1',90.00,3,200.00,1,'2025-09-30 20:30:40','2025-10-01 17:25:09','2025-10-01 17:25:09'),(94,'QSL2RM',23,3,16,NULL,'mshua Download-8Mbps/Upload-8Mbps','5','M','5','M',NULL,NULL,NULL,'1',30.00,3,90.00,1,'2025-09-30 20:33:18','2025-09-30 20:33:18',NULL),(95,'7ZX0R6',22,1,15,22,'4 Hours (BILA KIKOMO)','15','M','10','M',NULL,NULL,NULL,'1',4.30,2,1000.00,1,'2025-10-01 12:07:07','2025-10-07 12:43:56',NULL),(96,'ZDP2OV',22,1,15,22,'1 DAYS (BILA KIKOMO)','20','M','20','M',NULL,NULL,NULL,'1',1.00,3,1500.00,1,'2025-10-01 12:12:37','2025-10-07 12:40:04',NULL),(97,'6B9L7R',26,1,19,28,'Unlimited 1Hour','10','M','10','M',NULL,NULL,NULL,'1',1.00,2,500.00,1,'2025-10-01 17:05:42','2025-10-01 17:53:33',NULL),(98,'D7S9T2',26,1,19,28,'Unlimited 24Hours','10','M','10','M',NULL,NULL,NULL,'1',24.00,2,1000.00,1,'2025-10-01 17:15:39','2025-10-01 17:54:06',NULL),(99,'TJM3WX',26,1,19,28,'Unlimited 7Days','10','M','10','M',NULL,NULL,NULL,'1',7.00,3,5000.00,1,'2025-10-01 17:22:49','2025-10-01 17:54:36',NULL),(100,'KX93Q2',26,1,19,28,'Unlimited 30Days','10','M','10','M',NULL,NULL,NULL,'1',30.00,3,15000.00,1,'2025-10-01 17:25:09','2025-10-01 17:55:03',NULL),(101,'79PSJM',23,1,16,24,'BUKU 2','5','M','5','M',NULL,NULL,NULL,'1',72.00,3,2000.00,1,'2025-10-01 17:27:54','2025-10-01 17:27:54',NULL),(102,'JHZRV7',26,1,19,28,'Ulimited24h Super','20','M','20','M',NULL,NULL,NULL,'1',24.00,1,2000.00,1,'2025-10-01 17:30:28','2025-10-01 17:41:39',NULL),(103,'LC3ZEP',26,1,19,28,'Unlimited 7D Super','20','M','20','M',NULL,NULL,NULL,'1',7.00,3,8500.00,1,'2025-10-01 17:33:18','2025-10-01 17:33:18',NULL),(104,'2KQ5XB',26,1,19,28,'Unlimited 7D Super','20','M','20','M',NULL,NULL,NULL,'1',7.00,3,8500.00,1,'2025-10-01 17:33:42','2025-10-01 17:39:27','2025-10-01 17:39:27'),(105,'BLY69T',26,1,19,28,'Unlimited 7D Super','20','M','20','M',NULL,NULL,NULL,'1',7.00,3,8000.00,1,'2025-10-01 17:34:00','2025-10-01 17:38:51','2025-10-01 17:38:51'),(106,'LCH32G',26,1,19,28,'Unlimited 7D Super','20','M','20','M',NULL,NULL,NULL,'1',7.00,3,8000.00,1,'2025-10-01 17:35:37','2025-10-01 17:38:30','2025-10-01 17:38:30'),(107,'8JPTFL',26,1,19,28,'Unlimited 7D Super','20','M','20','M',NULL,NULL,NULL,'1',7.00,3,8000.00,1,'2025-10-01 17:37:20','2025-10-01 17:38:11','2025-10-01 17:38:11'),(108,'E6LRZG',21,1,14,0,'Masaa','5','M','5','M','','','','1',15.00,2,0.00,1,'2025-10-03 07:02:55','2025-10-07 12:51:07','2025-10-07 12:51:07'),(109,'6KUZT4',21,1,14,0,'Masaa','5','M','5','M','','','','1',1.00,3,0.00,1,'2025-10-03 07:02:55','2025-10-11 16:19:06','2025-10-11 16:19:06'),(110,'TYJG8Z',21,1,14,20,'Wiki2','5','M','5','M',NULL,NULL,NULL,'1',1.00,2,0.00,1,'2025-10-03 07:02:55','2025-10-11 16:18:41','2025-10-11 16:18:41'),(111,'9XKNTP',21,1,14,0,'Mwezi','5','M','5','M','','','','1',4.00,0,0.00,1,'2025-10-03 07:02:55','2025-10-11 16:17:34','2025-10-11 16:17:34'),(112,'R9DPT5',27,1,20,31,'Test','2','M','2','M',NULL,NULL,NULL,'1',30.00,3,200.00,1,'2025-10-03 10:28:49','2025-10-03 12:05:07','2025-10-03 12:05:07'),(113,'Y4T3HE',27,1,20,31,'5h','3','M','2','M',NULL,NULL,NULL,'1',5.00,2,100.00,1,'2025-10-03 11:36:50','2025-10-03 11:36:50',NULL),(114,'J26SQF',27,1,20,31,'24h','5','M','2','M',NULL,NULL,NULL,'1',24.00,2,200.00,1,'2025-10-03 11:39:48','2025-10-03 11:39:48',NULL),(115,'NTPG9D',27,1,20,31,'3jours','6','M','2','M',NULL,NULL,NULL,'1',3.00,3,500.00,1,'2025-10-03 11:42:28','2025-10-03 11:42:28',NULL),(116,'7G3KWB',27,1,20,31,'1 semaine','8','M','2','M',NULL,NULL,NULL,'1',7.00,3,800.00,1,'2025-10-03 11:44:15','2025-10-03 11:44:15',NULL),(117,'SHY789',27,1,20,31,'1 mois','9','M','3','M',NULL,NULL,NULL,'1',30.00,3,3000.00,1,'2025-10-03 11:46:13','2025-10-03 11:46:13',NULL),(118,'CG4HLV',28,1,21,33,'SIKU','10','M','10','M',NULL,NULL,NULL,'1',12.00,2,1000.00,1,'2025-10-04 13:30:54','2025-10-04 13:42:17',NULL),(119,'TSMJ3D',28,1,21,33,'WIKI','10','M','10','M',NULL,NULL,NULL,'1',7.00,3,6000.00,1,'2025-10-04 13:30:54','2025-10-04 14:06:36',NULL),(120,'WY6CZE',28,1,21,0,'MWEZI',NULL,NULL,NULL,NULL,'','','','1',0.00,0,0.00,1,'2025-10-04 13:30:54','2025-10-04 14:09:06','2025-10-04 14:09:06'),(121,'KJ7R3Z',29,1,22,35,'1 Day','5','M','5','M',NULL,NULL,NULL,'1',24.00,2,1000.00,1,'2025-10-04 16:49:17','2025-10-04 16:49:17',NULL),(122,'3PZL8C',29,1,22,35,'1 week','5','M','5','M',NULL,NULL,NULL,'1',7.00,3,6000.00,1,'2025-10-04 16:51:47','2025-10-04 16:51:47',NULL),(123,'PQVJT6',29,2,22,36,'1 Day','5','M','5','M',NULL,NULL,NULL,'1',24.00,2,1000.00,1,'2025-10-04 18:04:57','2025-10-04 18:04:57',NULL),(124,'Y9XEDM',22,1,15,22,'7 DAYS (BILA KIKOMO)','15','M','10','M',NULL,NULL,NULL,'1',7.00,3,10000.00,1,'2025-10-07 11:07:02','2025-10-07 11:07:02',NULL),(125,'B43CWP',22,1,15,22,'15 DAYS (BILA KIKOMO)','15','M','10','M',NULL,NULL,NULL,'1',15.00,3,15000.00,1,'2025-10-07 11:08:42','2025-10-07 11:16:26',NULL),(126,'XLF98S',22,1,15,22,'30 DAYS (BILA KIKOMO)','20','M','15','M',NULL,NULL,NULL,'1',30.00,3,30000.00,1,'2025-10-07 11:10:28','2025-10-07 11:10:28',NULL),(127,'QPA84U',30,1,23,38,'1HOUR','5','M','5','M',NULL,NULL,NULL,'1',1.00,2,1000.00,1,'2025-10-07 18:24:58','2025-10-08 07:49:23',NULL),(128,'AS9G53',30,1,23,38,'SIKU','5','M','5','M',NULL,NULL,NULL,'1',40.00,1,500.00,1,'2025-10-07 18:24:58','2025-10-08 08:38:12',NULL),(129,'D4KJ3E',30,1,23,0,'WEEK','5','M','5','M','','','','1',0.00,0,0.00,1,'2025-10-07 18:24:58','2025-10-07 18:24:58',NULL),(130,'S98NV5',30,1,23,0,'MWEZI','5','M','5','M','','','','1',0.00,0,0.00,1,'2025-10-07 18:24:59','2025-10-07 18:24:59',NULL),(131,'D8GHCW',33,2,26,4,'5','5','M','5','M','','','','1',1.00,NULL,0.00,1,'2025-10-11 15:24:24','2025-10-11 15:24:24',NULL),(132,'U647VE',33,2,26,4,'10','10','M','10','M','','','','1',1.00,NULL,0.00,1,'2025-10-11 15:24:24','2025-10-11 15:24:24',NULL),(133,'KHUGM9',33,2,26,4,'15','15','M','15','M','','','','1',1.00,NULL,0.00,1,'2025-10-11 15:24:24','2025-10-11 15:24:24',NULL),(134,'JE8D52',33,2,26,4,'20','20','M','20','M','','','','1',1.00,NULL,0.00,1,'2025-10-11 15:24:24','2025-10-11 15:24:24',NULL),(135,'A7ZHRU',33,1,26,44,'1 Hour','10','M','10','M',NULL,NULL,NULL,'1',1.00,2,2.00,1,'2025-10-11 15:24:34','2025-10-11 15:24:34',NULL),(136,'YH3RGK',33,1,26,44,'6 Hours','10','M','10','M',NULL,NULL,NULL,'1',6.00,2,4.00,1,'2025-10-11 15:24:59','2025-10-11 15:24:59',NULL),(137,'9HD748',33,1,26,44,'12 Hours','10','M','10','M',NULL,NULL,NULL,'1',12.00,2,5.00,1,'2025-10-11 15:25:29','2025-10-11 15:25:29',NULL),(138,'D3AVLM',33,1,26,44,'24 Hours','10','M','10','M',NULL,NULL,NULL,'1',24.00,2,7.00,1,'2025-10-11 15:25:56','2025-10-11 15:25:56',NULL),(139,'4K2VYR',32,1,25,42,'1hr','3','M','3','M',NULL,NULL,NULL,'1',1.00,2,500.00,1,'2025-10-11 16:38:56','2025-10-12 06:43:48',NULL),(140,'PF64NC',32,1,25,42,'1d','4','M','4','M',NULL,NULL,NULL,'1',1.00,3,2000.00,1,'2025-10-11 17:24:02','2025-10-11 17:24:02',NULL),(141,'4W5HEK',32,1,25,42,'5hrs','3','M','3','M',NULL,NULL,NULL,'1',5.00,2,1000.00,1,'2025-10-12 06:45:14','2025-10-13 19:34:25',NULL),(142,'A9UXR4',29,1,22,35,'1 month','5','M','5','M',NULL,NULL,NULL,'1',30.00,3,20000.00,1,'2025-10-12 18:34:24','2025-10-12 18:34:24',NULL),(143,'BAK485',20,2,13,19,'Family','10','M','10','M',NULL,NULL,NULL,'1',30.00,3,60000.00,1,'2025-10-19 20:48:44','2025-10-19 20:48:44',NULL);

--
-- Table structure for table `company_sms`
--

CREATE TABLE `company_sms` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` bigint unsigned NOT NULL,
  `sms_units` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_sms_company_id_foreign` (`company_id`),
  CONSTRAINT `company_sms_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_sms`
--


--
-- Table structure for table `company_sms_provider_entities`
--

CREATE TABLE `company_sms_provider_entities` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_sms_provider_id` bigint unsigned NOT NULL,
  `requirement_id` int NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_sms_provider_entities_company_sms_provider_id_foreign` (`company_sms_provider_id`),
  CONSTRAINT `company_sms_provider_entities_company_sms_provider_id_foreign` FOREIGN KEY (`company_sms_provider_id`) REFERENCES `company_sms_providers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_sms_provider_entities`
--

INSERT INTO `company_sms_provider_entities` VALUES (1,1,7,'La Zungu','2025-09-01 06:07:22','2025-09-01 06:07:22',NULL),(2,1,8,'1152|z0RRuHr8EQLxtqTMo5WPUNrXJIYYbl5Q2BJpWKiN43a0aece','2025-09-01 06:07:22','2025-09-01 06:07:22',NULL),(3,2,7,'La Zungu','2025-09-01 06:15:21','2025-09-01 06:15:21',NULL),(4,2,8,'1152|z0RRuHr8EQLxtqTMo5WPUNrXJIYYbl5Q2BJpWKiN43a0aece','2025-09-01 06:15:21','2025-09-01 06:15:21',NULL),(5,3,7,'La Zungu','2025-09-01 06:16:04','2025-09-01 06:16:04',NULL),(6,3,8,'1152|z0RRuHr8EQLxtqTMo5WPUNrXJIYYbl5Q2BJpWKiN43a0aece','2025-09-01 06:16:04','2025-09-01 06:16:04',NULL);

--
-- Table structure for table `company_sms_providers`
--

CREATE TABLE `company_sms_providers` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` bigint unsigned NOT NULL,
  `sms_provider_id` bigint unsigned NOT NULL,
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_sms_providers_company_id_foreign` (`company_id`),
  KEY `company_sms_providers_sms_provider_id_foreign` (`sms_provider_id`),
  CONSTRAINT `company_sms_providers_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `company_sms_providers_sms_provider_id_foreign` FOREIGN KEY (`sms_provider_id`) REFERENCES `sms_providers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_sms_providers`
--

INSERT INTO `company_sms_providers` VALUES (1,13,4,1,'2025-09-01 06:06:35','2025-09-01 06:14:22','2025-09-01 06:14:22'),(2,13,4,1,'2025-09-01 06:15:21','2025-09-01 06:15:34','2025-09-01 06:15:34'),(3,13,4,1,'2025-09-01 06:16:04','2025-09-01 06:16:04',NULL);

--
-- Table structure for table `company_sms_templates`
--

CREATE TABLE `company_sms_templates` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int DEFAULT NULL,
  `sms_template_type_id` bigint unsigned NOT NULL,
  `content` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int NOT NULL DEFAULT '0' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_sms_templates_sms_template_type_id_foreign` (`sms_template_type_id`),
  CONSTRAINT `company_sms_templates_sms_template_type_id_foreign` FOREIGN KEY (`sms_template_type_id`) REFERENCES `sms_template_types` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=30 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_sms_templates`
--

INSERT INTO `company_sms_templates` VALUES (1,0,1,'Dear [name], your internet plan is expiring in [expiry_days] day(s). Kindly make the payment at your earliest convenience to avoid service interruptions. Pay via paybill - [paybill] and account number [account_number]',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(2,0,2,'Dear [name], your invoice for [month] amounting to Ksh [balance] has been generated. Please pay via paybill - [paybill] and account number [account_number]',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(3,0,3,'Hello [name], this is to confirm that we have received your payment of Ksh [amount] for [month]. Your current balance as of now is Ksh [balance]',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(4,0,4,'Dear [name], this is a reminder that your payment of Tsh [balance] for [month] is due. Kindly make the payment at your earliest convenience to avoid service interruptions. Pay via paybill - [paybill] and account number [account_number]',1,'2025-08-03 19:10:09','2025-09-23 09:01:32',NULL),(5,0,5,'Dear [name], your payment of Ksh [balance] for [month] is overdue. Please settle the outstanding amount immediately to avoid service disruption. Pay via paybill - [paybill] and account number [account_number]',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(6,0,6,'Hello [name], due to an overdue balance of [balance], your service has been disconnected. To restore the services, please pay Ksh [balance] to paybill - [paybill] using account number [account_number]',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(7,0,7,'Hello [name], we are excited to have you on board! Your subscription to [internet_plan] is now active. If you have any questions, feel free to contact us. Thank you',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(8,0,8,'Hello [name], we are excited to have you on board! Your subscription to [internet_plan] is now active. If you have any questions, feel free to contact us.',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(9,0,9,'Dear [name], your request to change your plan to [internet_plan] has been processed successfully. Your new plan is now active. Contact us if you need assistance.',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(10,0,10,'Dear [name], we will be performing maintenance on 1st Jan 2025 from 09:30am to 11:30am. Service may be temporarily affected. Thank you for your patience.',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(11,0,11,'Dear [name], we are aware of an ongoing service disruption in your area. Our team is investigating and will restore service as soon as possible.',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(12,0,12,'Greetings, thank you for purchasing [plan] plan worthy [amount]. Please use [username] as the username and [password] as your password to reconnect yourself. Your subscription expires at [expiry_date].',1,'2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(13,8,11,'Dear [name], we are aware of an ongoing service disruption in your area. Our team is investigating and will restore service as soon as possible.',1,'2025-08-22 21:17:08','2025-08-22 21:17:08',NULL),(14,8,12,'Greetings, thank you for purchasing [plan] plan worthy [amount]. Please use [username] as the username and [password] as your password to reconnect yourself. Your subscription expires at [expiry_date].',1,'2025-08-22 21:20:09','2025-08-22 21:20:09',NULL),(15,11,1,'Dear [name], your internet plan is expiring in [expiry_days] day(s). Kindly make the payment at your earliest convenience to avoid service interruptions. Pay via paybill - [paybill] and account number [account_number]',1,'2025-08-26 17:26:06','2025-08-26 17:26:06',NULL),(16,13,12,'Greetings, thank you for purchasing [plan] plan worthy [amount]. Please use [username] as the username and [password] as your password to reconnect yourself. Your subscription expires at [expiry_date].',1,'2025-08-29 22:04:52','2025-08-29 22:04:52',NULL),(17,13,11,'Dear [name], we are aware of an ongoing service disruption in your area. Our team is investigating and will restore service as soon as possible.',1,'2025-08-29 22:05:13','2025-08-29 22:05:13',NULL),(18,13,10,'Dear [name], we will be performing maintenance on 1st Jan 2025 from 09:30am to 11:30am. Service may be temporarily affected. Thank you for your patience.',1,'2025-08-29 22:05:34','2025-08-29 22:05:34',NULL),(19,13,9,'Dear [name], your request to change your plan to [internet_plan] has been processed successfully. Your new plan is now active. Contact us if you need assistance.',1,'2025-08-29 22:06:16','2025-08-29 22:06:16',NULL),(20,13,8,'Hello [name], we are excited to have you on board! Your subscription to [internet_plan] is now active. If you have any questions, feel free to contact us.',1,'2025-08-29 22:06:24','2025-08-29 22:06:24',NULL),(21,13,7,'Hello [name], we are excited to have you on board! Your subscription to [internet_plan] is now active. If you have any questions, feel free to contact us. Thank you',1,'2025-08-29 22:06:29','2025-08-29 22:06:29',NULL),(22,13,6,'Hello [name], due to an overdue balance of [balance], your service has been disconnected. To restore the services, please pay Ksh [balance] to paybill - [paybill] using account number [account_number]',1,'2025-08-29 22:06:35','2025-08-29 22:06:35',NULL),(23,13,5,'Dear [name], your payment of Ksh [balance] for [month] is overdue. Please settle the outstanding amount immediately to avoid service disruption. Pay via paybill - [paybill] and account number [account_number]',1,'2025-08-29 22:06:40','2025-08-29 22:06:40',NULL),(24,13,4,'Dear [name], this is a reminder that your payment of Ksh [balance] for [month] is due. Kindly make the payment at your earliest convenience to avoid service interruptions. Pay via paybill - [paybill] and account number [account_number]',1,'2025-08-29 22:06:46','2025-08-29 22:06:46',NULL),(25,13,3,'Hello [name], this is to confirm that we have received your payment of Ksh [amount] for [month]. Your current balance as of now is Ksh [balance]',1,'2025-08-29 22:06:51','2025-08-29 22:06:51',NULL),(26,13,2,'Dear [name], your invoice for [month] amounting to Ksh [balance] has been generated. Please pay via paybill - [paybill] and account number [account_number]',1,'2025-08-29 22:07:00','2025-08-29 22:07:00',NULL),(27,13,1,'Dear [name], your internet plan is expiring in [expiry_days] day(s). Kindly make the payment at your earliest convenience to avoid service interruptions. Pay via paybill - [paybill] and account number [account_number]',1,'2025-08-29 22:07:07','2025-08-29 22:07:07',NULL),(28,16,9,'Dear [name], your request to change your plan to [internet_plan] has been processed successfully. Your new plan is now active. Contact us if you need assistance.',0,'2025-09-06 06:57:59','2025-09-06 06:58:07',NULL),(29,20,8,'Hello [name], we are excited to have you on board! Your subscription to [internet_plan] is now active. If you have any questions, feel free to contact us.',1,'2025-09-26 14:33:20','2025-09-26 14:33:20',NULL);

--
-- Table structure for table `company_sms_usages`
--

CREATE TABLE `company_sms_usages` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` bigint unsigned NOT NULL,
  `sms_units` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_sms_usages_company_id_foreign` (`company_id`),
  CONSTRAINT `company_sms_usages_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_sms_usages`
--


--
-- Table structure for table `company_static_pages`
--

CREATE TABLE `company_static_pages` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `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 `company_static_pages`
--


--
-- Table structure for table `company_users`
--

CREATE TABLE `company_users` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` bigint unsigned NOT NULL,
  `user_id` bigint unsigned NOT NULL,
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `company_users_company_id_foreign` (`company_id`),
  KEY `company_users_user_id_foreign` (`user_id`),
  CONSTRAINT `company_users_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `company_users_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=39 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_users`
--

INSERT INTO `company_users` VALUES (8,8,15,1,'2025-08-05 16:56:56','2025-08-05 16:56:56',NULL),(11,11,20,1,'2025-08-26 13:06:13','2025-08-26 13:06:13',NULL),(14,13,22,1,'2025-08-29 19:10:58','2025-08-29 19:10:58',NULL),(15,14,23,0,'2025-08-30 06:58:45','2025-10-02 18:50:56',NULL),(16,8,24,1,'2025-08-31 22:17:44','2025-08-31 22:17:44',NULL),(17,15,15,0,'2025-09-03 20:05:20','2025-10-07 14:15:34',NULL),(18,16,25,1,'2025-09-06 06:09:37','2025-09-06 06:09:37',NULL),(19,16,26,1,'2025-09-06 13:01:40','2025-09-06 13:01:40',NULL),(20,17,27,0,'2025-09-09 09:33:08','2025-09-11 06:52:45',NULL),(21,18,28,1,'2025-09-18 14:24:23','2025-09-18 14:24:23',NULL),(22,19,29,1,'2025-09-25 11:55:26','2025-09-25 11:55:26',NULL),(23,20,30,1,'2025-09-26 08:35:02','2025-09-26 08:35:02',NULL),(24,21,31,1,'2025-09-28 14:43:39','2025-10-02 15:48:56',NULL),(25,22,32,1,'2025-09-29 10:07:30','2025-09-29 10:07:30',NULL),(26,23,33,1,'2025-09-29 16:41:08','2025-09-29 16:41:08',NULL),(27,23,34,1,'2025-09-29 17:59:20','2025-09-29 17:59:20',NULL),(28,24,35,1,'2025-09-30 08:49:41','2025-09-30 08:49:41',NULL),(29,25,36,0,'2025-09-30 09:13:04','2025-10-02 18:50:39',NULL),(30,26,37,1,'2025-10-01 16:23:50','2025-10-01 16:23:50',NULL),(31,27,38,1,'2025-10-03 09:04:23','2025-10-03 09:04:23',NULL),(32,28,39,1,'2025-10-04 13:01:27','2025-10-04 13:01:27',NULL),(33,29,40,1,'2025-10-04 15:30:12','2025-10-04 15:30:12',NULL),(34,30,42,1,'2025-10-07 18:10:55','2025-10-07 18:10:55',NULL),(35,31,43,1,'2025-10-08 07:47:36','2025-10-08 07:47:36',NULL),(36,32,44,1,'2025-10-11 11:22:25','2025-10-11 11:22:25',NULL),(37,33,45,1,'2025-10-11 14:29:16','2025-10-11 14:29:16',NULL),(38,34,46,1,'2025-10-16 06:14:37','2025-10-16 06:14:37',NULL);

--
-- Table structure for table `company_whatsapp_scans`
--

CREATE TABLE `company_whatsapp_scans` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `company_whatsapp_scans`
--

INSERT INTO `company_whatsapp_scans` VALUES (1,0,'+254716100572','2025-09-10 08:04:10','2025-09-10 08:04:10',NULL),(2,0,'254716100572','2025-09-10 08:04:22','2025-09-10 08:04:22',NULL),(3,13,'+255754578434','2025-09-10 13:00:13','2025-09-10 13:00:13',NULL),(4,0,'+254796230626','2025-09-23 08:59:43','2025-09-23 08:59:43',NULL),(5,32,'+256778180076','2025-10-12 06:47:12','2025-10-12 06:47:12',NULL);

--
-- Table structure for table `customers`
--

CREATE TABLE `customers` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `first_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_name` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int NOT NULL DEFAULT '0' COMMENT '0=pending, 1=sent',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `customers`
--

INSERT INTO `customers` VALUES (1,'+2547222222222',NULL,NULL,NULL,0,'2025-08-11 23:41:45','2025-08-11 23:41:59','2025-08-11 23:41:59'),(2,NULL,NULL,NULL,NULL,0,'2025-08-11 23:43:58','2025-08-26 13:45:45',NULL);

--
-- Table structure for table `director_share_incomes`
--

CREATE TABLE `director_share_incomes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `director_share_id` bigint unsigned NOT NULL,
  `grouped_transaction_id` bigint unsigned NOT NULL,
  `percentage_amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `settled_status` int NOT NULL DEFAULT '0' COMMENT '0=pending, 1=sent',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `director_share_incomes_director_share_id_foreign` (`director_share_id`),
  KEY `director_share_incomes_grouped_transaction_id_foreign` (`grouped_transaction_id`),
  CONSTRAINT `director_share_incomes_director_share_id_foreign` FOREIGN KEY (`director_share_id`) REFERENCES `director_shares` (`id`) ON DELETE CASCADE,
  CONSTRAINT `director_share_incomes_grouped_transaction_id_foreign` FOREIGN KEY (`grouped_transaction_id`) REFERENCES `grouped_transactions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `director_share_incomes`
--

INSERT INTO `director_share_incomes` VALUES (1,1,1,50.00,10500.00,0,'2025-08-28 06:42:22','2025-08-28 06:42:22',NULL),(2,1,2,50.00,10500.00,0,'2025-09-10 17:38:47','2025-09-10 17:38:47',NULL),(3,1,3,50.00,10500.00,0,'2025-09-18 14:40:49','2025-09-18 14:40:49',NULL),(4,1,4,50.00,10500.00,0,'2025-09-27 15:04:44','2025-09-27 15:04:44',NULL),(5,1,5,50.00,10500.00,0,'2025-10-01 12:28:16','2025-10-01 12:28:16',NULL),(6,1,6,50.00,10500.00,0,'2025-10-02 06:41:55','2025-10-02 06:41:55',NULL),(7,1,7,50.00,10500.00,0,'2025-10-03 12:19:17','2025-10-03 12:19:17',NULL);

--
-- Table structure for table `director_share_payment_accounts`
--

CREATE TABLE `director_share_payment_accounts` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `director_share_id` bigint unsigned NOT NULL,
  `payment_method_id` bigint unsigned NOT NULL,
  `bank_id` bigint unsigned DEFAULT NULL,
  `phone_account_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `director_share_payment_accounts_director_share_id_foreign` (`director_share_id`),
  KEY `director_share_payment_accounts_payment_method_id_foreign` (`payment_method_id`),
  KEY `director_share_payment_accounts_bank_id_foreign` (`bank_id`),
  CONSTRAINT `director_share_payment_accounts_bank_id_foreign` FOREIGN KEY (`bank_id`) REFERENCES `banks` (`id`) ON DELETE CASCADE,
  CONSTRAINT `director_share_payment_accounts_director_share_id_foreign` FOREIGN KEY (`director_share_id`) REFERENCES `director_shares` (`id`) ON DELETE CASCADE,
  CONSTRAINT `director_share_payment_accounts_payment_method_id_foreign` FOREIGN KEY (`payment_method_id`) REFERENCES `payment_methods` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `director_share_payment_accounts`
--


--
-- Table structure for table `director_shares`
--

CREATE TABLE `director_shares` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `names` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `percentage_amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `status` int NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `director_shares`
--

INSERT INTO `director_shares` VALUES (1,'DS001','Jared Maera','+254716100572','maerajared12@gmail.com',50.00,1,'2025-08-03 19:10:08','2025-08-03 19:10:08',NULL),(2,'DS002','Dennis Bogonko','+254720579706','bogonkomokaya92@gmail.com',30.00,1,'2025-08-03 19:10:08','2025-08-03 19:10:08',NULL),(3,'DS003','Jaem Net','0716327828','info@jaemnet.com',20.00,1,'2025-08-03 19:10:08','2025-08-03 19:10:08',NULL);

--
-- Table structure for table `escrow_transactions`
--

CREATE TABLE `escrow_transactions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `company_id` int DEFAULT NULL,
  `company_router_id` int DEFAULT NULL,
  `payment_mode_id` bigint unsigned NOT NULL,
  `phone_used` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transaction_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `checkout_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `escrow_transactions_payment_mode_id_foreign` (`payment_mode_id`),
  CONSTRAINT `escrow_transactions_payment_mode_id_foreign` FOREIGN KEY (`payment_mode_id`) REFERENCES `payment_modes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `escrow_transactions`
--


--
-- Table structure for table `expenses`
--

CREATE TABLE `expenses` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `expenses`
--


--
-- Table structure for table `failed_jobs`
--

CREATE TABLE `failed_jobs` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `uuid` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `failed_jobs`
--


--
-- Table structure for table `failed_transactions`
--

CREATE TABLE `failed_transactions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `payment_mode_id` bigint unsigned NOT NULL,
  `checkout_id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `failed_transactions_payment_mode_id_foreign` (`payment_mode_id`),
  CONSTRAINT `failed_transactions_payment_mode_id_foreign` FOREIGN KEY (`payment_mode_id`) REFERENCES `payment_modes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `failed_transactions`
--


--
-- Table structure for table `grouped_transactions`
--

CREATE TABLE `grouped_transactions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `transaction_type` int NOT NULL DEFAULT '1' COMMENT '1=invoice, 2=sms',
  `unit_sms_price` decimal(8,2) NOT NULL DEFAULT '0.00',
  `provider_sms_price` decimal(8,2) NOT NULL DEFAULT '0.00',
  `company_id` bigint unsigned NOT NULL,
  `company_router_id` int DEFAULT NULL,
  `user_id` int DEFAULT NULL,
  `payment_mode_id` bigint unsigned NOT NULL,
  `phone_used` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transaction_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `checkout_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `grouped_transactions_company_id_foreign` (`company_id`),
  KEY `grouped_transactions_payment_mode_id_foreign` (`payment_mode_id`),
  CONSTRAINT `grouped_transactions_company_id_foreign` FOREIGN KEY (`company_id`) REFERENCES `companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `grouped_transactions_payment_mode_id_foreign` FOREIGN KEY (`payment_mode_id`) REFERENCES `payment_modes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `grouped_transactions`
--

INSERT INTO `grouped_transactions` VALUES (1,'8I42E6',1,0.00,0.00,11,6,1,2,NULL,'THR178AWB',21000.00,NULL,NULL,'2025-08-28 06:42:22','2025-08-28 06:42:22',NULL),(2,'8RSZVT',1,0.00,0.00,17,10,1,2,NULL,'TI62NA5R2A',21000.00,NULL,NULL,'2025-09-10 17:38:47','2025-09-10 17:38:47',NULL),(3,'8BHOI7',1,0.00,0.00,18,11,1,2,NULL,'',21000.00,NULL,NULL,'2025-09-18 14:40:49','2025-09-18 14:40:49',NULL),(4,'KANE2C',1,0.00,0.00,20,13,1,2,NULL,'TIRKH5U8DQ',21000.00,NULL,NULL,'2025-09-27 15:04:44','2025-09-27 15:04:44',NULL),(5,'4MBU7G',1,0.00,0.00,22,15,1,2,NULL,'',21000.00,NULL,NULL,'2025-10-01 12:28:16','2025-10-01 12:28:16',NULL),(6,'CW7PYX',1,0.00,0.00,23,16,1,2,NULL,'TJ1KH69JKS',21000.00,NULL,NULL,'2025-10-02 06:41:55','2025-10-02 06:41:55',NULL),(7,'THUX2L',1,0.00,0.00,27,20,1,2,NULL,'13V78007B6571820N',21000.00,NULL,NULL,'2025-10-03 12:19:16','2025-10-03 12:19:16',NULL);

--
-- Table structure for table `ip_prefix_lengths`
--

CREATE TABLE `ip_prefix_lengths` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `prefix` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `ip_prefix_lengths`
--

INSERT INTO `ip_prefix_lengths` VALUES (1,'8 (16,777,214 IPs)','8','2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(2,'12 (1,048,574 IPs)','12','2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(3,'16 (65,534 IPs)','16','2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(4,'20 (4,094 IPs)','20','2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(5,'24 (254 IPs)','24','2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(6,'28 (14 IPs)','28','2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(7,'30 (2 IPs)','30','2025-08-03 19:10:09','2025-08-03 19:10:09',NULL),(8,'32 (1 IP)','32','2025-08-03 19:10:09','2025-08-03 19:10:09',NULL);

--
-- Table structure for table `job_batches`
--

CREATE TABLE `job_batches` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_jobs` int NOT NULL,
  `pending_jobs` int NOT NULL,
  `failed_jobs` int NOT NULL,
  `failed_job_ids` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `options` mediumtext COLLATE utf8mb4_unicode_ci,
  `cancelled_at` int DEFAULT NULL,
  `created_at` int NOT NULL,
  `finished_at` int DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `job_batches`
--


--
-- Table structure for table `jobs`
--

CREATE TABLE `jobs` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `queue` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `attempts` tinyint unsigned NOT NULL,
  `reserved_at` int unsigned DEFAULT NULL,
  `available_at` int unsigned NOT NULL,
  `created_at` int unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `jobs_queue_index` (`queue`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `jobs`
--


--
-- Table structure for table `message_modes`
--

CREATE TABLE `message_modes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `message_modes`
--

INSERT INTO `message_modes` VALUES (1,'SMS',1,'2025-08-03 19:10:04','2025-08-03 19:10:04',NULL),(2,'Email',1,'2025-08-03 19:10:04','2025-08-03 19:10:04',NULL),(3,'WhatsApp',1,'2025-08-03 19:10:04','2025-08-03 19:10:04',NULL);

--
-- Table structure for table `migrations`
--

CREATE TABLE `migrations` (
  `id` int unsigned NOT NULL AUTO_INCREMENT,
  `migration` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=79 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `migrations`
--

INSERT INTO `migrations` VALUES (1,'0001_01_01_000000_create_users_table',1),(2,'0001_01_01_000001_create_cache_table',1),(3,'0001_01_01_000002_create_jobs_table',1),(4,'2024_12_31_100452_create_permission_tables',1),(5,'2024_12_31_100952_create_companies_table',1),(6,'2024_12_31_100953_create_payment_types_table',1),(7,'2024_12_31_100954_create_transaction_frequencies_table',1),(8,'2024_12_31_101150_create_company_users_table',1),(9,'2024_12_31_101616_create_service_plans_table',1),(10,'2024_12_31_101618_create_plan_validity_types_table',1),(11,'2024_12_31_101619_create_company_routers_table',1),(12,'2024_12_31_101857_create_company_ip_pools_table',1),(13,'2024_12_31_101858_create_company_service_plans_table',1),(14,'2024_12_31_174557_create_user_verification_codes_table',1),(15,'2024_12_31_181637_create_notifications_table',1),(16,'2024_12_31_213650_create_message_modes_table',1),(17,'2024_12_31_221743_create_sms_providers_table',1),(18,'2024_12_31_221919_create_sms_requirements_table',1),(19,'2024_12_31_221940_create_sms_provider_requirements_table',1),(20,'2024_12_31_221957_create_company_sms_providers_table',1),(21,'2024_12_31_222005_create_company_sms_provider_entities_table',1),(22,'2025_01_01_122817_create_company_email_configurations_table',1),(23,'2025_01_01_173315_create_company_customers_table',1),(24,'2025_01_02_125417_create_company_prepaid_vouchers_table',1),(25,'2025_01_03_162401_create_company_prepaid_users_table',1),(26,'2025_01_03_162402_create_payment_modes_table',1),(27,'2025_01_03_163433_create_company_grouped_transactions_table',1),(28,'2025_01_08_121255_create_company_bulk_messages_table',1),(29,'2025_01_08_213530_create_banks_table',1),(30,'2025_01_08_213531_create_payment_methods_table',1),(32,'2025_01_21_025009_create_company_static_pages_table',1),(33,'2025_01_22_020910_create_personal_access_tokens_table',1),(34,'2025_01_22_021305_create_failed_transactions_table',1),(35,'2025_01_22_022710_create_company_customer_service_plans_table',1),(36,'2025_01_22_151114_create_company_customer_invoices_table',1),(37,'2025_01_22_151543_create_company_customer_invoice_payments_table',1),(38,'2025_01_22_230339_create_grouped_transactions_table',1),(39,'2025_01_22_233047_create_company_router_invoices_table',1),(40,'2025_01_22_233054_create_company_router_invoice_payments_table',1),(41,'2025_01_24_174649_create_company_customer_service_plan_previous_debt_payments_table',1),(42,'2025_01_27_232712_create_company_referrals_table',1),(43,'2025_01_28_001754_create_company_referral_payments_table',1),(44,'2025_02_04_180817_create_company_escrow_transactions_table',1),(45,'2025_02_12_105715_create_paid_users_table',1),(46,'2025_02_16_144236_create_company_sms_table',1),(47,'2025_02_16_144254_create_company_sms_usages_table',1),(48,'2025_02_16_144918_create_expenses_table',1),(49,'2025_02_23_220746_create_customers_table',1),(50,'2025_02_24_231040_create_out_messages_table',1),(51,'2025_03_04_160220_create_company_router_interfaces_table',1),(52,'2025_03_08_213801_create_escrow_transactions_table',1),(53,'2025_03_08_213802_create_director_shares_table',1),(54,'2025_03_11_190100_create_outgoing_transactions_table',1),(55,'2025_03_13_115203_create_sms_template_types_table',1),(56,'2025_03_13_115729_create_company_sms_templates_table',1),(57,'2025_03_18_003524_create_company_customer_invoice_notify_rates_table',1),(58,'2025_03_20_010357_create_company_inventories_table',1),(59,'2025_03_20_124540_create_company_whatsapp_scans_table',1),(60,'2025_03_30_212850_create_potential_customers_table',1),(61,'2025_04_02_002642_create_paybill_transactions_table',1),(62,'2025_04_04_041618_create_director_share_incomes_table',1),(63,'2025_05_04_131513_create_b2b_outgoing_transaction_charges_table',1),(64,'2025_05_04_210449_create_outgoing_transaction_entities_table',1),(65,'2025_05_05_120828_create_temporary_grouped_transactions_table',1),(66,'2025_05_06_214708_create_b2c_outgoing_transaction_charges_table',1),(67,'2025_05_22_121943_create_tickets_table',1),(68,'2025_05_23_090344_create_ip_prefix_lengths_table',1),(69,'2025_05_25_122209_add_group_to_permissions_table',1),(70,'2025_06_02_232726_create_director_share_payment_accounts_table',1),(71,'2025_06_08_143800_create_company_router_customers_table',1),(72,'2025_07_04_013141_create_company_customer_service_plan_installation_items_table',1),(73,'2025_07_04_013148_create_company_customer_service_plan_installation_item_payments_table',1),(74,'2025_07_09_032524_create_client_to_be_disconnecteds_table',1),(77,'2025_08_01_223540_create_temporary_transaction_checks_table',2),(78,'2025_01_08_213816_create_company_payment_accounts_table',3);

--
-- Table structure for table `model_has_permissions`
--

CREATE TABLE `model_has_permissions` (
  `permission_id` bigint unsigned NOT NULL,
  `model_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint unsigned NOT NULL,
  PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`),
  CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `model_has_permissions`
--

INSERT INTO `model_has_permissions` VALUES (1,'App\\Models\\User',2),(1,'App\\Models\\User',3),(1,'App\\Models\\User',4),(1,'App\\Models\\User',5),(1,'App\\Models\\User',6),(1,'App\\Models\\User',7),(1,'App\\Models\\User',8),(1,'App\\Models\\User',9),(1,'App\\Models\\User',10),(1,'App\\Models\\User',11),(1,'App\\Models\\User',12),(1,'App\\Models\\User',13),(1,'App\\Models\\User',14),(1,'App\\Models\\User',15),(1,'App\\Models\\User',16),(1,'App\\Models\\User',17),(1,'App\\Models\\User',18),(1,'App\\Models\\User',19),(1,'App\\Models\\User',20),(1,'App\\Models\\User',21),(1,'App\\Models\\User',22),(1,'App\\Models\\User',23),(1,'App\\Models\\User',24),(1,'App\\Models\\User',25),(1,'App\\Models\\User',26),(1,'App\\Models\\User',27),(1,'App\\Models\\User',28),(1,'App\\Models\\User',29),(1,'App\\Models\\User',30),(1,'App\\Models\\User',31),(1,'App\\Models\\User',32),(1,'App\\Models\\User',33),(2,'App\\Models\\User',34),(1,'App\\Models\\User',35),(1,'App\\Models\\User',36),(1,'App\\Models\\User',37),(1,'App\\Models\\User',38),(1,'App\\Models\\User',39),(1,'App\\Models\\User',40),(1,'App\\Models\\User',42),(1,'App\\Models\\User',43),(1,'App\\Models\\User',44),(1,'App\\Models\\User',45),(1,'App\\Models\\User',46);

--
-- Table structure for table `model_has_roles`
--

CREATE TABLE `model_has_roles` (
  `role_id` bigint unsigned NOT NULL,
  `model_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint unsigned NOT NULL,
  PRIMARY KEY (`role_id`,`model_id`,`model_type`),
  KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`),
  CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `model_has_roles`
--

INSERT INTO `model_has_roles` VALUES (1,'App\\Models\\User',1),(2,'App\\Models\\User',2),(2,'App\\Models\\User',3),(2,'App\\Models\\User',4),(2,'App\\Models\\User',5),(2,'App\\Models\\User',6),(2,'App\\Models\\User',7),(2,'App\\Models\\User',8),(2,'App\\Models\\User',9),(2,'App\\Models\\User',10),(2,'App\\Models\\User',11),(2,'App\\Models\\User',12),(2,'App\\Models\\User',13),(2,'App\\Models\\User',14),(2,'App\\Models\\User',15),(2,'App\\Models\\User',16),(1,'App\\Models\\User',17),(1,'App\\Models\\User',18),(1,'App\\Models\\User',19),(2,'App\\Models\\User',20),(2,'App\\Models\\User',21),(2,'App\\Models\\User',22),(2,'App\\Models\\User',23),(2,'App\\Models\\User',24),(2,'App\\Models\\User',25),(2,'App\\Models\\User',26),(2,'App\\Models\\User',27),(2,'App\\Models\\User',28),(2,'App\\Models\\User',29),(2,'App\\Models\\User',30),(2,'App\\Models\\User',31),(2,'App\\Models\\User',32),(2,'App\\Models\\User',33),(2,'App\\Models\\User',34),(2,'App\\Models\\User',35),(2,'App\\Models\\User',36),(2,'App\\Models\\User',37),(2,'App\\Models\\User',38),(2,'App\\Models\\User',39),(2,'App\\Models\\User',40),(2,'App\\Models\\User',42),(2,'App\\Models\\User',43),(2,'App\\Models\\User',44),(2,'App\\Models\\User',45),(2,'App\\Models\\User',46);

--
-- Table structure for table `notifications`
--

CREATE TABLE `notifications` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int DEFAULT NULL,
  `user_id` int DEFAULT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `content` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int NOT NULL DEFAULT '0' COMMENT '0=pending, 1=read',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=15689 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notifications`
--

INSERT INTO `notifications` VALUES (15578,20,NULL,'Mikrotik Router Down','⚠️ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-10-18 22:01:47','2025-10-18 22:01:47'),(15579,20,NULL,'Mikrotik Router Up','✅ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is back online.',0,'2025-10-18 22:04:45','2025-10-18 22:04:45'),(15580,20,NULL,'Mikrotik Router Down','⚠️ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-10-19 02:00:48','2025-10-19 02:00:48'),(15581,20,NULL,'Mikrotik Router Up','✅ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is back online.',0,'2025-10-19 02:03:47','2025-10-19 02:03:47'),(15582,20,NULL,'Mikrotik Router Down','⚠️ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-10-19 04:00:48','2025-10-19 04:00:48'),(15583,20,NULL,'Mikrotik Router Up','✅ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is back online.',0,'2025-10-19 04:03:46','2025-10-19 04:03:46'),(15584,28,NULL,'Mikrotik Router Up','✅ Hi Kelvin Yolam, your mikrotik router - Wakizungu is back online.',0,'2025-10-19 06:55:05','2025-10-19 06:55:05'),(15585,20,NULL,'Mikrotik Router Down','⚠️ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-10-19 07:46:40','2025-10-19 07:46:40'),(15586,20,NULL,'Mikrotik Router Up','✅ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is back online.',0,'2025-10-19 07:53:38','2025-10-19 07:53:38'),(15587,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-19 09:24:53','2025-10-19 09:24:53'),(15588,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-19 09:27:52','2025-10-19 09:27:52'),(15589,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Ngoni Net 1 is offline. Please check it out.',1,'2025-10-19 11:00:34','2025-10-20 07:15:36'),(15590,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Ngoni Net 1 is back online.',1,'2025-10-19 11:05:29','2025-10-20 07:15:36'),(15591,20,NULL,'Mikrotik Router Down','⚠️ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-10-19 11:59:40','2025-10-19 11:59:40'),(15592,20,NULL,'Mikrotik Router Up','✅ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is back online.',0,'2025-10-19 12:03:38','2025-10-19 12:03:38'),(15593,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',1,'2025-10-19 12:18:33','2025-10-20 07:15:36'),(15594,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Machinga Complex is back online.',1,'2025-10-19 12:21:30','2025-10-20 07:15:36'),(15595,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-19 13:48:54','2025-10-19 13:48:54'),(15596,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-19 13:53:58','2025-10-19 13:53:58'),(15597,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Machinga Complex is offline. Please check it out.',1,'2025-10-19 14:08:32','2025-10-20 07:15:36'),(15598,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-19 14:32:55','2025-10-19 14:32:55'),(15599,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-19 14:35:52','2025-10-19 14:35:52'),(15600,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-19 15:25:55','2025-10-19 15:25:55'),(15601,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-19 15:28:53','2025-10-19 15:28:53'),(15602,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-19 15:36:55','2025-10-19 15:36:55'),(15603,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-19 15:39:54','2025-10-19 15:39:54'),(15604,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-19 15:58:55','2025-10-19 15:58:55'),(15605,20,NULL,'Mikrotik Router Down','⚠️ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-10-19 15:59:47','2025-10-19 15:59:47'),(15606,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-19 16:01:54','2025-10-19 16:01:54'),(15607,20,NULL,'Mikrotik Router Up','✅ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is back online.',0,'2025-10-19 16:03:40','2025-10-19 16:03:40'),(15608,28,NULL,'Mikrotik Router Down','⚠️ Hi Kelvin Yolam, your mikrotik router - Wakizungu is offline. Please check it out.',0,'2025-10-19 17:28:50','2025-10-19 17:28:50'),(15609,28,NULL,'Mikrotik Router Up','✅ Hi Kelvin Yolam, your mikrotik router - Wakizungu is back online.',0,'2025-10-19 17:31:50','2025-10-19 17:31:50'),(15610,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-19 17:53:55','2025-10-19 17:53:55'),(15611,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-19 17:56:54','2025-10-19 17:56:54'),(15612,20,NULL,'Mikrotik Router Down','⚠️ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-10-19 17:59:42','2025-10-19 17:59:42'),(15613,20,NULL,'Mikrotik Router Up','✅ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is back online.',0,'2025-10-19 18:03:40','2025-10-19 18:03:40'),(15614,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-19 18:09:57','2025-10-19 18:09:57'),(15615,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-19 18:12:56','2025-10-19 18:12:56'),(15616,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-19 19:09:54','2025-10-19 19:09:54'),(15617,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-19 19:13:59','2025-10-19 19:13:59'),(15618,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-19 19:39:54','2025-10-19 19:39:54'),(15619,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-19 19:42:53','2025-10-19 19:42:53'),(15620,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-19 19:49:56','2025-10-19 19:49:56'),(15621,28,NULL,'Mikrotik Router Down','⚠️ Hi Kelvin Yolam, your mikrotik router - Wakizungu is offline. Please check it out.',0,'2025-10-19 19:53:51','2025-10-19 19:53:51'),(15622,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-19 19:54:53','2025-10-19 19:54:53'),(15623,28,NULL,'Mikrotik Router Up','✅ Hi Kelvin Yolam, your mikrotik router - Wakizungu is back online.',0,'2025-10-19 19:56:50','2025-10-19 19:56:50'),(15624,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-19 20:02:54','2025-10-19 20:02:54'),(15625,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-19 20:06:57','2025-10-19 20:06:57'),(15626,28,NULL,'Mikrotik Router Down','⚠️ Hi Kelvin Yolam, your mikrotik router - Wakizungu is offline. Please check it out.',0,'2025-10-19 20:13:51','2025-10-19 20:13:51'),(15627,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-19 20:23:03','2025-10-19 20:23:03'),(15628,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-19 20:26:55','2025-10-19 20:26:55'),(15629,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Ngoni Net 1 is offline. Please check it out.',1,'2025-10-19 21:25:41','2025-10-20 07:15:36'),(15630,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Ngoni Net 1 is back online.',1,'2025-10-19 21:29:38','2025-10-20 07:15:36'),(15631,20,NULL,'Mikrotik Router Down','⚠️ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-10-19 21:58:49','2025-10-19 21:58:49'),(15632,20,NULL,'Mikrotik Router Up','✅ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is back online.',0,'2025-10-19 22:02:48','2025-10-19 22:02:48'),(15633,20,NULL,'Mikrotik Router Down','⚠️ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-10-19 23:29:49','2025-10-19 23:29:49'),(15634,27,NULL,'Mikrotik Router Down','⚠️ Hi Garcia, your mikrotik router - Twistechs is offline. Please check it out.',0,'2025-10-20 01:29:00','2025-10-20 01:29:00'),(15635,29,NULL,'Mikrotik Router Down','⚠️ Hi Trekker, your mikrotik router - Trekker is offline. Please check it out.',0,'2025-10-20 01:30:04','2025-10-20 01:30:04'),(15636,27,NULL,'Mikrotik Router Up','✅ Hi Garcia, your mikrotik router - Twistechs is back online.',0,'2025-10-20 02:10:02','2025-10-20 02:10:02'),(15637,20,NULL,'Mikrotik Router Up','✅ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is back online.',0,'2025-10-20 02:19:48','2025-10-20 02:19:48'),(15638,29,NULL,'Mikrotik Router Up','✅ Hi Trekker, your mikrotik router - Trekker is back online.',0,'2025-10-20 02:55:59','2025-10-20 02:55:59'),(15639,20,NULL,'Mikrotik Router Down','⚠️ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-10-20 03:12:50','2025-10-20 03:12:50'),(15640,20,NULL,'Mikrotik Router Up','✅ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is back online.',0,'2025-10-20 03:49:48','2025-10-20 03:49:48'),(15641,22,NULL,'Mikrotik Router Down','⚠️ Hi Manyala Agalla, your mikrotik router - Mshua Net is offline. Please check it out.',0,'2025-10-20 06:17:52','2025-10-20 06:17:52'),(15642,22,NULL,'Mikrotik Router Up','✅ Hi Manyala Agalla, your mikrotik router - Mshua Net is back online.',0,'2025-10-20 06:20:50','2025-10-20 06:20:50'),(15643,28,NULL,'Mikrotik Router Up','✅ Hi Kelvin Yolam, your mikrotik router - Wakizungu is back online.',0,'2025-10-20 06:43:03','2025-10-20 06:43:03'),(15644,20,NULL,'Mikrotik Router Down','⚠️ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-10-20 06:59:42','2025-10-20 06:59:42'),(15645,20,NULL,'Mikrotik Router Up','✅ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is back online.',0,'2025-10-20 07:03:40','2025-10-20 07:03:40'),(15646,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-20 07:04:55','2025-10-20 07:04:55'),(15647,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-20 07:07:53','2025-10-20 07:07:53'),(15648,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-20 07:14:55','2025-10-20 07:14:55'),(15649,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-20 07:17:53','2025-10-20 07:17:53'),(15650,29,NULL,'Mikrotik Router Down','⚠️ Hi Trekker, your mikrotik router - Trekker is offline. Please check it out.',0,'2025-10-20 10:58:53','2025-10-20 10:58:53'),(15651,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Ngoni Net 1 is offline. Please check it out.',1,'2025-10-20 11:00:36','2025-10-20 12:50:19'),(15652,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Ngoni Net 1 is back online.',0,'2025-10-20 11:05:32','2025-10-20 11:05:32'),(15653,29,NULL,'Mikrotik Router Up','✅ Hi Trekker, your mikrotik router - Trekker is back online.',0,'2025-10-20 11:31:52','2025-10-20 11:31:52'),(15654,20,NULL,'Mikrotik Router Down','⚠️ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-10-20 11:47:44','2025-10-20 11:47:44'),(15655,27,NULL,'Mikrotik Router Down','⚠️ Hi Garcia, your mikrotik router - Twistechs is offline. Please check it out.',0,'2025-10-20 11:49:53','2025-10-20 11:49:53'),(15656,20,NULL,'Mikrotik Router Up','✅ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is back online.',0,'2025-10-20 11:50:43','2025-10-20 11:50:43'),(15657,27,NULL,'Mikrotik Router Up','✅ Hi Garcia, your mikrotik router - Twistechs is back online.',0,'2025-10-20 11:52:50','2025-10-20 11:52:50'),(15658,22,NULL,'Mikrotik Router Down','⚠️ Hi Manyala Agalla, your mikrotik router - Mshua Net is offline. Please check it out.',0,'2025-10-20 13:00:45','2025-10-20 13:00:45'),(15659,22,NULL,'Mikrotik Router Up','✅ Hi Manyala Agalla, your mikrotik router - Mshua Net is back online.',0,'2025-10-20 13:03:44','2025-10-20 13:03:44'),(15660,20,NULL,'Mikrotik Router Down','⚠️ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-10-20 13:48:44','2025-10-20 13:48:44'),(15661,28,NULL,'Mikrotik Router Down','⚠️ Hi Kelvin Yolam, your mikrotik router - Wakizungu is offline. Please check it out.',0,'2025-10-20 14:02:54','2025-10-20 14:02:54'),(15662,20,NULL,'Mikrotik Router Up','✅ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is back online.',0,'2025-10-20 14:08:42','2025-10-20 14:08:42'),(15663,28,NULL,'Mikrotik Router Up','✅ Hi Kelvin Yolam, your mikrotik router - Wakizungu is back online.',0,'2025-10-20 14:22:50','2025-10-20 14:22:50'),(15664,22,NULL,'Mikrotik Router Down','⚠️ Hi Manyala Agalla, your mikrotik router - Mshua Net is offline. Please check it out.',0,'2025-10-20 15:02:46','2025-10-20 15:02:46'),(15665,22,NULL,'Mikrotik Router Up','✅ Hi Manyala Agalla, your mikrotik router - Mshua Net is back online.',0,'2025-10-20 15:06:44','2025-10-20 15:06:44'),(15666,22,NULL,'Mikrotik Router Down','⚠️ Hi Manyala Agalla, your mikrotik router - Mshua Net is offline. Please check it out.',0,'2025-10-20 15:14:47','2025-10-20 15:14:47'),(15667,22,NULL,'Mikrotik Router Up','✅ Hi Manyala Agalla, your mikrotik router - Mshua Net is back online.',0,'2025-10-20 15:17:45','2025-10-20 15:17:45'),(15668,28,NULL,'Mikrotik Router Down','⚠️ Hi Kelvin Yolam, your mikrotik router - Wakizungu is offline. Please check it out.',0,'2025-10-20 17:03:53','2025-10-20 17:03:53'),(15669,28,NULL,'Mikrotik Router Up','✅ Hi Kelvin Yolam, your mikrotik router - Wakizungu is back online.',0,'2025-10-20 17:06:50','2025-10-20 17:06:50'),(15670,8,NULL,'Mikrotik Router Down','⚠️ Hi Erick, your mikrotik router - Ngoni Net 1 is offline. Please check it out.',0,'2025-10-20 17:33:36','2025-10-20 17:33:36'),(15671,20,NULL,'Mikrotik Router Down','⚠️ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-10-20 17:58:49','2025-10-20 17:58:49'),(15672,20,NULL,'Mikrotik Router Up','✅ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is back online.',0,'2025-10-20 18:03:48','2025-10-20 18:03:48'),(15673,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-20 18:29:04','2025-10-20 18:29:04'),(15674,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-20 18:32:01','2025-10-20 18:32:01'),(15675,8,NULL,'Mikrotik Router Up','✅ Hi Erick, your mikrotik router - Ngoni Net 1 is back online.',0,'2025-10-20 18:35:38','2025-10-20 18:35:38'),(15676,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-20 18:38:56','2025-10-20 18:38:56'),(15677,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-20 18:42:55','2025-10-20 18:42:55'),(15678,28,NULL,'Mikrotik Router Down','⚠️ Hi Kelvin Yolam, your mikrotik router - Wakizungu is offline. Please check it out.',0,'2025-10-20 19:06:52','2025-10-20 19:06:52'),(15679,28,NULL,'Mikrotik Router Up','✅ Hi Kelvin Yolam, your mikrotik router - Wakizungu is back online.',0,'2025-10-20 19:09:50','2025-10-20 19:09:50'),(15680,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-20 19:12:57','2025-10-20 19:12:57'),(15681,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-20 19:16:54','2025-10-20 19:16:54'),(15682,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-20 19:31:57','2025-10-20 19:31:57'),(15683,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-20 19:37:00','2025-10-20 19:37:00'),(15684,28,NULL,'Mikrotik Router Down','⚠️ Hi Kelvin Yolam, your mikrotik router - Wakizungu is offline. Please check it out.',0,'2025-10-20 20:02:53','2025-10-20 20:02:53'),(15685,20,NULL,'Mikrotik Router Down','⚠️ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is offline. Please check it out.',0,'2025-10-20 21:59:46','2025-10-20 21:59:46'),(15686,32,NULL,'Mikrotik Router Down','⚠️ Hi Moses Mousa, your mikrotik router - Moxetech is offline. Please check it out.',0,'2025-10-20 22:01:01','2025-10-20 22:01:01'),(15687,20,NULL,'Mikrotik Router Up','✅ Hi FiberNet HotSpot, your mikrotik router - Mkiwa is back online.',0,'2025-10-20 22:02:44','2025-10-20 22:02:44'),(15688,32,NULL,'Mikrotik Router Up','✅ Hi Moses Mousa, your mikrotik router - Moxetech is back online.',0,'2025-10-20 22:04:59','2025-10-20 22:04:59');

--
-- Table structure for table `out_messages`
--

CREATE TABLE `out_messages` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `message_mode_id` bigint unsigned NOT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `title` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `content` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `filename` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `out_messages_message_mode_id_foreign` (`message_mode_id`),
  CONSTRAINT `out_messages_message_mode_id_foreign` FOREIGN KEY (`message_mode_id`) REFERENCES `message_modes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `out_messages`
--


--
-- Table structure for table `outgoing_transaction_entities`
--

CREATE TABLE `outgoing_transaction_entities` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `outgoing_transaction_id` int NOT NULL,
  `company_grouped_transaction_id` int NOT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `outgoing_transaction_entities`
--

INSERT INTO `outgoing_transaction_entities` VALUES (1,1,3,210.00,'2025-08-05 19:03:36','2025-08-05 19:03:36',NULL),(2,2,4,210.00,'2025-08-06 20:02:48','2025-08-06 20:02:48',NULL),(3,3,5,1000.00,'2025-08-07 18:53:54','2025-08-07 18:53:54',NULL),(4,4,6,500.00,'2025-08-08 15:56:03','2025-08-08 15:56:03',NULL),(5,5,7,1000.00,'2025-08-09 11:05:18','2025-08-09 11:05:18',NULL),(6,6,8,500.00,'2025-08-09 13:37:14','2025-08-09 13:37:14',NULL),(7,7,9,1000.00,'2025-08-09 15:21:56','2025-08-09 15:21:56',NULL),(8,8,10,1000.00,'2025-08-10 19:09:47','2025-08-10 19:09:47',NULL),(9,9,11,1000.00,'2025-08-11 18:56:22','2025-08-11 18:56:22',NULL),(10,10,12,1000.00,'2025-08-11 19:33:37','2025-08-11 19:33:37',NULL),(11,11,13,210.00,'2025-08-14 20:20:46','2025-08-14 20:20:46',NULL),(12,12,14,1000.00,'2025-08-16 06:35:15','2025-08-16 06:35:15',NULL);

--
-- Table structure for table `outgoing_transactions`
--

CREATE TABLE `outgoing_transactions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `company_router_id` int DEFAULT NULL,
  `director_share_id` int DEFAULT NULL,
  `company_customer_invocie_id` int DEFAULT NULL,
  `user_id` int DEFAULT NULL,
  `transaction_code` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `recipient` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` longtext COLLATE utf8mb4_unicode_ci,
  `checkout_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `outgoing_transactions`
--

INSERT INTO `outgoing_transactions` VALUES (1,'GA8S5U',2,NULL,NULL,NULL,'0964383972',210.00,'123456','Money sent to 123456 on account number 123456 ','514066','2025-08-05 19:03:36','2025-08-05 19:03:36',NULL),(2,'7YL9KT',2,NULL,NULL,NULL,'0964774233',210.00,'123456','Money sent to 123456 on account number 123456 ','151783','2025-08-06 20:02:48','2025-08-06 20:02:48',NULL),(3,'K9BH8E',2,NULL,NULL,NULL,'1307377571',1000.00,'123456','Money sent to 123456 on account number 123456 ','788624','2025-08-07 18:53:54','2025-08-07 18:53:54',NULL),(4,'8EPQ27',2,NULL,NULL,NULL,'1308639764',500.00,'123456','Money sent to 123456 on account number 123456 ','762516','2025-08-08 15:56:03','2025-08-08 15:56:03',NULL),(5,'OZP260',2,NULL,NULL,NULL,'1309788641',1000.00,'123456','Money sent to 123456 on account number 123456 ','465166','2025-08-09 11:05:18','2025-08-09 11:05:18',NULL),(6,'0ME2JD',2,NULL,NULL,NULL,'1309940132',500.00,'123456','Money sent to 123456 on account number 123456 ','320618','2025-08-09 13:37:14','2025-08-09 13:37:14',NULL),(7,'JU3FQ6',2,NULL,NULL,NULL,'1310045490',1000.00,'123456','Money sent to 123456 on account number 123456 ','184295','2025-08-09 15:21:56','2025-08-09 15:21:56',NULL),(8,'R0PHAV',2,NULL,NULL,NULL,'1311713416',1000.00,'123456','Money sent to 123456 on account number 123456 ','792168','2025-08-10 19:09:47','2025-08-10 19:09:47',NULL),(9,'Y4CP6J',2,NULL,NULL,NULL,'1313139026',1000.00,'123456','Money sent to 123456 on account number 123456 ','431003','2025-08-11 18:56:22','2025-08-11 18:56:22',NULL),(10,'58RHPU',2,NULL,NULL,NULL,'1313175196',1000.00,'123456','Money sent to 123456 on account number 123456 ','021868','2025-08-11 19:33:37','2025-08-11 19:33:37',NULL),(11,'E4FVO2',2,NULL,NULL,NULL,'0967592079',210.00,'123456','Money sent to 123456 on account number 123456 ','118106','2025-08-14 20:20:46','2025-08-14 20:20:46',NULL),(12,'1CKLJO',2,NULL,NULL,NULL,'1319598138',1000.00,'123456','Money sent to 123456 on account number 123456 ','580259','2025-08-16 06:35:15','2025-08-16 06:35:15',NULL);

--
-- Table structure for table `paid_users`
--

CREATE TABLE `paid_users` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_router_id` bigint unsigned DEFAULT NULL,
  `company_grouped_transaction_id` int DEFAULT NULL,
  `mac_address` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `username` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `password` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `message` longtext COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `paid_users_company_router_id_foreign` (`company_router_id`),
  CONSTRAINT `paid_users_company_router_id_foreign` FOREIGN KEY (`company_router_id`) REFERENCES `company_routers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=1453 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `paid_users`
--

INSERT INTO `paid_users` VALUES (129,7,140,'DE:FE:99:B9:7F:F5','749353','4130','255785581266','Greetings, thank you for purchasing [plan] plan worthy 200.00. Please use [username] as the username and 4130 as your password to reconnect yourself. Your subscription expires at [expiry_date].','2025-09-01 10:47:58','2025-09-01 10:47:58'),(773,2,789,'02:C0:AF:A7:33:40','423957','3052','255761933535','Greetings, thank you for purchasing [plan] plan worthy 500.00. Please use [username] as the username and 3052 as your password to reconnect yourself. Your subscription expires at [expiry_date].','2025-09-28 21:03:05','2025-09-28 21:03:05'),(908,2,925,'F6:1D:E3:77:F2:61','958013','6479','255781692464','Greetings, thank you for purchasing [plan] plan worthy 300.00. Please use [username] as the username and 6479 as your password to reconnect yourself. Your subscription expires at [expiry_date].','2025-10-02 18:53:15','2025-10-02 18:53:15'),(954,2,971,'32:FE:B8:B0:34:56','046509','8688','255752578492','Greetings, thank you for purchasing [plan] plan worthy 500.00. Please use [username] as the username and 8688 as your password to reconnect yourself. Your subscription expires at [expiry_date].','2025-10-04 10:54:54','2025-10-04 10:54:54'),(1086,15,1103,'CA:07:EA:5F:DB:02','174984','7088','255620695938','','2025-10-08 09:55:42','2025-10-08 09:55:42');

--
-- Table structure for table `password_reset_tokens`
--

CREATE TABLE `password_reset_tokens` (
  `email` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `password_reset_tokens`
--

INSERT INTO `password_reset_tokens` VALUES ('info@twistechs.bj','$2y$12$MwwKbNXSntZDfXC2N9sHMeBGO.LHpSsIRaesQ.ghJbf3gY/cV44qi','2025-10-03 10:02:54'),('ivonirauya@gmail.com','$2y$12$gG7lXzsC9QzP2Oa569DyZeLwOWDm9zjuHdu3C01G67emcJ8XckFIq','2025-10-01 22:12:55'),('sales@iteam.co.tz','$2y$12$95fJp6sBR9iT/ns4Vx6dlOePkzrQu.v9gW/Yp14MOcnjiYSdEbfLy','2025-09-30 08:09:30');

--
-- Table structure for table `paybill_transactions`
--

CREATE TABLE `paybill_transactions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payment_mode_id` bigint unsigned NOT NULL,
  `phone_used` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transaction_code` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00',
  `checkout_id` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `account_number` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `paybill_transactions_payment_mode_id_foreign` (`payment_mode_id`),
  CONSTRAINT `paybill_transactions_payment_mode_id_foreign` FOREIGN KEY (`payment_mode_id`) REFERENCES `payment_modes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `paybill_transactions`
--


--
-- Table structure for table `payment_methods`
--

CREATE TABLE `payment_methods` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_methods`
--

INSERT INTO `payment_methods` VALUES (1,'0001','Selcom',1,'2025-08-03 19:10:06','2025-08-03 19:10:06',NULL);

--
-- Table structure for table `payment_modes`
--

CREATE TABLE `payment_modes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_modes`
--

INSERT INTO `payment_modes` VALUES (1,'0001','M-PESA',1,'2025-08-03 19:10:05','2025-08-03 19:10:05',NULL),(2,'0002','M-PESA (Manually)',1,'2025-08-03 19:10:05','2025-08-03 19:10:05',NULL),(3,'0003','Cash',1,'2025-08-03 19:10:05','2025-08-03 19:10:05',NULL);

--
-- Table structure for table `payment_types`
--

CREATE TABLE `payment_types` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_types`
--

INSERT INTO `payment_types` VALUES (1,'Fixed Amount','2025-08-03 19:10:01','2025-08-03 19:10:01',NULL),(2,'Commission Based','2025-08-03 19:10:01','2025-08-03 19:10:01',NULL);

--
-- Table structure for table `permissions`
--

CREATE TABLE `permissions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `group` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `guard_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `permissions`
--

INSERT INTO `permissions` VALUES (1,'Administer Company',NULL,'web','2025-08-03 19:10:01','2025-08-03 19:10:01'),(2,'Staff',NULL,'web','2025-08-03 19:10:01','2025-08-03 19:10:01');

--
-- Table structure for table `personal_access_tokens`
--

CREATE TABLE `personal_access_tokens` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `tokenable_type` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tokenable_id` bigint unsigned NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(64) COLLATE utf8mb4_unicode_ci NOT NULL,
  `abilities` text COLLATE utf8mb4_unicode_ci,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `expires_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
  KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `personal_access_tokens`
--


--
-- Table structure for table `plan_validity_types`
--

CREATE TABLE `plan_validity_types` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `entity` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `plan_validity_types`
--

INSERT INTO `plan_validity_types` VALUES (1,'0001','Minutes','m','2025-08-03 19:10:02','2025-08-03 19:10:02',NULL),(2,'0002','Hours','h','2025-08-03 19:10:02','2025-08-03 19:10:02',NULL),(3,'0003','Days','d','2025-08-03 19:10:02','2025-08-03 19:10:02',NULL);

--
-- Table structure for table `potential_customers`
--

CREATE TABLE `potential_customers` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `company_id` int DEFAULT NULL,
  `names` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` longtext COLLATE utf8mb4_unicode_ci,
  `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 `potential_customers`
--


--
-- Table structure for table `role_has_permissions`
--

CREATE TABLE `role_has_permissions` (
  `permission_id` bigint unsigned NOT NULL,
  `role_id` bigint unsigned NOT NULL,
  PRIMARY KEY (`permission_id`,`role_id`),
  KEY `role_has_permissions_role_id_foreign` (`role_id`),
  CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `role_has_permissions`
--


--
-- Table structure for table `roles`
--

CREATE TABLE `roles` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `roles_name_guard_name_unique` (`name`,`guard_name`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `roles`
--

INSERT INTO `roles` VALUES (1,'Administrator','web','2025-08-03 19:10:01','2025-08-03 19:10:01'),(2,'Client','web','2025-08-03 19:10:01','2025-08-03 19:10:01'),(3,'Referrer','web','2025-08-03 19:10:01','2025-08-03 19:10:01');

--
-- Table structure for table `service_plans`
--

CREATE TABLE `service_plans` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `ref_no` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` int NOT NULL DEFAULT '1' COMMENT '0=inactive, 1=active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `service_plans`
--

INSERT INTO `service_plans` VALUES (1,'0001','Hotspot Plans',1,'2025-08-03 19:10:02','2025-08-03 19:10:02',NULL),(2,'0002','PPPoE Plans',1,'2025-08-03 19:10:02','2025-08-03 19:10:02',NULL),(3,'0003','Static Plans',1,'2025-08-03 19:10:02','2025-08-03 19:10:02',NULL);

--
-- Table structure for table `sessions`
--

CREATE TABLE `sessions` (
  `id` varchar(191) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint unsigned DEFAULT NULL,
  `ip_address` varchar(45) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_agent` text COLLATE utf8mb4_unicode_ci,
  `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_activity` int NOT NULL,
  PRIMARY KEY (`id`),
  KEY `sessions_user_id_index` (`user_id`),
  KEY `sessions_last_activity_index` (`last_activity`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `sessions`
--

INSERT INTO `sessions` VALUES ('11Zk3txK5tTYdfJJZGgttoDmfVIPvUxy19gcioYK',NULL,'196.96.193.229','Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0','YTozOntzOjY6Il90b2tlbiI7czo0MDoiMUlDSEtxN2RLUERpY0o1UldSVWVOV204b1Vvd0NJQlpOUFdHUlVzMyI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6Mjc6Imh0dHBzOi8vaGVyaXRhZ2Vncm91cC5jby5rZSI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=',1760982917),('2K9NphTCa7qTjU3O8C85anX8ODqWuqY1JfWvZKdc',NULL,'43.157.156.190','Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1','YTozOntzOjY6Il90b2tlbiI7czo0MDoiWEdrdWlvZ1RRb2xqZkN0WEV0b3lodXZzMFBGN0xXdzNoMjI2YXFySSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzU6Imh0dHA6Ly9oZXJpdGFnZWdyb3VwLmNvLmtlL2ZlYXR1cmVzIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1760990098),('6vnTH09Tke4nptRybhnCksdq69Fgracd2e5H1Bqs',NULL,'101.33.81.73','Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1','YTozOntzOjY6Il90b2tlbiI7czo0MDoid2h0SThxbDlCcVV4TnF0a3dJR0J3bWxEQWpxMGptZzJEc25MeThENSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6Mjc6Imh0dHBzOi8vaGVyaXRhZ2Vncm91cC5jby5rZSI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=',1760992146),('73lAKKJRfUBcCOLfNQgqo2v98y0326RTWTXQCFEC',NULL,'43.159.139.164','Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1','YTozOntzOjY6Il90b2tlbiI7czo0MDoieDl3WVFndkszZmZadFkydkpFQk4wUTdFVXNQTFdOdG5tOHhuTTJuZSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjY6Imh0dHA6Ly9oZXJpdGFnZWdyb3VwLmNvLmtlIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1760985971),('7rpX3ezkEiwGi47LHBfNrrYt9vjqfD5CI56siPJU',NULL,'170.106.192.208','Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1','YTozOntzOjY6Il90b2tlbiI7czo0MDoiQ1Fwd0h2cnZSYmp1djdBNkxYRDl0ZDNhUFB1VVlEY3dOa3NEblI5UiI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6Mzc6Imh0dHA6Ly9oZXJpdGFnZWdyb3VwLmNvLmtlL2NvbnRhY3QtdXMiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1760986937),('9xs3v5PNU5cT31vVZs0l6sAwo6lvNc5ufIaqOhFt',NULL,'198.235.24.45','Hello from Palo Alto Networks, find out more about our scans in https://docs-cortex.paloaltonetworks.com/r/1/Cortex-Xpanse/Scanning-activity','YTozOntzOjY6Il90b2tlbiI7czo0MDoiZXZWaktwbWIxamhueFBsRVZvS1NhSFV3OG53WUdvakJCS3p3QzViVyI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzE6Imh0dHBzOi8vd3d3Lmhlcml0YWdlZ3JvdXAuY28ua2UiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1760989489),('Azvj45NLwOG9vfpT8GygZpmdvf4lXx3Hk4YGmopn',NULL,'196.96.193.229','Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0','YTozOntzOjY6Il90b2tlbiI7czo0MDoiQkt1U1o5ZUFnazh3WnNPYXA1UTVlYTFuVHRIRFpHTnBKUExBQ0lzbiI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6Mjc6Imh0dHBzOi8vaGVyaXRhZ2Vncm91cC5jby5rZSI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=',1760982923),('BN3OzFXAjXbCkdbCFUMiuIwccatKrpDXVIILjBZW',15,'41.59.111.106','Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0) Gecko/20100101 Firefox/144.0','[encoded data, 28328 characters]',1760989640),('c8mK0Z6k5l5XBL5ljJQKML4gelTcZ79XeC3UVWo4',NULL,'49.51.166.228','Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1','YTozOntzOjY6Il90b2tlbiI7czo0MDoiSUxqOFJMcGFoUUpJMmlmYXVmWWQ4SXc1WVJoN0Z1RzgxWTFYMUN0UCI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzU6Imh0dHA6Ly9oZXJpdGFnZWdyb3VwLmNvLmtlL3JlZ2lzdGVyIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1760990852),('EC9IHfvXu9cbmWVpM8jAGNMwY18TTxwot9HGJjuf',NULL,'43.130.9.111','Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1','YTozOntzOjY6Il90b2tlbiI7czo0MDoiMVhrQXhyd2ZPb2hYUklmdmVhQzJxbzQ2RUs0WGp2RmhMR1huMGU2NiI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6NDg6Imh0dHBzOi8vaGVyaXRhZ2Vncm91cC5jby5rZS90ZXJtcy1hbmQtY29uZGl0aW9ucyI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=',1760994669),('eSCE7gvB7OSBZS5O9yKYw5BGklP8ZIWH70OP425C',44,'197.239.11.36','Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Mobile Safari/537.36','[encoded data, 13384 characters]',1760988408),('g2SIZFYAdE4cqMvuh4QzWfjzj07d7hdGadDYceTC',NULL,'54.157.138.196','Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoiekQ1ZVZobEo3ekdLNGs0YkFIQkVDeHd2c3NkeXA4WDlBUGFqbXJNUiI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjY6Imh0dHA6Ly9oZXJpdGFnZWdyb3VwLmNvLmtlIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1760993847),('Gex45yECrszAxddxRhK5EcP5LcfHsXYb0wY3Y0fJ',NULL,'170.106.192.208','Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1','YTozOntzOjY6Il90b2tlbiI7czo0MDoic3hndmFwSFdmcTVnOElhU3o0b2h1V1ZNdk8zdzJnYmZFZDdYZEVQeSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6NDE6Imh0dHA6Ly9oZXJpdGFnZWdyb3VwLmNvLmtlL3ByaXZhY3ktcG9saWN5Ijt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1760991446),('hJv0YgCmWWF5TViRrWHLhcXjQqnD7eCmbU1jBfNm',NULL,'43.157.172.39','Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1','YTozOntzOjY6Il90b2tlbiI7czo0MDoiRUZja21BZ0hUMlVkcGRGcEpYWXB5S1Z5VmhzVVpTVDlmSmhVdzFjcCI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6Mjc6Imh0dHBzOi8vaGVyaXRhZ2Vncm91cC5jby5rZSI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=',1760995692),('j4Y6UQuJdSyKrcQ3pqXpnTE3m1RXl2eGwTzX5bj0',NULL,'170.106.72.93','Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1','YTozOntzOjY6Il90b2tlbiI7czo0MDoiQ1ZVZjJSRzl3ZzQ5REREQzlDZVBqaERmVUVlQzVqbUgxS21kZXNyVSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzI6Imh0dHA6Ly9oZXJpdGFnZWdyb3VwLmNvLmtlL2xvZ2luIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1760988112),('K7dFpZzqGozOeuN7lzCmt1EGlc2eYCpQ7I4eA1UY',NULL,'43.159.141.150','Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1','YTozOntzOjY6Il90b2tlbiI7czo0MDoiazdtQ3VTc0ZRMHVEdE5scmNVTlhCdDF1QjRSMkduQjNPZE5BSXZqYyI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6NDc6Imh0dHA6Ly9oZXJpdGFnZWdyb3VwLmNvLmtlL3Rlcm1zLWFuZC1jb25kaXRpb25zIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1760987451),('M0BPoYFrPuHLaEgQ0mm47a6cVfMtvIigDynxILxB',NULL,'170.106.143.6','Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1','YTozOntzOjY6Il90b2tlbiI7czo0MDoiODVNT1BlMk1RNzRoaXFOcWpTNjVKUjBTUU1LYjd6RXFJcktYQkhlRiI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzM6Imh0dHBzOi8vaGVyaXRhZ2Vncm91cC5jby5rZS9sb2dpbiI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=',1760995172),('mqmY1TPeBawOu9vWPOM67lIFzk8XqwDyNgjZqJIg',NULL,'43.131.36.84','Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1','YTozOntzOjY6Il90b2tlbiI7czo0MDoiZG9ZcVBmSVRVQUQ4RjE2Qk4wTmlSODZzSmppbjBtZktQbkNDSzU2biI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6NDE6Imh0dHA6Ly9oZXJpdGFnZWdyb3VwLmNvLmtlL3Bhc3N3b3JkL3Jlc2V0Ijt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1760992571),('niTPkgLkSgneGb7GXrxHKKxnaQHlA2bEXqpmCIbU',NULL,'43.130.105.21','Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1','YTozOntzOjY6Il90b2tlbiI7czo0MDoiOENaSnRESURZWFJxaHdjTTUxSHVvVThMVTg1OWNtekJYTHFRR2VFaCI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzU6Imh0dHA6Ly9oZXJpdGFnZWdyb3VwLmNvLmtlL2Fib3V0LXVzIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1760989578),('nnzfwbabhW8ao8Q8S4VoFa1NqcbKza7YFi74FoYC',NULL,'34.122.172.75','python-requests/2.32.3','YTozOntzOjY6Il90b2tlbiI7czo0MDoiSEpocm9JYU9BNnlWN0t1OWRwcThoeGc1QzF1YXpmMlB3UmhJd3d3MiI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjY6Imh0dHA6Ly9oZXJpdGFnZWdyb3VwLmNvLmtlIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1760987328),('nyzGsVGUMRB8KiUtLaZAafYyChaPVjmYBjX3SkP2',NULL,'43.135.138.128','Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1','YTozOntzOjY6Il90b2tlbiI7czo0MDoieTJRd0lIVlM2cTIzdGlUVm40ZmFYNUNNTGV0TUZDaE9XeUh1Q2xydSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6Mzg6Imh0dHBzOi8vaGVyaXRhZ2Vncm91cC5jby5rZS9jb250YWN0LXVzIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1760993989),('r5wQtbjfi7mcBzs4xzbVHgxlWEYxVKH3EIUJuXf7',30,'197.186.7.143','Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Mobile Safari/537.36','[encoded data, 46024 characters]',1760986581),('Voi8cL2hNRwoomTOWjwVbQRBIxYoDsec5mZ5ekWk',NULL,'54.157.138.196','Mozilla/5.0 (X11; Linux i686; rv:49.0) Gecko/20100101 Firefox/49.0','YTozOntzOjY6Il90b2tlbiI7czo0MDoiT0JRa2I5VEs0OVBJeWladUF3QnpYS2huczJ0azU4UlFtbXUwVHdzUyI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6Mjc6Imh0dHBzOi8vaGVyaXRhZ2Vncm91cC5jby5rZSI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=',1760993847),('vQ7SuxP6sVyPnFecTTytSIKLC7psZ6b3I7WhxJUL',NULL,'49.51.39.209','Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1','YTozOntzOjY6Il90b2tlbiI7czo0MDoiSFlRb0hidjMwWW50c09mRERCekhGVFVDRVUyck56aXhjd1hIbkhIayI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzY6Imh0dHBzOi8vaGVyaXRhZ2Vncm91cC5jby5rZS9hYm91dC11cyI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=',1760993376);

--
-- Table structure for table `sms_provider_requirements`
--

CREATE TABLE `sms_provider_requirements` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `sms_provider_id` bigint unsigned NOT NULL,
  `sms_requirement_id` bigint unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `sms_provider_requirements_sms_provider_id_foreign` (`sms_provider_id`),
  KEY `sms_provider_requirements_sms_requirement_id_foreign` (`sms_requirement_id`),
  CONSTRAINT `sms_provider_requirements_sms_provider_id_foreign` FOREIGN KEY (`sms_provider_id`) REFERENCES `sms_providers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `sms_provider_requirements_sms_requirement_id_foreign` FOREIGN KEY (`sms_requirement_id`) REFERENCES `sms_requirements` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
