
--
-- Table structure for table `journal_transaction_archives`
--

CREATE TABLE `journal_transaction_archives` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `journal_transaction_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `data` json NOT NULL,
  `fiscal_year_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `journal_transaction_archives_fiscal_year_id_index` (`fiscal_year_id`),
  KEY `journal_transaction_archives_journal_transaction_id_foreign` (`journal_transaction_id`),
  CONSTRAINT `journal_transaction_archives_fiscal_year_id_foreign` FOREIGN KEY (`fiscal_year_id`) REFERENCES `fiscal_years` (`id`) ON DELETE CASCADE,
  CONSTRAINT `journal_transaction_archives_journal_transaction_id_foreign` FOREIGN KEY (`journal_transaction_id`) REFERENCES `journal_transactions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `journal_transaction_archives`
--


--
-- Table structure for table `journal_transactions`
--

CREATE TABLE `journal_transactions` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `transaction_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  `status` enum('active','deleted','reversed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `reference` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `supporting_documents` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `project_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `segment_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `budget_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `journal_type_id` bigint unsigned DEFAULT NULL,
  `fiscal_year_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reversed_by` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_by` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reverse_message` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reversal_date` date DEFAULT NULL,
  `unique_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `cash_impact` enum('Direct','Indirect','None') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Indirect' COMMENT 'How this transaction affects cash flow',
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `journal_transactions_journal_type_id_foreign` (`journal_type_id`),
  KEY `journal_transactions_project_id_foreign` (`project_id`),
  KEY `journal_transactions_fiscal_year_id_foreign` (`fiscal_year_id`),
  KEY `journal_transactions_segment_id_foreign` (`segment_id`),
  KEY `journal_transactions_reversed_by_foreign` (`reversed_by`),
  KEY `journal_transactions_created_by_foreign` (`created_by`),
  KEY `jt_status_fy_date_org_idx` (`status`,`fiscal_year_id`,`transaction_date`,`organisation_id`),
  KEY `jt_status_fy_org_date_idx` (`status`,`fiscal_year_id`,`organisation_id`,`transaction_date`),
  CONSTRAINT `journal_transactions_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `journal_transactions_fiscal_year_id_foreign` FOREIGN KEY (`fiscal_year_id`) REFERENCES `fiscal_years` (`id`) ON DELETE CASCADE,
  CONSTRAINT `journal_transactions_journal_type_id_foreign` FOREIGN KEY (`journal_type_id`) REFERENCES `journal_types` (`id`),
  CONSTRAINT `journal_transactions_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE,
  CONSTRAINT `journal_transactions_reversed_by_foreign` FOREIGN KEY (`reversed_by`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `journal_transactions_segment_id_foreign` FOREIGN KEY (`segment_id`) REFERENCES `segments` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `journal_transactions`
--

INSERT INTO `journal_transactions` VALUES ('282b3f1d-603a-46d0-8382-da717b2e69e4','ac7e5b0f-d0dd-44a4-913c-6d365861fad6',NULL,'2025-04-01 00:00:00','active',NULL,NULL,NULL,NULL,NULL,2,'474999f5-e3a4-473f-9ec3-6211fc872bf1','Opening balances brought forward',NULL,NULL,NULL,NULL,'69b0968df1914','Direct',NULL,'2026-03-11 01:09:18','2026-03-11 01:09:20'),('43bb10a3-337e-4446-9301-94c9ae68bcea','ac7e5b0f-d0dd-44a4-913c-6d365861fad6',NULL,'2026-03-12 00:00:00','active','#OP',NULL,NULL,NULL,NULL,1,'474999f5-e3a4-473f-9ec3-6211fc872bf1',NULL,NULL,NULL,NULL,NULL,'69b2e27fdce96','Indirect','2026-03-27 08:39:17','2026-03-12 18:57:51','2026-03-27 08:39:17'),('44460125-7f86-4020-90e6-c98b3a1d513c','ac7e5b0f-d0dd-44a4-913c-6d365861fad6',NULL,'2025-04-08 16:59:45','active','566',NULL,NULL,NULL,NULL,3,'474999f5-e3a4-473f-9ec3-6211fc872bf1','UPANGISHAJI MAGHALA',NULL,NULL,NULL,NULL,'69e782d1956c1','Indirect',NULL,'2026-04-21 16:59:45','2026-04-21 16:59:45'),('552632a6-bccb-450c-bd63-5ba7fba6bc5d','ac7e5b0f-d0dd-44a4-913c-6d365861fad6',NULL,'2025-04-01 12:35:05','active','PV',NULL,NULL,NULL,NULL,3,'474999f5-e3a4-473f-9ec3-6211fc872bf1','PAYE',NULL,NULL,NULL,NULL,'69dcb8c97839f','Direct',NULL,'2026-04-13 12:35:05','2026-04-13 12:35:05'),('7632b2f4-7efe-455b-b44d-1997c965f1d2','ac7e5b0f-d0dd-44a4-913c-6d365861fad6',NULL,'2026-04-23 09:24:42','active','CR00001',NULL,NULL,NULL,NULL,4,'474999f5-e3a4-473f-9ec3-6211fc872bf1','Cash requisition discbursement for item Posho za Safari',NULL,NULL,NULL,NULL,'CR-20260423-48477','Direct',NULL,'2026-04-23 09:24:42','2026-04-23 09:24:42'),('7c578ef9-b013-48fe-97af-c08d0a7cf96b','ac7e5b0f-d0dd-44a4-913c-6d365861fad6',NULL,'2025-04-01 09:18:31','active','456',NULL,NULL,NULL,NULL,3,'474999f5-e3a4-473f-9ec3-6211fc872bf1','SDL',NULL,NULL,NULL,NULL,'69e9b9b7bfe8e','Direct',NULL,'2026-04-23 09:18:31','2026-04-23 09:18:31'),('815e2d8a-8c53-4501-a1ec-616736707206','ac7e5b0f-d0dd-44a4-913c-6d365861fad6',NULL,'2025-04-29 18:45:42','active','1901',NULL,NULL,NULL,'e78e7024-ab8d-4c2f-b968-e5e1fad6e026',4,'474999f5-e3a4-473f-9ec3-6211fc872bf1',NULL,NULL,NULL,NULL,NULL,'69c6a62655103','Direct',NULL,'2026-03-27 18:45:42','2026-03-27 18:45:42'),('9e0fb27a-fbbf-433e-9083-b18cf0588fa6','ac7e5b0f-d0dd-44a4-913c-6d365861fad6',NULL,'2026-02-11 21:05:08','active','#OP',NULL,NULL,NULL,NULL,1,'20664a10-d692-43c0-8fa3-57776cb5cacc','Opening balances from COA upload',NULL,NULL,NULL,NULL,'698cc4d492567','Direct',NULL,'2026-02-11 21:05:08','2026-02-11 21:37:30'),('c9b5040c-7cee-44b5-8400-18c39b8ef9e5','ac7e5b0f-d0dd-44a4-913c-6d365861fad6',NULL,'2025-04-01 10:38:48','active','6666',NULL,NULL,NULL,NULL,3,'474999f5-e3a4-473f-9ec3-6211fc872bf1','MALIPO',NULL,NULL,NULL,NULL,'69f064088bbab','Direct','2026-04-28 10:46:37','2026-04-28 10:38:48','2026-04-28 10:46:37');

--
-- Table structure for table `journal_types`
--

CREATE TABLE `journal_types` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('1','0') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=28 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `journal_types`
--

INSERT INTO `journal_types` VALUES (1,'Opening Balance','Opening Balance','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(2,'Closing Journal','Fiscal Year Closure','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(3,'General Journal','General','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(4,'Expense Journal','Expense Journal','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(5,'Sales Journal','Income','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(6,'Purchases Journal','Purchases Journal','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(7,'Cash Receipts Journal','Cash Receipts Journal','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(8,'Cash Disbursements (Payments) Journal','Cash Disbursements (Payments) Journal','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(9,'Sales Returns and Allowances Journal','Sales Returns and Allowances Journal','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(10,'Purchases Returns and Allowances Journal','Purchases Returns and Allowances Journal','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(11,'Payroll Journal','Payroll Journal','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(12,'General Ledger Journal','General Ledger Journal','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(13,'Adjusting Journal','Adjusting Journal','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(14,'Reversing Journal','Reversing Journal','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(15,'Depreciation Journal','Depreciation Journal','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(16,'Appreciation Journal','Appreciation Journal','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(17,'Amortization Journal','Amortization Journal','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(18,'Inventory Journal','Inventory Journal','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(19,'Asset purchase','Asset purchase','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(20,'Cash Transfer','Movement of money from one cash account to another','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(21,'Loan Disbursement','Loan disbursement','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(22,'Loan Payment','Loan payment details','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(23,'Purcahse Payment','Purchase payment details','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(24,'Payroll','Payroll entries','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(25,'Acruel','Accruel entries','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(26,'Security Deposit','Security Deposit','1','2026-03-10 21:55:10','2026-03-10 21:55:10'),(27,'Rent Payment','Rent payment','1','2026-03-10 21:55:10','2026-03-10 21:55:10');

--
-- Table structure for table `landlords`
--

CREATE TABLE `landlords` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `metadata` json DEFAULT NULL,
  `management_fee_type` enum('percentage','fixed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'percentage',
  `management_fee_percent` decimal(5,2) NOT NULL DEFAULT '0.00',
  `balance` decimal(12,2) NOT NULL DEFAULT '0.00',
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `landlords_user_id_foreign` (`user_id`),
  CONSTRAINT `landlords_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `landlords`
--


--
-- Table structure for table `lead_notes`
--

CREATE TABLE `lead_notes` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `lead_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `added_by` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `lead_notes_lead_id_foreign` (`lead_id`),
  KEY `lead_notes_added_by_foreign` (`added_by`),
  CONSTRAINT `lead_notes_added_by_foreign` FOREIGN KEY (`added_by`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `lead_notes_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `lead_notes`
--


--
-- Table structure for table `leads`
--

CREATE TABLE `leads` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `assigned_to` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `status` enum('new','contacted','qualified','converted') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'new',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `leads_assigned_to_foreign` (`assigned_to`),
  CONSTRAINT `leads_assigned_to_foreign` FOREIGN KEY (`assigned_to`) REFERENCES `employees` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `leads`
--


--
-- Table structure for table `leave_application_approvals`
--

CREATE TABLE `leave_application_approvals` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `request_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `approval_level_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `approver_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `status` enum('Approved','Rejected') COLLATE utf8mb4_unicode_ci NOT NULL,
  `comment` varchar(255) 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 `leave_application_approvals_approval_level_id_foreign` (`approval_level_id`),
  KEY `leave_application_approvals_request_id_foreign` (`request_id`),
  KEY `leave_application_approvals_approver_id_foreign` (`approver_id`),
  CONSTRAINT `leave_application_approvals_approval_level_id_foreign` FOREIGN KEY (`approval_level_id`) REFERENCES `approval_levels` (`id`) ON DELETE CASCADE,
  CONSTRAINT `leave_application_approvals_approver_id_foreign` FOREIGN KEY (`approver_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `leave_application_approvals_request_id_foreign` FOREIGN KEY (`request_id`) REFERENCES `leave_requests` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `leave_application_approvals`
--


--
-- Table structure for table `leave_balances`
--

CREATE TABLE `leave_balances` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `employee_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `leave_type_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `balance` decimal(5,1) NOT NULL DEFAULT '0.0',
  `year` int NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `leave_balances_employee_id_leave_type_id_year_unique` (`employee_id`,`leave_type_id`,`year`),
  KEY `leave_balances_leave_type_id_foreign` (`leave_type_id`),
  CONSTRAINT `leave_balances_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `leave_balances_leave_type_id_foreign` FOREIGN KEY (`leave_type_id`) REFERENCES `leave_types` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `leave_balances`
--


--
-- Table structure for table `leave_requests`
--

CREATE TABLE `leave_requests` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `employee_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `leave_type_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `current_approval_level` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `reason` text COLLATE utf8mb4_unicode_ci,
  `status` enum('Pending','Approved','Rejected') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `leave_requests_employee_id_foreign` (`employee_id`),
  KEY `leave_requests_leave_type_id_foreign` (`leave_type_id`),
  CONSTRAINT `leave_requests_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `leave_requests_leave_type_id_foreign` FOREIGN KEY (`leave_type_id`) REFERENCES `leave_types` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `leave_requests`
--


--
-- Table structure for table `leave_types`
--

CREATE TABLE `leave_types` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `leave_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `max_days` int DEFAULT NULL,
  `is_paid` tinyint(1) 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`),
  UNIQUE KEY `leave_types_leave_name_unique` (`leave_name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `leave_types`
--


--
-- Table structure for table `loan_types`
--

CREATE TABLE `loan_types` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_id` bigint unsigned DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `loan_types_account_id_foreign` (`account_id`),
  CONSTRAINT `loan_types_account_id_foreign` FOREIGN KEY (`account_id`) REFERENCES `chart_of_accounts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `loan_types`
--


--
-- Table structure for table `localities`
--

CREATE TABLE `localities` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `district_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) 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 `localities_district_id_foreign` (`district_id`),
  CONSTRAINT `localities_district_id_foreign` FOREIGN KEY (`district_id`) REFERENCES `districts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `localities`
--


--
-- Table structure for table `machine_logs`
--

CREATE TABLE `machine_logs` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `machine_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('idle','running','maintenance','error','out_of_service') 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 `machine_logs_machine_id_foreign` (`machine_id`),
  CONSTRAINT `machine_logs_machine_id_foreign` FOREIGN KEY (`machine_id`) REFERENCES `machines` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `machine_logs`
--


--
-- Table structure for table `machine_maintenances`
--

CREATE TABLE `machine_maintenances` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `machine_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `maintenance_type` enum('preventive','corrective','predictive') COLLATE utf8mb4_unicode_ci NOT NULL,
  `scheduled_date` date NOT NULL,
  `completed_date` date DEFAULT NULL,
  `technician_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `technician_name` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `actions_taken` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `machine_maintenances_machine_id_foreign` (`machine_id`),
  KEY `machine_maintenances_technician_id_foreign` (`technician_id`),
  CONSTRAINT `machine_maintenances_machine_id_foreign` FOREIGN KEY (`machine_id`) REFERENCES `machines` (`id`),
  CONSTRAINT `machine_maintenances_technician_id_foreign` FOREIGN KEY (`technician_id`) REFERENCES `employees` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `machine_maintenances`
--


--
-- Table structure for table `machines`
--

CREATE TABLE `machines` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `work_station_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('running','maintenance','out_of_service','error','idle') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'idle',
  `machine_type` enum('mixer','packer','other') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'other',
  `capabilities` json NOT NULL,
  `hourly_rate` decimal(10,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `machines_work_station_id_foreign` (`work_station_id`),
  CONSTRAINT `machines_work_station_id_foreign` FOREIGN KEY (`work_station_id`) REFERENCES `work_stations` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `machines`
--


--
-- Table structure for table `maintenance_tasks`
--

CREATE TABLE `maintenance_tasks` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `property_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `unit_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `type` enum('painting','plumbing','electrical','carpentry','general') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'general',
  `status` enum('planned','in_progress','completed','cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'planned',
  `estimated_cost` decimal(12,2) DEFAULT NULL,
  `is_paid` tinyint(1) NOT NULL DEFAULT '0',
  `requestable_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `requestable_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `assignable_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `assignable_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `scheduled_date` date DEFAULT NULL,
  `completed_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `maintenance_tasks_property_id_foreign` (`property_id`),
  KEY `maintenance_tasks_unit_id_foreign` (`unit_id`),
  CONSTRAINT `maintenance_tasks_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `properties` (`id`) ON DELETE CASCADE,
  CONSTRAINT `maintenance_tasks_unit_id_foreign` FOREIGN KEY (`unit_id`) REFERENCES `property_units` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `maintenance_tasks`
--


--
-- Table structure for table `material_request_items`
--

CREATE TABLE `material_request_items` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `request_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `item_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `uom_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `requested_qty` decimal(15,3) NOT NULL,
  `issued_qty` decimal(15,3) NOT NULL DEFAULT '0.000',
  `qty_returned` decimal(15,3) NOT NULL DEFAULT '0.000',
  `status` enum('pending','approved','rejected') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `approved_by` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `rejected_by` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `rejected_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `material_request_items_request_id_foreign` (`request_id`),
  KEY `material_request_items_item_id_foreign` (`item_id`),
  KEY `material_request_items_uom_id_foreign` (`uom_id`),
  CONSTRAINT `material_request_items_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `material_request_items_request_id_foreign` FOREIGN KEY (`request_id`) REFERENCES `material_requests` (`id`) ON DELETE CASCADE,
  CONSTRAINT `material_request_items_uom_id_foreign` FOREIGN KEY (`uom_id`) REFERENCES `unit_of_measures` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `material_request_items`
--


--
-- Table structure for table `material_requests`
--

CREATE TABLE `material_requests` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `request_no` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `requested_by` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `request_date` date DEFAULT NULL,
  `status` enum('pending','partially_approved','approved','partially_issued','completed','rejected') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `approved_by` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `rejected_by` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `rejected_at` timestamp NULL DEFAULT NULL,
  `issued_by` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `issued_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `material_requests_requested_by_foreign` (`requested_by`),
  KEY `material_requests_rejected_by_foreign` (`rejected_by`),
  KEY `material_requests_approved_by_foreign` (`approved_by`),
  KEY `material_requests_issued_by_foreign` (`issued_by`),
  KEY `material_requests_organisation_id_foreign` (`organisation_id`),
  CONSTRAINT `material_requests_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `employees` (`id`),
  CONSTRAINT `material_requests_issued_by_foreign` FOREIGN KEY (`issued_by`) REFERENCES `employees` (`id`),
  CONSTRAINT `material_requests_organisation_id_foreign` FOREIGN KEY (`organisation_id`) REFERENCES `organisations` (`id`),
  CONSTRAINT `material_requests_rejected_by_foreign` FOREIGN KEY (`rejected_by`) REFERENCES `employees` (`id`),
  CONSTRAINT `material_requests_requested_by_foreign` FOREIGN KEY (`requested_by`) REFERENCES `employees` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `material_requests`
--


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

CREATE TABLE `members` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amcos_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `registrationType` enum('MEMBER','NON-MEMBER') COLLATE utf8mb4_unicode_ci NOT NULL,
  `nin` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `firstName` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `lastName` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `middleName` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `dateOfBirth` date DEFAULT NULL,
  `phoneNumber` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `noOfShares` decimal(10,2) NOT NULL DEFAULT '0.00',
  `savingAmount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `wardPostCode` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `referenceNumber` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `maritalStatus` enum('SINGLE','MARRIED','DIVORCED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'SINGLE',
  `gender` enum('MALE','FEMALE') COLLATE utf8mb4_unicode_ci NOT NULL,
  `villageStreet` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tinNumber` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `educationLevelUid` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `nationality` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `contactPerson` tinyint(1) NOT NULL DEFAULT '0',
  `steeringCommittee` tinyint(1) NOT NULL DEFAULT '0',
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `muvu_uid` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `membershipNumber` varchar(255) 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`),
  UNIQUE KEY `members_nin_unique` (`nin`),
  UNIQUE KEY `members_phonenumber_unique` (`phoneNumber`),
  UNIQUE KEY `members_referencenumber_unique` (`referenceNumber`),
  KEY `members_educationleveluid_foreign` (`educationLevelUid`),
  KEY `members_amcos_id_foreign` (`amcos_id`),
  CONSTRAINT `members_amcos_id_foreign` FOREIGN KEY (`amcos_id`) REFERENCES `amcos` (`id`) ON DELETE CASCADE,
  CONSTRAINT `members_educationleveluid_foreign` FOREIGN KEY (`educationLevelUid`) REFERENCES `education_levels` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


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

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

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

INSERT INTO `migrations` VALUES (1,'0001_01_01_000001_create_cache_table',1),(2,'0001_01_01_000002_create_configurations_table',1),(3,'0001_01_01_000002_create_organisations_table',1),(4,'0001_01_02_000003_create_users_table',1),(5,'0001_01_03_000004_create_employees_table',1),(6,'0001_01_03_000005_create_approval_levels_table',1),(7,'0001_01_03_000005_create_attendances_table',1),(8,'2014_10_12_100000_create_leave_management_table',1),(9,'2014_10_12_100000_create_password_reset_tokens_table',1),(10,'2016_06_01_000001_create_oauth_auth_codes_table',1),(11,'2016_06_01_000002_create_oauth_access_tokens_table',1),(12,'2016_06_01_000003_create_oauth_refresh_tokens_table',1),(13,'2016_06_01_000004_create_oauth_clients_table',1),(14,'2016_06_01_000005_create_oauth_personal_access_clients_table',1),(15,'2023_08_13_072301_create_permission_tables',1),(16,'2023_08_15_064720_create_admins_table',1),(17,'2023_08_23_201138_create_subscription_states_table',1),(18,'2023_08_23_201140_create_branches_table',1),(19,'2023_08_24_073620_create_organisation_types_table',1),(20,'2023_08_25_122104_create_organisation_services_table',1),(21,'2023_08_30_054205_add_expires_at_to_users_table',1),(22,'2023_10_17_082023_create_activity_log_table',1),(23,'2024_01_01_00334_create_files_table',1),(24,'2024_01_01_004506_create_suppliers_table',1),(25,'2024_01_01_121648_create_sectors_table',1),(26,'2024_01_01_123521_create_project_categories_table',1),(27,'2024_01_01_152710_create_age_groups_table',1),(28,'2024_01_01_152710_create_partners_table',1),(29,'2024_01_01_152720_create_projects_table',1),(30,'2024_01_01_152721_create_project_comments_table',1),(31,'2024_01_01_152722_create_project_files_table',1),(32,'2024_01_01_152725_create_project_partners_table',1),(33,'2024_01_01_152725_create_project_roles_table',1),(34,'2024_01_02_142334_create_customers_table',1),(35,'2024_01_02_142335_create_customer_details_table',1),(36,'2024_01_03_000107_create_trucks_table',1),(37,'2024_01_11_231348_create_project_teams_table',1),(38,'2024_02_01_181648_create_configs_table',1),(39,'2024_02_01_181648_create_segments_table',1),(40,'2024_02_01_205022_create_co_and_transactions_table',1),(41,'2024_02_01_213943_create_activities_table',1),(42,'2024_02_02_010333_create_amcos_table',1),(43,'2024_02_02_010333_create_corporate_buyers_table',1),(44,'2024_02_02_010333_create_education_levels_table',1),(45,'2024_02_02_010333_create_items_table',1),(46,'2024_02_02_010333_create_locations_table',1),(47,'2024_02_02_010333_create_products_table',1),(48,'2024_02_02_010334_create_procurement_table',1),(49,'2024_02_02_010342_create_return_and_disputes_table',1),(50,'2024_02_02_100648_create_budgets_table',1),(51,'2024_02_02_510333_create_amcos_warehouses_table',1),(52,'2024_02_02_510334_create_marketing_table',1),(53,'2024_02_02_510334_create_members_table',1),(54,'2024_02_02_510335_create_amcos_financial_years_table',1),(55,'2024_02_02_510335_create_buyers_table',1),(56,'2024_02_03_000011_create_services_items_table',1),(57,'2024_02_03_000011_create_services_table',1),(58,'2024_02_03_000012_create_crm_table',1),(59,'2024_02_03_00004_create_drivers_table',1),(60,'2024_02_03_000055_create_warehouses_table',1),(61,'2024_02_03_003117_create_inventories_table',1),(62,'2024_02_03_100114_create_sales_table',1),(63,'2024_02_03_100116_create_fullfillments_table',1),(64,'2024_02_04_152721_create_project_budgets_table',1),(65,'2024_02_04_181052_create_credit_notes_table',1),(66,'2024_03_04_062835_create_jobs_table',1),(67,'2024_03_14_163402_create_settings_table',1),(68,'2024_03_26_085326_create_public_holidays_table',1),(69,'2024_04_00_212413_create_payroll_table',1),(70,'2024_04_05_075821_create_billing_cycles_table',1),(71,'2024_04_05_080649_create_packages_table',1),(72,'2024_04_05_085628_create_package_services_table',1),(73,'2024_05_06_202814_create_forms_table',1),(74,'2024_05_06_212151_create_form_questions_table',1),(75,'2024_05_06_231432_create_form_responses_table',1),(76,'2024_05_07_100713_create_recruitments_table',1),(77,'2024_05_11_223931_create_activity_parameters_table',1),(78,'2024_05_11_223931_create_activity_plans_table',1),(79,'2024_05_11_223931_create_activity_programs_table',1),(80,'2024_05_11_223931_create_activity_teams_table',1),(81,'2024_05_11_223932_create_activity_parameter_results_table',1),(82,'2024_05_11_225012_create_performance_cycles_table',1),(83,'2024_05_11_225012_create_performance_rankings_table',1),(84,'2024_05_11_225012_create_project_timesheets_table',1),(85,'2024_05_11_225013_create_activity_services_table',1),(86,'2024_05_11_231856_create_activity_approvals_table',1),(87,'2024_05_11_232842_create_activity_budgets_table',1),(88,'2024_05_11_233108_create_activity_files_table',1),(89,'2024_05_11_234057_create_contracts_table',1),(90,'2024_05_26_094104_create_assets_table',1),(91,'2024_05_26_094113_create_work_stations_and_machines_table',1),(92,'2024_05_27_094104_create_asset_renting_table',1),(93,'2024_05_27_094105_create_asset_locations_table',1),(94,'2024_05_27_184836_create_milestones-table',1),(95,'2024_06_17_062749_create_job_applications_table',1),(96,'2024_06_20_150144_create_activity_logs_table',1),(97,'2024_06_20_152152_create_performance_table',1),(98,'2024_06_20_192233_create_training_programs_table',1),(99,'2024_06_20_195055_create_employee_leaves_table',1),(100,'2024_06_20_195055_create_employee_trainings_table',1),(101,'2024_06_20_202134_create_timesheets_table',1),(102,'2024_06_20_202420_create_attendance_records_table',1),(103,'2024_06_20_202420_create_employee_documents_table',1),(104,'2024_06_20_202634_create_disciplinary_actions_table',1),(105,'2024_06_21_132730_create_evaluations_table',1),(106,'2024_06_21_134359_create_employee_dependants_table',1),(107,'2024_06_21_140122_create_insurance_providers_table',1),(108,'2024_06_21_140337_create_employee_insurances_table',1),(109,'2024_06_21_142645_create_job_descriptions_table',1),(110,'2024_06_21_144926_create_job_transfers_table',1),(111,'2024_06_21_144926_create_reimbursement_types_table',1),(112,'2024_06_21_150534_create_termination_reasons_table',1),(113,'2024_06_21_151047_create_shift_schedules_table',1),(114,'2024_06_22_122249_create_asset_loan_financing_table',1),(115,'2024_06_23_154939_create_personal_access_tokens_table',1),(116,'2024_07_23_071949_create_employee_awards_table',1),(117,'2024_07_23_071949_create_employee_certifications_table',1),(118,'2024_07_23_071949_create_employee_reimbursements_table',1),(119,'2024_07_23_071949_create_work_experience_table',1),(120,'2024_08_07_085555_create_holiday_calendars_table',1),(121,'2024_08_07_085556_create_overtime_requests_table',1),(122,'2024_09_22_165127_create_cash_requisitions_table',1),(123,'2024_09_22_1651288_delete_rejection_comment_repair_requisitions_table',1),(124,'2024_09_22_1651290_delete_rejection_comment_repair_requisitions_table',1),(125,'2024_09_22_165315_create_fuel_requisitions_table',1),(126,'2024_09_22_165315_create_store_requisitions_table',1),(127,'2024_09_22_165315_create_vehicle_repair_requisitions_table',1),(128,'2024_09_22_165316_add_organisation_id_to_repair_requisitions_table',1),(129,'2024_09_22_165317_add_deleted_at_to_repair_requisitions_table',1),(130,'2025-09-27_000001_add_service_form_and_log_book_to_repair_requisitions_table',1),(131,'2025-10-30_000001_update_sales_table',1),(132,'2025-11-18_000001_update_reversal_sales_table',1),(133,'2025_01_11_161240_create_otps_table',1),(134,'2025_01_24_064657_create_bank_reconciliation_table',1),(135,'2025_02_23_000001_create_employee_warehouse_table',1),(136,'2025_04_22_123515_add_deleted_at_to_fuel_requisition_approvals_table',1),(137,'2025_04_22_174648_create_payment_voucher_table',1),(138,'2025_05_12_000001_create_configurables_table',1),(139,'2025_05_12_000002_create_candidates_table',1),(140,'2025_05_12_000003_create_companies_table',1),(141,'2025_05_12_000004_create_job_orders_table',1),(142,'2025_05_12_000005_create_job_management_table',1),(143,'2025_05_12_000006_create_placements_table',1),(144,'2025_05_12_000007_create_recruitment_invoices_table',1),(145,'2025_07_26_510335_create_input_loans_table',1),(146,'2025_07_26_510335_create_supplier_loans_table',1),(147,'2025_10_01_000001_create_production_and_packaging_table',1),(148,'2025_11_11_000001_change_quantity_to_decimal_in_sales_table',1),(149,'2025_11_12_create_budget_item_periods_table',1),(150,'2025_11_19_add_status_po_table',1),(151,'2025_11_20_0000001_create_uom_conversions_table',1),(152,'2025_12_11_000001_create_audit_logs_table',1),(153,'2025_12_11_000001_create_property_management_table',1),(154,'2026-01-20_000001_add_requested_quantity_to_fuel_requisitions_table',1),(155,'2026-01-24_000001_add_disbursed_amount_to_fuel_requisitions_table',1),(156,'2026_01_20_000001_create_cash_requisition_approval_table',1),(157,'2026_01_21_make_rejection_comments_nullable_on_cash_requisition_approvals',1),(158,'2026_01_24_add_posted_to_accounts_gr_table',1),(159,'2026_01_26_add_column_status_reconciliation_table',1),(160,'2026_01_27_100001_create_asset_payments_table',1),(161,'2026_01_27_100001_create_report_layouts_table',1),(162,'2026_01_27_100002_add_column_profit_and_loss_to_fy_table',1),(163,'2026_01_30_000002_update_status_enum_add_pending_to_payroll_approvals',1),(164,'2026_01_30_1000004_create_default_accounts_table',1),(165,'2026_01_31_add_column_is_tax_chart_of_accounts_table',1),(166,'2026_02_03_000001_manage_collateral_tables',1),(167,'2026_02_03_000002_add_vault_table',1),(168,'2026_02_05_000001_add_column_is_tax_account_sub_categories_table',1),(169,'2026_02_05_000002_add_column_is_non_taxable_account_sub_categories_table',1),(170,'2026_02_05_000003_add_column_category_ids_report_layout_table',1),(171,'2026_02_05_000004_add_column_sort_accounts_tables_table',1),(172,'2026_08_02_000001_create_item_purchases_table',1);

--
-- Table structure for table `milestones`
--

CREATE TABLE `milestones` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `due_date` date NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `milestones`
--


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

CREATE TABLE `model_has_permissions` (
  `permission_id` bigint unsigned NOT NULL,
  `model_type` varchar(255) 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`
--


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

CREATE TABLE `model_has_roles` (
  `role_id` bigint unsigned NOT NULL,
  `model_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` char(36) COLLATE utf8mb4_unicode_ci 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 (9,'App\\Models\\User','03e8e97b-cff4-4949-b409-4c3dc6976352'),(9,'App\\Models\\User','042baf55-b9fd-4189-bf60-bc3426ae6504'),(9,'App\\Models\\User','0541c03e-a05a-443d-bda1-4ad252451421'),(1,'App\\Models\\User','09ba2537-d2ac-4b24-99f1-9710a9848540'),(9,'App\\Models\\User','09d0c22e-ff8a-4f3e-b3f7-f63d6ddd4e30'),(9,'App\\Models\\User','12ba56ea-49eb-4243-a32d-fcec6d799e47'),(9,'App\\Models\\User','19b12682-3f57-4ff3-99b7-a0d2e565b861'),(1,'App\\Models\\User','2f53812f-395f-46da-97cd-1b2a21aa41da'),(9,'App\\Models\\User','3b2f297e-c981-4415-b303-42496eedcbb0'),(9,'App\\Models\\User','4afd55da-fd3b-4e31-9abe-a1d5b68aff95'),(9,'App\\Models\\User','4d9d6020-cde2-4d2a-9eaf-99f743355dc4'),(9,'App\\Models\\User','4da4c3ce-1098-40fa-aac2-30fb73b43301'),(9,'App\\Models\\User','4f76120c-b7a7-4797-8b2d-88ffded468c3'),(9,'App\\Models\\User','56f0fcd2-4fa1-463a-9997-2db1a78c7b2c'),(9,'App\\Models\\User','58d73f72-2ec2-4899-a61a-31fae0a06e36'),(9,'App\\Models\\User','5ee98551-e09e-4b94-9d10-0445e6ab5c18'),(9,'App\\Models\\User','652c213d-d058-471a-86e4-18fad2b8fa26'),(9,'App\\Models\\User','66c451b2-a7c4-4a22-95a8-34c3d0e5413b'),(9,'App\\Models\\User','683bd77b-e8ea-4d01-8069-7fd5348dcbcd'),(9,'App\\Models\\User','703c8f89-e05f-41a5-8f09-8577bb4651da'),(9,'App\\Models\\User','70e07d4e-6f13-48bc-a1e6-4c559574b384'),(9,'App\\Models\\User','721556ed-61a0-4f9b-9132-7c09efba5bc0'),(9,'App\\Models\\User','74577dd5-601a-4d0f-82fc-a1481f8d90bf'),(9,'App\\Models\\User','752b1990-a3a0-416e-8555-dde2e561d606'),(9,'App\\Models\\User','75d6ab45-acef-4895-b6aa-4139f5c7736c'),(1,'App\\Models\\User','768bae0b-3b3f-476e-b7a9-4529fa1f9158'),(9,'App\\Models\\User','7a04c448-8902-4abd-82d5-3bfcba78e9fe'),(9,'App\\Models\\User','8bd364f7-8731-4dee-9fd8-bff490392814'),(2,'App\\Models\\User','8c855c64-34dd-4970-a80c-77f1b73be813'),(9,'App\\Models\\User','97014f95-e102-4f16-9495-0447d9813b2d'),(5,'App\\Models\\User','98eae2f6-6d69-4078-b187-e95f8187ee80'),(9,'App\\Models\\User','9bb53385-d6ac-41d3-9647-220cb8b08442'),(7,'App\\Models\\User','a3fc9881-c570-4a43-86cc-e5dc3f465f39'),(9,'App\\Models\\User','b1c6259e-e057-4907-8b10-c122e80820f7'),(9,'App\\Models\\User','b71ed933-ddb0-4b55-8bb9-370c5bd726e6'),(9,'App\\Models\\User','bcc29eb6-2da1-48b0-9ddf-d099cb7ad669'),(9,'App\\Models\\User','bd9dd1a0-80de-464b-86fe-25c24d168077'),(9,'App\\Models\\User','be107e9c-0371-422c-a39b-9e0e24539880'),(9,'App\\Models\\User','bf5d9a00-49d7-4248-8892-42294cdcc560'),(9,'App\\Models\\User','bf745f6a-be55-4dfb-852a-db4114594f6a'),(9,'App\\Models\\User','c323136d-78d6-4bec-b345-16bda3eedfa1'),(9,'App\\Models\\User','c447ffdc-83d1-4be4-9173-9f902f150b17'),(4,'App\\Models\\User','cc10bd7e-9f0e-453d-bece-e76872f0854f'),(9,'App\\Models\\User','d8a7b6cb-30b3-41af-b647-57d388cb7f02'),(3,'App\\Models\\User','db76612e-7eae-40e5-83c9-78f38ed17581'),(9,'App\\Models\\User','dc973442-332f-4762-b364-5d4d38a77e4d'),(9,'App\\Models\\User','ec297908-a1c8-4817-9c76-652062d2c871'),(6,'App\\Models\\User','ffd625c8-6186-446c-bff1-6983463bdabd');

--
-- Table structure for table `movement_approvals`
--

CREATE TABLE `movement_approvals` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `movement_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `approver_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `approval_level` int NOT NULL,
  `comments` text COLLATE utf8mb4_unicode_ci,
  `decision` enum('Approved','Rejected','Pending') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Pending',
  `decision_date` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `movement_approvals_movement_id_foreign` (`movement_id`),
  KEY `movement_approvals_approver_id_foreign` (`approver_id`),
  CONSTRAINT `movement_approvals_approver_id_foreign` FOREIGN KEY (`approver_id`) REFERENCES `users` (`id`),
  CONSTRAINT `movement_approvals_movement_id_foreign` FOREIGN KEY (`movement_id`) REFERENCES `asset_movements` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `movement_approvals`
--


--
-- Table structure for table `movement_documents`
--

CREATE TABLE `movement_documents` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `movement_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `document_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `file_path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `original_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `mime_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `size` int NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `movement_documents_movement_id_foreign` (`movement_id`),
  CONSTRAINT `movement_documents_movement_id_foreign` FOREIGN KEY (`movement_id`) REFERENCES `asset_movements` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `movement_documents`
--


--
-- Table structure for table `notices`
--

CREATE TABLE `notices` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `rental_agreement_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` enum('rent_due','overdue','eviction','renewal') COLLATE utf8mb4_unicode_ci NOT NULL,
  `issued_on` date NOT NULL,
  `delivery_method` enum('sms','email','printed') COLLATE utf8mb4_unicode_ci NOT NULL,
  `content` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `notices_rental_agreement_id_foreign` (`rental_agreement_id`),
  CONSTRAINT `notices_rental_agreement_id_foreign` FOREIGN KEY (`rental_agreement_id`) REFERENCES `rental_agreements` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `notices`
--


--
-- Table structure for table `oauth_access_tokens`
--

CREATE TABLE `oauth_access_tokens` (
  `id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `client_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `scopes` text COLLATE utf8mb4_unicode_ci,
  `revoked` tinyint(1) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `expires_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `oauth_access_tokens_user_id_index` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `oauth_access_tokens`
--

INSERT INTO `oauth_access_tokens` VALUES ('0021cccc4cf9487be31ee4ac66566dd95947855fc05508e24643b3abc2165c241ff34a31d9ade860','8c855c64-34dd-4970-a80c-77f1b73be813','1','API Token','[]',0,'2026-04-02 09:28:11','2026-04-02 09:28:11','2026-04-02 15:28:11'),('00f2ddb90c959f3f86316e37d01e83017b65f8c549de41e3aa9bb7b17cc75655d802c936b63e5f9a','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-23 14:12:57','2026-03-23 14:12:57','2026-03-23 20:12:57'),('02294ef03fe49eea2cd46bbf71eb31d125394031b457a6d657cd7205694c0979e168cc2511f9b617','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-04-13 09:35:33','2026-04-13 09:35:33','2026-04-13 15:35:33'),('052988c89db596ef50c3d84a7801e8172c1caab41f696ec4a0a6e0a2f6927830fa25d2c6661f9a9c','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-10 14:50:49','2026-04-10 14:50:49','2026-04-10 20:50:49'),('0563207cb0209df0de27d1ccaa554bfe4ba6920f5dacf1b651d2fd498b63e51d27c66ae4e8abb484','8c855c64-34dd-4970-a80c-77f1b73be813','1','API Token','[]',0,'2026-04-13 09:39:28','2026-04-13 09:39:28','2026-04-13 15:39:28'),('059022e40787cf3af1b9113b244df8c1c8b8d6c47322ff9b818f42c0a53dcdf01f0f987017cd52be','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-26 09:18:02','2026-03-26 09:18:02','2026-03-26 15:18:02'),('05a9716410d71d163cc5023ef101c754697fe52ea5651c2b6b4f9d826f17f2269a3ca5c7063efdce','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-15 16:13:07','2026-03-15 16:13:07','2026-03-15 22:13:07'),('08240f871636038819857682db6fa2d091a5245965ce90995a22d50872692407373216f0f8832e89','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-23 11:28:18','2026-03-23 11:28:18','2026-03-23 17:28:18'),('086439dba9c84b507bc5bbba0c2a73471071bb8ba47e61faac4cc8584e578c43f1ec5fef97fb7dcf','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-27 09:17:50','2026-03-27 09:17:50','2026-03-27 15:17:50'),('0e4ba390b348f7e243b15ef6305f34b30be4f2bd4a64348e10c29306af06ce2e9d8ddb7d73ae7903','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-27 22:12:56','2026-03-27 22:12:56','2026-03-28 04:12:56'),('0f82138c32f48b2bb123a3ec46809859b5cda746892ead261ed9785e764adff19642860881cecc0a','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-10 12:01:41','2026-04-10 12:01:41','2026-04-10 18:01:41'),('10273386bff7bd55296ae5387918a301d96be4cc20688fd317b89dc8fdf3e866ce6a825a15a249c4','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-04-13 09:01:13','2026-04-13 09:01:13','2026-04-13 15:01:13'),('111f6bd800b2eefd9da6ee3fca563f2e432e65094879e0212a976cbab4cedec6de9e4ed1f1bd903e','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-23 15:47:17','2026-03-23 15:47:17','2026-03-23 21:47:17'),('11e27d3ade71d256f8c17517cde82ce994b9581f52d09f71ddb063d903b01f561cd98573142f6585','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-20 11:11:04','2026-04-20 11:11:04','2026-04-20 17:11:04'),('12ebf16b8c7ae72d35aa84c340d19d81c4a17f42ed8186c2a21582042545aad5961e7c1747ade289','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-28 10:57:09','2026-03-28 10:57:09','2026-03-28 16:57:09'),('135aec180fcacb7e797b2ba3852678b2d3925388b6a0951117ffe1d41391a24dd239722402f1afe1','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-01 16:55:29','2026-04-01 16:55:29','2026-04-01 22:55:29'),('147586c42924750f3e1dcf62b4a275dc0cf4417b87f4f88d990ca61c0fc6c8732897269de30d1184','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-19 08:45:24','2026-03-19 08:45:25','2026-03-19 14:45:25'),('14e9552e64158f930d911bce533ada2dc6f1421f8e84153cfe25058f8c1753711811d7956619b1ee','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-13 12:19:46','2026-04-13 12:19:46','2026-04-13 18:19:46'),('150bcc5457b59f0131da0137c777bf421e238a85fb63c64a5f4a1bf1eb99cd7f7f69f5feb11614ac','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-27 10:36:14','2026-03-27 10:36:14','2026-03-27 16:36:14'),('1606b32548e5903c400540948431f6f3d16e7bde5fe83b871d9d42e594b8c1933a933c98a381c28a','8c855c64-34dd-4970-a80c-77f1b73be813','1','API Token','[]',0,'2026-03-13 08:39:05','2026-03-13 08:39:05','2026-03-13 14:39:05'),('175731802a91b2db72cbd1ac54f22563698ef5c59dbeb81b4fc7f61987ac1086dfcef90eed63fd3c','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-28 14:40:48','2026-04-28 14:40:48','2026-04-28 20:40:48'),('1a654ccb457a6494cd65328deef9c0d70d3768619e31b7f31a07653415bd0951a9afd7dd6aad70d0','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-28 09:52:44','2026-03-28 09:52:44','2026-03-28 15:52:44'),('1a793731e33f7d00329207292b0507a70f4814be2661bdb369611cb2f10a910541b73babf0c4735f','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-23 14:13:15','2026-03-23 14:13:15','2026-03-23 20:13:15'),('1abdea7706a9d4c079b48ea4a5e233bfa8709a6131473ef83dc7d2b9eaf328f3aedbb878e55b4681','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-27 10:47:39','2026-03-27 10:47:39','2026-03-27 16:47:39'),('1b101f2fb51d563df43f00f32f502e230812108d4e63900a37d463777061c38d676c1d723ccfc34a','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-20 17:59:21','2026-03-20 17:59:21','2026-03-20 23:59:21'),('1c62ffb1224e0377b4c27fd7b5a630a2ce929649fd736e5606e372e8b36fbd8f444d46ef22631d1e','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-27 09:44:02','2026-03-27 09:44:02','2026-03-27 15:44:02'),('1d041e7b5c18d8f18a3380993fc109cf9189273d554ea2b41a4f4d230970bbb245ab8884682883ce','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-20 11:12:31','2026-03-20 11:12:31','2026-03-20 17:12:31'),('1d13e5e28f51f31c90d9253b2c9230c9ac5f9a309785e87a655af9ec7d953f05d4ba018121c940ea','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-15 20:01:57','2026-03-15 20:01:57','2026-03-16 02:01:57'),('1d9af95ec39bcd94be6a1f203a732fbbd42adfc981255b368210322c15dbad7fe930403d8364b774','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-12 13:26:18','2026-03-12 13:26:18','2026-03-12 19:26:18'),('1ea30065c099ce9cddf9be6328aed35c505c7ad01c8c6cd4b37e89212da1028b4044afd9836d8ad2','98eae2f6-6d69-4078-b187-e95f8187ee80','1','API Token','[]',0,'2026-03-13 08:39:33','2026-03-13 08:39:33','2026-03-13 14:39:33'),('1fffb049273be064c671577db93f714ffb0dff3932a4cf862df430e48391710aaab97020aa19763b','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-23 09:29:58','2026-04-23 09:29:58','2026-04-23 15:29:58'),('221a3302ca9c0e42fbf88e3977468b59284b21e2619773ebd27afe2509fa7e7dd76a44eb9c57fce6','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-04-13 12:16:38','2026-04-13 12:16:38','2026-04-13 18:16:38'),('2624fd845c25ef585c5c102328c2d15ace98d2fbd3f29f96a1775029fffe933187b98e16e56e81ac','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-08 10:45:26','2026-04-08 10:45:26','2026-04-08 16:45:26'),('263140aca9b2b985560afbbc83d107952ccff9ea0ad31b7b46100e34cf5c1f93e0f277b4e8bf62ad','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-03-13 08:57:58','2026-03-13 08:57:58','2026-03-13 14:57:58'),('2a0aa0b84ccc34fa92d8e0845d68681253877a10ff2058f3750451b4a422e0f33eb248c57b551ad1','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-04-09 14:25:26','2026-04-09 14:25:26','2026-04-09 20:25:26'),('2acd3084413645183d5e2dbc88bb7db649632e09842eb14965e3d0fae8e6b7f29d4fc0ae3af1d239','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-12 17:39:24','2026-03-12 17:39:24','2026-03-12 23:39:24'),('2b05ce448804f91bdda5730377bfba0d9f493c953264edd485664dc646d219f8472ee9127475575a','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-02 11:19:31','2026-04-02 11:19:31','2026-04-02 17:19:31'),('2f690e1592d76efee763f2942763da473f6f67a7ce85f581eb3da4fd0998001415bea78289920218','8c855c64-34dd-4970-a80c-77f1b73be813','1','API Token','[]',0,'2026-04-13 09:40:28','2026-04-13 09:40:28','2026-04-13 15:40:28'),('301fcd0cefdde2cc7dec94a26d8110cb79ac94b18fce5387aec30615a1e0feff98b855b18476eea3','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-21 16:16:08','2026-04-21 16:16:08','2026-04-21 22:16:08'),('318725f58adca57c879bdf450b139e0eac39ee55326e5dbbca63bdba35b28162b0bfa963be98007b','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-02 09:29:16','2026-04-02 09:29:16','2026-04-02 15:29:16'),('327f071a97411b9ae0508904bae1dd4f80e1a5cb39a3b76ce9afe9e9faea646747be04f1b7fde063','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-28 13:21:46','2026-04-28 13:21:46','2026-04-28 19:21:46'),('32c6f32f4d3bff68613b9c158d3842c560cd452dd4a3522e8deb5aad5814e29d6f1c51b8bef42192','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-27 10:18:53','2026-04-27 10:18:54','2026-04-27 16:18:54'),('32cfa4367de2fa6193fa1d8ccc8975bbd0181751179890f2fb95e4cb7e50ce8e44209698d290d65a','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-15 17:23:40','2026-03-15 17:23:40','2026-03-15 23:23:40'),('360fd0b79bed537749a8b0f049d33613fbfdadc58845cf97e4b389474e24d3316b939368ccf0be22','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-23 08:39:11','2026-04-23 08:39:11','2026-04-23 14:39:11'),('371cc2f5b25a46258ff1aabd65deec2780be0befbca6427e5fe1d8193abc71eb5e5aa9fffa2e3be3','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-16 17:59:14','2026-04-16 17:59:14','2026-04-16 23:59:14'),('3977b19e2bbeef391566b203ed82d9f30001a04f2517f1c9bfca8c155d97f19ecb9f910a9f8a8cdc','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-12 12:14:06','2026-03-12 12:14:06','2026-03-12 18:14:06'),('3a725990ef8d4b5d92b9dd1e285a16c0d5b50e99362c20bac424942533e73b1a97dba3fb4aecd67b','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-12 17:22:01','2026-03-12 17:22:01','2026-03-12 23:22:01'),('3b1cd3bd8df317c0f861db1427c4f0b2e2fff46996f543534fc65349f2c48ec7ef50cd611bacb56c','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-03-17 11:09:01','2026-03-17 11:09:01','2026-03-17 17:09:01'),('3b9fd108b98e6afb861b03ba42cf9a51690947ea3d1a195fbf44b6b150e26e51d2020a295c18a5ea','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-17 10:09:38','2026-03-17 10:09:38','2026-03-17 16:09:38'),('3e02f21522ea54eb9694fa7ede292c30f22989acde4faa6b65ec5f5425c7fec9086b7bde91fd331c','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-21 16:02:44','2026-04-21 16:02:44','2026-04-21 22:02:44'),('436fe22fbb87fac2a05510dcf176687f36f9ddd153f43cd2a106d91d7963415004c8da75f056f42d','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-13 09:36:16','2026-04-13 09:36:16','2026-04-13 15:36:16'),('44e0dbaa07ee14e11ad4c2a0afdbd207d7f503f8a1908cec731a514686c6516fe025ba991d2eb277','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-20 09:20:34','2026-04-20 09:20:34','2026-04-20 15:20:34'),('44edb92f4a5a393bbbf7c7e85e7f5ad2f5c6b4a0346978925fe4b014bca8704a273f3a8a6eba0566','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-03-18 11:20:37','2026-03-18 11:20:37','2026-03-18 17:20:37'),('451273f9d330b14649a648e02e92a0222dc62932ded2400b66909fde3412e5c130043d9c74ad802a','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-27 09:01:52','2026-04-27 09:01:52','2026-04-27 15:01:52'),('4629f6469198074a5508a73c44731272ecb202a3ae0104c6906fa8dcf2bab0eb0b65a22c7fdb645d','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-07 13:56:44','2026-04-07 13:56:44','2026-04-07 19:56:44'),('46b62a44915ad267e7f9b5b7653c12ccd07e6ea0bed4b32e5467ba66761bce7dbdecc96e5b713317','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-04-02 09:18:52','2026-04-02 09:18:52','2026-04-02 15:18:52'),('476652acf1d15964be1e865e907194a2de8c7a19eabd361eeccda4c4e86a7f514b216c6aafddf5c0','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-18 11:12:24','2026-03-18 11:12:24','2026-03-18 17:12:24'),('486a4aa7a6200c5f56c7612220092f9929376db0fa42262e13bddeed8f9aafbaadb2930f857ff326','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-19 09:39:23','2026-03-19 09:39:23','2026-03-19 15:39:23'),('49500e07a76456d698ddf792e93036448621cc4ad4bc38b97c0de4265a16dc4af59dca310135e4b1','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-04-09 08:04:36','2026-04-09 08:04:36','2026-04-09 14:04:36'),('4a44bd3da28bf02db36eacbb7832a1311c83356ca389d786dec9e8c78471a0860982c71c69bf050d','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-11 13:05:38','2026-03-11 13:05:38','2026-03-11 19:05:38'),('4bf0208f77cd25609ad652c47e5e7d495b4cfb94939714504c056d71e54d781a982028a8ce98db04','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-27 10:11:52','2026-04-27 10:11:52','2026-04-27 16:11:52'),('4c4619c96dfec4bfcbc211508236256cf06b59377fe9e167905adb43accfd7a67b4fb96a0c45f1bb','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-13 08:48:40','2026-03-13 08:48:40','2026-03-13 14:48:40'),('4c5a8baf2a4b691b9e9863f8bdaa8119d9ed7e5a0464948c7f2d3f6e8586c2819a43d72c58ff93cd','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-03-25 09:04:14','2026-03-25 09:04:14','2026-03-25 15:04:14'),('4d723ba2a7f0d00f934b3c418c5b6df1324072d5cb86c79c9da81503659720289d6a662e9a39c9ea','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-03-13 08:41:13','2026-03-13 08:41:13','2026-03-13 14:41:13'),('4dfef3c551d494df52906ead12056260951c127e5ee916287e3aeec50caffce1cd0f8920e0eb5306','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-07 09:36:30','2026-04-07 09:36:30','2026-04-07 15:36:30'),('4e55f9bda5c61188309f434554f27f78a067dec4ba77595d4203c0fb2204415713aee43a66cb304c','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-12 14:53:23','2026-03-12 14:53:23','2026-03-12 20:53:23'),('51b2dc2efd48dccfb712c71a7e2a7fd678db526cf1877e028712311a4dd053d077a848d41a6bc456','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-15 10:58:21','2026-03-15 10:58:21','2026-03-15 16:58:21'),('51fb59ee5d922f4e7d735025f89c328ff0758d1b04b9e67998f643bddaebf3a8cf6f1c8e4f35e867','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-27 09:31:34','2026-03-27 09:31:34','2026-03-27 15:31:34'),('5275617af7f0406d163d7473f4b0453f6c9f1c9aa590072cc723b818a81780cdb7cdb3937bb26c55','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-09 09:49:29','2026-04-09 09:49:29','2026-04-09 15:49:29'),('5275a56756f23895fc6891fa1c2811ec43c38856a0e0f629d80446d5c15f74df85bf38f0e3f84a38','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-03-18 11:05:06','2026-03-18 11:05:06','2026-03-18 17:05:06'),('5353af81fb500f28d80dcbb4333b28dbef498ca32ca65f720180b16c80800852a840572b275c5723','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-25 16:07:44','2026-04-25 16:07:44','2026-04-25 22:07:44'),('547c1f2824f81ea72cd2e6de648d407023376426229de28f0c2dcf9fa945c19e13956e14e128ff21','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-21 16:20:14','2026-03-21 16:20:14','2026-03-21 22:20:14'),('54d27965db87b73aeef1d0380e372b447183639903b00c80a3e4797881a4c9d71520004f5f498354','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-12 18:58:35','2026-04-12 18:58:35','2026-04-13 00:58:35'),('55a93c1ad6929a1f5dd259e1c51cdc7448fbd8bbb85d1b0f9d079138f4d00599d6760ca8151b9129','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-03-25 15:38:01','2026-03-25 15:38:02','2026-03-25 21:38:02'),('564a9836c642bb5fb80032822c6f1936946f23f4f8e34c5e151a0666933f50dc4d21c5177e115047','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-30 11:54:51','2026-03-30 11:54:51','2026-03-30 17:54:51'),('564b3c0955579ebc3fcda6832cca52f32e8c42b6f1bfa893831f91a4f4b867a4d356aceb742c5ac0','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-02 09:38:59','2026-04-02 09:38:59','2026-04-02 15:38:59'),('57e61e160f48402ab49dfb133be75bc7d8b71a93cdbc026051124a441a517bea691392ed9b9d720f','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-31 11:27:03','2026-03-31 11:27:03','2026-03-31 17:27:03'),('585ee77ec50f26efce9fef775c76af0af1b5fad2eb007a4d4be668276dbd823bfdd30d92d89c2908','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-09 09:42:25','2026-04-09 09:42:25','2026-04-09 15:42:25'),('58c19f4c23f1c6ef292a1ceda154ffa8d12bf342ff4b1f1c09a59409811e5cc7628cf1a90d09ea82','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-03-24 12:23:08','2026-03-24 12:23:08','2026-03-24 18:23:08'),('58e111b4fef865be956b66bf79908b496d26ee3525b3a8a3051b3e7dfc13f213ac988c33bc9b1ac3','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-13 11:30:00','2026-03-13 11:30:00','2026-03-13 17:30:00'),('59c2a08f1742706559bf76bc36409cdae16dd4d2ef3c55ce524a7e29c37041519ad37266b75809cc','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-03-20 11:16:56','2026-03-20 11:16:56','2026-03-20 17:16:56'),('5c040285ca066d4ae6560d272036fb2e6a01db5b5cf7661f5f7ce0af9f9046b393226433ebd2be1f','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-03-30 10:31:28','2026-03-30 10:31:28','2026-03-30 16:31:28'),('5e656d600ccd7a9ab892e73489e4c5a9465a40e8cade5f60f7d6af96c61dc8c3a2ebb07fe00bbddb','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-12 17:32:53','2026-03-12 17:32:53','2026-03-12 23:32:53'),('5f986703c21fff09dc0cc96a7da2201ed961515d8c8cdde49bad3d7210708fda049bab7825aa8d5c','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-19 09:38:34','2026-03-19 09:38:34','2026-03-19 15:38:34'),('62d78d7c5cbf2d20787c6342e6614d0610db6949e6ca66551bde448cb3f2b3af7f462beea69de41f','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-12 23:01:11','2026-04-12 23:01:11','2026-04-13 05:01:11'),('636bbf9efe300c6724c601204554e6c58b1b7a16b7a7eb5a8f32f7a5bd638de456efa6f511613995','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-04-13 08:59:08','2026-04-13 08:59:08','2026-04-13 14:59:08'),('63830c8d6ecdbead3289b74b0dfd3f62b005881bb44538036dc8f5eddc3f66a35921c5d9ea2783a5','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-13 02:42:24','2026-03-13 02:42:24','2026-03-13 08:42:24'),('6484d87bc06e7570cd27c3974fd0249650cda42a2c137f54bdbbe0aaa5a84459d586a5aa3f318c81','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-16 09:21:36','2026-04-16 09:21:36','2026-04-16 15:21:36'),('6611bcc714e86e755c7b6864ce61e4591cf694e8adaafe4ed2f8f87db9b9d46cd05355c5f17b6d3a','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-03-25 08:52:27','2026-03-25 08:52:27','2026-03-25 14:52:27'),('66a9cb4ccea46fde334a1cefc99a1b7e661649a02164df18ed3ee94fb47f4608fe6996646804c270','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-10 23:29:34','2026-03-10 23:29:34','2026-03-11 05:29:34'),('66f55f23ad98524f8b90c1868a34dcce786e2f82639f173ef7dd9f55b682ff333d6e12aec7ee240e','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-27 10:29:58','2026-03-27 10:29:58','2026-03-27 16:29:58'),('67e09dafa965966f6844daaf18ddd92be9100f24b38a4c89ade48645d5290ab9def9cda2b5265642','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-17 10:28:11','2026-03-17 10:28:11','2026-03-17 16:28:11'),('6896b996867f8258a63586b3394ae3a5294a2c8dd1f20ff84c0963eb4bd47bdf458914abc31f430a','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-03-23 16:27:46','2026-03-23 16:27:46','2026-03-23 22:27:46'),('689c16adcb235dac66f1892066641bae1d0da3ac3e75f5d7e358164957cb7fdc2f262feb0d29b640','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-16 17:34:21','2026-04-16 17:34:21','2026-04-16 23:34:21'),('689c4722eb7030f51b7a9c7e9aba10334fffbd3439bff9bac5b8db248680a9d6dc0e8d86b06977a0','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-16 10:32:08','2026-03-16 10:32:09','2026-03-16 16:32:09'),('69ea5484321c4795413e07aad764ab98d4a0850d75dac9ab5a8cb47507ea2d6cae3c347bdb3f8f44','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-03-13 08:39:21','2026-03-13 08:39:21','2026-03-13 14:39:21'),('6b45299f80c95706411bd31d1be35b2fa618329fd314306eaf7f53be7d9cfe58a3954fff4c9a3beb','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-11 01:02:38','2026-03-11 01:02:38','2026-03-11 07:02:38'),('6b46e84480bf520486c3eccaaa6848245f2f2d14a783d49667139178d418f811785dd01398211768','8c855c64-34dd-4970-a80c-77f1b73be813','1','API Token','[]',0,'2026-04-02 09:43:47','2026-04-02 09:43:47','2026-04-02 15:43:47'),('6c09aa3dd00721b1f5d0ecbb8edc70adb37427d89159665bb726abbeb820be14a6235879184aef35','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-16 13:21:06','2026-03-16 13:21:06','2026-03-16 19:21:06'),('6d1f4a3cc3d2fbbc6ea7a3b53d10492855cdc60f6c48d9d5d32d073fd5fc651430ef826da4884e2c','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-08 10:33:31','2026-04-08 10:33:31','2026-04-08 16:33:31'),('6da0cadb68375cc20f69ebc96a72bff2b79d8df33d3cf377d705d0c4560cdf2f22b7aef87735882b','98eae2f6-6d69-4078-b187-e95f8187ee80','1','API Token','[]',0,'2026-04-13 09:34:12','2026-04-13 09:34:12','2026-04-13 15:34:12'),('6e189f9c3f53fbc9b3b3684bc578abe08172b6cb2716ee514775e0000a289e7b480899d85e092c89','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-14 23:23:59','2026-03-14 23:23:59','2026-03-15 05:23:59'),('6e1c88ee06069f6f52f5b60f356945229b86937e97a836a55a27740137ff142888814b33174c105d','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-10 14:27:38','2026-04-10 14:27:38','2026-04-10 20:27:38'),('6e823fc82156ae8b16a9a39bff93be46c0726b1d6ac230deae88a92b72806fc21a974a324530fbaf','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-23 09:56:42','2026-04-23 09:56:42','2026-04-23 15:56:42'),('6f8876f6b287a672bfbe1a80a82119f2b6a4094ee23a15a7ba3d4c07ccdf7966738d319703c15f9e','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-26 10:30:25','2026-03-26 10:30:25','2026-03-26 16:30:25'),('70bc487021c77d43be576c64e2fae3458159be735f1ec1bc143837160ac2ef153e3629bf2cb468b1','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-27 21:14:05','2026-04-27 21:14:05','2026-04-28 03:14:05'),('712ae99d6eced30fe83e3f7e4fc0f27236dad89d3c484b80403c008f78ecef477f2b675b600460c1','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-27 18:40:05','2026-03-27 18:40:06','2026-03-28 00:40:05'),('71d4bdfc48e0d4db78b2bff822ab0d99edc623004e108ff9997d344601796389c87295bb999d37b2','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-11 09:15:18','2026-03-11 09:15:18','2026-03-11 15:15:18'),('7266a85a92379a521afd0d89f4747dd53e87d1c2d32c735f88e63a3fb3f65bf2b6388f47e1e8fbd6','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-10 09:45:35','2026-04-10 09:45:35','2026-04-10 15:45:35'),('73b9a4cec5d3b58934e96a42b26d680500fe7e95393143771b5f160bd752c617c431a1ed2a911f03','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-25 19:51:45','2026-04-25 19:51:45','2026-04-26 01:51:45'),('751bd9a487eea3db53e9689905ec2bda642ce4896347abd2c22c47b7be350b14487d880f7e167e0f','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-13 10:51:13','2026-03-13 10:51:13','2026-03-13 16:51:13'),('752701b141cf16f9ed0d786f18ddf100f179db2f42b21457f3b93c2c11ad3441ca1aa50fb9edd90e','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-31 22:58:36','2026-03-31 22:58:36','2026-04-01 04:58:36'),('7576c54ef22c2b0f4224f0f57bb5c7cfbc34be5b40760c0c4c7b90cad0b4b718c8c79ec27e19b9e3','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-12 23:31:00','2026-03-12 23:31:00','2026-03-13 05:31:00'),('7710e07993c2952b920b06589f6fb29ba748a0af07660b9743269dad00a92a6152fd80bbc1642e93','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-08 09:46:19','2026-04-08 09:46:19','2026-04-08 15:46:19'),('772348d7685ca50355f6f3d0fa12119fe0a13a5a6ff51e85f6f20399dec68acd6c18da13b91dc0e2','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-19 11:23:47','2026-03-19 11:23:47','2026-03-19 17:23:47'),('773d732ddf6bf975189353bb9204ae445e75799b33409575f6ddf40a25993c7d2b2a657d0a81958d','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-16 14:35:38','2026-03-16 14:35:38','2026-03-16 20:35:38'),('7b67f9a4c245964b5d088283791db7cd5a8a617d10e422dde74b545a2c6fc70b764418e2ee9cc176','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-28 09:39:34','2026-04-28 09:39:34','2026-04-28 15:39:34'),('7c216517b974a2b82e6b6497a4c647d34e733b9e41f414c92d96454c306139060182ad9d5bad21e7','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-28 10:27:00','2026-04-28 10:27:00','2026-04-28 16:27:00'),('7dde929cfc43f3948093ea2eab1554ed42d9223006830200525238ff3633d0f8fda4bbb4f2435148','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-27 09:28:07','2026-04-27 09:28:07','2026-04-27 15:28:07'),('7f65d5d09be4df87e302dff451a39e063ca4629f0e1b728944ddb1ac9731b8b7091f7495096e5113','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-06 11:28:31','2026-04-06 11:28:31','2026-04-06 17:28:31'),('824df5b7099732cadd0d06f43d5bffa0eca7bc776776913b01ab598284ab1871abad74cf814f1f82','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-27 23:08:07','2026-03-27 23:08:07','2026-03-28 05:08:07'),('8496e937fddbfd56ce508e94a4444ece3df229dcd917e83be800cc00a5f5dc64ed708a2a0a5d521c','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-04-02 09:19:38','2026-04-02 09:19:38','2026-04-02 15:19:38'),('853a09f7318b870df1134d9ea7a6dec46ff9099728b98ca35239fe7cc353dff4fc189dcc0d83cd06','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-03-28 07:54:58','2026-03-28 07:54:58','2026-03-28 13:54:58'),('863667ed52d238399e55ab852663ba6d60c9dfd6bd5fda0fd0088959c8ac30d2d54019f47ff114c3','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-23 15:04:35','2026-03-23 15:04:35','2026-03-23 21:04:35'),('870d8fc8ea193012b3ae70a0492480aef90d567c017049b7948a090a85853d9a25b45cfeb8d9f28b','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-04-10 09:34:39','2026-04-10 09:34:39','2026-04-10 15:34:39'),('8827bb79f6ba54b8616f94731e8a4019adf54811754ce039c898a3c0feb9985b96a8ca1d0f41b519','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-02 09:26:52','2026-04-02 09:26:52','2026-04-02 15:26:52'),('88ddaf9bf76532b8205e7e121566e0e19635e30067be3961e11bc777a51f78a1c47134794abed407','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-13 01:44:42','2026-03-13 01:44:42','2026-03-13 07:44:42'),('8b35fd135dcb06c595c0725b6e2a202a6630fd924ac08d5251e48592d7a57125f091db83a8d70db1','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-16 11:23:22','2026-03-16 11:23:22','2026-03-16 17:23:22'),('8d13663c4cae09270c10bd4227f48720bd858e7c2a829e38beceb0805fcd825fcdb7a4eac011c500','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-13 12:33:41','2026-04-13 12:33:41','2026-04-13 18:33:41'),('8d602366e2435cd3adf8d9d2667854e16c2ec44aeaf70b118f8d44d1185934b2ef34c7eb27fb8945','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-10 22:37:28','2026-03-10 22:37:28','2026-03-11 04:37:28'),('8d7c6362e9c731a904da6ecb6bc07278f168e925905bc4faefda4c0bc562e1180491a85b8647e98c','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-07 11:53:14','2026-04-07 11:53:14','2026-04-07 17:53:14'),('8fa90f261d5b91bf4ea5a8b2265898878ccfcd42d10ec094893eac64945fd9a1fe839cc3b84abb06','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-19 11:27:55','2026-03-19 11:27:55','2026-03-19 17:27:55'),('8ff3e4d62ca85d7f2ba0fb4985d275b7e9054d2bbd2bb1ae4445ace37f5d908f311aec0335db2fc0','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-30 10:11:45','2026-03-30 10:11:45','2026-03-30 16:11:45'),('901cbf57ff6a7730e1c7310f7f73df1ef2ab70d1d7767c2035d505b7d180deb106636f9b59ff56b3','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-28 13:21:23','2026-04-28 13:21:23','2026-04-28 19:21:23'),('90311e13bac9a61cec6f26d568a2c4975e2ba78fcf6facc49fad43fcf7adce17f3c9da866c48076b','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-01 14:02:13','2026-04-01 14:02:13','2026-04-01 20:02:13'),('90394d48cf361f228da5943b25df7545666ba051eae58c8b5db899c36a42f1ca611e2b246c982fa9','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-14 19:39:21','2026-03-14 19:39:21','2026-03-15 01:39:21'),('915c7ad3433b90749a7903168167a2f881437273a91cc9e2f38240c4d7eca6c6477ea88fb3cb60c0','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-27 08:09:54','2026-03-27 08:09:54','2026-03-27 14:09:54'),('92fe6a8f96297f570bdf2f1f70e9cee25f5b89a3cb89ced14413de9b46edc35ca24835284f10c14c','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-26 02:17:59','2026-03-26 02:17:59','2026-03-26 08:17:59'),('930d2f10f46a8074b4095aafdf423cefe9e48b757c10dcd6ddd1b2bb2e92e58d15235d7dd8a9dd04','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-04-10 13:07:19','2026-04-10 13:07:19','2026-04-10 19:07:19'),('941daf5f92f8aae636b81448ddeb5c60dc16656b37927fa2f67fc864ef40da54ba4b4ac18eb8039c','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-03-30 22:05:50','2026-03-30 22:05:50','2026-03-31 04:05:50'),('9492dc7fdc6763e61df489ddc4f2043e5ed434108c1d6d22ffbe3ea1e31f8879c482eff3089a4c4b','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-23 15:47:00','2026-03-23 15:47:00','2026-03-23 21:47:00'),('959b95b2961aa292aeb34086d4c946da08131721b06b6ff67b45aeb58a658dfe5deb71793a4c6163','98eae2f6-6d69-4078-b187-e95f8187ee80','1','API Token','[]',0,'2026-03-30 10:30:51','2026-03-30 10:30:51','2026-03-30 16:30:51'),('9c481aed662b49a7ded93fe76660070b430d5d985bdd4d4d07b231474ec4c04784de014f32f4c2d3','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-11 18:53:36','2026-04-11 18:53:36','2026-04-12 00:53:36'),('a0bfca89c5467db0b49e7957107592f23d99825221bfb2ed4ec4fc150fc16a169274f01d41114f50','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-25 08:52:45','2026-03-25 08:52:45','2026-03-25 14:52:45'),('a4dcb1be2356445d58d0ff15f930b3c7ce4801cab2d1b6d22382da9f5a945862959fad062003720c','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-01 13:42:02','2026-04-01 13:42:02','2026-04-01 19:42:02'),('a7d1116ce1ac4d43a6d21ed529e9915d0a7b0071a798510b008395650ccf391aa3c9d80eeff6f97a','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-09 14:42:13','2026-04-09 14:42:13','2026-04-09 20:42:13'),('aa22ce91658d93666654fbb7d56b9662ef611d7bb8029873929622c296fb2bf763fbab0285664ec5','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-04-13 09:38:51','2026-04-13 09:38:51','2026-04-13 15:38:51'),('aa6c0c510ddfdecfb09b44927ec84a9348612e63932396bee500a72cc97b0b819ab98fecaf040d11','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-30 10:18:17','2026-03-30 10:18:17','2026-03-30 16:18:17'),('adb00315705117b91acc6212f095686b51ef2487f212fb6829919f1397c6afa3de75807e6bb82022','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-23 12:22:25','2026-03-23 12:22:25','2026-03-23 18:22:25'),('ae569ed6937a9aa2a16e63539b1cac01f9134803b9ee78d8c2cf954694712e297a266a401991a1d0','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-04-13 09:34:44','2026-04-13 09:34:44','2026-04-13 15:34:44'),('ae76a24b7215bfcc4cbf683b3e7d7dd2b4a68f27b507860d7b610fc9af19f421077516da2449f010','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-13 09:03:58','2026-04-13 09:03:58','2026-04-13 15:03:58'),('af3cfd17a5a38b7c541c47115a03ebcd55fb062d17865deae927935bdcfec2d42187d11b100438ce','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-30 14:15:49','2026-03-30 14:15:49','2026-03-30 20:15:49'),('af629b0bba4f780f8afe0e195d540fbf2d54766591f798b1465af4d44c0a31b232d0b17f25b3799d','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-02 13:19:04','2026-04-02 13:19:04','2026-04-02 19:19:04'),('b0600fa1da46cebec3a86774881e195524042ec9c6b94c57cbac4f58dc2c2b229b64bf5e1c28c700','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-04-22 12:07:48','2026-04-22 12:07:48','2026-04-22 18:07:48'),('b18263673908abb3c24b556f9d7b531fd9e11caf401589360e85da4d1a97dc702a9b797f56c348bc','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-18 09:34:11','2026-03-18 09:34:11','2026-03-18 15:34:11'),('b1e544d60f16b79a01202c5b94fa8f91152c4d9063469fc92fb1e8a8b4bd5fd04d08693a54d22be6','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-01 00:09:50','2026-04-01 00:09:50','2026-04-01 06:09:50'),('b567d23f3e8f5ea9ddf66019a852f62c52801dead112138f69c00831031862b14a1b94636c1b1aca','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-25 13:53:21','2026-04-25 13:53:21','2026-04-25 19:53:21'),('b5a1705806740dc2fa424c0fd4b182a21715f299408d477ca0a471510c2cd65056e4ff9bb8783a63','98eae2f6-6d69-4078-b187-e95f8187ee80','1','API Token','[]',0,'2026-04-08 12:30:03','2026-04-08 12:30:03','2026-04-08 18:30:03'),('b71037ff8b23977ced8b8c6cf33e75238bf485bdac3aae51ed38344d02d34cd315cf38cf60f899dc','a3fc9881-c570-4a43-86cc-e5dc3f465f39','1','API Token','[]',0,'2026-03-13 08:39:44','2026-03-13 08:39:44','2026-03-13 14:39:44'),('b76a75a6ad5ea3f1c39bbb48570f05b588b24f043989e8d2eccb2288b4831b95333189c725d046ff','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-03 17:00:45','2026-04-03 17:00:45','2026-04-03 23:00:45'),('b837c28b512251e411265fdc01910fa5b4a2e0c3d85abedcdf1dc5150bc9e2234e0fd7e51865f3e3','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-30 23:38:29','2026-03-30 23:38:29','2026-03-31 05:38:29'),('b8cdc0fd4e4a6515ad8a7f3c24a9351e59dfc264f93662982ec8ba03b904202dfaa63b89e0c5a56a','98eae2f6-6d69-4078-b187-e95f8187ee80','1','API Token','[]',0,'2026-04-02 09:26:00','2026-04-02 09:26:00','2026-04-02 15:26:00'),('b9720ea9d386f84821af288d163a4e0299969f481986c33b13d8540296afa92231db17af62870d42','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-03-28 09:36:07','2026-03-28 09:36:07','2026-03-28 15:36:07'),('bb829024da6c87a13e424da8fe976d8d25d9f3fcd7abcde9f1e68efd495b05b2cefb1b85444f85e7','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-04-12 11:37:18','2026-04-12 11:37:18','2026-04-12 17:37:18'),('be0cb3fe961186c663c84e326541a77aec5d300a4946cc1ac6f6afec89a57fafd249312f99ff6e06','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-30 10:20:52','2026-03-30 10:20:52','2026-03-30 16:20:52'),('bec39a5dec52f288b8feb1669672b8a7b9f9f4652c1cfe957315d2cdc6b71107821feb05cd2206d4','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-15 17:19:40','2026-03-15 17:19:40','2026-03-15 23:19:40'),('c04a998a1972dbf39ef7de4c9c89a9497fcec388afc5b25cd0f931d4e5fe1c1a267a555b4b7f5f47','8c855c64-34dd-4970-a80c-77f1b73be813','1','API Token','[]',0,'2026-04-02 09:34:20','2026-04-02 09:34:20','2026-04-02 15:34:20'),('c0a4412e36ae88ff15ccad3b7a97377df735b706b87301fefeb3f2664e17a3b4d2831c7b6e45037e','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-12 18:39:26','2026-03-12 18:39:26','2026-03-13 00:39:26'),('c371934943382d16680c739a6035855084eb7a7111375eda7a3ad1beb80eb882a9099f207abc7c7a','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-13 08:38:06','2026-03-13 08:38:06','2026-03-13 14:38:06'),('c4954b60f382d6c1214c90e5cdda41993e98c665bf6484cee3287a605e38af1e00f68b8b479cdbbd','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-27 10:16:55','2026-03-27 10:16:55','2026-03-27 16:16:55'),('c7de44d7fb6679946a61d9c7f4db254e533ee972d8520bf474fc8cd9cec9f8befa1c860d8289e083','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-17 10:34:30','2026-03-17 10:34:30','2026-03-17 16:34:30'),('c9a4155f1afa951a483e6b9f0ea97dbff513855ba772f25750090a71f0e8e292aeedbd5dee053467','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-23 13:35:26','2026-03-23 13:35:26','2026-03-23 19:35:26'),('ca2dbfadf6b40113139e0ac09ed333a1955285c4da050880a738a65438f7a1b583cd261a0225eb47','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-19 09:21:10','2026-03-19 09:21:10','2026-03-19 15:21:10'),('ca3f4e5160edb4ca967f757e8b2676ac5126c2523d583ebf81c46ea34650ca60d59ed367bb04b28d','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-19 11:25:31','2026-03-19 11:25:31','2026-03-19 17:25:31'),('ca48e345189673216a0e27aa2404d8bd153386275e3cfae00972abde6fa9f575078393fb3851d07e','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-03-25 10:08:00','2026-03-25 10:08:00','2026-03-25 16:08:00'),('cc16367bae27d83852a06a30dc3305b7f76f24939034038d9f99f6ef95795256f03a8f6a9a73bf6d','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-03-23 14:56:34','2026-03-23 14:56:34','2026-03-23 20:56:34'),('cd9bf95a23b64b4c91562311ccd4efa120784019d440131b2b25707c1589660268a04250a1cbfaaa','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-17 08:41:05','2026-03-17 08:41:05','2026-03-17 14:41:05'),('ce5147f03490593b407b8d2058e39fb71720540187b7b0b1149288d8e84e2b55c8e84faa34ea92ab','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-04-23 09:28:28','2026-04-23 09:28:28','2026-04-23 15:28:28'),('ce614ff76ed7c0c47f94ac93cee1d7e40d48704d0ffbae2ba2ec8506adc7c42e2fb29af9b544edc9','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-08 09:55:19','2026-04-08 09:55:19','2026-04-08 15:55:19'),('d0eaa97d95c55247aa8e46b880133277e10e446e48ec0d7eef840be6921681403eacbdd91c36eeb0','98eae2f6-6d69-4078-b187-e95f8187ee80','1','API Token','[]',0,'2026-04-02 09:27:35','2026-04-02 09:27:35','2026-04-02 15:27:35'),('d0fe6bc0cb38dad518c187af5a601c53bf446de1181292f62d1cec1b995c9ae8b4b2d75d1602d111','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-11 17:50:55','2026-04-11 17:50:55','2026-04-11 23:50:55'),('d2c1d078260b16073ef17ab6570987df907d099ec47ddd09751d822691c44736ea95b964005bec5b','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-13 08:40:05','2026-03-13 08:40:05','2026-03-13 14:40:05'),('d2dd21c14b480b6789fdf9fad0baca46cb8641128d296bd1ee6709ceb433c3f5ae8036fcf3adda9e','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-12 19:32:33','2026-03-12 19:32:33','2026-03-13 01:32:33'),('d328a8eace3202e13de816fb8e8ecade04955a51c55e651bba77946a1f554b9a1c833def32cc017d','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-13 09:17:22','2026-03-13 09:17:22','2026-03-13 15:17:22'),('d33fa91377b14f6ccf915c40e0df78763a2d554151435b991e07dd86556d84d8697fe39107d642a8','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-03-20 10:37:53','2026-03-20 10:37:53','2026-03-20 16:37:53'),('d4e21218095edf135b5ce6203b1515d2e043ea3c01992ecec359ecaef01483d4fe5ac7f9dafd2057','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-03-18 13:39:33','2026-03-18 13:39:33','2026-03-18 19:39:33'),('d6b87c0168870c13df74d114110364696dc5e9efdf54bcfff76d90775f76a9bc6647b4a053edba0c','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-12 17:14:56','2026-03-12 17:14:56','2026-03-12 23:14:56'),('d6dc0438a6a3de3bcf8d126c7c1579ea89b7f81034c1a9105b4e80f31773f9a61218943d8643fde8','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-10 22:44:02','2026-03-10 22:44:02','2026-03-11 04:44:02'),('da317d35eef4f3d7e75b0528ca9ab595ca93727bec90d590f00f1e2ca3fa570d4d7aedc42f775f6a','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-24 12:24:03','2026-03-24 12:24:03','2026-03-24 18:24:03'),('da9892af737d8c40432f197e6c58cc33578fe8150699f24dfe3815f984592ae02328c5794d07b0c8','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-27 11:33:54','2026-03-27 11:33:54','2026-03-27 17:33:54'),('dda25d9ebb9369f55b55dbba778581168f47f9075504508cfe38e350b0c62423b1520828e2b90bc4','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-16 11:33:43','2026-03-16 11:33:43','2026-03-16 17:33:43'),('e2d03a120b9fd8497f5e2d81894f59efec099b63265d2b418d6c1b3ad78eb9f69d356c58be05d8d3','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-08 12:22:09','2026-04-08 12:22:09','2026-04-08 18:22:09'),('e39154e05dbdef55cfbdbcfb708644b8a7142e9b38249295a703f08288eaf9a98437612b014e0d28','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-25 10:09:37','2026-03-25 10:09:37','2026-03-25 16:09:37'),('e3c32f465ba4341d339a9ace31951cc010d48c964c1491b7ebfc1fd1ab78be85be7896b674dd6f5f','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-09 16:20:39','2026-04-09 16:20:39','2026-04-09 22:20:39'),('e7680db78caae6dac66f49cb46af1df11c0b3fe33377f0d9cadd7f7873eb7747c716e18986331ac4','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-10 14:45:38','2026-04-10 14:45:38','2026-04-10 20:45:38'),('e82e1f837bea0cf229a431966f17c6911e6776b333e3f89be26a1668ddb6cb4c4ed5ea0d11e71921','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-30 13:59:31','2026-03-30 13:59:31','2026-03-30 19:59:31'),('ea0b120113d85c427eab89939f6f1e4454f87d29f29560d248ba5ea4a483f6994d4e3c604bad5529','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-21 16:21:44','2026-04-21 16:21:44','2026-04-21 22:21:44'),('eaeef7203076fc8a538abafddf3dc848f885391ff2d68f0c087360c6bf0f9c4df74ceddecc75a372','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-12 18:57:13','2026-03-12 18:57:13','2026-03-13 00:57:13'),('ebe8109acfd02c3c75740c8811217a802472a2c28cf10bfbee7bc0ad461b7dd14a10f48e7d7d6373','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-12 20:51:02','2026-04-12 20:51:02','2026-04-13 02:51:02'),('ebff6c3f99f21b938737bc1a5e4ab5e7c419b1ed6064306bae3ac677f0d2d2bdfda6577027e72851','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-30 23:55:22','2026-03-30 23:55:22','2026-03-31 05:55:22'),('ecb337d27cfeff97aac35732876b67b35a67364a52042733b31c01f2fecb188a28c3bb7d2aa88cb6','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-03-13 09:40:42','2026-03-13 09:40:42','2026-03-13 15:40:42'),('f174bb386fba4e982c71dafcdaf74bdd4982eef614359994d0e360b95566e16bc8b3e637cc7b40ea','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-27 10:11:42','2026-03-27 10:11:42','2026-03-27 16:11:42'),('f39253506598f9568c6a9305199f8d396193ad3606b8d27da242af77998148dd281207407cacc28e','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-10 13:09:31','2026-04-10 13:09:31','2026-04-10 19:09:31'),('f422bfabeeeddffc6e8a0ad7b0aec5e7b81b62dcac1cb7d685d7ff3c4dec4a5648356c1c80e0a20e','db76612e-7eae-40e5-83c9-78f38ed17581','1','API Token','[]',0,'2026-03-13 08:38:55','2026-03-13 08:38:55','2026-03-13 14:38:55'),('f4457ebad1ecf51435376b2fc6a9864a1464e9c6dbe77393a0ef8d1a814821913dff680f513c0af1','09ba2537-d2ac-4b24-99f1-9710a9848540','1','API Token','[]',0,'2026-03-23 15:28:20','2026-03-23 15:28:20','2026-03-23 21:28:20'),('f65acb7f4afec0d2359e0b3fe30a2a5e994e1716870f63745a775f83efa38dd9a940597a156e51e4','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-13 00:03:35','2026-03-13 00:03:35','2026-03-13 06:03:35'),('f6edbcfde8ae01e9e58bddf293008131ea97a09dd1ffcf8f318c1186768042331ec5b74d65e94c21','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-01 11:10:49','2026-04-01 11:10:49','2026-04-01 17:10:49'),('f772f6dd424a20d66306faeaf74031e658145613bf0fb398c392af41cb42085b26692deaeceadce1','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-04-13 09:41:27','2026-04-13 09:41:27','2026-04-13 15:41:27'),('f7cc724dc472923f098bd0c77501a3896615d9999e401619b26b8afa077069f105fce6fa32d666f3','8c855c64-34dd-4970-a80c-77f1b73be813','1','API Token','[]',0,'2026-04-08 15:07:37','2026-04-08 15:07:37','2026-04-08 21:07:37'),('f93a286e4e4477e7a9a4682a3fe4fc0870b8b1581b8706add8f41989b2f5c3a1f87b63beea08be74','2f53812f-395f-46da-97cd-1b2a21aa41da','1','API Token','[]',0,'2026-04-13 09:32:20','2026-04-13 09:32:20','2026-04-13 15:32:20'),('f9fa7a488de97f6900ba4f059c0657696dc54b54ba0dfc4ce4065cc568e6ab40e18b68cf135163e4','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-03 10:35:22','2026-04-03 10:35:22','2026-04-03 16:35:22'),('fb5081ac3f39a41093888990d007e1a0fecb583819d85f9bee6bf6354332976b79017abeeeb2e8d4','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-04-13 22:04:40','2026-04-13 22:04:41','2026-04-14 04:04:41'),('fcfa037c569dd9c4242585f29d43ea934839160f4629e93142671402d6d0c47e7424330f1fe5e639','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-19 21:29:45','2026-03-19 21:29:45','2026-03-20 03:29:45'),('fd40704c4f42a55d61b0b92c1eebaa51e8de7809ad2ecaaeb0ca75fb372116aaa1ced1784b121cc0','ffd625c8-6186-446c-bff1-6983463bdabd','1','API Token','[]',0,'2026-03-17 10:46:49','2026-03-17 10:46:49','2026-03-17 16:46:49'),('fe4aab71d11035ea69781992a6c09f1f1a440c9ed2d0842ccc422aadcee65a369a398540ec04e865','768bae0b-3b3f-476e-b7a9-4529fa1f9158','1','API Token','[]',0,'2026-03-27 09:37:47','2026-03-27 09:37:47','2026-03-27 15:37:47'),('ff5730c4f21d851865c785456e5e306170f7e44c1159f9c04ad9b51d45835e7e2739a5fab2e2d530','cc10bd7e-9f0e-453d-bece-e76872f0854f','1','API Token','[]',0,'2026-03-16 15:37:43','2026-03-16 15:37:43','2026-03-16 21:37:43');

--
-- Table structure for table `oauth_auth_codes`
--

CREATE TABLE `oauth_auth_codes` (
  `id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint unsigned NOT NULL,
  `client_id` bigint unsigned NOT NULL,
  `scopes` text COLLATE utf8mb4_unicode_ci,
  `revoked` tinyint(1) NOT NULL,
  `expires_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `oauth_auth_codes_user_id_index` (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `oauth_auth_codes`
--


--
-- Table structure for table `oauth_clients`
--

CREATE TABLE `oauth_clients` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint unsigned DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `secret` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `provider` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `redirect` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `personal_access_client` tinyint(1) NOT NULL,
  `password_client` tinyint(1) NOT NULL,
  `revoked` tinyint(1) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `oauth_clients_user_id_index` (`user_id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `oauth_clients`
--

INSERT INTO `oauth_clients` VALUES (1,NULL,'shirecu','tXfq9WhSCw5mpbRbkfbMZhI0T6C3gnDMjEKQWtFJ',NULL,'http://localhost',1,0,0,'2026-03-10 21:55:46','2026-03-10 21:55:46');

--
-- Table structure for table `oauth_personal_access_clients`
--

CREATE TABLE `oauth_personal_access_clients` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `client_id` bigint unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `oauth_personal_access_clients`
--

INSERT INTO `oauth_personal_access_clients` VALUES (1,1,'2026-03-10 21:55:46','2026-03-10 21:55:46');

--
-- Table structure for table `oauth_refresh_tokens`
--

CREATE TABLE `oauth_refresh_tokens` (
  `id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `access_token_id` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
  `revoked` tinyint(1) NOT NULL,
  `expires_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `oauth_refresh_tokens_access_token_id_index` (`access_token_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `oauth_refresh_tokens`
--


--
-- Table structure for table `offer_approvals`
--

CREATE TABLE `offer_approvals` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `offer_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `approver_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `approval_level_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('pending','approved','rejected') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `comment` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `offer_approvals_offer_id_foreign` (`offer_id`),
  KEY `offer_approvals_approval_level_id_foreign` (`approval_level_id`),
  KEY `offer_approvals_approver_id_foreign` (`approver_id`),
  CONSTRAINT `offer_approvals_approval_level_id_foreign` FOREIGN KEY (`approval_level_id`) REFERENCES `approval_levels` (`id`) ON DELETE CASCADE,
  CONSTRAINT `offer_approvals_approver_id_foreign` FOREIGN KEY (`approver_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `offer_approvals_offer_id_foreign` FOREIGN KEY (`offer_id`) REFERENCES `offers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `offer_approvals`
--


--
-- Table structure for table `offers`
--

CREATE TABLE `offers` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `application_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_by` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `current_approval_level_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `offer_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `salary` decimal(12,2) NOT NULL,
  `currency_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `pay_frequency` enum('hourly','weekly','bi-weekly','monthly','annual') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'annual',
  `start_date` date NOT NULL,
  `benefits` text COLLATE utf8mb4_unicode_ci,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `status` enum('draft','sent','accepted','rejected','withdrawn') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
  `sent_at` timestamp NULL DEFAULT NULL,
  `accepted_at` timestamp NULL DEFAULT NULL,
  `rejected_at` timestamp NULL DEFAULT NULL,
  `document_path` varchar(255) 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`),
  UNIQUE KEY `offers_offer_number_unique` (`offer_number`),
  KEY `offers_application_id_foreign` (`application_id`),
  KEY `offers_currency_id_foreign` (`currency_id`),
  KEY `offers_created_by_foreign` (`created_by`),
  KEY `offers_current_approval_level_id_foreign` (`current_approval_level_id`),
  CONSTRAINT `offers_application_id_foreign` FOREIGN KEY (`application_id`) REFERENCES `applications` (`id`) ON DELETE CASCADE,
  CONSTRAINT `offers_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `offers_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `offers_current_approval_level_id_foreign` FOREIGN KEY (`current_approval_level_id`) REFERENCES `approval_levels` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `offers`
--


--
-- Table structure for table `onboarding_documents`
--

CREATE TABLE `onboarding_documents` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `placement_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `due_date` date DEFAULT NULL,
  `completed_date` date DEFAULT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `template_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `completed_document_path` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `candidate_signed_at` timestamp NULL DEFAULT NULL,
  `employer_signed_at` timestamp NULL DEFAULT NULL,
  `agency_signed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `onboarding_documents_placement_id_foreign` (`placement_id`),
  CONSTRAINT `onboarding_documents_placement_id_foreign` FOREIGN KEY (`placement_id`) REFERENCES `placements` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `onboarding_documents`
--


--
-- Table structure for table `opportunities`
--

CREATE TABLE `opportunities` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `lead_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `assigned_to` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `value` decimal(15,2) DEFAULT NULL,
  `stage` enum('initial','negotiation','proposal','closed_won','closed_lost') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'initial',
  `expected_close_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `opportunities_lead_id_foreign` (`lead_id`),
  KEY `opportunities_assigned_to_foreign` (`assigned_to`),
  CONSTRAINT `opportunities_assigned_to_foreign` FOREIGN KEY (`assigned_to`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `opportunities_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `opportunities`
--


--
-- Table structure for table `order_lines`
--

CREATE TABLE `order_lines` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sale_order_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `quote_line_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `item_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `qty_ordered` decimal(10,2) NOT NULL,
  `qty_backordered` decimal(10,2) DEFAULT NULL,
  `qty_shipped` decimal(10,2) DEFAULT NULL,
  `uom_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `unit_price` decimal(12,2) NOT NULL,
  `discount_pct` decimal(12,2) DEFAULT NULL,
  `tax_pct` decimal(15,2) NOT NULL DEFAULT '0.00',
  `line_total` decimal(20,2) NOT NULL,
  `fulfillment_status` enum('pending','partial','fulfilled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `order_lines_sale_order_id_foreign` (`sale_order_id`),
  KEY `order_lines_quote_line_id_foreign` (`quote_line_id`),
  KEY `order_lines_uom_id_foreign` (`uom_id`),
  CONSTRAINT `order_lines_quote_line_id_foreign` FOREIGN KEY (`quote_line_id`) REFERENCES `quote_lines` (`id`),
  CONSTRAINT `order_lines_sale_order_id_foreign` FOREIGN KEY (`sale_order_id`) REFERENCES `sale_orders` (`id`),
  CONSTRAINT `order_lines_uom_id_foreign` FOREIGN KEY (`uom_id`) REFERENCES `unit_of_measures` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `order_lines`
--


--
-- Table structure for table `order_package_items`
--

CREATE TABLE `order_package_items` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `order_package_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `order_line_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `quantity` decimal(10,2) NOT NULL DEFAULT '0.00',
  PRIMARY KEY (`id`),
  KEY `order_package_items_order_package_id_foreign` (`order_package_id`),
  KEY `order_package_items_order_line_id_foreign` (`order_line_id`),
  CONSTRAINT `order_package_items_order_line_id_foreign` FOREIGN KEY (`order_line_id`) REFERENCES `order_lines` (`id`) ON DELETE CASCADE,
  CONSTRAINT `order_package_items_order_package_id_foreign` FOREIGN KEY (`order_package_id`) REFERENCES `order_packages` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `order_package_items`
--


--
-- Table structure for table `order_packages`
--

CREATE TABLE `order_packages` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `package_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sale_order_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `package_unit_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `weight` decimal(10,2) NOT NULL,
  `length` decimal(10,2) NOT NULL,
  `height` decimal(10,2) NOT NULL,
  `volumetric_weight` decimal(10,2) NOT NULL,
  `package_date` date NOT NULL,
  `packed_by` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `notes` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `order_packages_sale_order_id_foreign` (`sale_order_id`),
  KEY `order_packages_package_unit_id_foreign` (`package_unit_id`),
  KEY `order_packages_packed_by_foreign` (`packed_by`),
  CONSTRAINT `order_packages_package_unit_id_foreign` FOREIGN KEY (`package_unit_id`) REFERENCES `package_units` (`id`) ON DELETE CASCADE,
  CONSTRAINT `order_packages_packed_by_foreign` FOREIGN KEY (`packed_by`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `order_packages_sale_order_id_foreign` FOREIGN KEY (`sale_order_id`) REFERENCES `sale_orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `order_packages`
--


--
-- Table structure for table `organisation_services`
--

CREATE TABLE `organisation_services` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `service_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `organisation_services`
--


--
-- Table structure for table `organisation_types`
--

CREATE TABLE `organisation_types` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `package_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `organisation_types`
--


--
-- Table structure for table `organisations`
--

CREATE TABLE `organisations` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `muvu_uid` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `ward_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `parent_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `country_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `no_of_shares` decimal(8,2) DEFAULT NULL,
  `organisation_type` enum('TCJE','UNION','AMCOS','BUSINESS') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'UNION',
  `category` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'NON_FINANCIAL',
  `member_type` enum('MEMBER','NON-MEMBER','N/A') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `organisation_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `secondary_phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `initial` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `logo` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subscription_status` enum('trial','expired','active','suspended') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `subscription_start_at` timestamp NULL DEFAULT NULL,
  `subscription_end_at` timestamp NULL DEFAULT NULL,
  `two_factor` tinyint(1) NOT NULL DEFAULT '0',
  `accounting_type` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0=Cash,1=Accrual',
  `allow_closing_months` tinyint(1) NOT NULL DEFAULT '0',
  `sms_provider_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `sms_api_key` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `fiscal_year_type` enum('calendar','fiscal_year') COLLATE utf8mb4_unicode_ci DEFAULT 'calendar',
  `financial_year_start_date` date NOT NULL,
  `financial_year_end_date` date NOT NULL,
  `cooperativeCertificate` text COLLATE utf8mb4_unicode_ci,
  `commonBond` text COLLATE utf8mb4_unicode_ci,
  `cooperativeLicense` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `objective` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `products` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `tin_no` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `wardPostCode` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `councilPostCode` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `districtPostCode` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `regionPostCode` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `apiToken` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `print_header_text` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `website` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_budget_mandatory` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `allow_access_pin` tinyint(1) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `organisations_parent_id_foreign` (`parent_id`),
  KEY `organisations_country_id_foreign` (`country_id`),
  CONSTRAINT `organisations_country_id_foreign` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`) ON DELETE CASCADE,
  CONSTRAINT `organisations_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `organisations` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `organisations`
--

INSERT INTO `organisations` VALUES ('ac7e5b0f-d0dd-44a4-913c-6d365861fad6',NULL,NULL,NULL,'008cde64-19c0-4de8-a91d-2f6e46e7306f','SHINYANGA REGION CO-OPERATIVE UNION (1984) LTD',NULL,NULL,'UNION','NON_FINANCIAL',NULL,'info@shinyanga.org','025-2820124',NULL,NULL,NULL,'logos/jzyW64dlc539aoEeABGLsSpl9880kSQzqcuNA2Do.jpg','active',NULL,NULL,0,1,0,NULL,NULL,'calendar','2026-01-01','2026-12-31',NULL,NULL,'',NULL,NULL,'100-108-526',NULL,NULL,NULL,NULL,NULL,NULL,'349, Shiyanga-Miti Mirefu. No.AFF-SHY-MC-2022-9',NULL,NULL,NULL,1,'2026-03-10 21:55:09','2026-03-11 00:03:05',NULL,0);

--
-- Table structure for table `otps`
--

CREATE TABLE `otps` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `identifier` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `otp` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_used` tinyint(1) NOT NULL DEFAULT '0',
  `expires_at` timestamp NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `otps`
--


--
-- Table structure for table `overtime_requests`
--

CREATE TABLE `overtime_requests` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `employee_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `overtime_date` date NOT NULL,
  `hours` decimal(5,2) NOT NULL,
  `reason` text COLLATE utf8mb4_unicode_ci,
  `status` enum('Pending','Approved','Rejected') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `overtime_requests_employee_id_foreign` (`employee_id`),
  CONSTRAINT `overtime_requests_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `overtime_requests`
--


--
-- Table structure for table `package_services`
--

CREATE TABLE `package_services` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `package_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `service_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `package_services`
--


--
-- Table structure for table `package_units`
--

CREATE TABLE `package_units` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `length` decimal(10,2) NOT NULL,
  `width` decimal(10,2) NOT NULL,
  `height` decimal(10,2) NOT NULL,
  `max_weight` decimal(10,2) NOT NULL,
  `cost` decimal(10,2) NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `package_units`
--


--
-- Table structure for table `packages`
--

CREATE TABLE `packages` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `price` int NOT NULL DEFAULT '0',
  `is_for_trial` tinyint(1) NOT NULL DEFAULT '0',
  `billing_cycle_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `packages`
--


--
-- Table structure for table `packaging_stations`
--

CREATE TABLE `packaging_stations` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `location` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `packaging_stations`
--


--
-- Table structure for table `packaging_tasks`
--

CREATE TABLE `packaging_tasks` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sale_order_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `station_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `assigned_to` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('PENDING','IN_PROGRESS','COMPLETED','CANCELLED') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'PENDING',
  `priority` enum('LOW','MEDIUM','HIGH','URGENT') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'MEDIUM',
  `start_time` datetime DEFAULT NULL,
  `end_time` datetime DEFAULT NULL,
  `notes` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `packaging_tasks_sale_order_id_foreign` (`sale_order_id`),
  KEY `packaging_tasks_assigned_to_foreign` (`assigned_to`),
  KEY `packaging_tasks_station_id_foreign` (`station_id`),
  CONSTRAINT `packaging_tasks_assigned_to_foreign` FOREIGN KEY (`assigned_to`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `packaging_tasks_sale_order_id_foreign` FOREIGN KEY (`sale_order_id`) REFERENCES `sale_orders` (`id`) ON DELETE CASCADE,
  CONSTRAINT `packaging_tasks_station_id_foreign` FOREIGN KEY (`station_id`) REFERENCES `packaging_stations` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `packaging_tasks`
--


--
-- Table structure for table `partners`
--

CREATE TABLE `partners` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `partner_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `contact_person` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contact_person_email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `contact_person_phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `website` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `partners`
--


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

CREATE TABLE `password_reset_tokens` (
  `email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(255) 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`
--


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

CREATE TABLE `payment_methods` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `chart_of_account_id` bigint unsigned NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `require_transaction_ref` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payment_methods_chart_of_account_id_foreign` (`chart_of_account_id`),
  CONSTRAINT `payment_methods_chart_of_account_id_foreign` FOREIGN KEY (`chart_of_account_id`) REFERENCES `chart_of_accounts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `payment_methods` VALUES ('1e9bacbb-39b9-4368-8263-995d82d04a65','CHEQUE','ac7e5b0f-d0dd-44a4-913c-6d365861fad6',531,'CHEQUE',1,'2026-04-23 09:24:05','2026-04-23 09:24:13');

--
-- Table structure for table `payment_schedules`
--

CREATE TABLE `payment_schedules` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `contract_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `installment_number` int NOT NULL,
  `due_date` date NOT NULL,
  `principal_amount` decimal(12,2) NOT NULL,
  `interest_amount` decimal(12,2) NOT NULL,
  `fee_amount` decimal(12,2) NOT NULL DEFAULT '0.00',
  `total_amount` decimal(12,2) NOT NULL,
  `status` enum('Pending','Paid','Overdue','Waived') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Pending',
  `paid_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payment_schedules_contract_id_foreign` (`contract_id`),
  CONSTRAINT `payment_schedules_contract_id_foreign` FOREIGN KEY (`contract_id`) REFERENCES `financing_contracts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_schedules`
--


--
-- Table structure for table `payment_splits`
--

CREATE TABLE `payment_splits` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payment_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `rental_agreement_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `type` enum('owner_portion','management_fee','expense','tax') COLLATE utf8mb4_unicode_ci NOT NULL,
  `calculation_details` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payment_splits_rental_agreement_id_foreign` (`rental_agreement_id`),
  KEY `payment_splits_payment_id_type_index` (`payment_id`,`type`),
  CONSTRAINT `payment_splits_payment_id_foreign` FOREIGN KEY (`payment_id`) REFERENCES `property_payments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payment_splits_rental_agreement_id_foreign` FOREIGN KEY (`rental_agreement_id`) REFERENCES `rental_agreements` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_splits`
--


--
-- Table structure for table `payment_voucher_items`
--

CREATE TABLE `payment_voucher_items` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payment_voucher_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `requisition_item_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `chart_of_account_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 `payment_voucher_items_payment_voucher_id_foreign` (`payment_voucher_id`),
  KEY `payment_voucher_items_requisition_item_id_foreign` (`requisition_item_id`),
  CONSTRAINT `payment_voucher_items_payment_voucher_id_foreign` FOREIGN KEY (`payment_voucher_id`) REFERENCES `payment_vouchers` (`id`),
  CONSTRAINT `payment_voucher_items_requisition_item_id_foreign` FOREIGN KEY (`requisition_item_id`) REFERENCES `cash_requisition_items` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_voucher_items`
--

INSERT INTO `payment_voucher_items` VALUES ('e9256fa3-542b-4a61-8147-14ecf641528b','f39b2049-b98b-4232-82d4-291be0e9d9c4','650a835b-e35c-4c7b-9e57-9322c4974035',200000.00,64,'2026-04-23 09:24:42','2026-04-23 09:24:42',NULL);

--
-- Table structure for table `payment_vouchers`
--

CREATE TABLE `payment_vouchers` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `voucher_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `cash_requisition_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payment_date` date NOT NULL,
  `paid_by` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('draft','processed','cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
  `notes` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `payment_vouchers_voucher_number_unique` (`voucher_number`),
  KEY `payment_vouchers_cash_requisition_id_foreign` (`cash_requisition_id`),
  KEY `payment_vouchers_paid_by_foreign` (`paid_by`),
  CONSTRAINT `payment_vouchers_cash_requisition_id_foreign` FOREIGN KEY (`cash_requisition_id`) REFERENCES `cash_requisitions` (`id`),
  CONSTRAINT `payment_vouchers_paid_by_foreign` FOREIGN KEY (`paid_by`) REFERENCES `employees` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payment_vouchers`
--

INSERT INTO `payment_vouchers` VALUES ('f39b2049-b98b-4232-82d4-291be0e9d9c4','PV-20260423-00001','37ab2f2e-fb4a-498f-af44-700dbbb27c03','2026-04-23','3de7c572-94cb-4a65-b30e-ba55d6c94893','processed','Auto-generated from disbursement','2026-04-23 09:24:42','2026-04-23 09:24:42',NULL);

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

CREATE TABLE `payments` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `customer_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_method_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `received_by` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_reference` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_date` date NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `income_portion` decimal(12,2) NOT NULL DEFAULT '0.00',
  `tax_portion` decimal(12,2) NOT NULL DEFAULT '0.00',
  `currency_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `exchange_rate` decimal(12,6) NOT NULL DEFAULT '1.000000',
  `transaction_reference` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reversed_by` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reverse_msg` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('pending','Confirmed','Failed','Reversed','Cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `notes` text COLLATE utf8mb4_unicode_ci,
  `unique_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payable_id` char(36) 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 `payments_payable_type_payable_id_index` (`payable_type`,`payable_id`),
  KEY `payments_customer_id_foreign` (`customer_id`),
  KEY `payments_currency_id_foreign` (`currency_id`),
  KEY `payments_payment_method_id_foreign` (`payment_method_id`),
  KEY `payments_received_by_foreign` (`received_by`),
  CONSTRAINT `payments_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payments_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payments_payment_method_id_foreign` FOREIGN KEY (`payment_method_id`) REFERENCES `payment_methods` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payments_received_by_foreign` FOREIGN KEY (`received_by`) REFERENCES `employees` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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


--
-- Table structure for table `payroll_allowances`
--

CREATE TABLE `payroll_allowances` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payroll_run_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `employee_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `allowance_type` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(20,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payroll_allowances_allowance_type_foreign` (`allowance_type`),
  KEY `payroll_allowances_payroll_run_id_foreign` (`payroll_run_id`),
  KEY `payroll_allowances_employee_id_foreign` (`employee_id`),
  CONSTRAINT `payroll_allowances_allowance_type_foreign` FOREIGN KEY (`allowance_type`) REFERENCES `allowance_types` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payroll_allowances_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payroll_allowances_payroll_run_id_foreign` FOREIGN KEY (`payroll_run_id`) REFERENCES `payroll_runs` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_allowances`
--


--
-- Table structure for table `payroll_approvals`
--

CREATE TABLE `payroll_approvals` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payroll_net_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `approval_level_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `employee_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `approved_by` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('pending','approved','rejected','reviewed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `remarks` text COLLATE utf8mb4_unicode_ci,
  `approved_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payroll_approvals_payroll_net_id_foreign` (`payroll_net_id`),
  KEY `payroll_approvals_approved_by_foreign` (`approved_by`),
  KEY `payroll_approvals_approval_level_id_foreign` (`approval_level_id`),
  CONSTRAINT `payroll_approvals_approval_level_id_foreign` FOREIGN KEY (`approval_level_id`) REFERENCES `approval_levels` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payroll_approvals_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payroll_approvals_payroll_net_id_foreign` FOREIGN KEY (`payroll_net_id`) REFERENCES `payroll_nets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_approvals`
--


--
-- Table structure for table `payroll_deductions`
--

CREATE TABLE `payroll_deductions` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payroll_run_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `employee_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `deduction_type` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payroll_deductions_deduction_type_foreign` (`deduction_type`),
  KEY `payroll_deductions_payroll_run_id_foreign` (`payroll_run_id`),
  KEY `payroll_deductions_employee_id_foreign` (`employee_id`),
  CONSTRAINT `payroll_deductions_deduction_type_foreign` FOREIGN KEY (`deduction_type`) REFERENCES `deduction_types` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payroll_deductions_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payroll_deductions_payroll_run_id_foreign` FOREIGN KEY (`payroll_run_id`) REFERENCES `payroll_runs` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_deductions`
--


--
-- Table structure for table `payroll_grosses`
--

CREATE TABLE `payroll_grosses` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payroll_run_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `employee_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `basic_pay` decimal(15,2) NOT NULL,
  `allowances_total` decimal(15,2) NOT NULL,
  `overtime_total` decimal(15,2) NOT NULL DEFAULT '0.00',
  `gross_pay` decimal(15,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payroll_grosses_payroll_run_id_index` (`payroll_run_id`),
  KEY `payroll_grosses_employee_id_index` (`employee_id`),
  CONSTRAINT `payroll_grosses_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payroll_grosses_payroll_run_id_foreign` FOREIGN KEY (`payroll_run_id`) REFERENCES `payroll_runs` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_grosses`
--


--
-- Table structure for table `payroll_journal_entries`
--

CREATE TABLE `payroll_journal_entries` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payroll_run_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `employee_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(20,2) NOT NULL DEFAULT '0.00',
  `debit_account` bigint unsigned DEFAULT NULL,
  `credit_account` int DEFAULT NULL,
  `status` enum('draft','gl_posted') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payroll_journal_entries_debit_account_foreign` (`debit_account`),
  CONSTRAINT `payroll_journal_entries_debit_account_foreign` FOREIGN KEY (`debit_account`) REFERENCES `chart_of_accounts` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_journal_entries`
--


--
-- Table structure for table `payroll_loan_deductions`
--

CREATE TABLE `payroll_loan_deductions` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payroll_run_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `employee_loan_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `employee_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payroll_loan_deductions_payroll_run_id_foreign` (`payroll_run_id`),
  KEY `payroll_loan_deductions_employee_loan_id_foreign` (`employee_loan_id`),
  KEY `payroll_loan_deductions_employee_id_foreign` (`employee_id`),
  CONSTRAINT `payroll_loan_deductions_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payroll_loan_deductions_employee_loan_id_foreign` FOREIGN KEY (`employee_loan_id`) REFERENCES `employee_loans` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payroll_loan_deductions_payroll_run_id_foreign` FOREIGN KEY (`payroll_run_id`) REFERENCES `payroll_runs` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_loan_deductions`
--


--
-- Table structure for table `payroll_nets`
--

CREATE TABLE `payroll_nets` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payroll_run_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `employee_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `current_approval_level` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `gross_pay` decimal(15,2) NOT NULL,
  `total_deductions` decimal(15,2) NOT NULL,
  `net_pay` decimal(15,2) NOT NULL,
  `status` enum('pending','approved','rejected','processed','reviewed') 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`),
  UNIQUE KEY `payroll_nets_payroll_run_id_employee_id_unique` (`payroll_run_id`,`employee_id`),
  KEY `payroll_nets_payroll_run_id_index` (`payroll_run_id`),
  KEY `payroll_nets_employee_id_index` (`employee_id`),
  KEY `payroll_nets_current_approval_level_index` (`current_approval_level`),
  KEY `payroll_nets_status_index` (`status`),
  CONSTRAINT `payroll_nets_current_approval_level_foreign` FOREIGN KEY (`current_approval_level`) REFERENCES `approval_levels` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payroll_nets_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payroll_nets_payroll_run_id_foreign` FOREIGN KEY (`payroll_run_id`) REFERENCES `payroll_runs` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_nets`
--


--
-- Table structure for table `payroll_payments`
--

CREATE TABLE `payroll_payments` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payroll_net_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payment_method_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `payment_date` date NOT NULL,
  `reference_number` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `paid_by` char(36) 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 `payroll_payments_payroll_net_id_index` (`payroll_net_id`),
  KEY `payroll_payments_paid_by_index` (`paid_by`),
  KEY `payroll_payments_payment_date_index` (`payment_date`),
  KEY `payroll_payments_payment_method_id_index` (`payment_method_id`),
  CONSTRAINT `payroll_payments_paid_by_foreign` FOREIGN KEY (`paid_by`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payroll_payments_payment_method_id_foreign` FOREIGN KEY (`payment_method_id`) REFERENCES `payment_methods` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payroll_payments_payroll_net_id_foreign` FOREIGN KEY (`payroll_net_id`) REFERENCES `payroll_nets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_payments`
--


--
-- Table structure for table `payroll_runs`
--

CREATE TABLE `payroll_runs` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `payroll_schedule_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `run_date` date NOT NULL,
  `remarks` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('generated','gross_generated','net_calculated','paid') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'generated',
  `generated_by` char(36) 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 `payroll_runs_payroll_schedule_id_index` (`payroll_schedule_id`),
  KEY `payroll_runs_run_date_index` (`run_date`),
  KEY `payroll_runs_status_index` (`status`),
  KEY `payroll_runs_generated_by_index` (`generated_by`),
  CONSTRAINT `payroll_runs_generated_by_foreign` FOREIGN KEY (`generated_by`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payroll_runs_payroll_schedule_id_foreign` FOREIGN KEY (`payroll_schedule_id`) REFERENCES `payroll_schedules` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_runs`
--


--
-- Table structure for table `payroll_schedules`
--

CREATE TABLE `payroll_schedules` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `period_start` date NOT NULL,
  `period_end` date NOT NULL,
  `scheduled_date` date NOT NULL,
  `paytime` enum('end_of_month','specific_day') COLLATE utf8mb4_unicode_ci NOT NULL,
  `frequency` enum('monthly','bi-weekly','weekly') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'monthly',
  `pay_day` int DEFAULT NULL,
  `is_system_generated` tinyint(1) NOT NULL DEFAULT '0',
  `created_by` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `status` enum('pending','generated','processed','paid') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  PRIMARY KEY (`id`),
  KEY `payroll_schedules_created_by_foreign` (`created_by`),
  KEY `payroll_schedules_organisation_id_index` (`organisation_id`),
  KEY `payroll_schedules_scheduled_date_index` (`scheduled_date`),
  KEY `payroll_schedules_status_index` (`status`),
  CONSTRAINT `payroll_schedules_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `employees` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `payroll_schedules`
--

INSERT INTO `payroll_schedules` VALUES ('7cbb4d9a-6c6e-4dc1-be3e-8fbcbc3ff4f2','ac7e5b0f-d0dd-44a4-913c-6d365861fad6','2026-02-28','2026-04-22','2026-04-22','specific_day','monthly',25,0,'b93d6dcc-79cd-4a45-aeca-1b647f9066d5','2026-04-02 09:21:01','2026-04-02 09:21:01',NULL,'pending');

--
-- Table structure for table `performance_cycles`
--

CREATE TABLE `performance_cycles` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `staff_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `performance_cycles`
--


--
-- Table structure for table `performance_evaluations`
--

CREATE TABLE `performance_evaluations` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `employee_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `evaluator` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `comments` text COLLATE utf8mb4_unicode_ci,
  `rating` int NOT NULL,
  `evaluation_date` date NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `performance_evaluations_employee_id_foreign` (`employee_id`),
  CONSTRAINT `performance_evaluations_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `performance_evaluations`
--


--
-- Table structure for table `performance_goals`
--

CREATE TABLE `performance_goals` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `employee_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `goal` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `status` enum('Pending','Completed','Failed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `performance_goals_employee_id_foreign` (`employee_id`),
  CONSTRAINT `performance_goals_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `performance_goals`
--


--
-- Table structure for table `performance_rankings`
--

CREATE TABLE `performance_rankings` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `employee_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `rank` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `performance_rankings_employee_id_foreign` (`employee_id`),
  CONSTRAINT `performance_rankings_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `performance_rankings`
--


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

CREATE TABLE `permissions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `service_id` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT 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=468 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `permissions` VALUES (1,'access_accounting_module','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(2,'view_accounting_dashboard','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(3,'view_financial_overview','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(4,'view_chart_of_accounts','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(5,'create_chart_of_account','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(6,'edit_chart_of_account','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(7,'delete_chart_of_account','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(8,'activate_chart_of_account','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(9,'deactivate_chart_of_account','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(10,'view_journal_entries','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(11,'view_journal_entry_audit','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(12,'create_journal_entry','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(13,'edit_journal_entry','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(14,'delete_journal_entry','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(15,'approve_journal_entry','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(16,'reverse_journal_entry','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(17,'post_journal_entry','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(18,'unpost_journal_entry','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(19,'view_payment_methods','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(20,'add_payment_methods','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(21,'edit_payment_methods','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(22,'delete_payment_methods','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(23,'view_accounts_payable','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(24,'create_supplier_invoice','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(25,'edit_supplier_invoice','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(26,'delete_supplier_invoice','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(27,'approve_supplier_invoice','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(28,'pay_supplier_invoice','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(29,'view_supplier_payment_history','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(30,'manage_credit_notes','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(31,'apply_credit_note','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(32,'view_accounts_receivable','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(33,'create_customer_invoice','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(34,'edit_customer_invoice','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(35,'delete_customer_invoice','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(36,'approve_customer_invoice','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(37,'record_customer_payment','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(38,'view_customer_payment_history','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(39,'manage_customer_credit_notes','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(40,'apply_customer_credit_note','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(41,'view_purchase_invoices','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(42,'create_purchase_invoice','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(43,'edit_purchase_invoice','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(44,'delete_purchase_invoice','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(45,'approve_purchase_invoice','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(46,'match_purchase_invoice_to_grn','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(47,'unmatch_purchase_invoice','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(48,'view_invoice_matching_history','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(49,'export_purchase_invoices','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(50,'view_bank_accounts','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(51,'add_bank_account','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(52,'edit_bank_account','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(53,'delete_bank_account','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(54,'view_bank_transactions','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(55,'record_bank_transaction','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(56,'perform_bank_reconciliation','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(57,'approve_bank_reconciliation','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(58,'export_bank_transactions','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(59,'import_bank_transactions','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(60,'view_tax_rates','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(61,'create_tax_rate','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(62,'edit_tax_rate','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(63,'delete_tax_rate','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(64,'file_tax_return','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(65,'view_tax_return','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(66,'approve_tax_return','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(67,'generate_tax_report_summary','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(68,'view_trial_balance','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(69,'view_balance_sheet','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(70,'view_income_statement','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(71,'view_cash_flow_statement','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(72,'view_owners_equity_statement','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(73,'view_general_ledger_statement','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(74,'generate_financial_reports','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(75,'export_financial_reports','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(76,'open_accounting_period','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(77,'close_accounting_period','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(78,'reopen_accounting_period','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(79,'view_currencies','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(80,'add_currency','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(81,'edit_currency','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(82,'delete_currency','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(83,'set_exchange_rate','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(84,'manage_fixed_assets_register','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(85,'calculate_depreciation','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(86,'view_audit_trail','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(87,'approve_expenses','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(88,'approve_petty_cash','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(89,'manage_retentions','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(90,'apply_advance_payment','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(91,'recalculate_currency_adjustments','api','5a40b104-ec35-436d-803b-219017431cb2','2026-01-20 02:08:20','2026-01-20 02:08:20'),(92,'access_assets_module','api','b912970f-dbfe-4cfc-89fc-84a48244a5b7','2026-01-20 02:08:20','2026-01-20 02:08:20'),(93,'view_assets_dashboard','api','b912970f-dbfe-4cfc-89fc-84a48244a5b7','2026-01-20 02:08:20','2026-01-20 02:08:20'),(94,'view_assets','api','b912970f-dbfe-4cfc-89fc-84a48244a5b7','2026-01-20 02:08:20','2026-01-20 02:08:20'),(95,'create_asset','api','b912970f-dbfe-4cfc-89fc-84a48244a5b7','2026-01-20 02:08:20','2026-01-20 02:08:20'),(96,'edit_asset','api','b912970f-dbfe-4cfc-89fc-84a48244a5b7','2026-01-20 02:08:20','2026-01-20 02:08:20'),(97,'delete_asset','api','b912970f-dbfe-4cfc-89fc-84a48244a5b7','2026-01-20 02:08:20','2026-01-20 02:08:20'),(98,'approve_asset','api','b912970f-dbfe-4cfc-89fc-84a48244a5b7','2026-01-20 02:08:20','2026-01-20 02:08:20'),(99,'view_depreciation_schedule','api','b912970f-dbfe-4cfc-89fc-84a48244a5b7','2026-01-20 02:08:20','2026-01-20 02:08:20'),(100,'run_depreciation','api','b912970f-dbfe-4cfc-89fc-84a48244a5b7','2026-01-20 02:08:20','2026-01-20 02:08:20'),(101,'reverse_depreciation','api','b912970f-dbfe-4cfc-89fc-84a48244a5b7','2026-01-20 02:08:20','2026-01-20 02:08:20'),(102,'view_asset_maintenance','api','b912970f-dbfe-4cfc-89fc-84a48244a5b7','2026-01-20 02:08:20','2026-01-20 02:08:20'),(103,'record_asset_maintenance','api','b912970f-dbfe-4cfc-89fc-84a48244a5b7','2026-01-20 02:08:20','2026-01-20 02:08:20'),(104,'dispose_asset','api','b912970f-dbfe-4cfc-89fc-84a48244a5b7','2026-01-20 02:08:20','2026-01-20 02:08:20'),(105,'view_asset_reports','api','b912970f-dbfe-4cfc-89fc-84a48244a5b7','2026-01-20 02:08:20','2026-01-20 02:08:20'),(106,'export_asset_reports','api','b912970f-dbfe-4cfc-89fc-84a48244a5b7','2026-01-20 02:08:20','2026-01-20 02:08:20'),(107,'access_branches_module','api','bf24daaa-4483-4ab0-a265-98d0ef7d9b03','2026-01-20 02:08:20','2026-01-20 02:08:20'),(108,'view_branches_dashboard','api','bf24daaa-4483-4ab0-a265-98d0ef7d9b03','2026-01-20 02:08:20','2026-01-20 02:08:20'),(109,'view_branches','api','bf24daaa-4483-4ab0-a265-98d0ef7d9b03','2026-01-20 02:08:20','2026-01-20 02:08:20'),(110,'create_branch','api','bf24daaa-4483-4ab0-a265-98d0ef7d9b03','2026-01-20 02:08:20','2026-01-20 02:08:20'),(111,'edit_branch','api','bf24daaa-4483-4ab0-a265-98d0ef7d9b03','2026-01-20 02:08:20','2026-01-20 02:08:20'),(112,'delete_branch','api','bf24daaa-4483-4ab0-a265-98d0ef7d9b03','2026-01-20 02:08:20','2026-01-20 02:08:20'),(113,'activate_branch','api','bf24daaa-4483-4ab0-a265-98d0ef7d9b03','2026-01-20 02:08:20','2026-01-20 02:08:20'),(114,'deactivate_branch','api','bf24daaa-4483-4ab0-a265-98d0ef7d9b03','2026-01-20 02:08:20','2026-01-20 02:08:20'),(115,'view_branch_reports','api','bf24daaa-4483-4ab0-a265-98d0ef7d9b03','2026-01-20 02:08:20','2026-01-20 02:08:20'),(116,'export_branch_reports','api','bf24daaa-4483-4ab0-a265-98d0ef7d9b03','2026-01-20 02:08:20','2026-01-20 02:08:20'),(117,'access_budget_module','api','7db34290-b914-448d-9aa2-571b84feb2ce','2026-01-20 02:08:20','2026-01-20 02:08:20'),(118,'view_budget_dashboard','api','7db34290-b914-448d-9aa2-571b84feb2ce','2026-01-20 02:08:20','2026-01-20 02:08:20'),(119,'view_budgets','api','7db34290-b914-448d-9aa2-571b84feb2ce','2026-01-20 02:08:20','2026-01-20 02:08:20'),(120,'create_budget','api','7db34290-b914-448d-9aa2-571b84feb2ce','2026-01-20 02:08:20','2026-01-20 02:08:20'),(121,'edit_budget','api','7db34290-b914-448d-9aa2-571b84feb2ce','2026-01-20 02:08:20','2026-01-20 02:08:20'),(122,'delete_budget','api','7db34290-b914-448d-9aa2-571b84feb2ce','2026-01-20 02:08:20','2026-01-20 02:08:20'),(123,'approve_budget','api','7db34290-b914-448d-9aa2-571b84feb2ce','2026-01-20 02:08:20','2026-01-20 02:08:20'),(124,'reject_budget','api','7db34290-b914-448d-9aa2-571b84feb2ce','2026-01-20 02:08:20','2026-01-20 02:08:20'),(125,'compare_budget_vs_actual','api','7db34290-b914-448d-9aa2-571b84feb2ce','2026-01-20 02:08:20','2026-01-20 02:08:20'),(126,'generate_budget_report','api','7db34290-b914-448d-9aa2-571b84feb2ce','2026-01-20 02:08:20','2026-01-20 02:08:20'),(127,'export_budget_report','api','7db34290-b914-448d-9aa2-571b84feb2ce','2026-01-20 02:08:20','2026-01-20 02:08:20'),(128,'access_crm_module','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(129,'view_crm_dashboard','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(130,'view_leads','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(131,'create_lead','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(132,'edit_lead','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(133,'delete_lead','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(134,'assign_lead','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(135,'convert_lead_to_opportunity','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(136,'import_leads','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(137,'export_leads','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(138,'view_opportunities','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(139,'create_opportunity','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(140,'edit_opportunity','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(141,'delete_opportunity','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(142,'assign_opportunity','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(143,'move_opportunity_stage','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(144,'close_opportunity','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(145,'import_opportunities','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(146,'export_opportunities','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(147,'view_contacts','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(148,'create_contact','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(149,'edit_contact','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(150,'delete_contact','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(151,'merge_contacts','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(152,'import_contacts','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(153,'export_contacts','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(154,'view_accounts','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(155,'create_account','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(156,'edit_account','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(157,'delete_account','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(158,'merge_accounts','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(159,'import_accounts','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(160,'export_accounts','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(161,'view_activities','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(162,'create_activity','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(163,'edit_activity','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(164,'delete_activity','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(165,'assign_activity','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(166,'complete_activity','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(167,'view_notes','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(168,'add_note','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(169,'edit_note','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(170,'delete_note','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(171,'upload_attachment','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(172,'delete_attachment','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(173,'view_campaigns','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(174,'create_campaign','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(175,'edit_campaign','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(176,'delete_campaign','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(177,'launch_campaign','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(178,'close_campaign','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(179,'view_crm_reports','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(180,'export_crm_reports','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(181,'manage_crm_settings','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(182,'manage_crm_stages','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(183,'manage_crm_sources','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(184,'manage_crm_pipelines','api','8429eeb5-59b4-48c2-8398-f842642129c3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(185,'access_hr_module','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(186,'view_hr_dashboard','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(187,'view_employees','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(188,'create_employee','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(189,'edit_employee','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(190,'delete_employee','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(191,'view_attendance','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(192,'record_attendance','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(193,'view_leave_requests','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(194,'approve_leave_request','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(195,'reject_leave_request','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(196,'view_payroll','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(197,'process_payroll','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(198,'approve_payroll','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(199,'export_payslips','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(200,'view_performance_reviews','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(201,'conduct_performance_review','api','f10a0335-9f50-486d-b354-f67efa44593a','2026-01-20 02:08:20','2026-01-20 02:08:20'),(202,'access_inventory_module','api','f72aacbd-f4ee-47cd-8e4c-34c4ea772ed3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(203,'view_inventory_dashboard','api','f72aacbd-f4ee-47cd-8e4c-34c4ea772ed3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(204,'view_inventory','api','f72aacbd-f4ee-47cd-8e4c-34c4ea772ed3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(205,'adjust_inventory_levels','api','f72aacbd-f4ee-47cd-8e4c-34c4ea772ed3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(206,'set_reorder_points','api','f72aacbd-f4ee-47cd-8e4c-34c4ea772ed3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(207,'perform_stock_count','api','f72aacbd-f4ee-47cd-8e4c-34c4ea772ed3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(208,'approve_stock_adjustment','api','f72aacbd-f4ee-47cd-8e4c-34c4ea772ed3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(209,'view_warehouses','api','f72aacbd-f4ee-47cd-8e4c-34c4ea772ed3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(210,'create_warehouse','api','f72aacbd-f4ee-47cd-8e4c-34c4ea772ed3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(211,'edit_warehouse','api','f72aacbd-f4ee-47cd-8e4c-34c4ea772ed3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(212,'delete_warehouse','api','f72aacbd-f4ee-47cd-8e4c-34c4ea772ed3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(213,'transfer_stock','api','f72aacbd-f4ee-47cd-8e4c-34c4ea772ed3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(214,'view_inventory_reports','api','f72aacbd-f4ee-47cd-8e4c-34c4ea772ed3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(215,'export_inventory_reports','api','f72aacbd-f4ee-47cd-8e4c-34c4ea772ed3','2026-01-20 02:08:20','2026-01-20 02:08:20'),(216,'access_investments_module','api','71fe893c-3956-48f3-bbe8-60b5add3869c','2026-01-20 02:08:20','2026-01-20 02:08:20'),(217,'view_investments_dashboard','api','71fe893c-3956-48f3-bbe8-60b5add3869c','2026-01-20 02:08:20','2026-01-20 02:08:20'),(218,'access_manufacturing_module','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(219,'view_manufacturing_dashboard','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(220,'view_production_orders','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(221,'create_production_order','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(222,'edit_production_order','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(223,'delete_production_order','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(224,'approve_production_order','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(225,'start_production_order','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(226,'complete_production_order','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(227,'cancel_production_order','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(228,'view_bill_of_materials','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(229,'create_bill_of_materials','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(230,'edit_bill_of_materials','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(231,'delete_bill_of_materials','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(232,'view_work_centers','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(233,'manage_work_centers','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(234,'view_production_routings','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(235,'manage_production_routings','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(236,'view_packaging_orders','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(237,'create_packaging_order','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(238,'edit_packaging_order','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(239,'delete_packaging_order','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(240,'approve_packaging_order','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(241,'start_packaging','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(242,'record_packaging_progress','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(243,'complete_packaging','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(244,'reject_packaged_items','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(245,'approve_packaged_items','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(246,'view_quality_checks','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(247,'record_quality_check','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(248,'approve_quality_check','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(249,'reject_quality_check','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(250,'view_production_reports','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(251,'view_packaging_reports','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(252,'export_production_reports','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(253,'export_packaging_reports','api','87a193ec-15d5-49df-af89-da2ae5f8ba5e','2026-01-20 02:08:20','2026-01-20 02:08:20'),(254,'access_procurement_module','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(255,'view_procurement_dashboard','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(256,'view_purchase_requests','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(257,'create_purchase_request','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(258,'edit_purchase_request','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(259,'delete_purchase_request','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(260,'approve_purchase_request','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(261,'reject_purchase_request','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(262,'upload_purchase_request_attachments','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(263,'delete_purchase_request_attachments','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(264,'view_purchase_orders','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(265,'create_purchase_order','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(266,'edit_purchase_order','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(267,'delete_purchase_order','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(268,'approve_purchase_order','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(269,'receive_purchase_order','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(270,'cancel_purchase_order','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(271,'split_purchase_order','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(272,'duplicate_purchase_order','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(273,'change_purchase_order_supplier','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(274,'upload_purchase_order_attachments','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(275,'delete_purchase_order_attachments','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(276,'view_suppliers','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(277,'create_supplier','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(278,'edit_supplier','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(279,'delete_supplier','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(280,'approve_supplier','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(281,'import_suppliers','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(282,'export_suppliers','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(283,'manage_supplier_contacts','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(284,'manage_supplier_addresses','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(285,'manage_supplier_categories','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(286,'record_goods_receipt','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(287,'approve_goods_receipt','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(288,'approve_partial_goods_receipt','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(289,'edit_goods_receipt','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(290,'delete_goods_receipt','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(291,'return_goods_to_supplier','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(292,'record_damage_goods_receipt','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(293,'import_goods_receipts','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(294,'export_goods_receipts','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(295,'view_goods_receipt_details','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(296,'view_procurement_reports','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(297,'export_procurement_reports','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(298,'view_purchase_request_reports','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(299,'view_purchase_order_reports','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(300,'view_supplier_reports','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(301,'view_goods_receipt_reports','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(302,'manage_procurement_settings','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(303,'manage_procurement_categories','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(304,'manage_procurement_approval_workflows','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(305,'manage_unit_of_measure','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(306,'manage_tax_rates','api','68460011-b08d-40d5-9826-6539fe4796fc','2026-01-20 02:08:20','2026-01-20 02:08:20'),(307,'access_projects_module','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(308,'view_projects_dashboard','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(309,'view_projects','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(310,'create_project','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(311,'edit_project','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(312,'delete_project','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(313,'approve_project','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(314,'view_tasks','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(315,'create_task','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(316,'edit_task','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(317,'delete_task','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(318,'assign_task','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(319,'complete_task','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(320,'view_project_team','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(321,'add_team_member','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(322,'remove_team_member','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(323,'view_milestones','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(324,'create_milestone','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(325,'edit_milestone','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(326,'delete_milestone','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(327,'view_project_reports','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(328,'export_project_reports','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(329,'manage_project_settings','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(330,'manage_project_templates','api','ca5b6609-7812-4a3a-b003-b22a5648aee8','2026-01-20 02:08:20','2026-01-20 02:08:20'),(331,'access_recruitment_module','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:20','2026-01-20 02:08:20'),(332,'view_recruitment_dashboard','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:20','2026-01-20 02:08:20'),(333,'view_job_listings','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:20','2026-01-20 02:08:20'),(334,'create_job_listing','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:20','2026-01-20 02:08:20'),(335,'edit_job_listing','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(336,'delete_job_listing','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(337,'approve_job_listing','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(338,'view_applications','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(339,'create_application','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(340,'edit_application','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(341,'delete_application','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(342,'shortlist_application','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(343,'view_interviews','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(344,'schedule_interview','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(345,'edit_interview','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(346,'delete_interview','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(347,'record_interview_feedback','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(348,'view_offers','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(349,'create_offer','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(350,'edit_offer','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(351,'delete_offer','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(352,'approve_offer','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(353,'view_recruitment_reports','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(354,'export_recruitment_reports','api','19e6b303-d50d-47fb-a697-4c53f2db665d','2026-01-20 02:08:21','2026-01-20 02:08:21'),(355,'access_reports_module','api','dfa6194d-6eca-4e6f-a295-b47f5c91cb08','2026-01-20 02:08:21','2026-01-20 02:08:21'),(356,'view_reports_dashboard','api','dfa6194d-6eca-4e6f-a295-b47f5c91cb08','2026-01-20 02:08:21','2026-01-20 02:08:21'),(357,'access_expense_requisition_module','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(358,'view_expense_requisition_dashboard','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(359,'view_expense_requisitions','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(360,'create_expense_requisition','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(361,'edit_expense_requisition','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(362,'delete_expense_requisition','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(363,'approve_expense_requisition','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(364,'reject_expense_requisition','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(365,'record_expense_payment','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(366,'edit_expense_payment','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(367,'delete_expense_payment','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(368,'view_expense_requisition_reports','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(369,'export_expense_requisition_reports','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(370,'access_fuel_requisition_module','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(371,'view_fuel_requisition_dashboard','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(372,'view_fuel_requisitions','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(373,'create_fuel_requisition','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(374,'edit_fuel_requisition','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(375,'delete_fuel_requisition','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(376,'approve_fuel_requisition','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(377,'reject_fuel_requisition','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(378,'record_fuel_payment','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(379,'edit_fuel_payment','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(380,'delete_fuel_payment','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(381,'view_fuel_requisition_reports','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(382,'export_fuel_requisition_reports','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(383,'access_repair_requisition_module','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(384,'view_repair_requisition_dashboard','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(385,'view_repair_requisitions','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(386,'create_repair_requisition','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(387,'edit_repair_requisition','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(388,'delete_repair_requisition','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(389,'approve_repair_requisition','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(390,'reject_repair_requisition','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(391,'record_repair_payment','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(392,'edit_repair_payment','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(393,'delete_repair_payment','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(394,'view_repair_requisition_reports','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(395,'export_repair_requisition_reports','api','416afa15-9e39-4d6f-b994-a6f99822a2dc','2026-01-20 02:08:21','2026-01-20 02:08:21'),(396,'access_sales_module','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(397,'view_sales_dashboard','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(398,'view_quotations','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(399,'create_quotation','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(400,'edit_quotation','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(401,'delete_quotation','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(402,'approve_quotation','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(403,'convert_quotation_to_order','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(404,'export_quotations','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(405,'import_quotations','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(406,'view_sales_orders','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(407,'create_sales_order','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(408,'edit_sales_order','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(409,'delete_sales_order','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(410,'approve_sales_order','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(411,'fulfill_sales_order','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(412,'cancel_sales_order','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(413,'export_sales_orders','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(414,'import_sales_orders','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(415,'view_deliveries','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(416,'create_delivery','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(417,'edit_delivery','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(418,'delete_delivery','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(419,'approve_delivery','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(420,'record_delivery_receipt','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(421,'return_delivery','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(422,'export_deliveries','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(423,'import_deliveries','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(424,'view_sales_invoices','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(425,'create_sales_invoice','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(426,'edit_sales_invoice','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(427,'delete_sales_invoice','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(428,'approve_sales_invoice','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(429,'record_sales_payment','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(430,'match_sales_invoice_to_payment','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(431,'unmatch_sales_invoice_payment','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(432,'export_sales_invoices','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(433,'import_sales_invoices','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(434,'access_pos_module','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(435,'view_pos_dashboard','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(436,'create_pos_sale','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(437,'edit_pos_sale','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(438,'delete_pos_sale','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(439,'approve_pos_sale','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(440,'record_pos_payment','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(441,'apply_pos_discount','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(442,'apply_pos_tax','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(443,'refund_pos_sale','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(444,'export_pos_sales','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(445,'import_pos_sales','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(446,'view_pos_sales_reports','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(447,'export_pos_sales_reports','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(448,'generate_pos_summary_report','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(449,'view_pos_audit_trail','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(450,'view_sales_reports','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(451,'export_sales_reports','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(452,'generate_sales_summary','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(453,'view_sales_audit_trail','api','b619fe61-9283-4619-aef6-ff5116bfa9b6','2026-01-20 02:08:21','2026-01-20 02:08:21'),(454,'access_settings_module','api','ffba6077-da72-4120-984c-d48972f4f568','2026-01-20 02:08:21','2026-01-20 02:08:21'),(455,'view_settings_dashboard','api','ffba6077-da72-4120-984c-d48972f4f568','2026-01-20 02:08:21','2026-01-20 02:08:21'),(456,'view_users','api','ffba6077-da72-4120-984c-d48972f4f568','2026-01-20 02:08:21','2026-01-20 02:08:21'),(457,'create_user','api','ffba6077-da72-4120-984c-d48972f4f568','2026-01-20 02:08:21','2026-01-20 02:08:21'),(458,'edit_user','api','ffba6077-da72-4120-984c-d48972f4f568','2026-01-20 02:08:21','2026-01-20 02:08:21'),(459,'delete_user','api','ffba6077-da72-4120-984c-d48972f4f568','2026-01-20 02:08:21','2026-01-20 02:08:21'),(460,'view_roles','api','ffba6077-da72-4120-984c-d48972f4f568','2026-01-20 02:08:21','2026-01-20 02:08:21'),(461,'create_role','api','ffba6077-da72-4120-984c-d48972f4f568','2026-01-20 02:08:21','2026-01-20 02:08:21'),(462,'edit_role','api','ffba6077-da72-4120-984c-d48972f4f568','2026-01-20 02:08:21','2026-01-20 02:08:21'),(463,'delete_role','api','ffba6077-da72-4120-984c-d48972f4f568','2026-01-20 02:08:21','2026-01-20 02:08:21'),(464,'assign_permissions','api','ffba6077-da72-4120-984c-d48972f4f568','2026-01-20 02:08:21','2026-01-20 02:08:21'),(465,'update_system_settings','api','ffba6077-da72-4120-984c-d48972f4f568','2026-01-20 02:08:21','2026-01-20 02:08:21'),(466,'manage_integrations','api','ffba6077-da72-4120-984c-d48972f4f568','2026-01-20 02:08:21','2026-01-20 02:08:21'),(467,'manage_notification_settings','api','ffba6077-da72-4120-984c-d48972f4f568','2026-01-20 02:08:21','2026-01-20 02:08:21');

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

CREATE TABLE `personal_access_tokens` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tokenable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `tokenable_id` bigint unsigned NOT NULL,
  `name` varchar(255) 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 `placements`
--

CREATE TABLE `placements` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `application_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `job_order_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `candidate_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `account_manager_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `placement_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date DEFAULT NULL,
  `employment_type` enum('permanent','contract','temp') COLLATE utf8mb4_unicode_ci NOT NULL,
  `salary` decimal(12,2) DEFAULT NULL,
  `bill_rate` decimal(12,2) DEFAULT NULL,
  `currency` varchar(3) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'USD',
  `pay_frequency` enum('hourly','weekly','bi-weekly','monthly','annual') COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `status` enum('active','completed','terminated','extended') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `probation_end_date` date DEFAULT NULL,
  `probation_passed` tinyint(1) DEFAULT NULL,
  `custom_fields` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `placements_placement_number_unique` (`placement_number`),
  KEY `placements_application_id_foreign` (`application_id`),
  KEY `placements_job_order_id_foreign` (`job_order_id`),
  KEY `placements_candidate_id_foreign` (`candidate_id`),
  KEY `placements_account_manager_id_foreign` (`account_manager_id`),
  CONSTRAINT `placements_account_manager_id_foreign` FOREIGN KEY (`account_manager_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `placements_application_id_foreign` FOREIGN KEY (`application_id`) REFERENCES `applications` (`id`) ON DELETE CASCADE,
  CONSTRAINT `placements_candidate_id_foreign` FOREIGN KEY (`candidate_id`) REFERENCES `candidates` (`id`) ON DELETE CASCADE,
  CONSTRAINT `placements_job_order_id_foreign` FOREIGN KEY (`job_order_id`) REFERENCES `job_orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `placements`
--


--
-- Table structure for table `procurement_approvals`
--

CREATE TABLE `procurement_approvals` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `approvable_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `approvable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `approval_level_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `approver_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('pending','approved','rejected') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `comments` text COLLATE utf8mb4_unicode_ci,
  `approved_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `procurement_approvals_approvable_id_approvable_type_index` (`approvable_id`,`approvable_type`),
  KEY `procurement_approvals_approval_level_id_foreign` (`approval_level_id`),
  CONSTRAINT `procurement_approvals_approval_level_id_foreign` FOREIGN KEY (`approval_level_id`) REFERENCES `approval_levels` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `procurement_approvals`
--


--
-- Table structure for table `procurement_attachments`
--

CREATE TABLE `procurement_attachments` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `attachable_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `attachable_type` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `file_path` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) 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 `procurement_attachments_attachable_id_attachable_type_index` (`attachable_id`,`attachable_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `procurement_attachments`
--


--
-- Table structure for table `procurement_audits`
--

CREATE TABLE `procurement_audits` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `document_type` enum('PR','PO','RFQ','BID','GRN','Invoice') COLLATE utf8mb4_unicode_ci NOT NULL,
  `document_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `action` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `old_values` text COLLATE utf8mb4_unicode_ci,
  `new_values` text COLLATE utf8mb4_unicode_ci,
  `ip_address` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `procurement_audits_user_id_foreign` (`user_id`),
  CONSTRAINT `procurement_audits_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `procurement_audits`
--


--
-- Table structure for table `procurement_plan_items`
--

CREATE TABLE `procurement_plan_items` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `procurement_plan_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `procurement_type` enum('Direct','Indirect') COLLATE utf8mb4_unicode_ci NOT NULL,
  `item_description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `specifications` text COLLATE utf8mb4_unicode_ci,
  `estimated_cost` decimal(20,2) NOT NULL,
  `quantity` int NOT NULL DEFAULT '1',
  `unit_of_measure` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `procurement_method` enum('open_tender','limited_tender','direct_procurement','request_for_quotation','competitive_bidding') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'request_for_quotation',
  `priority` enum('low','medium','high','critical') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'medium',
  `expected_delivery_date` date DEFAULT NULL,
  `budget_allocation_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `required_documents` json DEFAULT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `procurement_plan_items_budget_allocation_id_foreign` (`budget_allocation_id`),
  KEY `procurement_plan_items_procurement_plan_id_priority_index` (`procurement_plan_id`,`priority`),
  CONSTRAINT `procurement_plan_items_budget_allocation_id_foreign` FOREIGN KEY (`budget_allocation_id`) REFERENCES `budget_allocations` (`id`),
  CONSTRAINT `procurement_plan_items_procurement_plan_id_foreign` FOREIGN KEY (`procurement_plan_id`) REFERENCES `procurement_plans` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `procurement_plan_items`
--


--
-- Table structure for table `procurement_plans`
--

CREATE TABLE `procurement_plans` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `fiscal_year_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `plan_number` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `status` enum('draft','under_review','approved','rejected','active','completed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'draft',
  `total_budget` decimal(20,2) NOT NULL DEFAULT '0.00',
  `committed_budget` decimal(20,2) NOT NULL DEFAULT '0.00',
  `actual_spend` decimal(20,2) NOT NULL DEFAULT '0.00',
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `objectives` text COLLATE utf8mb4_unicode_ci,
  `approval_chain` json DEFAULT NULL,
  `prepared_by` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `approved_by` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `approval_notes` text COLLATE utf8mb4_unicode_ci,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `procurement_plans_plan_number_unique` (`plan_number`),
  KEY `procurement_plans_fiscal_year_id_foreign` (`fiscal_year_id`),
  KEY `procurement_plans_prepared_by_foreign` (`prepared_by`),
  KEY `procurement_plans_approved_by_foreign` (`approved_by`),
  KEY `procurement_plans_organisation_id_status_index` (`organisation_id`,`status`),
  KEY `procurement_plans_organisation_id_index` (`organisation_id`),
  CONSTRAINT `procurement_plans_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `employees` (`id`),
  CONSTRAINT `procurement_plans_fiscal_year_id_foreign` FOREIGN KEY (`fiscal_year_id`) REFERENCES `fiscal_years` (`id`),
  CONSTRAINT `procurement_plans_prepared_by_foreign` FOREIGN KEY (`prepared_by`) REFERENCES `employees` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `procurement_plans`
--


--
-- Table structure for table `produce_deliveries`
--

CREATE TABLE `produce_deliveries` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `member_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `input_loan_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `product_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `quantity_kg` decimal(10,2) NOT NULL,
  `price_per_kg` decimal(10,2) NOT NULL,
  `total_value` decimal(10,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `produce_deliveries_product_id_foreign` (`product_id`),
  KEY `produce_deliveries_input_loan_id_foreign` (`input_loan_id`),
  KEY `produce_deliveries_member_id_foreign` (`member_id`),
  CONSTRAINT `produce_deliveries_input_loan_id_foreign` FOREIGN KEY (`input_loan_id`) REFERENCES `input_loans` (`id`) ON DELETE CASCADE,
  CONSTRAINT `produce_deliveries_member_id_foreign` FOREIGN KEY (`member_id`) REFERENCES `members` (`id`) ON DELETE CASCADE,
  CONSTRAINT `produce_deliveries_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `produce_deliveries`
--


--
-- Table structure for table `production_batches`
--

CREATE TABLE `production_batches` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `production_schedule_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `machine_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `operator_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `start_time` timestamp NOT NULL,
  `end_time` timestamp NULL DEFAULT NULL,
  `uom_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quantity_produced` decimal(15,3) NOT NULL DEFAULT '0.000',
  `status` enum('planned','in_progress','completed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'planned',
  `created_by` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `notes` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `production_batches_organisation_id_foreign` (`organisation_id`),
  KEY `production_batches_machine_id_foreign` (`machine_id`),
  KEY `production_batches_operator_id_foreign` (`operator_id`),
  KEY `production_batches_created_by_foreign` (`created_by`),
  KEY `production_batches_uom_id_foreign` (`uom_id`),
  CONSTRAINT `production_batches_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `employees` (`id`),
  CONSTRAINT `production_batches_machine_id_foreign` FOREIGN KEY (`machine_id`) REFERENCES `machines` (`id`),
  CONSTRAINT `production_batches_operator_id_foreign` FOREIGN KEY (`operator_id`) REFERENCES `employees` (`id`),
  CONSTRAINT `production_batches_organisation_id_foreign` FOREIGN KEY (`organisation_id`) REFERENCES `organisations` (`id`),
  CONSTRAINT `production_batches_uom_id_foreign` FOREIGN KEY (`uom_id`) REFERENCES `unit_of_measures` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `production_batches`
--


--
-- Table structure for table `production_outputs`
--

CREATE TABLE `production_outputs` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `item_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `uom_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `unit_cost` decimal(15,2) NOT NULL DEFAULT '0.00',
  `output_type` enum('main','byproduct','waste') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'main',
  `transferred_to_store` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `production_outputs_batch_id_foreign` (`batch_id`),
  KEY `production_outputs_item_id_foreign` (`item_id`),
  KEY `production_outputs_uom_id_foreign` (`uom_id`),
  CONSTRAINT `production_outputs_batch_id_foreign` FOREIGN KEY (`batch_id`) REFERENCES `production_batches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `production_outputs_item_id_foreign` FOREIGN KEY (`item_id`) REFERENCES `items` (`id`),
  CONSTRAINT `production_outputs_uom_id_foreign` FOREIGN KEY (`uom_id`) REFERENCES `unit_of_measures` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `production_outputs`
--


--
-- Table structure for table `production_quality_checks`
--

CREATE TABLE `production_quality_checks` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `batch_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `batch_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `checkable_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `checkable_type` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `inspector_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `check_date` date NOT NULL,
  `result` enum('pass','fail','rework') COLLATE utf8mb4_unicode_ci NOT NULL,
  `remark` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `production_quality_checks_organisation_id_foreign` (`organisation_id`),
  KEY `production_quality_checks_batch_id_foreign` (`batch_id`),
  KEY `production_quality_checks_inspector_id_foreign` (`inspector_id`),
  CONSTRAINT `production_quality_checks_batch_id_foreign` FOREIGN KEY (`batch_id`) REFERENCES `production_batches` (`id`),
  CONSTRAINT `production_quality_checks_inspector_id_foreign` FOREIGN KEY (`inspector_id`) REFERENCES `employees` (`id`),
  CONSTRAINT `production_quality_checks_organisation_id_foreign` FOREIGN KEY (`organisation_id`) REFERENCES `organisations` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `production_quality_checks`
--


--
-- Table structure for table `products`
--

CREATE TABLE `products` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `muvu_uid` char(36) 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 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `products`
--


--
-- Table structure for table `project_budgets`
--

CREATE TABLE `project_budgets` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `project_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `budget_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `project_budgets_budget_id_foreign` (`budget_id`),
  KEY `project_budgets_project_id_foreign` (`project_id`),
  CONSTRAINT `project_budgets_budget_id_foreign` FOREIGN KEY (`budget_id`) REFERENCES `budgets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `project_budgets_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `project_budgets`
--


--
-- Table structure for table `project_categories`
--

CREATE TABLE `project_categories` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text 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 `project_categories`
--


--
-- Table structure for table `project_comments`
--

CREATE TABLE `project_comments` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `project_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `subject` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `parent_comment` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `project_comments_project_id_foreign` (`project_id`),
  CONSTRAINT `project_comments_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `project_comments`
--


--
-- Table structure for table `project_files`
--

CREATE TABLE `project_files` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `project_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `file_name` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `file_path` text COLLATE utf8mb4_unicode_ci NOT NULL,
  `uploaded_by` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `project_files_project_id_foreign` (`project_id`),
  KEY `project_files_uploaded_by_foreign` (`uploaded_by`),
  CONSTRAINT `project_files_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE,
  CONSTRAINT `project_files_uploaded_by_foreign` FOREIGN KEY (`uploaded_by`) REFERENCES `employees` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `project_files`
--


--
-- Table structure for table `project_partners`
--

CREATE TABLE `project_partners` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `project_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `partner_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `type` enum('Sponsor','Manager','Client','Contractor','Consultant','Supplier','Team Member','Regulatory Body','Investor','Strategic Partner','Community Stakeholder') COLLATE utf8mb4_unicode_ci NOT NULL,
  `role` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `project_partners_partner_id_project_id_unique` (`partner_id`,`project_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `project_partners`
--


--
-- Table structure for table `project_roles`
--

CREATE TABLE `project_roles` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `project_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `project_roles_project_id_foreign` (`project_id`),
  CONSTRAINT `project_roles_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `project_roles`
--


--
-- Table structure for table `project_teams`
--

CREATE TABLE `project_teams` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `project_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `employee_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `project_role_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `project_teams_project_id_foreign` (`project_id`),
  KEY `project_teams_employee_id_foreign` (`employee_id`),
  KEY `project_teams_project_role_id_foreign` (`project_role_id`),
  CONSTRAINT `project_teams_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `project_teams_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE,
  CONSTRAINT `project_teams_project_role_id_foreign` FOREIGN KEY (`project_role_id`) REFERENCES `project_roles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `project_teams`
--


--
-- Table structure for table `project_timesheets`
--

CREATE TABLE `project_timesheets` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `activity_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `startdate` date NOT NULL,
  `enddate` date NOT NULL,
  `hours_worked` int DEFAULT NULL,
  `overtime_hours_worked` int DEFAULT NULL,
  `description` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `project_timesheets`
--


--
-- Table structure for table `projects`
--

CREATE TABLE `projects` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `project_category_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `sector_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `prioty` enum('High','Medium','Low') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Low',
  `status` enum('Not Started','In Progress','Completed','On Hold','Cancelled') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Not Started',
  `cost` decimal(20,2) DEFAULT NULL,
  `challenges` text COLLATE utf8mb4_unicode_ci,
  `location` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reporting_period` enum('Daily','Weekly','Bi-weekly','Monthly','Quarterly','Semi-Annually','Annually','Biennially','Ad-hoc') COLLATE utf8mb4_unicode_ci NOT NULL,
  `project_manager` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date DEFAULT NULL,
  `recommendations` text COLLATE utf8mb4_unicode_ci,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `projects`
--


--
-- Table structure for table `properties`
--

CREATE TABLE `properties` (
  `id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `landlord_id` char(36) COLLATE utf8mb4_unicode_ci NOT NULL,
  `organisation_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `locality_id` char(36) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `metadata` json DEFAULT NULL,
  `purpose` enum('commercial','residential','industrial','mixed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'residential',
  `management_fee_type` enum('percentage','fixed') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'percentage',
  `management_fee` decimal(20,2) NOT NULL DEFAULT '0.00',
  `address` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `postal_code` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `latitude` decimal(20,8) DEFAULT NULL,
  `longitude` decimal(20,8) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `properties_code_unique` (`code`),
  KEY `properties_landlord_id_foreign` (`landlord_id`),
  KEY `properties_locality_id_foreign` (`locality_id`),
  CONSTRAINT `properties_landlord_id_foreign` FOREIGN KEY (`landlord_id`) REFERENCES `landlords` (`id`) ON DELETE CASCADE,
  CONSTRAINT `properties_locality_id_foreign` FOREIGN KEY (`locality_id`) REFERENCES `localities` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
