-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `uraerp`
--

-- --------------------------------------------------------

--
-- Table structure for table `districts`
--

CREATE TABLE IF NOT EXISTS IF NOT EXISTS `districts` (
  `id` bigint UNSIGNED NOT NULL,
  `region_id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `districts`
--

INSERT INTO `districts` (`id`, `region_id`, `name`, `created_at`, `updated_at`) VALUES
(1, 1, 'Arusha Urban', NULL, NULL),
(2, 1, 'Arusha Rural', NULL, NULL),
(3, 1, 'Karatu', NULL, NULL),
(4, 1, 'Longido', NULL, NULL),
(5, 1, 'Monduli', NULL, NULL),
(6, 1, 'Ngorongoro', NULL, NULL),
(7, 2, 'Ilala', NULL, NULL),
(8, 2, 'Kinondoni', NULL, NULL),
(9, 2, 'Ubungo', NULL, NULL),
(10, 2, 'Temeke', NULL, NULL),
(11, 2, 'Kigamboni', NULL, NULL),
(12, 3, 'Dodoma Urban', NULL, NULL),
(13, 3, 'Kondoa', NULL, NULL),
(14, 3, 'Bahi', NULL, NULL),
(15, 3, 'Chamwino', NULL, NULL),
(16, 3, 'Chemba', NULL, NULL),
(17, 3, 'Mpwapwa', NULL, NULL),
(18, 4, 'Geita Town', NULL, NULL),
(19, 4, 'Bukombe', NULL, NULL),
(20, 4, 'Chato', NULL, NULL),
(21, 4, 'Mbogwe', NULL, NULL),
(22, 4, 'Nyanghwale', NULL, NULL),
(23, 5, 'Iringa Urban', NULL, NULL),
(24, 5, 'Iringa Rural', NULL, NULL),
(25, 5, 'Mafinga', NULL, NULL),
(26, 5, 'Kilolo', NULL, NULL),
(27, 6, 'Bukoba Urban', NULL, NULL),
(28, 6, 'Bukoba Rural', NULL, NULL),
(29, 6, 'Karagwe', NULL, NULL),
(30, 6, 'Biharamulo', NULL, NULL),
(31, 6, 'Muleba', NULL, NULL),
(32, 6, 'Ngara', NULL, NULL),
(33, 6, 'Kyerwa', NULL, NULL),
(34, 9, 'Moshi Urban', NULL, NULL),
(35, 9, 'Moshi Rural', NULL, NULL),
(36, 9, 'Hai', NULL, NULL),
(37, 9, 'Siha', NULL, NULL),
(38, 9, 'Rombo', NULL, NULL),
(39, 9, 'Mwanga', NULL, NULL),
(40, 9, 'Same', NULL, NULL),
(41, 10, 'Lindi Urban', NULL, NULL),
(42, 10, 'Lindi Rural', NULL, NULL),
(43, 10, 'Ruangwa', NULL, NULL),
(44, 10, 'Liwale', NULL, NULL),
(45, 10, 'Kilwa', NULL, NULL),
(46, 10, 'Nachingwea', NULL, NULL),
(47, 11, 'Babati', NULL, NULL),
(48, 11, 'Mbulu', NULL, NULL),
(49, 11, 'Hanang', NULL, NULL),
(50, 11, 'Kiteto', NULL, NULL),
(51, 11, 'Simanjiro', NULL, NULL),
(52, 12, 'Musoma Urban', NULL, NULL),
(53, 12, 'Musoma Rural', NULL, NULL),
(54, 12, 'Tarime', NULL, NULL),
(55, 12, 'Serengeti', NULL, NULL),
(56, 12, 'Bunda', NULL, NULL),
(57, 12, 'Rorya', NULL, NULL),
(58, 13, 'Mbeya City', NULL, NULL),
(59, 13, 'Mbeya Rural', NULL, NULL),
(60, 13, 'Rungwe', NULL, NULL),
(61, 13, 'Mbozi', NULL, NULL),
(62, 13, 'Kyela', NULL, NULL),
(63, 13, 'Chunya', NULL, NULL),
(64, 14, 'Morogoro Urban', NULL, NULL),
(65, 14, 'Morogoro Rural', NULL, NULL),
(66, 14, 'Kilosa', NULL, NULL),
(67, 14, 'Gairo', NULL, NULL),
(68, 14, 'Ulanga', NULL, NULL),
(69, 14, 'Malinyi', NULL, NULL),
(70, 15, 'Mtwara Urban', NULL, NULL),
(71, 15, 'Mtwara Rural', NULL, NULL),
(72, 15, 'Masasi', NULL, NULL),
(73, 15, 'Nanyumbu', NULL, NULL),
(74, 15, 'Newala', NULL, NULL),
(75, 15, 'Tandahimba', NULL, NULL),
(76, 16, 'Mwanza City', NULL, NULL),
(77, 16, 'Ilemela', NULL, NULL),
(78, 16, 'Magu', NULL, NULL),
(79, 16, 'Sengerema', NULL, NULL),
(80, 16, 'Nyamagana', NULL, NULL),
(81, 16, 'Ukerewe', NULL, NULL),
(82, 17, 'Njombe Town', NULL, NULL),
(83, 17, 'Njombe Rural', NULL, NULL),
(84, 17, 'Wangingombe', NULL, NULL),
(85, 17, 'Makete', NULL, NULL),
(86, 17, 'Ludewa', NULL, NULL),
(87, 18, 'Kibaha', NULL, NULL),
(88, 18, 'Bagamoyo', NULL, NULL),
(89, 18, 'Kisarawe', NULL, NULL),
(90, 18, 'Mafia', NULL, NULL),
(91, 18, 'Rufiji', NULL, NULL),
(92, 19, 'Sumbawanga Urban', NULL, NULL),
(93, 19, 'Sumbawanga Rural', NULL, NULL),
(94, 19, 'Kalambo', NULL, NULL),
(95, 19, 'Nkasi', NULL, NULL),
(96, 20, 'Songea Urban', NULL, NULL),
(97, 20, 'Songea Rural', NULL, NULL),
(98, 20, 'Namtumbo', NULL, NULL),
(99, 20, 'Tunduru', NULL, NULL),
(100, 20, 'Mbinga', NULL, NULL),
(101, 20, 'Namtumbo', NULL, NULL),
(102, 21, 'Shinyanga Urban', NULL, NULL),
(103, 21, 'Shinyanga Rural', NULL, NULL),
(104, 21, 'Kahama Town', NULL, NULL),
(105, 21, 'Kahama Rural', NULL, NULL),
(106, 21, 'Kishapu', NULL, NULL),
(107, 23, 'Singida Urban', NULL, NULL),
(108, 23, 'Singida Rural', NULL, NULL),
(109, 23, 'Iramba', NULL, NULL),
(110, 23, 'Manyoni', NULL, NULL),
(111, 23, 'Ikungi', NULL, NULL),
(112, 25, 'Tabora Urban', NULL, NULL),
(113, 25, 'Uyui', NULL, NULL),
(114, 25, 'Igunga', NULL, NULL),
(115, 25, 'Sikonge', NULL, NULL),
(116, 25, 'Nzega', NULL, NULL),
(117, 26, 'Tanga City', NULL, NULL),
(118, 26, 'Pangani', NULL, NULL),
(119, 26, 'Kilindi', NULL, NULL),
(120, 26, 'Lushoto', NULL, NULL),
(121, 26, 'Muheza', NULL, NULL),
(122, 26, 'Mkinga', NULL, NULL),
(123, 27, 'Unguja', NULL, NULL),
(124, 27, 'Pemba North', NULL, NULL),
(125, 27, 'Pemba South', NULL, NULL),
(126, 24, 'Vwawa', NULL, NULL),
(127, 24, 'Mbozi', NULL, NULL),
(128, 24, 'Momba', NULL, NULL),
(129, 24, 'Ileje', NULL, NULL),
(130, 24, 'Songwe', NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `enquiries`
--

CREATE TABLE IF NOT EXISTS `enquiries` (
  `id` bigint UNSIGNED NOT NULL,
  `date_received` datetime NOT NULL,
  `force_no` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `bank_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `check_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `full_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `district` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `region` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sub_vote` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `loan_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `loan_category` varchar(200) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `loan_amount` int DEFAULT NULL,
  `share_amount` int DEFAULT NULL,
  `withdraw_deposit_amount` decimal(10,2) DEFAULT NULL,
  `withdraw_saving_amount` decimal(10,2) DEFAULT NULL,
  `loan_duration` int DEFAULT NULL,
  `amount` decimal(10,0) DEFAULT NULL,
  `benefit_amount` decimal(10,2) DEFAULT NULL,
  `refund_amount` decimal(10,2) DEFAULT NULL,
  `refund_duration` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `received_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `from_amount` decimal(10,2) DEFAULT NULL,
  `date_of_retirement` date DEFAULT NULL,
  `to_amount` decimal(10,2) DEFAULT NULL,
  `reason` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `benefict_group` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `benefit_description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `category` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `file_path` varchar(200) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `enquiries`
--

INSERT INTO `enquiries` (`id`, `date_received`, `force_no`, `account_number`, `bank_name`, `check_number`, `full_name`, `district`, `phone`, `region`, `sub_vote`, `loan_type`, `loan_category`, `loan_amount`, `share_amount`, `withdraw_deposit_amount`, `withdraw_saving_amount`, `loan_duration`, `amount`, `benefit_amount`, `refund_amount`, `refund_duration`, `received_by`, `type`, `from_amount`, `date_of_retirement`, `to_amount`, `reason`, `benefict_group`, `benefit_description`, `category`, `file_path`, `created_at`, `updated_at`, `status`) VALUES
(31, '2024-08-16 00:00:00', 'PF21942', '4031110033', 'NMB', '111006386', 'ESTER NSOBI MWASEGE', 'DODOMA MJINI', '0713491132', 'DODOMA', NULL, 'BIASHARA', NULL, 1000000, NULL, NULL, NULL, 4, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-08-16 09:04:09', '2024-08-16 09:04:09', 'pending'),
(32, '2024-08-16 00:00:00', 'PF 198765', '0178654290', 'CRDB', '1004567', 'WILLIAM JAMES', 'KYELA', '07123567887', 'MBEYA', NULL, NULL, NULL, NULL, 3000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'share_enquiry', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-08-16 10:02:12', '2024-08-16 10:02:12', 'pending'),
(33, '2024-08-16 00:00:00', 'PF78654', '1789654', 'NMB', '1004567', 'EPIPHANIA NDUNGURU', 'MBINGA', '0752417189', 'RUVUMA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'retirement', NULL, '2024-08-29', NULL, NULL, NULL, NULL, NULL, NULL, '2024-08-16 10:05:54', '2024-08-16 10:05:54', 'pending'),
(34, '2024-08-16 00:00:00', 'H7896', '23721679', 'ACB', '100076598', 'ADELA', 'TEMEKE', '0676621308', 'Dar es Salaam', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'deduction_add', '30000.00', NULL, '40000.00', NULL, NULL, NULL, NULL, NULL, '2024-08-16 10:11:03', '2024-08-16 10:11:03', 'pending'),
(35, '2024-08-16 00:00:00', 'J1415', '200456734', 'KCB', '192234', 'ANNETH', 'MALINYI', '0756897654', 'TANGA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '500000.00', '1', NULL, 'refund', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-08-16 10:18:51', '2024-08-16 10:18:51', 'pending'),
(36, '2024-08-16 00:00:00', 'PF78654', '1789654', 'NBC', '567890', 'KIM', 'TEMEKE', '0713491132', 'Dar es Salaam', NULL, NULL, NULL, NULL, NULL, NULL, '6000000.00', NULL, NULL, NULL, NULL, NULL, NULL, 'withdraw_savings', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-08-16 10:27:12', '2024-08-16 10:27:12', 'pending'),
(37, '2024-08-16 00:00:00', 'PF78654', '1789654', 'ABC', '1004567', 'EMMANUEL KATABI', 'DODOMA', '0752417189', 'Dodoma', NULL, NULL, NULL, NULL, NULL, '4590000.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'withdraw_deposit', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-08-16 10:39:59', '2024-08-16 10:39:59', 'pending'),
(38, '2024-08-16 00:00:00', 'PF78654', '3455666', 'AZANIA', '11116789', 'MSEI MOLLEL', 'RUNGWE', '0676621308', 'MBEYA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'unjoin_membership', NULL, NULL, NULL, NULL, NULL, NULL, 'normal', NULL, '2024-08-16 10:41:33', '2024-08-16 10:41:33', 'pending'),
(39, '2024-08-16 00:00:00', 'PF 198765', '1789654', 'TPB', '1004567', 'PETER', 'NYAMAGANA', '0752417189', 'MWANZA', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '8000000.00', NULL, NULL, NULL, 'benefit_from_disasters', NULL, NULL, NULL, NULL, NULL, 'NINA MAJANGA', NULL, NULL, '2024-08-16 10:44:04', '2024-08-16 10:44:04', 'pending'),
(40, '2024-08-16 00:00:00', 'PF78654', '50065432', 'NBC', '11116789', 'NEEMA MASHALA FELIX', 'dodoma mjini', '0713491132', 'Dar es Salaam', NULL, 'NYUMBA', NULL, 400000, NULL, NULL, NULL, 3, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-08-16 10:51:02', '2024-08-16 10:51:02', 'pending'),
(41, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NMB', '11116789', 'Nsobi mwasege', 'TEMEKE', '0755400927', 'Dodoma', NULL, 'NYUMBA', NULL, 560000, NULL, NULL, NULL, 6, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 11:09:38', '2024-09-19 07:45:41', 'assigned'),
(42, '2024-09-13 00:00:00', 'PF 198765', '3455', 'NMB', '11116789', 'Nsobi mwasege', 'TEMEKE', '255755400927', 'Dodoma', NULL, 'biashara', NULL, 56789, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 11:12:40', '2024-09-11 11:12:40', 'pending'),
(43, '2024-09-14 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'Nsobi mwasege', 'DODOMA', '255755400927', 'Dodoma', NULL, 'biashara', NULL, 456000, NULL, NULL, NULL, 2, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 11:20:11', '2024-09-11 11:20:11', 'pending'),
(44, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NMB', '11116789', 'MWASEGE', 'DODOMA', '255755400927', 'Dodoma', NULL, 'NYUMBA', NULL, 67890345, NULL, NULL, NULL, 9, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 12:56:46', '2024-09-23 04:17:49', 'assigned'),
(45, '2024-09-15 00:00:00', 'PF 198765', '3455666', 'NBC', '11116789', 'NEEMA MASHALA FELIX', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'retirement', NULL, '2024-09-13', NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 13:02:42', '2024-09-11 13:02:42', 'pending'),
(46, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NBC', '11116789', 'NEEMA MASHALA FELIX', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'retirement', NULL, '2024-09-12', NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 13:08:21', '2024-09-11 13:08:21', 'pending'),
(47, '2024-09-13 00:00:00', 'PF 198765', '1789654', 'NBC', '11116789', 'JOYCE MOSES JACKSON', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'retirement', NULL, '2024-09-19', NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 13:13:31', '2024-09-11 13:13:31', 'pending'),
(48, '2024-09-13 00:00:00', 'PF 198765', '1789654', 'JOYCE MOSES JACKSON', '11116789', 'NEEMA MASHALA FELIX', 'DODOMA', '255755400927', 'Dodoma', NULL, 'NYUMBA', NULL, 345000, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 13:17:51', '2024-09-11 13:17:51', 'pending'),
(49, '2024-09-15 00:00:00', 'PF 198765', '1789654', 'NEEMA MASHALA FELIX', '11116789', 'Nsobi mwasege', 'DODOMA', '255755400927', 'Dodoma', NULL, 'biashara', NULL, 678900, NULL, NULL, NULL, 7, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 13:44:24', '2024-09-11 13:44:24', 'pending'),
(50, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'NEEMA MASHALA FELIX', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '67000.00', NULL, NULL, 'refund', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 13:46:09', '2024-09-16 10:32:26', 'rejected'),
(51, '2024-09-13 00:00:00', 'PF78654', '1789654', 'NBC', '11116789', 'JOYCE MOSES JACKSON', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, 890000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'share_enquiry', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 13:47:52', '2024-09-11 13:47:52', 'pending'),
(52, '2024-09-11 00:00:00', 'PF 198765', '350', 'CRDB', 'fgdfdfhdfhf', 'NEEMA MASHALA FELIX', 'TEMEKE', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'retirement', NULL, '2024-09-11', NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 13:50:11', '2024-09-16 09:54:48', 'approved'),
(53, '2024-09-13 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'Nsobi mwasege', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, '67890543.00', NULL, NULL, NULL, NULL, NULL, NULL, 'withdraw_savings', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 13:52:25', '2024-09-11 13:52:25', 'pending'),
(54, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NEEMA MASHALA FELIX', '11116789', 'Nsobi mwasege', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'deduction_add', '500000.00', NULL, '100000.00', NULL, NULL, NULL, NULL, NULL, '2024-09-11 13:56:54', '2024-09-11 13:56:54', 'pending'),
(55, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'Nsobi mwasege', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, 700000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'share_enquiry', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 13:58:08', '2024-09-11 13:58:08', 'pending'),
(56, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NEEMA MASHALA FELIX', '11116789', 'Nsobi mwasege', 'DODOMA', '255755400927', 'Dodoma', NULL, 'biashara', NULL, 123000, NULL, NULL, NULL, 7, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:01:21', '2024-09-11 14:01:21', 'pending'),
(57, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NMB', '11116789', 'KIM MWEMFULA', 'DODOMA', '255713413157', 'Dodoma', NULL, 'NYUMBA', NULL, 1000000, NULL, NULL, NULL, 7, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:03:14', '2024-09-23 08:39:36', 'rejected'),
(58, '2024-09-12 00:00:00', 'PF78654', '1789654', 'ACB', '11116789', 'KIM MWEMFULA', 'TEMEKE', '255713413157', 'Dodoma', NULL, NULL, NULL, NULL, 6000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'share_enquiry', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:06:31', '2024-09-11 14:06:31', 'pending'),
(59, '2024-09-11 00:00:00', 'PF 198765', '1789654', 'NMB', '11116789', 'KIM MWEMFULA', 'DODOMA', '255713413157', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'retirement', NULL, '2024-09-11', NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:07:27', '2024-09-11 14:07:27', 'pending'),
(60, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'ACB', '11116789', 'KIM MWEMFULA', 'DODOMA', '255713413157', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'deduction_add', '30000.00', NULL, '50000.00', NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:08:24', '2024-09-11 14:08:24', 'pending'),
(61, '2024-09-11 00:00:00', 'PF 198765', '1789654', 'Nsobi mwasege', '11116789', 'KIM MWEMFULA', 'DODOMA', '255713413157', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, '500000.00', NULL, NULL, NULL, NULL, NULL, NULL, 'withdraw_savings', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:09:13', '2024-09-11 14:09:13', 'pending'),
(62, '2024-09-13 00:00:00', 'PF 198765', '1789654', 'AZANIA', '098765', 'KIM MWEMFULA', 'DODOMA', '255713413157', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '300000.00', NULL, NULL, 'refund', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:10:08', '2024-09-11 14:10:08', 'pending'),
(63, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NMB', '11116789', 'KIM MWEMFULA', 'DODOMA', '255713413157', 'Dodoma', NULL, NULL, NULL, NULL, NULL, '400000.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'withdraw_deposit', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:13:57', '2024-09-11 14:13:57', 'pending'),
(64, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NMB', '11116789', 'KIM MWEMFULA', 'DODOMA', '255713413157', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'unjoin_membership', NULL, NULL, NULL, NULL, NULL, NULL, 'job_termination', NULL, '2024-09-11 14:14:46', '2024-09-11 14:14:46', 'pending'),
(66, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'KCB', '11116789', 'Nsobi mwasege', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '450000.00', NULL, NULL, NULL, 'benefit_from_disasters', NULL, NULL, NULL, NULL, NULL, 'KUUMWA KWA MUDA MREFU', NULL, NULL, '2024-09-11 14:16:36', '2024-09-11 14:16:36', 'pending'),
(67, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'KCB', '11116789', 'Nsobi mwasege', 'DODOMA', '255713413157', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '450000.00', NULL, NULL, NULL, 'benefit_from_disasters', NULL, NULL, NULL, NULL, NULL, 'KUUMWA KWA MUDA MREFU', NULL, NULL, '2024-09-11 14:17:16', '2024-09-11 14:17:16', 'pending'),
(68, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'KCB', '11116789', 'Nsobi mwasege', 'DODOMA', '255713413157', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '450000.00', NULL, NULL, NULL, 'benefit_from_disasters', NULL, NULL, NULL, NULL, NULL, 'KUUMWA KWA MUDA MREFU', NULL, NULL, '2024-09-11 14:18:28', '2024-09-11 14:18:28', 'pending'),
(70, '2024-09-11 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'PETER MSUYA', 'DODOMA', '255714556101', 'Dodoma', NULL, NULL, NULL, NULL, 8000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'share_enquiry', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:40:57', '2024-09-11 14:40:57', 'pending'),
(71, '2024-09-11 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'PETER MSUYA', 'DODOMA', '255714556101', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'retirement', NULL, '2024-09-12', NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:41:55', '2024-09-11 14:41:55', 'pending'),
(72, '2024-09-11 00:00:00', 'PF 198765', '1789654', 'NBC', '11116789', 'PETER MSUYA', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'deduction_add', '70000.00', NULL, '100000.00', NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:43:15', '2024-09-23 05:38:28', 'assigned'),
(73, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'PETER MSUYA', 'DODOMA', '255714556101', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '900000.00', NULL, NULL, 'refund', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:44:20', '2024-09-16 10:29:27', 'approved'),
(74, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'KCB', '11116789', 'PETER MSUYA', 'DODOMA', '255714556101', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, '6000000.00', NULL, NULL, NULL, NULL, NULL, NULL, 'withdraw_savings', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:45:20', '2024-09-11 14:45:20', 'pending'),
(75, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NBC', '11116789', 'PETER MSUYA', 'DODOMA', '255714556101', 'Dodoma', NULL, NULL, NULL, NULL, NULL, '5000000.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'withdraw_deposit', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:46:25', '2024-09-11 14:46:25', 'pending'),
(76, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'ACB', '11116789', 'PETER MSUYA', 'DODOMA', '255714556101', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'unjoin_membership', NULL, NULL, NULL, NULL, NULL, NULL, 'job_termination', NULL, '2024-09-11 14:47:19', '2024-09-11 14:47:19', 'pending'),
(77, '2024-09-13 00:00:00', 'PF 198765', '1789654', 'NBC', '11116789', 'PETER MSUYA', 'DODOMA', '255714556101', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2000000.00', NULL, NULL, NULL, 'benefit_from_disasters', NULL, NULL, NULL, NULL, NULL, 'KUUNGULIWA NYUMBA', NULL, NULL, '2024-09-11 14:48:35', '2024-09-11 14:48:35', 'pending'),
(79, '2024-09-11 00:00:00', 'PF 198765', '1789654', 'NBC', '11116789', 'PETER MSUYA', 'DODOMA', '255714556101', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '700000.00', NULL, NULL, 'refund', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:56:30', '2024-09-16 10:29:38', 'assigned'),
(80, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NBC', '11116789', 'PETER MSUYA', 'DODOMA', '255714556101', 'Dodoma', NULL, NULL, NULL, NULL, 7000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'share_enquiry', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:57:21', '2024-09-11 14:57:21', 'pending'),
(81, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NBC', '11116789', 'PETER MSUYA', 'DODOMA', '255714556101', 'Dodoma', NULL, NULL, NULL, NULL, 7000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'share_enquiry', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:57:25', '2024-09-11 14:57:25', 'pending'),
(82, '2024-09-11 00:00:00', 'PF 198765', '1789654', 'CRDB', '098765', 'NEEMA MASHALA FELIX', 'DODOMA', '255713413157', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'deduction_add', '50000.00', NULL, '80000.00', NULL, NULL, NULL, NULL, NULL, '2024-09-11 14:58:37', '2024-09-11 14:58:37', 'pending'),
(83, '2024-09-11 00:00:00', 'PF 198765', '1789654', 'NBC', '11116789', 'PETER MSUYA', 'DODOMA', '255714556101', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'retirement', NULL, '2024-09-10', NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 15:00:29', '2024-09-11 15:00:29', 'pending'),
(84, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'Nsobi mwasege', '11116789', 'Nsobi mwasege', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'deduction_add', '30000.00', NULL, '40000.00', NULL, NULL, NULL, NULL, NULL, '2024-09-11 15:02:06', '2024-09-11 15:02:06', 'pending'),
(85, '2024-09-11 00:00:00', 'PF 198765', '1789654', 'NBC', '11116789', 'PETER MSUYA', 'DODOMA', '255714556101', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'deduction_add', '30000.00', NULL, '50000.00', NULL, NULL, NULL, NULL, NULL, '2024-09-11 15:03:18', '2024-09-23 04:23:18', 'assigned'),
(86, '2024-09-10 00:00:00', 'PF 198765', '1789654', 'NBC', '11116789', 'PETER MSUYA', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, '500000.00', NULL, NULL, NULL, NULL, NULL, NULL, 'withdraw_savings', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 15:04:20', '2024-09-16 09:47:38', 'rejected'),
(87, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NBC', '11116789', 'PETER MSUYA', 'DODOMA', '255714556101', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, '500000.00', NULL, NULL, NULL, NULL, NULL, NULL, 'withdraw_savings', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 15:05:22', '2024-09-11 15:05:22', 'pending'),
(88, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NMB', '11116789', 'Nsobi mwasege', 'DODOMA', '255714556101', 'Dodoma', NULL, NULL, NULL, NULL, NULL, '6000000.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'withdraw_deposit', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-11 15:06:14', '2024-09-11 15:06:14', 'pending'),
(89, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NMB', '11116789', 'PETER MSUYA', 'DODOMA', '255714556101', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'unjoin_membership', NULL, NULL, NULL, NULL, NULL, NULL, 'job_termination', NULL, '2024-09-11 15:06:57', '2024-09-11 15:06:57', 'pending'),
(90, '2024-09-11 00:00:00', 'PF 198765', '1789654', 'NMB', '11116789', 'PETER MSUYA', 'DODOMA', '255714556101', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '4000000.00', NULL, NULL, NULL, 'benefit_from_disasters', NULL, NULL, NULL, NULL, NULL, 'NIMEUMIA KAZINI', NULL, NULL, '2024-09-11 15:08:02', '2024-09-11 15:08:02', 'pending'),
(91, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'EMMANUEL KATABI', 'DODOMA', '255715450447', 'Dodoma', NULL, 'biashara', NULL, 9000000, NULL, NULL, NULL, 4, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 06:01:13', '2024-09-12 06:01:13', 'pending'),
(92, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'ACB', '11116789', 'EMMANUEL KATABI', 'DODOMA', '255715450447', 'Dodoma', NULL, NULL, NULL, NULL, 5000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'share_enquiry', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 06:04:57', '2024-09-12 06:04:57', 'pending'),
(93, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'EMMANUEL KATABI', 'TEMEKE', '255715450447', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'retirement', NULL, '2024-09-13', NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 06:05:57', '2024-09-12 06:05:57', 'pending'),
(94, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'EMMANUEL KATABI', 'DODOMA', '255715450447', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'deduction_add', '50000.00', NULL, '70000.00', NULL, NULL, NULL, NULL, NULL, '2024-09-12 06:07:21', '2024-09-12 06:07:21', 'pending'),
(95, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NMB', '11116789', 'EMMANUEL KATABI', 'TEMEKE', '255715450447', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '4000000.00', NULL, NULL, 'refund', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 06:09:12', '2024-09-16 10:29:46', 'approved'),
(96, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'EMMANUEL KATABI', 'DODOMA', '255715450447', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, '6000000.00', NULL, NULL, NULL, NULL, NULL, NULL, 'withdraw_savings', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 06:10:31', '2024-09-12 06:10:31', 'pending'),
(97, '2024-09-12 00:00:00', 'PF 198765', '3455666', 'NMB', '11116789', 'EMMANUEL KATABI', 'DODOMA', '255715450447', 'Dodoma', NULL, NULL, NULL, NULL, NULL, '7000000.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'withdraw_deposit', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 06:11:29', '2024-09-12 06:11:29', 'pending'),
(98, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'EMMANUEL KATABI', 'TEMEKE', '255715450447', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'unjoin_membership', NULL, NULL, NULL, NULL, NULL, NULL, 'job_termination', NULL, '2024-09-12 06:12:16', '2024-09-12 06:12:16', 'pending'),
(99, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NMB', '11116789', 'EMMANUEL KATABI', 'TEMEKE', '255715450447', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '300000.00', NULL, NULL, NULL, 'benefit_from_disasters', NULL, NULL, NULL, NULL, NULL, 'AJALI KAZINI', NULL, NULL, '2024-09-12 06:14:30', '2024-09-12 06:14:30', 'pending'),
(100, '2024-09-12 00:00:00', 'PF78654', '1789654', 'CRDB', '11116789', 'Ayoub J. Kitomari', 'TEMEKE', '255677048557', 'Dodoma', NULL, 'NYUMBA', NULL, 8000000, NULL, NULL, NULL, 7, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 06:24:05', '2024-09-12 06:24:05', 'pending'),
(101, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'Ayoub J. Kitomari', 'TEMEKE', '255677048557', 'Dodoma', NULL, NULL, NULL, NULL, 7000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'share_enquiry', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 06:25:03', '2024-09-12 06:25:03', 'pending'),
(102, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'Ayoub J. Kitomari', 'TEMEKE', '255677048557', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'retirement', NULL, '2024-09-12', NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 06:53:43', '2024-09-12 06:53:43', 'pending'),
(103, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'Ayoub J. Kitomari', 'DODOMA', '255677048557', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'deduction_add', '60000.00', NULL, '80000.00', NULL, NULL, NULL, NULL, NULL, '2024-09-12 06:55:28', '2024-09-12 06:55:28', 'pending'),
(104, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'Ayoub J. Kitomari', 'DODOMA', '255677048557', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5000000.00', NULL, NULL, 'refund', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 06:59:14', '2024-09-12 06:59:14', 'pending'),
(105, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'Ayoub J. Kitomari', 'DODOMA', '255677048557', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, '2000000.00', NULL, NULL, NULL, NULL, NULL, NULL, 'withdraw_savings', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 07:02:52', '2024-09-12 07:02:52', 'pending'),
(106, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'Ayoub J. Kitomari', 'DODOMA', '255677048557', 'Dodoma', NULL, NULL, NULL, NULL, NULL, '500000.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'withdraw_deposit', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 07:49:49', '2024-09-12 07:49:49', 'pending'),
(107, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NMB', '11116789', '255655898469', 'DODOMA', '255677048557', 'Dodoma', NULL, 'NYUMBA', NULL, 7000000, NULL, NULL, NULL, 7, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 07:52:21', '2024-09-12 07:52:21', 'pending'),
(108, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NMB', '11116789', 'MSEI MOLLEL', 'DODOMA', '255655898469', 'Dodoma', NULL, 'biashara', NULL, 7000000, NULL, NULL, NULL, 4, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 07:54:29', '2024-09-12 07:54:29', 'pending'),
(109, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'NBC', '11116789', 'MSEI MOLLEL', 'DODOMA', '255655898469', 'Dodoma', NULL, NULL, NULL, NULL, 4000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'share_enquiry', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 07:55:23', '2024-09-12 07:55:23', 'pending'),
(110, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'GODFREY KAPINGA', 'DODOMA', '255784800419', 'Dodoma', NULL, 'NYUMBA', NULL, 5000000, NULL, NULL, NULL, 4, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 09:24:24', '2024-09-12 09:24:24', 'pending'),
(111, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'GODFREY KAPINGA', 'DODOMA', '255784800419', 'Dodoma', NULL, NULL, NULL, NULL, 6000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'share_enquiry', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-12 09:25:28', '2024-09-12 09:25:28', 'pending'),
(112, '2024-09-12 00:00:00', 'PF 198765', '1789654', 'CRDB', '11116789', 'GODFREY KAPINGA', 'DODOMA', '255784800419', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'deduction_add', '50000.00', NULL, '120000.00', NULL, NULL, NULL, NULL, NULL, '2024-09-12 09:26:25', '2024-09-12 09:26:25', 'pending'),
(113, '2024-09-13 00:00:00', 'PF 198765', '3455666', 'CRDB', '11116789', 'BALBOA MOSHI', 'DODOMA', '255677051334', 'Dodoma', NULL, 'NYUMBA', NULL, 3000000, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-13 05:55:02', '2024-09-13 05:55:02', 'pending'),
(114, '2024-09-13 00:00:00', 'PF 198765', '3455666', 'CRDB', '11116789', 'FREDNAND THOMASI LYAMBISI', 'DODOMA', '255677070440', 'Dodoma', NULL, 'NYUMBA', NULL, 5000000, NULL, NULL, NULL, 24, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-13 06:43:22', '2024-09-13 06:43:22', 'pending'),
(115, '2024-09-14 00:00:00', 'PF78654', '1789654', 'NMB', '098765', 'LUCY EMMANUEL BEDA', 'DODOMA', '255718719031', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'deduction_add', '30000.00', NULL, '50000.00', NULL, NULL, NULL, NULL, NULL, '2024-09-13 06:49:06', '2024-09-13 06:49:06', 'pending'),
(117, '2024-09-17 00:00:00', 'sdfgfdhggfh', '456', 'NMB', '122245', 'KILEMA', 'DODOMA', '255755400927', 'California', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '34000.00', NULL, NULL, 'refund', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-15 19:20:05', '2024-09-15 19:20:05', 'pending'),
(118, '2024-09-16 00:00:00', 'PF 198765', '3455666', 'CRDB', '11116789', 'HURUMA', 'DODOMA', '255755400927', 'Dodoma', NULL, 'NYUMBA', NULL, 4500000, NULL, NULL, NULL, 7, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-15 19:22:36', '2024-09-15 19:22:36', 'pending'),
(119, '2024-09-17 00:00:00', 'PF 198765', '1789654', 'AZANIA', '11116789', 'EPIPHANIA NDUNGURU', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, 6000000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'share_enquiry', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-15 19:24:12', '2024-09-15 19:24:12', 'pending'),
(120, '2024-09-12 00:00:00', 'PF 198765', '456', 'AZANIA', '1004567', 'NSUBILI JASON MWASEGE', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'retirement', NULL, '2024-09-16', NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-15 19:25:56', '2024-09-15 19:25:56', 'pending'),
(121, '2024-09-26 00:00:00', 'PF 198765', '350', 'AZANIA', '122245', 'IRENE', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'deduction_add', '50000.00', NULL, '70000.00', NULL, NULL, NULL, NULL, NULL, '2024-09-15 19:30:44', '2024-09-20 05:48:59', 'assigned'),
(122, '2024-09-25 00:00:00', 'PF 198765', '456', 'AZANIA', '122245', 'MGUNDA', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, '8000000.00', NULL, NULL, NULL, NULL, NULL, NULL, 'withdraw_savings', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-15 19:32:53', '2024-09-15 19:32:53', 'pending'),
(123, '2024-09-26 00:00:00', 'sdfgfdhggfh', '1789654', 'AZANIA', '11116789', 'Nsobi mwasege', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, '450000.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'withdraw_deposit', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-15 19:33:51', '2024-09-15 19:33:51', 'pending'),
(124, '2024-10-03 00:00:00', 'PF 198765', '500', 'AZANIA', '567890', 'CITY STYLE', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'unjoin_membership', NULL, NULL, NULL, NULL, NULL, NULL, 'job_termination', NULL, '2024-09-15 19:35:34', '2024-09-20 05:49:27', 'rejected'),
(125, '2024-09-25 00:00:00', 'PF 198765', '3455', 'AZANIA', 'fgdfdfhdfhf', 'Nsobi mwasege', 'DODOMA', '255755400927', 'California', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '3000000.00', NULL, NULL, NULL, 'benefit_from_disasters', NULL, NULL, NULL, NULL, NULL, 'KUUNGULIWA', NULL, NULL, '2024-09-15 19:36:49', '2024-09-15 19:36:49', 'pending'),
(126, '2024-09-23 00:00:00', 'PF 198765', '1789654', 'NMB', 'fgdfdfhdfhf', 'NSUBILI JASON MWASEGE', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5000000.00', NULL, NULL, 'refund', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-16 10:22:22', '2024-09-16 10:22:22', 'pending'),
(127, '2024-09-17 00:00:00', 'pf 22462', '40310030173', 'nmb', '111802785', 'philimon jimmy mwakifuna', 'TEMEKE', '255752265237', 'Dar es Salaam', NULL, 'biashara', NULL, 15000000, NULL, NULL, NULL, 12, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-09-17 10:32:28', '2024-09-18 12:00:39', 'rejected'),
(128, '2024-09-20 00:00:00', 'PF 198765', '1789654', 'AZANIA', '11116789', 'EMMANUEL KATABI', 'DODOMA', '255715450447', 'Dar es Salaam', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '500000.00', NULL, NULL, NULL, 'benefit_from_disasters', NULL, NULL, NULL, NULL, NULL, 'kuuga siku 30', NULL, NULL, '2024-09-19 08:39:23', '2024-09-19 08:39:23', 'pending'),
(129, '2024-09-19 00:00:00', 'PF 198765', '3455', 'AZANIA', '11116789', 'EMMANUEL KATABI', 'DODOMA', '255715450447', 'Dar es Salaam', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '300000.00', NULL, NULL, NULL, 'benefit_from_disasters', NULL, NULL, NULL, NULL, NULL, 'kuuga siku 30', NULL, NULL, '2024-09-19 08:41:14', '2024-09-19 08:41:14', 'pending'),
(130, '2024-09-20 00:00:00', 'PF 198765', '3455666', 'AZANIA', '11116789', 'KIM MWEMFULA', 'TEMEKE', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '500000.00', NULL, NULL, 'refund', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'C:\\Users\\user\\AppData\\Local\\Temp\\php8D45.tmp', '2024-09-20 01:45:12', '2024-09-20 01:45:12', 'pending'),
(131, '2024-09-20 00:00:00', 'PF 198765', '3455666', 'NEEMA MASHALA FELIX', '11116789', 'Nsobi mwasege', 'DODOMA', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, 500000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'share_enquiry', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'attachments/1726807826.pdf', '2024-09-20 01:50:26', '2024-09-20 01:50:26', 'pending'),
(132, '2024-09-20 00:00:00', 'PF 198765', '3455', 'AZANIA', '11116789', 'Nsobi mwasege', 'TEMEKE', '255755400927', 'Dodoma', NULL, NULL, NULL, NULL, 500000, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'share_enquiry', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'attachments/1726808214.pdf', '2024-09-20 01:56:54', '2024-09-20 01:56:54', 'pending'),
(133, '2024-09-20 00:00:00', 'PF 198765', '3455666', 'AZANIA', '11116789', 'philimon jimmy mwakifuna', 'DODOMA', '255713413157', 'Dodoma', NULL, 'biashara', NULL, 6000000, NULL, NULL, NULL, 48, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'attachments/1726821934.pdf', '2024-09-20 05:45:34', '2024-09-20 05:45:34', 'pending'),
(134, '2024-09-23 00:00:00', 'g.8792', '212121', 'NMB', '12212236', 'shamili saidi selemani', 'DODOMA', '0656848274', 'Dodoma', NULL, 'biashara', NULL, 1000000, NULL, NULL, NULL, 24, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'attachments/1727082701.pdf', '2024-09-23 06:11:41', '2024-09-23 06:11:41', 'pending'),
(135, '2024-09-23 00:00:00', 'g.8792', '212121', 'NMB', '12212236', 'shamili saidi selemani', 'DODOMA', '0656848274', 'Dodoma', NULL, 'biashara', NULL, 1000000, NULL, NULL, NULL, 24, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'attachments/1727082704.pdf', '2024-09-23 06:11:44', '2024-09-23 06:11:44', 'pending'),
(136, '2024-09-23 00:00:00', 'g.8792', '212121', 'NMB', '12212236', 'shamili saidi selemani', 'DODOMA', '0656848274', 'Dodoma', NULL, 'biashara', NULL, 1000000, NULL, NULL, NULL, 24, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'attachments/1727082714.pdf', '2024-09-23 06:11:54', '2024-09-23 06:11:54', 'pending'),
(137, '2024-09-23 00:00:00', 'g.8792', '212121', 'NMB', '12212236', 'shamili saidi selemani', 'DODOMA', '0656848274', 'Dodoma', NULL, 'biashara', NULL, 1000000, NULL, NULL, NULL, 24, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'attachments/1727082718.pdf', '2024-09-23 06:11:58', '2024-09-23 06:11:58', 'pending'),
(138, '2024-09-23 00:00:00', 'g.8792', '212121', 'NMB', '12212236', 'shamili saidi selemani', 'DODOMA', '255656848274', 'Dodoma', NULL, 'biashara', NULL, 1000000, NULL, NULL, NULL, 24, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'attachments/1727082927.pdf', '2024-09-23 06:15:27', '2024-09-23 06:15:27', 'pending'),
(139, '2024-09-23 00:00:00', 'g.8792', '212121', 'AZANIA', '12212236', 'shamili saidi selemani', 'DODOMA', '255755523946', 'California', NULL, 'NYUMBA', NULL, 1000000, NULL, NULL, NULL, 45, NULL, NULL, NULL, NULL, NULL, 'loan_application', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'attachments/1727083075.pdf', '2024-09-23 06:17:55', '2024-09-23 06:17:55', 'pending');

-- --------------------------------------------------------

--
-- Table structure for table `enquiry_user`
--

CREATE TABLE IF NOT EXISTS `enquiry_user` (
  `enquiry_id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `enquiry_user`
--

INSERT INTO `enquiry_user` (`enquiry_id`, `user_id`, `created_at`, `updated_at`) VALUES
(35, 3, NULL, NULL),
(38, 3, NULL, NULL),
(50, 3, NULL, NULL),
(55, 3, NULL, NULL),
(56, 3, NULL, NULL),
(57, 3, NULL, NULL),
(58, 1, NULL, NULL),
(61, 3, NULL, NULL),
(62, 1, NULL, NULL),
(63, 3, NULL, NULL),
(72, 3, NULL, NULL),
(80, 3, NULL, NULL),
(94, 1, NULL, NULL),
(104, 1, NULL, NULL),
(109, 1, NULL, NULL),
(117, 3, NULL, NULL),
(130, 1, NULL, NULL),
(139, 3, NULL, NULL);

-- --------------------------------------------------------

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

CREATE TABLE IF NOT EXISTS `failed_jobs` (
  `id` bigint UNSIGNED NOT NULL,
  `uuid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `connection` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `queue` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `exception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `members`
--

CREATE TABLE IF NOT EXISTS `members` (
  `id` bigint UNSIGNED NOT NULL,
  `department` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `checkNumber` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `fullName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `accountNumber` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `bankName` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `basicSalary` decimal(15,2) NOT NULL,
  `allowance` decimal(15,2) DEFAULT NULL,
  `arrear` decimal(15,2) DEFAULT NULL,
  `grossAmount` decimal(15,2) NOT NULL,
  `netAmount` decimal(15,2) NOT NULL,
  `loanableAmount` decimal(15,2) DEFAULT NULL,
  `totalLoanWithInterest` decimal(15,2) DEFAULT NULL,
  `totalInterest` decimal(15,2) DEFAULT NULL,
  `monthlyDeduction` decimal(15,2) DEFAULT NULL,
  `processingFee` decimal(15,2) DEFAULT NULL,
  `insurance` decimal(15,2) DEFAULT NULL,
  `disbursementAmount` decimal(15,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `members`
--

INSERT INTO `members` (`id`, `department`, `checkNumber`, `fullName`, `accountNumber`, `bankName`, `basicSalary`, `allowance`, `arrear`, `grossAmount`, `netAmount`, `loanableAmount`, `totalLoanWithInterest`, `totalInterest`, `monthlyDeduction`, `processingFee`, `insurance`, `disbursementAmount`, `created_at`, `updated_at`, `status`) VALUES
(126, '1001: Administration And Human  Resources Management', '113121607', 'Joseph Lenzi Kifaru', '0152740222400', 'CRDB KCMC - Kilimanjaro', '460000.00', '69000.00', '0.00', '529000.00', '270970.20', '1846934.40', '2334569.60', '487635.20', '48636.87', '4617.34', '18469.34', '1823847.72', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(127, '1001: Administration And Human  Resources Management', '113121940', 'Hamad Omar Ali', '40310129211', 'NMB - Nelson Mandela-Kilimanja', '460000.00', '124200.00', '0.00', '584200.00', '423991.20', '5561585.10', '7029977.60', '1468392.50', '146457.87', '13903.96', '55615.85', '5492065.28', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(128, '1001: Administration And Human  Resources Management', '113123676', 'Lucas Richard Kilawa', '40310127651', 'NMB Mandela Moshi', '460000.00', '69000.00', '0.00', '529000.00', '368791.20', '5561585.10', '7029977.60', '1468392.50', '146457.87', '13903.96', '55615.85', '5492065.28', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(129, '1001: Administration And Human  Resources Management', '113123805', 'Linda Ngaile Cleva', '40310129359', 'NMB - Nelson Mandela-Kilimanja', '460000.00', '69000.00', '0.00', '529000.00', '348791.20', '4802105.91', '6069977.60', '1267871.69', '126457.87', '12005.26', '48021.06', '4742079.58', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(130, '1001: Administration And Human  Resources Management', '113125875', 'Exavier Deus Kumanya', '0152739813100', 'CRDB KCMC - Kilimanjaro', '460000.00', '69000.00', '0.00', '529000.00', '368791.20', '5561585.10', '7029977.60', '1468392.50', '146457.87', '13903.96', '55615.85', '5492065.28', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(131, '1001: Administration And Human  Resources Management', '113125922', 'William William Kadwela', '0152754042200', 'CRDB KCMC - Kilimanjaro', '460000.00', '69000.00', '0.00', '529000.00', '368791.20', '5561585.10', '7029977.60', '1468392.50', '146457.87', '13903.96', '55615.85', '5492065.28', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(132, '1001: Administration And Human  Resources Management', '113126011', 'Asante Barnabas Shedrack', '40310127023', 'NMB - Nelson Mandela-Kilimanja', '460000.00', '69000.00', '0.00', '529000.00', '348791.20', '4802105.91', '6069977.60', '1267871.69', '126457.87', '12005.26', '48021.06', '4742079.58', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(133, '1001: Administration And Human  Resources Management', '113126337', 'Abdilah Said Omar', '0152739836800', 'CRDB KCMC - Kilimanjaro', '460000.00', '69000.00', '0.00', '529000.00', '368791.20', '5561585.10', '7029977.60', '1468392.50', '146457.87', '13903.96', '55615.85', '5492065.28', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(134, '1001: Administration And Human  Resources Management', '113127540', 'Clementina Anthony Danda', '40310128827', 'NMB Mandela Moshi', '460000.00', '69000.00', '0.00', '529000.00', '348200.40', '4779670.89', '6041619.20', '1261948.31', '125867.07', '11949.18', '47796.71', '4719925.01', '2024-09-25 04:50:38', '2024-09-25 04:52:35', 'processed'),
(135, '1001: Administration And Human  Resources Management', '113128453', 'Gidion Nghambi Chilingo', '0152654971700', 'CRDB Mwanga - Kilimanjaro', '460000.00', '0.00', '0.00', '460000.00', '279791.20', '4802105.91', '6069977.60', '1267871.69', '126457.87', '12005.26', '48021.06', '4742079.58', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(136, '1001: Administration And Human  Resources Management', '113128636', 'Ibrahimu Masese Kinyogori', '40810169359', 'NMB-Mkinga', '460000.00', '69000.00', '0.00', '529000.00', '368792.00', '5561615.48', '7030016.00', '1468400.52', '146458.67', '13904.04', '55616.15', '5492095.28', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(137, '1001: Administration And Human  Resources Management', '113129033', 'Aneth Chrispine Mchele', '43510028151', 'NMB - Airport Dsm', '460000.00', '69000.00', '0.00', '529000.00', '368791.20', '5561585.10', '7029977.60', '1468392.50', '146457.87', '13903.96', '55615.85', '5492065.28', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(138, '1001: Administration And Human  Resources Management', '113129531', 'Salha Ahmedi Musa', '0152753911600', 'CRDB Mwanga - Kilimanjaro', '460000.00', '115000.00', '0.00', '575000.00', '414791.20', '5561585.10', '7029977.60', '1468392.50', '146457.87', '13903.96', '55615.85', '5492065.28', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(139, '1001: Administration And Human  Resources Management', '113130139', 'Bakari Shabani Bakari', '40310128639', 'NMB - Nelson Mandela-Kilimanja', '460000.00', '0.00', '0.00', '460000.00', '299791.20', '5561585.10', '7029977.60', '1468392.50', '146457.87', '13903.96', '55615.85', '5492065.28', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(140, '1001: Administration And Human  Resources Management', '113130164', 'Shaibu Buruhani Kayumba', '0152740159500', 'CRDB Mwanga - Kilimanjaro', '460000.00', '69000.00', '0.00', '529000.00', '333593.20', '4224977.67', '5340473.60', '1115495.93', '111259.87', '10562.44', '42249.78', '4172165.45', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(141, '1001: Administration And Human  Resources Management', '113130203', 'Suleiman Yussuf Suleiman', '40310129422', 'NMB Mandela Moshi', '460000.00', '69000.00', '0.00', '529000.00', '348791.20', '4802105.91', '6069977.60', '1267871.69', '126457.87', '12005.26', '48021.06', '4742079.58', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(142, '1001: Administration And Human  Resources Management', '113130426', 'Abubakari Ally Chuwa', '40310128704', 'NMB Mandela Moshi', '460000.00', '69000.00', '0.00', '529000.00', '368791.20', '5561585.10', '7029977.60', '1468392.50', '146457.87', '13903.96', '55615.85', '5492065.28', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(143, '1001: Administration And Human  Resources Management', '113132588', 'Aman Joseph Sanya', '40310128685', 'NMB - Nelson Mandela-Kilimanja', '460000.00', '138000.00', '0.00', '598000.00', '437791.20', '5561585.10', '7029977.60', '1468392.50', '146457.87', '13903.96', '55615.85', '5492065.28', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending'),
(144, '1001: Administration And Human  Resources Management', '113134160', 'Richard John Chikusa', '40310128632', 'NMB - Nelson Mandela-Kilimanja', '460000.00', '69000.00', '0.00', '529000.00', '368791.20', '5561585.10', '7029977.60', '1468392.50', '146457.87', '13903.96', '55615.85', '5492065.28', '2024-09-25 04:50:38', '2024-09-25 04:50:38', 'pending');

-- --------------------------------------------------------

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

CREATE TABLE IF NOT EXISTS `migrations` (
  `id` int UNSIGNED NOT NULL,
  `migration` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch` int NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
(1, '2014_10_12_000000_create_users_table', 1),
(2, '2014_10_12_100000_create_password_reset_tokens_table', 1),
(3, '2019_08_19_000000_create_failed_jobs_table', 1),
(4, '2019_12_14_000001_create_personal_access_tokens_table', 1),
(5, '2024_08_01_133849_create_enquiries_table', 1),
(6, '2024_08_08_101936_add_responses_to_enquiries_table', 2),
(7, '2024_08_08_103831_create_responses_table', 3),
(8, '2024_09_16_123528_add_status_to_enquiries_table', 4),
(9, '2024_09_16_130705_create_notifications_table', 5),
(10, '2024_09_18_175908_create_members_table', 6),
(11, '2024_09_19_073832_add_status_to_members_table', 7),
(12, '2024_09_19_154318_create_permission_tables', 8),
(13, '2024_09_22_192721_create_enquiry_user_table', 9),
(14, '2024_09_24_064112_create_payments_table', 10),
(15, '2024_10_01_213552_create_regions_table', 11),
(16, '2024_10_01_213555_create_districts_table', 11),
(17, '2024_10_02_003606_add_remarks_to_payments_table', 12);

-- --------------------------------------------------------

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

CREATE TABLE IF NOT EXISTS `model_has_permissions` (
  `permission_id` bigint UNSIGNED NOT NULL,
  `model_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

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

CREATE TABLE IF NOT EXISTS `model_has_roles` (
  `role_id` bigint UNSIGNED NOT NULL,
  `model_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- --------------------------------------------------------

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

CREATE TABLE IF NOT EXISTS `notifications` (
  `id` bigint UNSIGNED NOT NULL,
  `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_read` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `notifications` (`id`, `type`, `message`, `is_read`, `created_at`, `updated_at`) VALUES
(1, 'enquiry_registered', 'A new enquiry for NSUBILI JASON MWASEGE has been registered.', 1, '2024-09-16 10:22:23', '2024-09-16 10:22:40'),
(2, 'enquiry_approved', 'Enquiry #79 has been approved.', 1, '2024-09-16 10:23:00', '2024-09-16 10:29:20'),
(3, 'enquiry_assigned', 'Enquiry #50 has been assigned.', 1, '2024-09-16 10:23:09', '2024-09-16 10:29:20'),
(4, 'enquiry_approved', 'Enquiry #73 has been approved.', 1, '2024-09-16 10:29:28', '2024-09-16 10:29:32'),
(5, 'enquiry_assigned', 'Enquiry #79 has been assigned.', 1, '2024-09-16 10:29:38', '2024-09-16 10:29:50'),
(6, 'enquiry_approved', 'Enquiry #95 has been approved.', 1, '2024-09-16 10:29:46', '2024-09-16 10:29:50'),
(7, 'enquiry_assigned', 'Enquiry #50 has been assigned.', 1, '2024-09-16 10:32:17', '2024-09-17 10:20:19'),
(8, 'enquiry_rejected', 'Enquiry #50 has been rejected.', 1, '2024-09-16 10:32:26', '2024-09-16 10:32:29'),
(9, 'enquiry_registered', 'A new enquiry for philimon jimmy mwakifuna has been registered.', 1, '2024-09-17 10:32:30', '2024-09-19 11:23:36'),
(10, 'enquiry_assigned', 'Enquiry #127 has been assigned.', 1, '2024-09-17 10:34:21', '2024-09-18 11:54:57'),
(11, 'enquiry_approved', 'Enquiry #78 has been approved.', 1, '2024-09-18 01:07:06', '2024-09-18 08:06:41'),
(12, 'enquiry_rejected', 'Enquiry #78 has been rejected.', 1, '2024-09-18 08:07:24', '2024-09-18 10:00:13'),
(13, 'enquiry_rejected', 'Enquiry #127 has been rejected.', 1, '2024-09-18 12:00:39', '2024-09-23 04:27:30'),
(14, 'enquiry_assigned', 'Enquiry #41 has been assigned.', 1, '2024-09-19 07:45:41', '2024-09-19 11:23:23'),
(15, 'enquiry_approved', 'Enquiry #44 has been approved.', 1, '2024-09-19 07:45:48', '2024-09-19 11:23:20'),
(16, 'enquiry_registered', 'A new enquiry for EMMANUEL KATABI has been registered.', 1, '2024-09-19 08:39:23', '2024-09-19 11:23:16'),
(17, 'enquiry_registered', 'A new enquiry for EMMANUEL KATABI has been registered.', 1, '2024-09-19 08:41:15', '2024-09-19 11:23:08'),
(18, 'enquiry_registered', 'A new enquiry for KIM MWEMFULA has been registered.', 0, '2024-09-20 01:45:13', '2024-09-20 01:45:13'),
(19, 'enquiry_registered', 'A new enquiry for Nsobi mwasege has been registered.', 1, '2024-09-20 01:50:26', '2024-09-23 05:43:09'),
(20, 'enquiry_registered', 'A new enquiry for Nsobi mwasege has been registered.', 1, '2024-09-20 01:56:55', '2024-09-20 02:12:11'),
(21, 'enquiry_registered', 'A new enquiry for philimon jimmy mwakifuna has been registered.', 1, '2024-09-20 05:45:35', '2024-09-20 05:48:10'),
(22, 'enquiry_assigned', 'Enquiry #121 has been assigned.', 1, '2024-09-20 05:48:59', '2024-09-23 04:18:09'),
(23, 'enquiry_approved', 'Enquiry #124 has been approved.', 1, '2024-09-20 05:49:19', '2024-09-20 11:24:06'),
(24, 'enquiry_rejected', 'Enquiry #124 has been rejected.', 1, '2024-09-20 05:49:27', '2024-09-23 04:18:03'),
(25, 'enquiry_assigned', 'Enquiry #78 has been assigned.', 1, '2024-09-23 04:17:30', '2024-09-23 04:18:00'),
(26, 'enquiry_assigned', 'Enquiry #78 has been assigned.', 1, '2024-09-23 04:17:35', '2024-09-23 04:18:05'),
(27, 'enquiry_assigned', 'Enquiry #78 has been assigned.', 1, '2024-09-23 04:17:40', '2024-09-23 04:17:58'),
(28, 'enquiry_assigned', 'Enquiry #44 has been assigned.', 1, '2024-09-23 04:17:49', '2024-09-23 04:17:55'),
(29, 'enquiry_assigned', 'Enquiry #78 has been assigned.', 1, '2024-09-23 04:18:42', '2024-09-23 04:27:27'),
(30, 'enquiry_assigned', 'Enquiry #85 has been assigned.', 1, '2024-09-23 04:23:18', '2024-09-23 04:27:25'),
(31, 'enquiry_assigned', 'Enquiry #72 has been assigned.', 1, '2024-09-23 05:38:28', '2024-09-23 05:38:37'),
(32, 'enquiry_registered', 'A new enquiry for shamili saidi selemani has been registered.', 0, '2024-09-23 06:12:03', '2024-09-23 06:12:03'),
(33, 'enquiry_registered', 'A new enquiry for shamili saidi selemani has been registered.', 0, '2024-09-23 06:12:05', '2024-09-23 06:12:05'),
(34, 'enquiry_registered', 'A new enquiry for shamili saidi selemani has been registered.', 0, '2024-09-23 06:12:15', '2024-09-23 06:12:15'),
(35, 'enquiry_registered', 'A new enquiry for shamili saidi selemani has been registered.', 0, '2024-09-23 06:12:19', '2024-09-23 06:12:19'),
(36, 'enquiry_registered', 'A new enquiry for shamili saidi selemani has been registered.', 1, '2024-09-23 06:15:27', '2024-09-23 07:00:28'),
(37, 'enquiry_registered', 'A new enquiry for shamili saidi selemani has been registered.', 1, '2024-09-23 06:17:55', '2024-09-23 06:19:37'),
(38, 'enquiry_rejected', 'Enquiry #57 has been rejected.', 1, '2024-09-23 08:39:36', '2024-09-23 08:50:13');

-- --------------------------------------------------------

--
-- Table structure for table `payments`
--

CREATE TABLE IF NOT EXISTS `payments` (
  `id` bigint UNSIGNED NOT NULL,
  `enquiry_id` bigint UNSIGNED NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `status` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `payment_date` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `remarks` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payments`
--

INSERT INTO `payments` (`id`, `enquiry_id`, `amount`, `status`, `payment_date`, `created_at`, `updated_at`, `remarks`) VALUES
(1, 72, '500000.00', 'paid', '2024-09-24 07:09:46', '2024-09-24 04:09:46', '2024-09-25 08:59:10', NULL),
(2, 55, '1000000.00', 'unpaid', '2024-09-24 10:13:24', '2024-09-24 07:13:24', '2024-09-25 08:32:05', NULL),
(3, 50, '450000.00', 'paid', '2024-09-24 10:14:09', '2024-09-24 07:14:09', '2024-09-25 08:31:55', NULL),
(4, 80, '10000.00', 'unpaid', '2024-09-25 11:53:05', '2024-09-25 08:53:05', '2024-09-25 08:59:18', NULL),
(5, 61, '10000.00', 'pending', '2024-09-26 06:28:25', '2024-09-26 03:28:25', '2024-09-26 03:28:25', NULL),
(6, 63, '250000.00', 'pending', '2024-09-26 06:49:01', '2024-09-26 03:49:01', '2024-09-26 03:49:01', NULL),
(7, 58, '10000.00', 'paid', '2024-10-01 13:14:11', '2024-10-01 10:14:11', '2024-10-01 10:15:39', NULL),
(8, 35, '10000.00', 'rejected', '2024-10-01 23:59:18', '2024-10-01 20:59:18', '2024-10-02 15:25:35', 'the attachment are not complete'),
(9, 35, '10000.00', 'pending', '2024-10-02 00:03:04', '2024-10-01 21:03:04', '2024-10-01 21:03:04', NULL),
(10, 35, '10000.00', 'initiated', '2024-10-02 00:05:06', '2024-10-01 21:05:06', '2024-10-01 21:05:06', NULL),
(11, 58, '5678.00', 'initiated', '2024-10-02 00:05:17', '2024-10-01 21:05:17', '2024-10-01 21:05:17', NULL),
(12, 35, '10000.00', 'initiated', '2024-10-02 00:10:50', '2024-10-01 21:10:50', '2024-10-01 21:10:50', NULL),
(13, 58, '10000.00', 'initiated', '2024-10-02 00:11:15', '2024-10-01 21:11:15', '2024-10-01 21:11:15', NULL),
(14, 104, '10000.00', 'paid', '2024-10-02 00:18:32', '2024-10-01 21:18:32', '2024-10-01 21:21:22', NULL),
(15, 56, '10000.00', 'paid', '2024-10-02 00:23:50', '2024-10-01 21:23:50', '2024-10-01 21:24:01', NULL),
(16, 139, '10000.00', 'paid', '2024-10-02 00:24:07', '2024-10-01 21:24:07', '2024-10-01 21:24:17', NULL),
(17, 117, '10000.00', 'paid', '2024-10-02 00:34:01', '2024-10-01 21:34:01', '2024-10-01 22:05:32', NULL),
(18, 38, '10000.00', 'initiated', '2024-10-02 01:06:16', '2024-10-01 22:06:16', '2024-10-01 22:06:16', NULL),
(19, 109, '10000.00', 'paid', '2024-10-02 18:41:40', '2024-10-02 15:41:40', '2024-10-02 15:41:56', NULL);

-- --------------------------------------------------------

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

CREATE TABLE IF NOT EXISTS `permissions` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `permissions` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(1, 'add.user', 'web', '2024-09-19 13:34:09', '2024-09-19 13:34:09'),
(2, 'loan.process', 'web', '2024-09-20 02:25:00', '2024-09-20 02:25:00'),
(3, 'paying', 'web', '2024-09-20 02:25:15', '2024-09-20 02:25:15'),
(4, 'loan.approval', 'web', '2024-09-20 02:25:33', '2024-09-20 02:25:33'),
(5, 'enquiry.register', 'web', '2024-09-20 02:26:25', '2024-09-20 02:26:25'),
(6, 'review.loan', 'web', '2024-09-23 06:59:34', '2024-09-23 06:59:34'),
(7, 'processloan', 'web', '2024-09-23 07:00:03', '2024-09-23 07:00:03');

-- --------------------------------------------------------

--
-- Table structure for table `regions`
--

CREATE TABLE IF NOT EXISTS `regions` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `regions`
--

INSERT INTO `regions` (`id`, `name`, `created_at`, `updated_at`) VALUES
(1, 'Arusha', NULL, NULL),
(2, 'Dar es Salaam', NULL, NULL),
(3, 'Dodoma', NULL, NULL),
(4, 'Geita', NULL, NULL),
(5, 'Iringa', NULL, NULL),
(6, 'Kagera', NULL, NULL),
(7, 'Katavi', NULL, NULL),
(8, 'Kigoma', NULL, NULL),
(9, 'Kilimanjaro', NULL, NULL),
(10, 'Lindi', NULL, NULL),
(11, 'Manyara', NULL, NULL),
(12, 'Mara', NULL, NULL),
(13, 'Mbeya', NULL, NULL),
(14, 'Morogoro', NULL, NULL),
(15, 'Mtwara', NULL, NULL),
(16, 'Mwanza', NULL, NULL),
(17, 'Njombe', NULL, NULL),
(18, 'Pwani', NULL, NULL),
(19, 'Rukwa', NULL, NULL),
(20, 'Ruvuma', NULL, NULL),
(21, 'Shinyanga', NULL, NULL),
(22, 'Simiyu', NULL, NULL),
(23, 'Singida', NULL, NULL),
(24, 'Songwe', NULL, NULL),
(25, 'Tabora', NULL, NULL),
(26, 'Tanga', NULL, NULL),
(27, 'Zanzibar', NULL, NULL);

-- --------------------------------------------------------

--
-- Table structure for table `responses`
--

CREATE TABLE IF NOT EXISTS `responses` (
  `id` bigint UNSIGNED NOT NULL,
  `enquiry_id` bigint UNSIGNED NOT NULL,
  `user_id` bigint UNSIGNED NOT NULL,
  `amount` decimal(15,2) DEFAULT NULL,
  `interest` decimal(5,2) DEFAULT NULL,
  `remarks` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `from_amount` decimal(15,2) DEFAULT NULL,
  `to_amount` decimal(15,2) DEFAULT NULL,
  `duration` int DEFAULT NULL,
  `date_of_retirement` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `responses`
--

INSERT INTO `responses` (`id`, `enquiry_id`, `user_id`, `amount`, `interest`, `remarks`, `description`, `from_amount`, `to_amount`, `duration`, `date_of_retirement`, `created_at`, `updated_at`) VALUES
(15, 31, 1, '10000.00', '32.00', NULL, NULL, NULL, NULL, 445667, NULL, '2024-08-16 11:17:23', '2024-08-16 11:17:23'),
(16, 31, 1, '10000.00', '23.00', NULL, NULL, NULL, NULL, 567, NULL, '2024-08-16 11:17:53', '2024-08-16 11:17:53'),
(17, 32, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-08-16 11:27:00', '2024-08-16 11:27:00'),
(18, 36, 1, '50000.00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '2024-08-16 11:27:14', '2024-08-16 11:27:14');

-- --------------------------------------------------------

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

CREATE TABLE IF NOT EXISTS `roles` (
  `id` bigint UNSIGNED NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `roles` (`id`, `name`, `guard_name`, `created_at`, `updated_at`) VALUES
(1, 'admin', 'web', '2024-09-19 13:33:54', '2024-09-19 13:33:54'),
(2, 'accountant', 'web', '2024-09-19 15:30:24', '2024-09-19 15:30:24'),
(3, 'loanofficer', 'web', '2024-09-19 16:08:34', '2024-09-19 16:08:34'),
(4, 'Registrar', 'web', '2024-09-19 16:10:37', '2024-09-19 16:10:37');

-- --------------------------------------------------------

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

CREATE TABLE IF NOT EXISTS `role_has_permissions` (
  `permission_id` bigint UNSIGNED NOT NULL,
  `role_id` bigint UNSIGNED NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `role_has_permissions` (`permission_id`, `role_id`) VALUES
(1, 1),
(3, 2),
(2, 3),
(5, 4);

--
-- Indexes for dumped tables
--

--
-- Indexes for table `districts`
--
ALTER TABLE `districts`
  ADD PRIMARY KEY (`id`),
  ADD KEY `districts_region_id_foreign` (`region_id`);

--
-- Indexes for table `enquiries`
--
ALTER TABLE `enquiries`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `enquiry_user`
--
ALTER TABLE `enquiry_user`
  ADD PRIMARY KEY (`enquiry_id`,`user_id`),
  ADD KEY `enquiry_user_user_id_foreign` (`user_id`);

--
-- Indexes for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`);

--
-- Indexes for table `members`
--
ALTER TABLE `members`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `migrations`
--
ALTER TABLE `migrations`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
  ADD PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  ADD KEY `model_has_permissions_model_id_model_type_index` (`model_id`,`model_type`);

--
-- Indexes for table `model_has_roles`
--
ALTER TABLE `model_has_roles`
  ADD PRIMARY KEY (`role_id`,`model_id`,`model_type`),
  ADD KEY `model_has_roles_model_id_model_type_index` (`model_id`,`model_type`);

--
-- Indexes for table `notifications`
--
ALTER TABLE `notifications`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `payments`
--
ALTER TABLE `payments`
  ADD PRIMARY KEY (`id`),
  ADD KEY `payments_enquiry_id_foreign` (`enquiry_id`);

--
-- Indexes for table `permissions`
--
ALTER TABLE `permissions`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`);

--
-- Indexes for table `regions`
--
ALTER TABLE `regions`
  ADD PRIMARY KEY (`id`);

--
-- Indexes for table `responses`
--
ALTER TABLE `responses`
  ADD PRIMARY KEY (`id`),
  ADD KEY `responses_enquiry_id_foreign` (`enquiry_id`),
  ADD KEY `responses_user_id_foreign` (`user_id`);

--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `roles_name_guard_name_unique` (`name`,`guard_name`);

--
-- Indexes for table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
  ADD PRIMARY KEY (`permission_id`,`role_id`),
  ADD KEY `role_has_permissions_role_id_foreign` (`role_id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `districts`
--
ALTER TABLE `districts`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=131;

--
-- AUTO_INCREMENT for table `enquiries`
--
ALTER TABLE `enquiries`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=140;

--
-- AUTO_INCREMENT for table `failed_jobs`
--
ALTER TABLE `failed_jobs`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `members`
--
ALTER TABLE `members`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=145;

--
-- AUTO_INCREMENT for table `migrations`
--
ALTER TABLE `migrations`
  MODIFY `id` int UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=18;

--
-- AUTO_INCREMENT for table `notifications`
--
ALTER TABLE `notifications`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=39;

--
-- AUTO_INCREMENT for table `payments`
--
ALTER TABLE `payments`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=20;

--
-- AUTO_INCREMENT for table `permissions`
--
ALTER TABLE `permissions`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;

--
-- AUTO_INCREMENT for table `regions`
--
ALTER TABLE `regions`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=28;

--
-- AUTO_INCREMENT for table `responses`
--
ALTER TABLE `responses`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=19;

--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
  MODIFY `id` bigint UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;

--
-- Constraints for dumped tables
--

--
-- Constraints for table `districts`
--
ALTER TABLE `districts`
  ADD CONSTRAINT `districts_region_id_foreign` FOREIGN KEY (`region_id`) REFERENCES `regions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `enquiry_user`
--
ALTER TABLE `enquiry_user`
  ADD CONSTRAINT `enquiry_user_enquiry_id_foreign` FOREIGN KEY (`enquiry_id`) REFERENCES `enquiries` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `enquiry_user_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `model_has_permissions`
--
ALTER TABLE `model_has_permissions`
  ADD CONSTRAINT `model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `model_has_roles`
--
ALTER TABLE `model_has_roles`
  ADD CONSTRAINT `model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `payments`
--
ALTER TABLE `payments`
  ADD CONSTRAINT `payments_enquiry_id_foreign` FOREIGN KEY (`enquiry_id`) REFERENCES `enquiries` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `responses`
--
ALTER TABLE `responses`
  ADD CONSTRAINT `responses_enquiry_id_foreign` FOREIGN KEY (`enquiry_id`) REFERENCES `enquiries` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `responses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE;

--
-- Constraints for table `role_has_permissions`
--
ALTER TABLE `role_has_permissions`
  ADD CONSTRAINT `role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
  ADD CONSTRAINT `role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE;
COMMIT;

