-- Table structure for table `madrasti_d3_role_has_permissions`
--

CREATE TABLE `madrasti_d3_role_has_permissions` (
  `permission_id` bigint unsigned NOT NULL,
  `role_id` bigint unsigned NOT NULL,
  PRIMARY KEY (`permission_id`,`role_id`),
  KEY `role_has_permissions_role_id_foreign` (`role_id`),
  CONSTRAINT `madrasti_d3_role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `madrasti_d3_permissions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `madrasti_d3_role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `madrasti_d3_roles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d3_role_has_permissions`
--

INSERT INTO `madrasti_d3_role_has_permissions` VALUES (1,1),(2,1),(3,1),(4,1),(5,1),(6,1),(7,1),(8,1),(9,1),(10,1),(11,1),(12,1),(13,1),(14,1),(15,1),(16,1),(17,1),(18,1),(19,1),(20,1),(21,1),(22,1),(23,1),(24,1),(25,1),(26,1),(27,1),(28,1),(29,1),(30,1),(31,1),(32,1),(33,1),(34,1),(35,1),(36,1),(37,1),(38,1),(39,1),(40,1),(41,1),(42,1),(43,1),(44,1),(45,1),(46,1),(47,1),(48,1),(49,1),(50,1),(51,1),(52,1),(53,1),(54,1),(55,1),(56,1),(57,1),(58,1),(59,1),(60,1),(61,1),(62,1),(63,1),(64,1),(65,1),(66,1),(1,2),(2,2),(3,2),(4,2),(5,2),(6,2),(7,2),(8,2),(9,2),(10,2),(11,2),(12,2),(13,2),(14,2),(15,2),(16,2),(17,2),(18,2),(19,2),(20,2),(21,2),(22,2),(23,2),(24,2),(25,2),(26,2),(27,2),(28,2),(29,2),(30,2),(31,2),(32,2),(33,2),(34,2),(35,2),(36,2),(37,2),(38,2),(39,2),(40,2),(54,2),(55,2),(56,2),(57,2),(58,2),(59,2),(60,2),(61,2),(62,2),(63,2),(64,2),(65,2),(66,2),(1,3),(2,3),(3,3),(4,3),(5,3),(6,3),(7,3),(11,3),(12,3),(13,3),(21,3),(22,3),(25,3),(29,3),(30,3),(31,3),(33,3),(34,3),(35,3),(1,4),(2,4),(3,4),(4,4),(5,4),(11,4),(15,4),(16,4),(17,4),(19,4),(20,4),(33,4),(36,4),(37,4),(1,5),(2,5),(3,5),(4,5),(5,5),(21,5),(22,5),(29,5),(1,6),(2,6),(3,6),(4,6),(5,6),(6,6),(7,6),(11,6),(12,6),(13,6),(21,6),(22,6),(23,6),(29,6),(33,6),(34,6),(35,6);

--
-- Table structure for table `madrasti_d3_roles`
--

CREATE TABLE `madrasti_d3_roles` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `roles_name_guard_name_unique_madrasti_d3` (`name`,`guard_name`),
  KEY `roles_guard_name_index_madrasti_d3` (`guard_name`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d3_roles`
--

INSERT INTO `madrasti_d3_roles` VALUES (1,'Super Admin','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(2,'Admin','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(3,'Manager','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(4,'Accountant','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(5,'Teacher','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(6,'مشرف على التلاميذ','web','2025-12-16 22:26:27','2025-12-16 22:26:27');

--
-- Table structure for table `madrasti_d3_school_settings`
--

CREATE TABLE `madrasti_d3_school_settings` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `school_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `school_name_ar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `logo_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `monthly_payment_day` int NOT NULL DEFAULT '1',
  `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `website` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `default_language` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'en',
  `timezone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Africa/Casablanca',
  `enable_email_notifications` tinyint(1) NOT NULL DEFAULT '1',
  `enable_sms_notifications` tinyint(1) NOT NULL DEFAULT '0',
  `notify_on_absence` tinyint(1) NOT NULL DEFAULT '1',
  `notify_on_late` tinyint(1) NOT NULL DEFAULT '1',
  `notify_on_payment_due` tinyint(1) NOT NULL DEFAULT '1',
  `notify_on_overdue_payment` tinyint(1) NOT NULL DEFAULT '1',
  `auto_generate_monthly_payments` tinyint(1) NOT NULL DEFAULT '0',
  `payment_reminder_days_before` int NOT NULL DEFAULT '3',
  `overdue_reminder_days` int NOT NULL DEFAULT '7',
  `items_per_page` int NOT NULL DEFAULT '20',
  `show_student_photos` tinyint(1) NOT NULL DEFAULT '1',
  `show_guardian_photos` tinyint(1) NOT NULL DEFAULT '1',
  `tax_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `registration_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `school_settings_default_language_index_madrasti_d3` (`default_language`),
  KEY `school_settings_email_notifications_index_madrasti_d3` (`enable_email_notifications`),
  KEY `school_settings_auto_generate_payments_index_madrasti_d3` (`auto_generate_monthly_payments`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d3_school_settings`
--

INSERT INTO `madrasti_d3_school_settings` VALUES (1,'Madrasti','مدرستي','school/xMkqoV9xTG6k7mPKMPKOj8m29cPar9By7Uz50bE5.png',1,NULL,NULL,NULL,NULL,'ar','Africa/Casablanca',1,0,1,1,1,1,0,3,7,20,1,1,NULL,NULL,NULL,'2025-12-16 22:26:26','2025-12-16 22:26:28');

--
-- Table structure for table `madrasti_d3_school_years`
--

CREATE TABLE `madrasti_d3_school_years` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `school_years_name_unique_madrasti_d3` (`name`),
  KEY `school_years_is_active_index_madrasti_d3` (`is_active`),
  KEY `school_years_date_range_index_madrasti_d3` (`start_date`,`end_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d3_school_years`
--


--
-- Table structure for table `madrasti_d3_sessions`
--

CREATE TABLE `madrasti_d3_sessions` (
  `id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint unsigned DEFAULT NULL,
  `ip_address` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_agent` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_activity` int NOT NULL,
  PRIMARY KEY (`id`),
  KEY `sessions_user_id_index_madrasti_d3` (`user_id`),
  KEY `sessions_last_activity_index_madrasti_d3` (`last_activity`),
  CONSTRAINT `madrasti_d3_sessions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `madrasti_d3_users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d3_sessions`
--

INSERT INTO `madrasti_d3_sessions` VALUES ('3N7J8qpTimjrTdeYEQ8r7yVA66AnfSuV8suZA0Fr',NULL,'74.7.227.49','Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)','YTo1OntzOjY6Il90b2tlbiI7czo0MDoibWEzTENHbEhETXVURVVMNmJVeTZWbVVNZEg3ZjV2MHU0VW9vVHVOcSI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQ3OiJodHRwczovL3d3dy5tYWRyYXN0aS1kZW1vMy5pbXJhbmVzb2Z0LmNvbS9sb2dpbiI7czo1OiJyb3V0ZSI7czo1OiJsb2dpbiI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fXM6MzoidXJsIjthOjE6e3M6ODoiaW50ZW5kZWQiO3M6NTE6Imh0dHBzOi8vd3d3Lm1hZHJhc3RpLWRlbW8zLmltcmFuZXNvZnQuY29tL2Rhc2hib2FyZCI7fX0=',1767269141),('JDZJaEsyREvNy5HZnV0DJ0ruMqekEYWJPYt95IDo',NULL,'74.7.227.185','Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiektRdnBxTmFkeFJnVnBOWWtHOEduQmg4VjBWcEFmUHp4WTVLdEVTNCI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQzOiJodHRwczovL21hZHJhc3RpLWRlbW8zLmltcmFuZXNvZnQuY29tL2xvZ2luIjtzOjU6InJvdXRlIjtzOjU6ImxvZ2luIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo0NzoiaHR0cHM6Ly9tYWRyYXN0aS1kZW1vMy5pbXJhbmVzb2Z0LmNvbS9kYXNoYm9hcmQiO319',1767273096);

--
-- Table structure for table `madrasti_d3_settings`
--

CREATE TABLE `madrasti_d3_settings` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `madrasti_d3_settings_key_unique_madrasti_d3` (`key`),
  KEY `settings_key_index_madrasti_d3` (`key`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d3_settings`
--

INSERT INTO `madrasti_d3_settings` VALUES (1,'items_per_page','20','2025-12-16 22:26:28','2025-12-16 22:26:28'),(2,'default_language','ar','2025-12-16 22:26:28','2025-12-16 22:26:28'),(3,'timezone','Africa/Casablanca','2025-12-16 22:26:28','2025-12-16 22:26:28'),(4,'enable_maintenance_mode','false','2025-12-16 22:26:28','2025-12-16 22:26:28'),(5,'backup_retention_days','30','2025-12-16 22:26:28','2025-12-16 22:26:28'),(6,'machine_id','dc921c71e4911d981463a8716e266d28','2025-12-16 22:26:39','2025-12-16 22:26:39'),(8,'trial_start_date','2025-12-27','2025-12-27 11:30:41','2025-12-27 11:30:41');

--
-- Table structure for table `madrasti_d3_student_services`
--

CREATE TABLE `madrasti_d3_student_services` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `student_id` bigint unsigned NOT NULL,
  `service_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `monthly_fee` decimal(10,2) DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `student_services_student_service_unique_madrasti_d3` (`student_id`,`service_type`),
  KEY `student_services_student_id_index_madrasti_d3` (`student_id`),
  KEY `student_services_service_type_index_madrasti_d3` (`service_type`),
  KEY `student_services_is_active_index_madrasti_d3` (`is_active`),
  KEY `student_services_date_range_index_madrasti_d3` (`start_date`,`end_date`),
  CONSTRAINT `madrasti_d3_student_services_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `madrasti_d3_students` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d3_student_services`
--


--
-- Table structure for table `madrasti_d3_students`
--

CREATE TABLE `madrasti_d3_students` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `school_year_id` bigint unsigned DEFAULT NULL,
  `status` enum('active','promoted','repeated','left') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `first_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `first_name_ar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_name_ar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `dob` date NOT NULL,
  `gender` enum('male','female') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `photo_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `national_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `level_id` bigint unsigned NOT NULL,
  `class_id` bigint unsigned NOT NULL,
  `registration_date` date NOT NULL,
  `health_info` json DEFAULT NULL,
  `monthly_fee_override` decimal(10,2) DEFAULT NULL,
  `discount_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `madrasti_d3_students_national_id_unique_madrasti_d3` (`national_id`),
  KEY `students_school_year_id_index_madrasti_d3` (`school_year_id`),
  KEY `students_status_index_madrasti_d3` (`status`),
  KEY `students_level_id_index_madrasti_d3` (`level_id`),
  KEY `students_class_id_index_madrasti_d3` (`class_id`),
  KEY `students_national_id_index_madrasti_d3` (`national_id`),
  KEY `students_school_year_level_index_madrasti_d3` (`school_year_id`,`level_id`),
  KEY `students_school_year_class_index_madrasti_d3` (`school_year_id`,`class_id`),
  KEY `students_level_class_index_madrasti_d3` (`level_id`,`class_id`),
  KEY `students_school_year_status_index_madrasti_d3` (`school_year_id`,`status`),
  CONSTRAINT `madrasti_d3_students_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `madrasti_d3_classes` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `madrasti_d3_students_level_id_foreign` FOREIGN KEY (`level_id`) REFERENCES `madrasti_d3_levels` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `madrasti_d3_students_school_year_id_foreign` FOREIGN KEY (`school_year_id`) REFERENCES `madrasti_d3_school_years` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d3_students`
--


--
-- Table structure for table `madrasti_d3_transfers`
--

CREATE TABLE `madrasti_d3_transfers` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `student_id` bigint unsigned NOT NULL,
  `from_class_id` bigint unsigned NOT NULL,
  `to_class_id` bigint unsigned NOT NULL,
  `date` date NOT NULL,
  `reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `performed_by` bigint unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `transfers_student_id_index_madrasti_d3` (`student_id`),
  KEY `transfers_from_class_id_index_madrasti_d3` (`from_class_id`),
  KEY `transfers_to_class_id_index_madrasti_d3` (`to_class_id`),
  KEY `transfers_performed_by_index_madrasti_d3` (`performed_by`),
  KEY `transfers_date_index_madrasti_d3` (`date`),
  CONSTRAINT `madrasti_d3_transfers_from_class_id_foreign` FOREIGN KEY (`from_class_id`) REFERENCES `madrasti_d3_classes` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `madrasti_d3_transfers_performed_by_foreign` FOREIGN KEY (`performed_by`) REFERENCES `madrasti_d3_users` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `madrasti_d3_transfers_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `madrasti_d3_students` (`id`) ON DELETE CASCADE,
  CONSTRAINT `madrasti_d3_transfers_to_class_id_foreign` FOREIGN KEY (`to_class_id`) REFERENCES `madrasti_d3_classes` (`id`) ON DELETE RESTRICT
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d3_transfers`
--


--
-- Table structure for table `madrasti_d3_treasury_transactions`
--

CREATE TABLE `madrasti_d3_treasury_transactions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `type` enum('income','expense') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `income_type` enum('payment','other') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_id` bigint unsigned DEFAULT NULL,
  `payment_transaction_id` bigint unsigned DEFAULT NULL,
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `method` enum('cash','bank_transfer','check') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'cash',
  `transaction_date` date NOT NULL,
  `reference` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_by` bigint unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `treasury_transactions_type_date_index_madrasti_d3` (`type`,`transaction_date`),
  KEY `treasury_transactions_payment_id_index_madrasti_d3` (`payment_id`),
  KEY `treasury_transactions_payment_transaction_id_index_madrasti_d3` (`payment_transaction_id`),
  KEY `treasury_transactions_created_by_index_madrasti_d3` (`created_by`),
  KEY `treasury_transactions_transaction_date_index_madrasti_d3` (`transaction_date`),
  KEY `treasury_transactions_method_index_madrasti_d3` (`method`),
  KEY `treasury_transactions_type_index_madrasti_d3` (`type`),
  CONSTRAINT `madrasti_d3_treasury_transactions_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `madrasti_d3_users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `madrasti_d3_treasury_transactions_payment_id_foreign` FOREIGN KEY (`payment_id`) REFERENCES `madrasti_d3_payments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `madrasti_d3_treasury_transactions_payment_transaction_id_foreign` FOREIGN KEY (`payment_transaction_id`) REFERENCES `madrasti_d3_payment_transactions` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d3_treasury_transactions`
--


--
-- Table structure for table `madrasti_d3_trial_periods`
--

CREATE TABLE `madrasti_d3_trial_periods` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `duration_days` int NOT NULL DEFAULT '30',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `trial_periods_start_date_index_madrasti_d3` (`start_date`),
  KEY `trial_periods_end_date_index_madrasti_d3` (`end_date`),
  KEY `trial_periods_is_active_index_madrasti_d3` (`is_active`),
  KEY `trial_periods_date_range_index_madrasti_d3` (`start_date`,`end_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d3_trial_periods`
--


--
-- Table structure for table `madrasti_d4_attendances`
--

CREATE TABLE `madrasti_d4_attendances` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `student_id` bigint unsigned NOT NULL,
  `date` date NOT NULL,
  `status` enum('present','absent','late') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `period` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `notified` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `attendances_student_date_period_unique_madrasti_d4` (`student_id`,`date`,`period`),
  KEY `attendances_student_date_index_madrasti_d4` (`student_id`,`date`),
  KEY `attendances_date_index_madrasti_d4` (`date`),
  KEY `attendances_status_index_madrasti_d4` (`status`),
  KEY `attendances_notified_index_madrasti_d4` (`notified`),
  CONSTRAINT `madrasti_d4_attendances_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `madrasti_d4_students` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_attendances`
--


--
-- Table structure for table `madrasti_d4_backups`
--

CREATE TABLE `madrasti_d4_backups` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `file_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `file_size` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` enum('full','database','files') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'full',
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_by` bigint unsigned DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `backups_file_path_unique_madrasti_d4` (`file_path`),
  KEY `backups_type_index_madrasti_d4` (`type`),
  KEY `backups_created_by_index_madrasti_d4` (`created_by`),
  KEY `backups_completed_at_index_madrasti_d4` (`completed_at`),
  CONSTRAINT `madrasti_d4_backups_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `madrasti_d4_users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_backups`
--


--
-- Table structure for table `madrasti_d4_cache`
--

CREATE TABLE `madrasti_d4_cache` (
  `key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `expiration` int NOT NULL,
  PRIMARY KEY (`key`),
  KEY `cache_expiration_index_madrasti_d4` (`expiration`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_cache`
--

INSERT INTO `madrasti_d4_cache` VALUES ('madrasti-cache-setting.machine_id','s:32:\"dc921c71e4911d981463a8716e266d28\";',1765931199),('madrasti-cache-spatie.permission.cache','a:3:{s:5:\"alias\";a:4:{s:1:\"a\";s:2:\"id\";s:1:\"b\";s:4:\"name\";s:1:\"c\";s:10:\"guard_name\";s:1:\"r\";s:5:\"roles\";}s:11:\"permissions\";a:66:{i:0;a:4:{s:1:\"a\";i:1;s:1:\"b\";s:14:\"dashboard.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:6:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;}}i:1;a:4:{s:1:\"a\";i:2;s:1:\"b\";s:12:\"profile.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:6:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;}}i:2;a:4:{s:1:\"a\";i:3;s:1:\"b\";s:14:\"profile.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:6:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;}}i:3;a:4:{s:1:\"a\";i:4;s:1:\"b\";s:23:\"profile.change_password\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:6:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;}}i:4;a:4:{s:1:\"a\";i:5;s:1:\"b\";s:13:\"students.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:6:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;}}i:5;a:4:{s:1:\"a\";i:6;s:1:\"b\";s:15:\"students.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:4:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:6;}}i:6;a:4:{s:1:\"a\";i:7;s:1:\"b\";s:15:\"students.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:4:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:6;}}i:7;a:4:{s:1:\"a\";i:8;s:1:\"b\";s:15:\"students.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:8;a:4:{s:1:\"a\";i:9;s:1:\"b\";s:15:\"students.import\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:9;a:4:{s:1:\"a\";i:10;s:1:\"b\";s:15:\"students.export\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:10;a:4:{s:1:\"a\";i:11;s:1:\"b\";s:14:\"guardians.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:6;}}i:11;a:4:{s:1:\"a\";i:12;s:1:\"b\";s:16:\"guardians.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:4:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:6;}}i:12;a:4:{s:1:\"a\";i:13;s:1:\"b\";s:16:\"guardians.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:4:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:6;}}i:13;a:4:{s:1:\"a\";i:14;s:1:\"b\";s:16:\"guardians.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:14;a:4:{s:1:\"a\";i:15;s:1:\"b\";s:13:\"payments.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:4;}}i:15;a:4:{s:1:\"a\";i:16;s:1:\"b\";s:15:\"payments.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:4;}}i:16;a:4:{s:1:\"a\";i:17;s:1:\"b\";s:15:\"payments.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:4;}}i:17;a:4:{s:1:\"a\";i:18;s:1:\"b\";s:15:\"payments.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:18;a:4:{s:1:\"a\";i:19;s:1:\"b\";s:16:\"payments.receipt\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:4;}}i:19;a:4:{s:1:\"a\";i:20;s:1:\"b\";s:16:\"payments.overdue\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:4;}}i:20;a:4:{s:1:\"a\";i:21;s:1:\"b\";s:15:\"attendance.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:5;i:4;i:6;}}i:21;a:4:{s:1:\"a\";i:22;s:1:\"b\";s:15:\"attendance.mark\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:5;i:4;i:6;}}i:22;a:4:{s:1:\"a\";i:23;s:1:\"b\";s:17:\"attendance.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:6;}}i:23;a:4:{s:1:\"a\";i:24;s:1:\"b\";s:17:\"attendance.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:24;a:4:{s:1:\"a\";i:25;s:1:\"b\";s:11:\"levels.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}}i:25;a:4:{s:1:\"a\";i:26;s:1:\"b\";s:13:\"levels.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:26;a:4:{s:1:\"a\";i:27;s:1:\"b\";s:13:\"levels.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:27;a:4:{s:1:\"a\";i:28;s:1:\"b\";s:13:\"levels.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:28;a:4:{s:1:\"a\";i:29;s:1:\"b\";s:12:\"classes.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:5;i:4;i:6;}}i:29;a:4:{s:1:\"a\";i:30;s:1:\"b\";s:14:\"classes.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}}i:30;a:4:{s:1:\"a\";i:31;s:1:\"b\";s:14:\"classes.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}}i:31;a:4:{s:1:\"a\";i:32;s:1:\"b\";s:14:\"classes.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:32;a:4:{s:1:\"a\";i:33;s:1:\"b\";s:12:\"reports.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:6;}}i:33;a:4:{s:1:\"a\";i:34;s:1:\"b\";s:16:\"reports.students\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:4:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:6;}}i:34;a:4:{s:1:\"a\";i:35;s:1:\"b\";s:18:\"reports.attendance\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:4:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:6;}}i:35;a:4:{s:1:\"a\";i:36;s:1:\"b\";s:17:\"reports.financial\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:4;}}i:36;a:4:{s:1:\"a\";i:37;s:1:\"b\";s:14:\"reports.export\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:4;}}i:37;a:4:{s:1:\"a\";i:38;s:1:\"b\";s:13:\"settings.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:38;a:4:{s:1:\"a\";i:39;s:1:\"b\";s:15:\"settings.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:39;a:4:{s:1:\"a\";i:40;s:1:\"b\";s:20:\"settings.upload_logo\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:40;a:4:{s:1:\"a\";i:41;s:1:\"b\";s:10:\"users.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:41;a:4:{s:1:\"a\";i:42;s:1:\"b\";s:12:\"users.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:42;a:4:{s:1:\"a\";i:43;s:1:\"b\";s:12:\"users.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:43;a:4:{s:1:\"a\";i:44;s:1:\"b\";s:12:\"users.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:44;a:4:{s:1:\"a\";i:45;s:1:\"b\";s:20:\"users.reset_password\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:45;a:4:{s:1:\"a\";i:46;s:1:\"b\";s:12:\"users.manage\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:46;a:4:{s:1:\"a\";i:47;s:1:\"b\";s:16:\"permissions.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:47;a:4:{s:1:\"a\";i:48;s:1:\"b\";s:18:\"permissions.manage\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:48;a:4:{s:1:\"a\";i:49;s:1:\"b\";s:24:\"permissions.roles.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:49;a:4:{s:1:\"a\";i:50;s:1:\"b\";s:24:\"permissions.roles.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:50;a:4:{s:1:\"a\";i:51;s:1:\"b\";s:24:\"permissions.roles.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:51;a:4:{s:1:\"a\";i:52;s:1:\"b\";s:30:\"permissions.permissions.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:52;a:4:{s:1:\"a\";i:53;s:1:\"b\";s:30:\"permissions.permissions.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:53;a:4:{s:1:\"a\";i:54;s:1:\"b\";s:12:\"backups.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:54;a:4:{s:1:\"a\";i:55;s:1:\"b\";s:14:\"backups.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:55;a:4:{s:1:\"a\";i:56;s:1:\"b\";s:16:\"backups.download\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:56;a:4:{s:1:\"a\";i:57;s:1:\"b\";s:14:\"backups.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:57;a:4:{s:1:\"a\";i:58;s:1:\"b\";s:15:\"backups.restore\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:58;a:4:{s:1:\"a\";i:59;s:1:\"b\";s:12:\"storage.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:59;a:4:{s:1:\"a\";i:60;s:1:\"b\";s:14:\"storage.upload\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:60;a:4:{s:1:\"a\";i:61;s:1:\"b\";s:14:\"storage.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:61;a:4:{s:1:\"a\";i:62;s:1:\"b\";s:16:\"storage.download\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:62;a:4:{s:1:\"a\";i:63;s:1:\"b\";s:18:\"trial-periods.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:63;a:4:{s:1:\"a\";i:64;s:1:\"b\";s:20:\"trial-periods.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:64;a:4:{s:1:\"a\";i:65;s:1:\"b\";s:20:\"trial-periods.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:65;a:4:{s:1:\"a\";i:66;s:1:\"b\";s:20:\"trial-periods.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}}s:5:\"roles\";a:6:{i:0;a:3:{s:1:\"a\";i:1;s:1:\"b\";s:11:\"Super Admin\";s:1:\"c\";s:3:\"web\";}i:1;a:3:{s:1:\"a\";i:2;s:1:\"b\";s:5:\"Admin\";s:1:\"c\";s:3:\"web\";}i:2;a:3:{s:1:\"a\";i:3;s:1:\"b\";s:7:\"Manager\";s:1:\"c\";s:3:\"web\";}i:3;a:3:{s:1:\"a\";i:4;s:1:\"b\";s:10:\"Accountant\";s:1:\"c\";s:3:\"web\";}i:4;a:3:{s:1:\"a\";i:5;s:1:\"b\";s:7:\"Teacher\";s:1:\"c\";s:3:\"web\";}i:5;a:3:{s:1:\"a\";i:6;s:1:\"b\";s:32:\"مشرف على التلاميذ\";s:1:\"c\";s:3:\"web\";}}}',1766014000);

--
-- Table structure for table `madrasti_d4_cache_locks`
--

CREATE TABLE `madrasti_d4_cache_locks` (
  `key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `owner` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `expiration` int NOT NULL,
  PRIMARY KEY (`key`),
  KEY `cache_locks_expiration_index_madrasti_d4` (`expiration`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_cache_locks`
--


--
-- Table structure for table `madrasti_d4_classes`
--

CREATE TABLE `madrasti_d4_classes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `school_year_id` bigint unsigned DEFAULT NULL,
  `level_id` bigint unsigned NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `capacity` int NOT NULL DEFAULT '30',
  `teacher_id` bigint unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `classes_school_year_level_name_unique_madrasti_d4` (`school_year_id`,`level_id`,`name`),
  KEY `classes_school_year_id_index_madrasti_d4` (`school_year_id`),
  KEY `classes_level_id_index_madrasti_d4` (`level_id`),
  KEY `classes_teacher_id_index_madrasti_d4` (`teacher_id`),
  KEY `classes_school_year_level_index_madrasti_d4` (`school_year_id`,`level_id`),
  KEY `classes_level_name_index_madrasti_d4` (`level_id`,`name`),
  CONSTRAINT `madrasti_d4_classes_level_id_foreign` FOREIGN KEY (`level_id`) REFERENCES `madrasti_d4_levels` (`id`) ON DELETE CASCADE,
  CONSTRAINT `madrasti_d4_classes_school_year_id_foreign` FOREIGN KEY (`school_year_id`) REFERENCES `madrasti_d4_school_years` (`id`) ON DELETE CASCADE,
  CONSTRAINT `madrasti_d4_classes_teacher_id_foreign` FOREIGN KEY (`teacher_id`) REFERENCES `madrasti_d4_users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_classes`
--

INSERT INTO `madrasti_d4_classes` VALUES (1,NULL,1,'PS-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(2,NULL,1,'PS-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(3,NULL,2,'MS-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(4,NULL,2,'MS-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(5,NULL,3,'GS-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(6,NULL,3,'GS-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(7,NULL,4,'1APG-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(8,NULL,4,'1APG-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(9,NULL,5,'2APG-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(10,NULL,5,'2APG-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(11,NULL,6,'3APG-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(12,NULL,6,'3APG-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(13,NULL,7,'4APG-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(14,NULL,7,'4APG-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(15,NULL,8,'5APG-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(16,NULL,8,'5APG-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(17,NULL,9,'6APG-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(18,NULL,9,'6APG-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(19,NULL,10,'1AC-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(20,NULL,10,'1AC-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(21,NULL,11,'2AC-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(22,NULL,11,'2AC-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(23,NULL,12,'3AC-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(24,NULL,12,'3AC-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28');

--
-- Table structure for table `madrasti_d4_failed_jobs`
--

CREATE TABLE `madrasti_d4_failed_jobs` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `uuid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `connection` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `queue` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `exception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `madrasti_d4_failed_jobs_uuid_unique_madrasti_d4` (`uuid`),
  KEY `failed_jobs_uuid_index_madrasti_d4` (`uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_failed_jobs`
--


--
-- Table structure for table `madrasti_d4_forbidden_items`
--

CREATE TABLE `madrasti_d4_forbidden_items` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `student_id` bigint unsigned NOT NULL,
  `type` enum('food','medicine') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `forbidden_items_student_id_index_madrasti_d4` (`student_id`),
  KEY `forbidden_items_type_index_madrasti_d4` (`type`),
  KEY `forbidden_items_student_type_index_madrasti_d4` (`student_id`,`type`),
  CONSTRAINT `madrasti_d4_forbidden_items_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `madrasti_d4_students` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_forbidden_items`
--


--
-- Table structure for table `madrasti_d4_guardian_student`
--

CREATE TABLE `madrasti_d4_guardian_student` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `guardian_id` bigint unsigned NOT NULL,
  `student_id` bigint unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `guardian_student_guardian_student_unique_madrasti_d4` (`guardian_id`,`student_id`),
  KEY `guardian_student_guardian_id_index_madrasti_d4` (`guardian_id`),
  KEY `guardian_student_student_id_index_madrasti_d4` (`student_id`),
  CONSTRAINT `madrasti_d4_guardian_student_guardian_id_foreign` FOREIGN KEY (`guardian_id`) REFERENCES `madrasti_d4_guardians` (`id`) ON DELETE CASCADE,
  CONSTRAINT `madrasti_d4_guardian_student_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `madrasti_d4_students` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_guardian_student`
--


--
-- Table structure for table `madrasti_d4_guardians`
--

CREATE TABLE `madrasti_d4_guardians` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `relationship` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `allowed_to_pickup` tinyint(1) NOT NULL DEFAULT '1',
  `photo_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `guardians_phone_index_madrasti_d4` (`phone`),
  KEY `guardians_email_index_madrasti_d4` (`email`),
  KEY `guardians_relationship_index_madrasti_d4` (`relationship`),
  KEY `guardians_allowed_to_pickup_index_madrasti_d4` (`allowed_to_pickup`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_guardians`
--


--
-- Table structure for table `madrasti_d4_job_batches`
--

CREATE TABLE `madrasti_d4_job_batches` (
  `id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_jobs` int NOT NULL,
  `pending_jobs` int NOT NULL,
  `failed_jobs` int NOT NULL,
  `failed_job_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `options` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `cancelled_at` int DEFAULT NULL,
  `created_at` int NOT NULL,
  `finished_at` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `job_batches_cancelled_at_index_madrasti_d4` (`cancelled_at`),
  KEY `job_batches_created_at_index_madrasti_d4` (`created_at`),
  KEY `job_batches_finished_at_index_madrasti_d4` (`finished_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_job_batches`
--


--
-- Table structure for table `madrasti_d4_jobs`
--

CREATE TABLE `madrasti_d4_jobs` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `queue` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `attempts` tinyint unsigned NOT NULL,
  `reserved_at` int unsigned DEFAULT NULL,
  `available_at` int unsigned NOT NULL,
  `created_at` int unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `jobs_queue_index_madrasti_d4` (`queue`),
  KEY `jobs_reserved_at_index_madrasti_d4` (`reserved_at`),
  KEY `jobs_available_at_index_madrasti_d4` (`available_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_jobs`
--


--
-- Table structure for table `madrasti_d4_level_payment_type`
--

CREATE TABLE `madrasti_d4_level_payment_type` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `level_id` bigint unsigned NOT NULL,
  `payment_type_id` bigint unsigned NOT NULL,
  `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `level_payment_type_level_payment_unique_madrasti_d4` (`level_id`,`payment_type_id`),
  KEY `level_payment_type_level_id_index_madrasti_d4` (`level_id`),
  KEY `level_payment_type_payment_type_id_index_madrasti_d4` (`payment_type_id`),
  CONSTRAINT `madrasti_d4_level_payment_type_level_id_foreign` FOREIGN KEY (`level_id`) REFERENCES `madrasti_d4_levels` (`id`) ON DELETE CASCADE,
  CONSTRAINT `madrasti_d4_level_payment_type_payment_type_id_foreign` FOREIGN KEY (`payment_type_id`) REFERENCES `madrasti_d4_payment_types` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_level_payment_type`
--


--
-- Table structure for table `madrasti_d4_levels`
--

CREATE TABLE `madrasti_d4_levels` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `school_year_id` bigint unsigned DEFAULT NULL,
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sort_order` int NOT NULL DEFAULT '0',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `monthly_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `cafeteria_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `transportation_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `private_lessons_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `insurance_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `schooling_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `nursery_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `madrasti_d4_levels_code_unique_madrasti_d4` (`code`),
  KEY `levels_school_year_id_index_madrasti_d4` (`school_year_id`),
  KEY `levels_code_index_madrasti_d4` (`code`),
  KEY `levels_sort_order_index_madrasti_d4` (`sort_order`),
  KEY `levels_school_year_sort_order_index_madrasti_d4` (`school_year_id`,`sort_order`),
  CONSTRAINT `madrasti_d4_levels_school_year_id_foreign` FOREIGN KEY (`school_year_id`) REFERENCES `madrasti_d4_school_years` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_levels`
--

INSERT INTO `madrasti_d4_levels` VALUES (1,NULL,'PS',1,'Petite Section',400.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(2,NULL,'MS',2,'Moyenne Section',450.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(3,NULL,'GS',3,'Grande Section',500.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(4,NULL,'1APG',5,'1ère Année Primaire',550.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(5,NULL,'2APG',6,'2ème Année Primaire',600.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(6,NULL,'3APG',7,'3ème Année Primaire',650.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(7,NULL,'4APG',8,'4ème Année Primaire',700.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(8,NULL,'5APG',9,'5ème Année Primaire',750.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(9,NULL,'6APG',10,'6ème Année Primaire',800.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(10,NULL,'1AC',11,'1ère Année Collège',850.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(11,NULL,'2AC',12,'2ème Année Collège',900.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(12,NULL,'3AC',13,'3ème Année Collège',950.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28');

--
-- Table structure for table `madrasti_d4_migrations`
--

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

--
-- Dumping data for table `madrasti_d4_migrations`
--

INSERT INTO `madrasti_d4_migrations` VALUES (1,'0001_01_01_000000_create_migrations_table',1),(2,'2025_12_13_000001_create_users_table',1),(3,'2025_12_13_000002_create_cache_table',1),(4,'2025_12_13_000003_create_jobs_table',1),(5,'2025_12_13_000004_create_permission_tables',1),(6,'2025_12_13_000005_create_school_years_table',1),(7,'2025_12_13_000006_create_levels_table',1),(8,'2025_12_13_000007_create_classes_table',1),(9,'2025_12_13_000008_create_students_table',1),(10,'2025_12_13_000009_create_guardians_table',1),(11,'2025_12_13_000010_create_guardian_student_table',1),(12,'2025_12_13_000011_create_school_settings_table',1),(13,'2025_12_13_000012_create_settings_table',1),(14,'2025_12_13_000013_create_attendances_table',1),(15,'2025_12_13_000014_create_payments_table',1),(16,'2025_12_13_000015_create_payment_components_table',1),(17,'2025_12_13_000016_create_payment_transactions_table',1),(18,'2025_12_13_000017_create_transfers_table',1),(19,'2025_12_13_000018_create_notifications_log_table',1),(20,'2025_12_13_000019_create_trial_periods_table',1),(21,'2025_12_13_000020_create_backups_table',1),(22,'2025_12_13_000021_create_payment_types_table',1),(23,'2025_12_13_000022_create_level_payment_type_table',1),(24,'2025_12_13_000023_create_treasury_transactions_table',1),(25,'2025_12_13_000024_create_forbidden_items_table',1),(26,'2025_12_13_000025_create_student_services_table',1);

--
-- Table structure for table `madrasti_d4_model_has_permissions`
--

CREATE TABLE `madrasti_d4_model_has_permissions` (
  `permission_id` bigint unsigned NOT NULL,
  `model_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint unsigned NOT NULL,
  PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  KEY `model_has_permissions_model_id_model_type_index_madrasti_d4` (`model_id`,`model_type`),
  CONSTRAINT `madrasti_d4_model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `madrasti_d4_permissions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_model_has_permissions`
--


--
-- Table structure for table `madrasti_d4_model_has_roles`
--

CREATE TABLE `madrasti_d4_model_has_roles` (
  `role_id` bigint unsigned NOT NULL,
  `model_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint unsigned NOT NULL,
  PRIMARY KEY (`role_id`,`model_id`,`model_type`),
  KEY `model_has_roles_model_id_model_type_index_madrasti_d4` (`model_id`,`model_type`),
  CONSTRAINT `madrasti_d4_model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `madrasti_d4_roles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_model_has_roles`
--

INSERT INTO `madrasti_d4_model_has_roles` VALUES (1,'App\\Models\\User',1),(2,'App\\Models\\User',2),(3,'App\\Models\\User',3),(4,'App\\Models\\User',4);

--
-- Table structure for table `madrasti_d4_notifications_log`
--

CREATE TABLE `madrasti_d4_notifications_log` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `student_id` bigint unsigned NOT NULL,
  `guardian_id` bigint unsigned DEFAULT NULL,
  `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `channel` enum('email','sms','both') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sent_at` timestamp NULL DEFAULT NULL,
  `status` enum('pending','sent','failed') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `error_message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `madrasti_d4_notifications_log_guardian_id_foreign` (`guardian_id`),
  KEY `notifications_log_student_guardian_index_madrasti_d4` (`student_id`,`guardian_id`),
  KEY `notifications_log_status_index_madrasti_d4` (`status`),
  KEY `notifications_log_sent_at_index_madrasti_d4` (`sent_at`),
  KEY `notifications_log_type_index_madrasti_d4` (`type`),
  KEY `notifications_log_channel_index_madrasti_d4` (`channel`),
  CONSTRAINT `madrasti_d4_notifications_log_guardian_id_foreign` FOREIGN KEY (`guardian_id`) REFERENCES `madrasti_d4_guardians` (`id`) ON DELETE SET NULL,
  CONSTRAINT `madrasti_d4_notifications_log_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `madrasti_d4_students` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_notifications_log`
--


--
-- Table structure for table `madrasti_d4_password_reset_tokens`
--

CREATE TABLE `madrasti_d4_password_reset_tokens` (
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`email`),
  KEY `password_reset_tokens_email_index_madrasti_d4` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_password_reset_tokens`
--


--
-- Table structure for table `madrasti_d4_payment_components`
--

CREATE TABLE `madrasti_d4_payment_components` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `payment_id` bigint unsigned NOT NULL,
  `component_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount_due` decimal(10,2) NOT NULL,
  `amount_paid` decimal(10,2) NOT NULL DEFAULT '0.00',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payment_components_payment_id_index_madrasti_d4` (`payment_id`),
  KEY `payment_components_component_type_index_madrasti_d4` (`component_type`),
  CONSTRAINT `madrasti_d4_payment_components_payment_id_foreign` FOREIGN KEY (`payment_id`) REFERENCES `madrasti_d4_payments` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_payment_components`
--


--
-- Table structure for table `madrasti_d4_payment_transactions`
--

CREATE TABLE `madrasti_d4_payment_transactions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `payment_id` bigint unsigned NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `method` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'cash',
  `transaction_date` date NOT NULL,
  `receipt_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `receipt_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `madrasti_d4_payment_transactions_receipt_number_unique` (`receipt_number`),
  KEY `payment_transactions_payment_id_index_madrasti_d4` (`payment_id`),
  KEY `payment_transactions_receipt_number_index_madrasti_d4` (`receipt_number`),
  KEY `payment_transactions_transaction_date_index_madrasti_d4` (`transaction_date`),
  KEY `payment_transactions_method_index_madrasti_d4` (`method`),
  CONSTRAINT `madrasti_d4_payment_transactions_payment_id_foreign` FOREIGN KEY (`payment_id`) REFERENCES `madrasti_d4_payments` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_payment_transactions`
--


--
-- Table structure for table `madrasti_d4_payment_types`
--

CREATE TABLE `madrasti_d4_payment_types` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name_ar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `payment_types_name_unique_madrasti_d4` (`name`),
  UNIQUE KEY `payment_types_code_unique_madrasti_d4` (`code`),
  UNIQUE KEY `madrasti_d4_payment_types_name_unique_madrasti_d4` (`name`),
  UNIQUE KEY `madrasti_d4_payment_types_code_unique_madrasti_d4` (`code`),
  KEY `payment_types_is_active_index_madrasti_d4` (`is_active`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_payment_types`
--


--
-- Table structure for table `madrasti_d4_payments`
--

CREATE TABLE `madrasti_d4_payments` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `school_year_id` bigint unsigned DEFAULT NULL,
  `student_id` bigint unsigned NOT NULL,
  `guardian_id` bigint unsigned DEFAULT NULL,
  `type` enum('monthly','registration','insurance','other') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `month` int DEFAULT NULL,
  `year` int DEFAULT NULL,
  `amount_due` decimal(10,2) NOT NULL,
  `amount_paid` decimal(10,2) NOT NULL DEFAULT '0.00',
  `due_date` date NOT NULL,
  `status` enum('paid','partial','unpaid') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'unpaid',
  `reference` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `invoice_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `madrasti_d4_payments_invoice_number_unique_madrasti_d4` (`invoice_number`),
  KEY `payments_school_year_id_index_madrasti_d4` (`school_year_id`),
  KEY `payments_student_id_index_madrasti_d4` (`student_id`),
  KEY `payments_guardian_id_index_madrasti_d4` (`guardian_id`),
  KEY `payments_student_status_index_madrasti_d4` (`student_id`,`status`),
  KEY `payments_due_date_index_madrasti_d4` (`due_date`),
  KEY `payments_status_index_madrasti_d4` (`status`),
  KEY `payments_type_index_madrasti_d4` (`type`),
  KEY `payments_month_year_index_madrasti_d4` (`month`,`year`),
  KEY `payments_invoice_number_index_madrasti_d4` (`invoice_number`),
  CONSTRAINT `madrasti_d4_payments_guardian_id_foreign` FOREIGN KEY (`guardian_id`) REFERENCES `madrasti_d4_guardians` (`id`) ON DELETE SET NULL,
  CONSTRAINT `madrasti_d4_payments_school_year_id_foreign` FOREIGN KEY (`school_year_id`) REFERENCES `madrasti_d4_school_years` (`id`) ON DELETE CASCADE,
  CONSTRAINT `madrasti_d4_payments_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `madrasti_d4_students` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_payments`
--


--
-- Table structure for table `madrasti_d4_permissions`
--

CREATE TABLE `madrasti_d4_permissions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `permissions_name_guard_name_unique_madrasti_d4` (`name`,`guard_name`),
  KEY `permissions_guard_name_index_madrasti_d4` (`guard_name`)
) ENGINE=InnoDB AUTO_INCREMENT=67 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_permissions`
--

INSERT INTO `madrasti_d4_permissions` VALUES (1,'dashboard.view','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(2,'profile.view','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(3,'profile.update','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(4,'profile.change_password','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(5,'students.view','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(6,'students.create','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(7,'students.update','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(8,'students.delete','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(9,'students.import','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(10,'students.export','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(11,'guardians.view','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(12,'guardians.create','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(13,'guardians.update','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(14,'guardians.delete','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(15,'payments.view','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(16,'payments.create','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(17,'payments.update','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(18,'payments.delete','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(19,'payments.receipt','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(20,'payments.overdue','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(21,'attendance.view','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(22,'attendance.mark','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(23,'attendance.update','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(24,'attendance.delete','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(25,'levels.view','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(26,'levels.create','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(27,'levels.update','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(28,'levels.delete','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(29,'classes.view','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(30,'classes.create','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(31,'classes.update','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(32,'classes.delete','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(33,'reports.view','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(34,'reports.students','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(35,'reports.attendance','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(36,'reports.financial','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(37,'reports.export','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(38,'settings.view','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(39,'settings.update','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(40,'settings.upload_logo','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(41,'users.view','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(42,'users.create','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(43,'users.update','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(44,'users.delete','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(45,'users.reset_password','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(46,'users.manage','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(47,'permissions.view','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(48,'permissions.manage','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(49,'permissions.roles.create','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(50,'permissions.roles.update','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(51,'permissions.roles.delete','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(52,'permissions.permissions.create','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(53,'permissions.permissions.delete','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(54,'backups.view','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(55,'backups.create','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(56,'backups.download','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(57,'backups.delete','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(58,'backups.restore','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(59,'storage.view','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(60,'storage.upload','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(61,'storage.delete','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(62,'storage.download','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(63,'trial-periods.view','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(64,'trial-periods.create','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(65,'trial-periods.update','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(66,'trial-periods.delete','web','2025-12-16 22:26:27','2025-12-16 22:26:27');

--
-- Table structure for table `madrasti_d4_role_has_permissions`
--

CREATE TABLE `madrasti_d4_role_has_permissions` (
  `permission_id` bigint unsigned NOT NULL,
  `role_id` bigint unsigned NOT NULL,
  PRIMARY KEY (`permission_id`,`role_id`),
  KEY `role_has_permissions_role_id_foreign` (`role_id`),
  CONSTRAINT `madrasti_d4_role_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `madrasti_d4_permissions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `madrasti_d4_role_has_permissions_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `madrasti_d4_roles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_role_has_permissions`
--

INSERT INTO `madrasti_d4_role_has_permissions` VALUES (1,1),(2,1),(3,1),(4,1),(5,1),(6,1),(7,1),(8,1),(9,1),(10,1),(11,1),(12,1),(13,1),(14,1),(15,1),(16,1),(17,1),(18,1),(19,1),(20,1),(21,1),(22,1),(23,1),(24,1),(25,1),(26,1),(27,1),(28,1),(29,1),(30,1),(31,1),(32,1),(33,1),(34,1),(35,1),(36,1),(37,1),(38,1),(39,1),(40,1),(41,1),(42,1),(43,1),(44,1),(45,1),(46,1),(47,1),(48,1),(49,1),(50,1),(51,1),(52,1),(53,1),(54,1),(55,1),(56,1),(57,1),(58,1),(59,1),(60,1),(61,1),(62,1),(63,1),(64,1),(65,1),(66,1),(1,2),(2,2),(3,2),(4,2),(5,2),(6,2),(7,2),(8,2),(9,2),(10,2),(11,2),(12,2),(13,2),(14,2),(15,2),(16,2),(17,2),(18,2),(19,2),(20,2),(21,2),(22,2),(23,2),(24,2),(25,2),(26,2),(27,2),(28,2),(29,2),(30,2),(31,2),(32,2),(33,2),(34,2),(35,2),(36,2),(37,2),(38,2),(39,2),(40,2),(54,2),(55,2),(56,2),(57,2),(58,2),(59,2),(60,2),(61,2),(62,2),(63,2),(64,2),(65,2),(66,2),(1,3),(2,3),(3,3),(4,3),(5,3),(6,3),(7,3),(11,3),(12,3),(13,3),(21,3),(22,3),(25,3),(29,3),(30,3),(31,3),(33,3),(34,3),(35,3),(1,4),(2,4),(3,4),(4,4),(5,4),(11,4),(15,4),(16,4),(17,4),(19,4),(20,4),(33,4),(36,4),(37,4),(1,5),(2,5),(3,5),(4,5),(5,5),(21,5),(22,5),(29,5),(1,6),(2,6),(3,6),(4,6),(5,6),(6,6),(7,6),(11,6),(12,6),(13,6),(21,6),(22,6),(23,6),(29,6),(33,6),(34,6),(35,6);

--
-- Table structure for table `madrasti_d4_roles`
--

CREATE TABLE `madrasti_d4_roles` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `guard_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `roles_name_guard_name_unique_madrasti_d4` (`name`,`guard_name`),
  KEY `roles_guard_name_index_madrasti_d4` (`guard_name`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_roles`
--

INSERT INTO `madrasti_d4_roles` VALUES (1,'Super Admin','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(2,'Admin','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(3,'Manager','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(4,'Accountant','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(5,'Teacher','web','2025-12-16 22:26:27','2025-12-16 22:26:27'),(6,'مشرف على التلاميذ','web','2025-12-16 22:26:27','2025-12-16 22:26:27');

--
-- Table structure for table `madrasti_d4_school_settings`
--

CREATE TABLE `madrasti_d4_school_settings` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `school_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `school_name_ar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `logo_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `monthly_payment_day` int NOT NULL DEFAULT '1',
  `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `website` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `default_language` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'en',
  `timezone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'Africa/Casablanca',
  `enable_email_notifications` tinyint(1) NOT NULL DEFAULT '1',
  `enable_sms_notifications` tinyint(1) NOT NULL DEFAULT '0',
  `notify_on_absence` tinyint(1) NOT NULL DEFAULT '1',
  `notify_on_late` tinyint(1) NOT NULL DEFAULT '1',
  `notify_on_payment_due` tinyint(1) NOT NULL DEFAULT '1',
  `notify_on_overdue_payment` tinyint(1) NOT NULL DEFAULT '1',
  `auto_generate_monthly_payments` tinyint(1) NOT NULL DEFAULT '0',
  `payment_reminder_days_before` int NOT NULL DEFAULT '3',
  `overdue_reminder_days` int NOT NULL DEFAULT '7',
  `items_per_page` int NOT NULL DEFAULT '20',
  `show_student_photos` tinyint(1) NOT NULL DEFAULT '1',
  `show_guardian_photos` tinyint(1) NOT NULL DEFAULT '1',
  `tax_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `registration_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `school_settings_default_language_index_madrasti_d4` (`default_language`),
  KEY `school_settings_email_notifications_index_madrasti_d4` (`enable_email_notifications`),
  KEY `school_settings_auto_generate_payments_index_madrasti_d4` (`auto_generate_monthly_payments`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_school_settings`
--

INSERT INTO `madrasti_d4_school_settings` VALUES (1,'Madrasti','مدرستي','school/xMkqoV9xTG6k7mPKMPKOj8m29cPar9By7Uz50bE5.png',1,NULL,NULL,NULL,NULL,'ar','Africa/Casablanca',1,0,1,1,1,1,0,3,7,20,1,1,NULL,NULL,NULL,'2025-12-16 22:26:26','2025-12-16 22:26:28');

--
-- Table structure for table `madrasti_d4_school_years`
--

CREATE TABLE `madrasti_d4_school_years` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `school_years_name_unique_madrasti_d4` (`name`),
  KEY `school_years_is_active_index_madrasti_d4` (`is_active`),
  KEY `school_years_date_range_index_madrasti_d4` (`start_date`,`end_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_school_years`
--


--
-- Table structure for table `madrasti_d4_sessions`
--

CREATE TABLE `madrasti_d4_sessions` (
  `id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_id` bigint unsigned DEFAULT NULL,
  `ip_address` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `user_agent` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_activity` int NOT NULL,
  PRIMARY KEY (`id`),
  KEY `sessions_user_id_index_madrasti_d4` (`user_id`),
  KEY `sessions_last_activity_index_madrasti_d4` (`last_activity`),
  CONSTRAINT `madrasti_d4_sessions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `madrasti_d4_users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_sessions`
--

INSERT INTO `madrasti_d4_sessions` VALUES ('0nmg1WWeZEdpXFMl4kZdcpHHXoAsZjpxh0snp1T2',NULL,'34.218.229.140','Mozilla/5.0 (X11; Linux i686; rv:124.0) Gecko/20100101 Firefox/124.0','YTo0OntzOjY6Il90b2tlbiI7czo0MDoiVzNhbko3UzI4MnQweGY5Nmx4b202bTBQc1Q3enkzQklTemM4d2k2ayI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjM3OiJodHRwczovL21hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tIjtzOjU6InJvdXRlIjtzOjI3OiJnZW5lcmF0ZWQ6OmxBRFBnS0JCc3dTWnV4c0UiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1766653294),('14lCJoal8FDKDN49shCVbg6vpOjVvsnb7F6liTc2',NULL,'66.132.153.124','Mozilla/5.0 (compatible; CensysInspect/1.1; +https://about.censys.io/)','YTo0OntzOjY6Il90b2tlbiI7czo0MDoibVNsM0xiY1o4blRMamNmY2xjemVkalhmc0kxYUtRYXJVbXFMMHk1cSI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQxOiJodHRwczovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbSI7czo1OiJyb3V0ZSI7czoyNzoiZ2VuZXJhdGVkOjpsQURQZ0tCQnN3U1p1eHNFIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1766683418),('4xQgk84aCtBfjxjW78QkDSj9goMyJ0OoenAGGBj2',NULL,'162.142.125.210','Mozilla/5.0 (compatible; CensysInspect/1.1; +https://about.censys.io/)','YTo0OntzOjY6Il90b2tlbiI7czo0MDoiR2hINGhYTWhMYVRMbUE5dDZWWUROQ2dQWHhPTE1XNlJ2cGg3Y0pLciI7czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo1MDoiaHR0cDovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9kYXNoYm9hcmQiO31zOjk6Il9wcmV2aW91cyI7YToyOntzOjM6InVybCI7czo1MDoiaHR0cDovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9kYXNoYm9hcmQiO3M6NToicm91dGUiO3M6OToiZGFzaGJvYXJkIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1766683756),('59PLkGLNrEVUC44qpHnQzWt813pwHAjrNYYR40d9',NULL,'149.57.180.27','Mozilla/5.0 (X11; Linux i686; rv:109.0) Gecko/20100101 Firefox/120.0','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiWGVpeDhuQWFmaUlXRklzMHh2blpaUjUweUFRUkkyN1NYQkp1Mm40TCI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQ3OiJodHRwczovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9sb2dpbiI7czo1OiJyb3V0ZSI7czo1OiJsb2dpbiI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fXM6MzoidXJsIjthOjE6e3M6ODoiaW50ZW5kZWQiO3M6NTE6Imh0dHBzOi8vd3d3Lm1hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2Rhc2hib2FyZCI7fX0=',1766816154),('5LPSVdKM31ol05F04NbICoJSe4LD4zRfQ3KokydA',NULL,'74.7.227.31','Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiTFFqM2hrSlRlUm1yNmpJWjNzajFXNlhYeHZiUERPT3hCeExSSFltOCI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQ3OiJodHRwczovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9sb2dpbiI7czo1OiJyb3V0ZSI7czo1OiJsb2dpbiI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fXM6MzoidXJsIjthOjE6e3M6ODoiaW50ZW5kZWQiO3M6NTE6Imh0dHBzOi8vd3d3Lm1hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2Rhc2hib2FyZCI7fX0=',1766811650),('5QpQCtz3eBOqTV40e8EEX05CFbIxSBCBRv6et7CM',NULL,'164.92.121.76','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36','YTo1OntzOjY6Il90b2tlbiI7czo0MDoicjhoMUVGWGVQTlhMRFZ6MlBKR2lJSlhBMGZaQXZ2bG5KU0pLZnhnUiI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQzOiJodHRwczovL21hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2xvZ2luIjtzOjU6InJvdXRlIjtzOjU6ImxvZ2luIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo0NzoiaHR0cHM6Ly9tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9kYXNoYm9hcmQiO319',1767115135),('5XhCHKrKY2Y8dR44jOFInpVZa1P13bGM0iKMdXsZ',NULL,'23.27.145.1','Mozilla/5.0 (X11; Linux i686; rv:109.0) Gecko/20100101 Firefox/120.0','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiUWF5NVdzdjNWNng5VG5XdVVpU1dBMTFKMnpSM3RmVndETjNPN3gzMyI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQzOiJodHRwczovL21hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2xvZ2luIjtzOjU6InJvdXRlIjtzOjU6ImxvZ2luIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo0NzoiaHR0cHM6Ly9tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9kYXNoYm9hcmQiO319',1766816246),('6oQNvtYBjGyRQQjnOP3BFCZIRR3jj9noEfdXe89O',NULL,'149.57.180.16','Mozilla/5.0 (X11; Linux i686; rv:109.0) Gecko/20100101 Firefox/120.0','YTo1OntzOjY6Il90b2tlbiI7czo0MDoicGkySVhtRW9oZ2NUaFM5MjFhZVI1MWJ5RGRqMHBVQUg1WVQzY0NRYSI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQ3OiJodHRwczovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9sb2dpbiI7czo1OiJyb3V0ZSI7czo1OiJsb2dpbiI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fXM6MzoidXJsIjthOjE6e3M6ODoiaW50ZW5kZWQiO3M6NTE6Imh0dHBzOi8vd3d3Lm1hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2Rhc2hib2FyZCI7fX0=',1766811844),('aYjzthLOd7DQF4EXu4U78kEvVvtWFiGudwFiMRPq',NULL,'164.92.223.147','Mozilla/5.0 (X11; Linux x86_64; rv:139.0) Gecko/20100101 Firefox/139.0','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiRnNCQlFmOHBSRlI4YkNNbWhYS3g3TFhudDlIU3NyVDdpOGxKbjVHbyI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQ2OiJodHRwOi8vd3d3Lm1hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2xvZ2luIjtzOjU6InJvdXRlIjtzOjU6ImxvZ2luIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo1MDoiaHR0cDovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9kYXNoYm9hcmQiO319',1766831693),('c8d66o0MHP1S2P0QZAuGjQQYWgrimdmn1Rgz4eCG',NULL,'162.142.125.210','Mozilla/5.0 (compatible; CensysInspect/1.1; +https://about.censys.io/)','YTo0OntzOjY6Il90b2tlbiI7czo0MDoiTWtBbHJVMXR6MHRlOEFlakJzMW9oTm5obVpkeU9rMHBKRzdScVFVeiI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQ2OiJodHRwOi8vd3d3Lm1hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2xvZ2luIjtzOjU6InJvdXRlIjtzOjU6ImxvZ2luIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1766683756),('CEqOTywHoNQqA42Vp22ZyOn8VZgp1h1v0kh5inlK',NULL,'66.132.153.124','Mozilla/5.0 (compatible; CensysInspect/1.1; +https://about.censys.io/)','YTo0OntzOjY6Il90b2tlbiI7czo0MDoiY2VFQ1ZveEd5WFZjSWRKSkFsWkZTS05YbmhiZGRqWWM0MUtYbTNmSyI7czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo1MToiaHR0cHM6Ly93d3cubWFkcmFzdGktZGVtbzQuaW1yYW5lc29mdC5jb20vZGFzaGJvYXJkIjt9czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NTE6Imh0dHBzOi8vd3d3Lm1hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2Rhc2hib2FyZCI7czo1OiJyb3V0ZSI7czo5OiJkYXNoYm9hcmQiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1766683419),('cgtyrcRgM3cog9iqecDYyEmkS2v9u4v2vbRJuDFE',NULL,'34.218.229.140','Mozilla/5.0 (X11; Linux i686; rv:124.0) Gecko/20100101 Firefox/124.0','YTo0OntzOjY6Il90b2tlbiI7czo0MDoiMjZIQUdRQUpYdlp2WW5yZVhxQjdlNnA0Q2VWajFaemRJa29DeTlCUyI7czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo0NzoiaHR0cHM6Ly9tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9kYXNoYm9hcmQiO31zOjk6Il9wcmV2aW91cyI7YToyOntzOjM6InVybCI7czo0NzoiaHR0cHM6Ly9tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9kYXNoYm9hcmQiO3M6NToicm91dGUiO3M6OToiZGFzaGJvYXJkIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1766653294),('clvmZ8VLl3dAHgTJdLfGlHgGyJexi4jNN7xjkuPs',NULL,'162.142.125.210','Mozilla/5.0 (compatible; CensysInspect/1.1; +https://about.censys.io/)','YTo0OntzOjY6Il90b2tlbiI7czo0MDoiY2pMNDJLaFRxRUJjdFVjMng0SzBJSExkMm55dkZ0M0NYVHJDZ0hsQiI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQwOiJodHRwOi8vd3d3Lm1hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tIjtzOjU6InJvdXRlIjtzOjI3OiJnZW5lcmF0ZWQ6OmxBRFBnS0JCc3dTWnV4c0UiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1766683755),('CUDglXIKip7YEbU9oHFNZWhFvLdpIAUKO0LTJWw1',NULL,'74.7.241.33','Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiVmtkNnNGRUR4T2ZPZmlNenpPa3JjREdkUU82aGJOdmF4d0toWWhHcCI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQzOiJodHRwczovL21hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2xvZ2luIjtzOjU6InJvdXRlIjtzOjU6ImxvZ2luIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo0NzoiaHR0cHM6Ly9tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9kYXNoYm9hcmQiO319',1767273096),('d7O6FmzO2mXDHTf5LUunRjnaWbRr8KoUBcPYjNJF',NULL,'54.86.115.253','RecordedFuture Global Inventory Crawler','YTo0OntzOjY6Il90b2tlbiI7czo0MDoiU3I3Z1I0VEROczdjUjM1anBDbkFuNGtMcEwzWXoxcFJTMUN1OEtQdSI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQxOiJodHRwczovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbSI7czo1OiJyb3V0ZSI7czoyNzoiZ2VuZXJhdGVkOjpsQURQZ0tCQnN3U1p1eHNFIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1766640335),('dYUhanAP2Bgk6XRqc6EhNy9OPrbN6I0afrOBWLMI',NULL,'84.254.106.197','Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36','YTo0OntzOjY6Il90b2tlbiI7czo0MDoiaXd2WUxKaEhZZjlvaUdvRENTcXd5MVJIYnlLcGNDcG93Vkp4czQwUSI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQxOiJodHRwczovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbSI7czo1OiJyb3V0ZSI7czoyNzoiZ2VuZXJhdGVkOjpsQURQZ0tCQnN3U1p1eHNFIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1767141691),('EUezcyq2degjpwUIU7Ev6M6kXt6nVdTCZS12svPt',NULL,'66.132.153.124','Mozilla/5.0 (compatible; CensysInspect/1.1; +https://about.censys.io/)','YTo0OntzOjY6Il90b2tlbiI7czo0MDoielhFTmdnZEZtWDVrN1JlOUlIaEJrT2h1UU9kajFxNzJkWEU1Q3diMiI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQ3OiJodHRwczovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9sb2dpbiI7czo1OiJyb3V0ZSI7czo1OiJsb2dpbiI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=',1766683420),('FApvkLJhK8r2Bp5Q378lVwiBf2hRKf6zarDPegX9',NULL,'2602:80d:1000::40','Mozilla/5.0 (compatible; CensysInspect/1.1; +https://about.censys.io/)','YTo0OntzOjY6Il90b2tlbiI7czo0MDoibU9abmFnMnA1ejJURUY4MWIzZm41ME5IWGlSNG4xNmtCWG5lTmJGQiI7czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo1MToiaHR0cHM6Ly93d3cubWFkcmFzdGktZGVtbzQuaW1yYW5lc29mdC5jb20vZGFzaGJvYXJkIjt9czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NTE6Imh0dHBzOi8vd3d3Lm1hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2Rhc2hib2FyZCI7czo1OiJyb3V0ZSI7czo5OiJkYXNoYm9hcmQiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1767291726),('FPxV7kve3aH7NWvOumhmwraUatcbNvxfb5R0pjV1',NULL,'2602:80d:1000::40','Mozilla/5.0 (compatible; CensysInspect/1.1; +https://about.censys.io/)','YTo0OntzOjY6Il90b2tlbiI7czo0MDoiRHNza0dsOWJBVnlIR01nTjFqeVozRFRrUzk5b3hzc2lXNDV0bWh5aSI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQxOiJodHRwczovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbSI7czo1OiJyb3V0ZSI7czoyNzoiZ2VuZXJhdGVkOjpsQURQZ0tCQnN3U1p1eHNFIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1767291715),('Fry1eM2gyl7IKcqn92qSduarKEE87Ck9PLB58aAv',NULL,'164.92.121.76','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiaVpvUUt2b0dRZ1NCSW9rZ1k4Sm1HYzg3b3ZWSmhCN1QwcGpLREwwVSI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQyOiJodHRwOi8vbWFkcmFzdGktZGVtbzQuaW1yYW5lc29mdC5jb20vbG9naW4iO3M6NToicm91dGUiO3M6NToibG9naW4iO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX1zOjM6InVybCI7YToxOntzOjg6ImludGVuZGVkIjtzOjQ2OiJodHRwOi8vbWFkcmFzdGktZGVtbzQuaW1yYW5lc29mdC5jb20vZGFzaGJvYXJkIjt9fQ==',1767115129),('GSKqQg5VjVJgYUZASdDAWseDWtZmVXTzhvma3Xb1',NULL,'23.27.145.111','Mozilla/5.0 (X11; Linux i686; rv:109.0) Gecko/20100101 Firefox/120.0','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiYnBwVk1CMmUzMzBPZmhkbEU2RUVuckRzZlVrbTZCSVdoSWQxdE0wayI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQzOiJodHRwczovL21hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2xvZ2luIjtzOjU6InJvdXRlIjtzOjU6ImxvZ2luIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo0NzoiaHR0cHM6Ly9tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9kYXNoYm9hcmQiO319',1766811876),('IgLmYgKYGVJkqn6UreNfWUpReaU7dJaGKZEGY35o',NULL,'74.7.241.33','Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiUzZRVEF2OER6cmUxVmxHb0d1V0padG54SW51VXlQdDQ3ZTJETGpBSCI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQzOiJodHRwczovL21hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2xvZ2luIjtzOjU6InJvdXRlIjtzOjU6ImxvZ2luIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo0NzoiaHR0cHM6Ly9tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9kYXNoYm9hcmQiO319',1766882815),('ms45lTdABZvzw4QJmYfUGXPxrijFjlYJFxGi0ic0',NULL,'74.7.227.184','Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiTnNveldTMGNiZFNmczUzbWZIVzd5MTNyTEtjQjlBTkNJTXdQM0FiYiI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQzOiJodHRwczovL21hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2xvZ2luIjtzOjU6InJvdXRlIjtzOjU6ImxvZ2luIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo0NzoiaHR0cHM6Ly9tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9kYXNoYm9hcmQiO319',1766688676),('N9YtbaUqprex1FTxAzIfCm6SO67alCPfiZIly9y2',NULL,'34.218.229.140','Mozilla/5.0 (X11; Linux i686; rv:124.0) Gecko/20100101 Firefox/124.0','YTo0OntzOjY6Il90b2tlbiI7czo0MDoib1ZpS0JiVUYzYnJXMnhWQnlub0F5MVdvR2lJbjhIVFBEZkZ0dG5LdCI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQzOiJodHRwczovL21hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2xvZ2luIjtzOjU6InJvdXRlIjtzOjU6ImxvZ2luIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1766653294),('nEC0poJwhMDpU9hjlZrOTAvJV5YgyLtfEqpMQj1A',NULL,'74.7.227.40','Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.3; +https://openai.com/gptbot)','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiVk9qcTZ0aERZSnRDTGE1NTFtS2hOazZac2hpaDFzd1kzWUFJMU1IbiI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQ3OiJodHRwczovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9sb2dpbiI7czo1OiJyb3V0ZSI7czo1OiJsb2dpbiI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fXM6MzoidXJsIjthOjE6e3M6ODoiaW50ZW5kZWQiO3M6NTE6Imh0dHBzOi8vd3d3Lm1hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2Rhc2hib2FyZCI7fX0=',1767269141),('NrjzE6drhDe7QJD7dQv3jYHnht2m5oiMfxbI4ebr',NULL,'23.27.145.117','Mozilla/5.0 (X11; Linux i686; rv:109.0) Gecko/20100101 Firefox/120.0','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiWUUxOXVDNUhxOTRCZGlhUElQOERCYWpZdGNwdDgzQ1lCZjNVS3hYSyI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQ3OiJodHRwczovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9sb2dpbiI7czo1OiJyb3V0ZSI7czo1OiJsb2dpbiI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fXM6MzoidXJsIjthOjE6e3M6ODoiaW50ZW5kZWQiO3M6NTE6Imh0dHBzOi8vd3d3Lm1hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2Rhc2hib2FyZCI7fX0=',1767162990),('nWKis71io3lXc7SM2Vk1NLeiG9eTSTCKRPOCSvIP',NULL,'84.254.106.197','Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36','YTo0OntzOjY6Il90b2tlbiI7czo0MDoiZmRSSnFoVWRuMERNM25UeWs5TDJtZWlaSXRpOEFOSm90QkxtSUNoZiI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjM3OiJodHRwczovL21hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tIjtzOjU6InJvdXRlIjtzOjI3OiJnZW5lcmF0ZWQ6OmxBRFBnS0JCc3dTWnV4c0UiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1767141530),('oThokBuleGwALMduGVILI0nj2bh1OvqhLlc4V0U4',NULL,'2602:80d:1000::40','Mozilla/5.0 (compatible; CensysInspect/1.1; +https://about.censys.io/)','YTo0OntzOjY6Il90b2tlbiI7czo0MDoicWRmZ1YwYlo0clpaY3hKTU5HR0Mxb0NlUk1rbjlkckZCMTBlaU8zcyI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQ3OiJodHRwczovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9sb2dpbiI7czo1OiJyb3V0ZSI7czo1OiJsb2dpbiI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=',1767291739),('T8HE2n0zgPlWEXo54xXNgWUU16c3UXa7lOgTSrVH',NULL,'13.219.121.241','RecordedFuture Global Inventory Crawler','YTo0OntzOjY6Il90b2tlbiI7czo0MDoicnBEd0plZ29oc3BQejNOcUlSUUxIUTdHTTJWS29HR1ZtekxJOHFOSyI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQ3OiJodHRwczovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9sb2dpbiI7czo1OiJyb3V0ZSI7czo1OiJsb2dpbiI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=',1766640366),('TADpw8ab94wYoFkEwUH9KFT55VOwOb3g6DQD0lJE',NULL,'149.57.180.167','Mozilla/5.0 (X11; Linux i686; rv:109.0) Gecko/20100101 Firefox/120.0','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiRFVHZHdXQ05VTWVYQkRxalNOZ0lKSDk4OWJ4RWhjVWZKM3MyaVBnTSI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQzOiJodHRwczovL21hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2xvZ2luIjtzOjU6InJvdXRlIjtzOjU6ImxvZ2luIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo0NzoiaHR0cHM6Ly9tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9kYXNoYm9hcmQiO319',1767157684),('Tmsi8sSLyRCr07wbWJ8eSdg6J08q2Jqbdwt8rWAg',NULL,'13.219.121.241','RecordedFuture Global Inventory Crawler','YTo0OntzOjY6Il90b2tlbiI7czo0MDoiY1VVNjQxUHNmZGVxSGRuVjZ0dm40cUxzQmhEZ1RtWWV1eUVISktjYSI7czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo1MToiaHR0cHM6Ly93d3cubWFkcmFzdGktZGVtbzQuaW1yYW5lc29mdC5jb20vZGFzaGJvYXJkIjt9czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6NTE6Imh0dHBzOi8vd3d3Lm1hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2Rhc2hib2FyZCI7czo1OiJyb3V0ZSI7czo5OiJkYXNoYm9hcmQiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1766640353),('TsnhiGwQh2OBf1jLg8Wz7cHw3UAZQFWmcZQYbBZY',NULL,'164.92.223.147','Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiSU9CNFYxaUtmNFNiNFhoRjhkV2U1WmpmZDh5Y25nTGFRbXlIelZmMyI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQ3OiJodHRwczovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9sb2dpbiI7czo1OiJyb3V0ZSI7czo1OiJsb2dpbiI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fXM6MzoidXJsIjthOjE6e3M6ODoiaW50ZW5kZWQiO3M6NTE6Imh0dHBzOi8vd3d3Lm1hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2Rhc2hib2FyZCI7fX0=',1766831693),('uu3d5jY1iHOYIm0O435OGrcFCFWvcXwRZGwZH925',NULL,'23.27.145.23','Mozilla/5.0 (X11; Linux i686; rv:109.0) Gecko/20100101 Firefox/120.0','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiYWhBZkJ0SnVmVm9aZzNKdTNPejVacDRrUnNJcmlnYTlmQXJ4VElPZyI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQ3OiJodHRwczovL3d3dy5tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9sb2dpbiI7czo1OiJyb3V0ZSI7czo1OiJsb2dpbiI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fXM6MzoidXJsIjthOjE6e3M6ODoiaW50ZW5kZWQiO3M6NTE6Imh0dHBzOi8vd3d3Lm1hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2Rhc2hib2FyZCI7fX0=',1767157791),('XWpzBi9l0BDqHZ2ypeFJ4EvNRSKRkHph49hv4cXN',NULL,'35.159.63.89','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36 Assetnote/1.0.0','YTo0OntzOjY6Il90b2tlbiI7czo0MDoib2s4eXBMSEpIUkZ2NGxjUjhYVWZMZERYOTY2WlFzRXE4ZEt0T01RVCI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjM3OiJodHRwczovL21hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tIjtzOjU6InJvdXRlIjtzOjI3OiJnZW5lcmF0ZWQ6OmxBRFBnS0JCc3dTWnV4c0UiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19',1766671764),('YkjeTnNsyZYlXWpIBiC7QBtVm8fQWS9J7v5um8X1',NULL,'149.57.180.43','Mozilla/5.0 (X11; Linux i686; rv:109.0) Gecko/20100101 Firefox/120.0','YTo1OntzOjY6Il90b2tlbiI7czo0MDoiM3AyT3ZaTzJLOTNxQlJ0SDk4dm12VlVoWWVXdkwxVzdjbkdnU3F1SCI7czo2OiJsb2NhbGUiO3M6MjoiZW4iO3M6OToiX3ByZXZpb3VzIjthOjI6e3M6MzoidXJsIjtzOjQzOiJodHRwczovL21hZHJhc3RpLWRlbW80LmltcmFuZXNvZnQuY29tL2xvZ2luIjtzOjU6InJvdXRlIjtzOjU6ImxvZ2luIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czo0NzoiaHR0cHM6Ly9tYWRyYXN0aS1kZW1vNC5pbXJhbmVzb2Z0LmNvbS9kYXNoYm9hcmQiO319',1767163054);

--
-- Table structure for table `madrasti_d4_settings`
--

CREATE TABLE `madrasti_d4_settings` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `madrasti_d4_settings_key_unique_madrasti_d4` (`key`),
  KEY `settings_key_index_madrasti_d4` (`key`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_settings`
--

INSERT INTO `madrasti_d4_settings` VALUES (1,'items_per_page','20','2025-12-16 22:26:28','2025-12-16 22:26:28'),(2,'default_language','ar','2025-12-16 22:26:28','2025-12-16 22:26:28'),(3,'timezone','Africa/Casablanca','2025-12-16 22:26:28','2025-12-16 22:26:28'),(4,'enable_maintenance_mode','false','2025-12-16 22:26:28','2025-12-16 22:26:28'),(5,'backup_retention_days','30','2025-12-16 22:26:28','2025-12-16 22:26:28'),(6,'machine_id','dc921c71e4911d981463a8716e266d28','2025-12-16 22:26:39','2025-12-16 22:26:39'),(7,'trial_start_date','2025-12-16','2025-12-16 22:26:39','2025-12-16 22:26:39');

--
-- Table structure for table `madrasti_d4_student_services`
--

CREATE TABLE `madrasti_d4_student_services` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `student_id` bigint unsigned NOT NULL,
  `service_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `monthly_fee` decimal(10,2) DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `student_services_student_service_unique_madrasti_d4` (`student_id`,`service_type`),
  KEY `student_services_student_id_index_madrasti_d4` (`student_id`),
  KEY `student_services_service_type_index_madrasti_d4` (`service_type`),
  KEY `student_services_is_active_index_madrasti_d4` (`is_active`),
  KEY `student_services_date_range_index_madrasti_d4` (`start_date`,`end_date`),
  CONSTRAINT `madrasti_d4_student_services_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `madrasti_d4_students` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_student_services`
--


--
-- Table structure for table `madrasti_d4_students`
--

CREATE TABLE `madrasti_d4_students` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `school_year_id` bigint unsigned DEFAULT NULL,
  `status` enum('active','promoted','repeated','left') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'active',
  `first_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `first_name_ar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `last_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_name_ar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `dob` date NOT NULL,
  `gender` enum('male','female') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `photo_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `national_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `level_id` bigint unsigned NOT NULL,
  `class_id` bigint unsigned NOT NULL,
  `registration_date` date NOT NULL,
  `health_info` json DEFAULT NULL,
  `monthly_fee_override` decimal(10,2) DEFAULT NULL,
  `discount_amount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `madrasti_d4_students_national_id_unique_madrasti_d4` (`national_id`),
  KEY `students_school_year_id_index_madrasti_d4` (`school_year_id`),
  KEY `students_status_index_madrasti_d4` (`status`),
  KEY `students_level_id_index_madrasti_d4` (`level_id`),
  KEY `students_class_id_index_madrasti_d4` (`class_id`),
  KEY `students_national_id_index_madrasti_d4` (`national_id`),
  KEY `students_school_year_level_index_madrasti_d4` (`school_year_id`,`level_id`),
  KEY `students_school_year_class_index_madrasti_d4` (`school_year_id`,`class_id`),
  KEY `students_level_class_index_madrasti_d4` (`level_id`,`class_id`),
  KEY `students_school_year_status_index_madrasti_d4` (`school_year_id`,`status`),
  CONSTRAINT `madrasti_d4_students_class_id_foreign` FOREIGN KEY (`class_id`) REFERENCES `madrasti_d4_classes` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `madrasti_d4_students_level_id_foreign` FOREIGN KEY (`level_id`) REFERENCES `madrasti_d4_levels` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `madrasti_d4_students_school_year_id_foreign` FOREIGN KEY (`school_year_id`) REFERENCES `madrasti_d4_school_years` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_students`
--


--
-- Table structure for table `madrasti_d4_transfers`
--

CREATE TABLE `madrasti_d4_transfers` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `student_id` bigint unsigned NOT NULL,
  `from_class_id` bigint unsigned NOT NULL,
  `to_class_id` bigint unsigned NOT NULL,
  `date` date NOT NULL,
  `reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `performed_by` bigint unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `transfers_student_id_index_madrasti_d4` (`student_id`),
  KEY `transfers_from_class_id_index_madrasti_d4` (`from_class_id`),
  KEY `transfers_to_class_id_index_madrasti_d4` (`to_class_id`),
  KEY `transfers_performed_by_index_madrasti_d4` (`performed_by`),
  KEY `transfers_date_index_madrasti_d4` (`date`),
  CONSTRAINT `madrasti_d4_transfers_from_class_id_foreign` FOREIGN KEY (`from_class_id`) REFERENCES `madrasti_d4_classes` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `madrasti_d4_transfers_performed_by_foreign` FOREIGN KEY (`performed_by`) REFERENCES `madrasti_d4_users` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `madrasti_d4_transfers_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `madrasti_d4_students` (`id`) ON DELETE CASCADE,
  CONSTRAINT `madrasti_d4_transfers_to_class_id_foreign` FOREIGN KEY (`to_class_id`) REFERENCES `madrasti_d4_classes` (`id`) ON DELETE RESTRICT
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_transfers`
--


--
-- Table structure for table `madrasti_d4_treasury_transactions`
--

CREATE TABLE `madrasti_d4_treasury_transactions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `type` enum('income','expense') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `income_type` enum('payment','other') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `payment_id` bigint unsigned DEFAULT NULL,
  `payment_transaction_id` bigint unsigned DEFAULT NULL,
  `description` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `method` enum('cash','bank_transfer','check') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'cash',
  `transaction_date` date NOT NULL,
  `reference` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_by` bigint unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `treasury_transactions_type_date_index_madrasti_d4` (`type`,`transaction_date`),
  KEY `treasury_transactions_payment_id_index_madrasti_d4` (`payment_id`),
  KEY `treasury_transactions_payment_transaction_id_index_madrasti_d4` (`payment_transaction_id`),
  KEY `treasury_transactions_created_by_index_madrasti_d4` (`created_by`),
  KEY `treasury_transactions_transaction_date_index_madrasti_d4` (`transaction_date`),
  KEY `treasury_transactions_method_index_madrasti_d4` (`method`),
  KEY `treasury_transactions_type_index_madrasti_d4` (`type`),
  CONSTRAINT `madrasti_d4_treasury_transactions_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `madrasti_d4_users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `madrasti_d4_treasury_transactions_payment_id_foreign` FOREIGN KEY (`payment_id`) REFERENCES `madrasti_d4_payments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `madrasti_d4_treasury_transactions_payment_transaction_id_foreign` FOREIGN KEY (`payment_transaction_id`) REFERENCES `madrasti_d4_payment_transactions` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_treasury_transactions`
--


--
-- Table structure for table `madrasti_d4_trial_periods`
--

CREATE TABLE `madrasti_d4_trial_periods` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `duration_days` int NOT NULL DEFAULT '30',
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `trial_periods_start_date_index_madrasti_d4` (`start_date`),
  KEY `trial_periods_end_date_index_madrasti_d4` (`end_date`),
  KEY `trial_periods_is_active_index_madrasti_d4` (`is_active`),
  KEY `trial_periods_date_range_index_madrasti_d4` (`start_date`,`end_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d4_trial_periods`
--


--
-- Table structure for table `madrasti_d5_attendances`
--

CREATE TABLE `madrasti_d5_attendances` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `student_id` bigint unsigned NOT NULL,
  `date` date NOT NULL,
  `status` enum('present','absent','late') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `period` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `reason` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `notified` tinyint(1) NOT NULL DEFAULT '0',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `attendances_student_date_period_unique_madrasti_d5` (`student_id`,`date`,`period`),
  KEY `attendances_student_date_index_madrasti_d5` (`student_id`,`date`),
  KEY `attendances_date_index_madrasti_d5` (`date`),
  KEY `attendances_status_index_madrasti_d5` (`status`),
  KEY `attendances_notified_index_madrasti_d5` (`notified`),
  CONSTRAINT `madrasti_d5_attendances_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `madrasti_d5_students` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_attendances`
--


--
-- Table structure for table `madrasti_d5_backups`
--

CREATE TABLE `madrasti_d5_backups` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `file_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `file_size` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `type` enum('full','database','files') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'full',
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_by` bigint unsigned DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `backups_file_path_unique_madrasti_d5` (`file_path`),
  KEY `backups_type_index_madrasti_d5` (`type`),
  KEY `backups_created_by_index_madrasti_d5` (`created_by`),
  KEY `backups_completed_at_index_madrasti_d5` (`completed_at`),
  CONSTRAINT `madrasti_d5_backups_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `madrasti_d5_users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_backups`
--


--
-- Table structure for table `madrasti_d5_cache`
--

CREATE TABLE `madrasti_d5_cache` (
  `key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `expiration` int NOT NULL,
  PRIMARY KEY (`key`),
  KEY `cache_expiration_index_madrasti_d5` (`expiration`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_cache`
--

INSERT INTO `madrasti_d5_cache` VALUES ('madrasti-cache-classes','O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:24:{i:0;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:1;s:14:\"school_year_id\";N;s:8:\"level_id\";i:1;s:4:\"name\";s:4:\"PS-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:1;s:14:\"school_year_id\";N;s:8:\"level_id\";i:1;s:4:\"name\";s:4:\"PS-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:1;s:14:\"school_year_id\";N;s:4:\"code\";s:2:\"PS\";s:10:\"sort_order\";i:1;s:4:\"name\";s:14:\"Petite Section\";s:11:\"monthly_fee\";s:6:\"400.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:1;s:14:\"school_year_id\";N;s:4:\"code\";s:2:\"PS\";s:10:\"sort_order\";i:1;s:4:\"name\";s:14:\"Petite Section\";s:11:\"monthly_fee\";s:6:\"400.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:1;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:2;s:14:\"school_year_id\";N;s:8:\"level_id\";i:1;s:4:\"name\";s:4:\"PS-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:2;s:14:\"school_year_id\";N;s:8:\"level_id\";i:1;s:4:\"name\";s:4:\"PS-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";r:44;}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:2;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:3;s:14:\"school_year_id\";N;s:8:\"level_id\";i:2;s:4:\"name\";s:4:\"MS-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:3;s:14:\"school_year_id\";N;s:8:\"level_id\";i:2;s:4:\"name\";s:4:\"MS-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:2;s:14:\"school_year_id\";N;s:4:\"code\";s:2:\"MS\";s:10:\"sort_order\";i:2;s:4:\"name\";s:15:\"Moyenne Section\";s:11:\"monthly_fee\";s:6:\"450.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:2;s:14:\"school_year_id\";N;s:4:\"code\";s:2:\"MS\";s:10:\"sort_order\";i:2;s:4:\"name\";s:15:\"Moyenne Section\";s:11:\"monthly_fee\";s:6:\"450.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:3;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:4;s:14:\"school_year_id\";N;s:8:\"level_id\";i:2;s:4:\"name\";s:4:\"MS-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:4;s:14:\"school_year_id\";N;s:8:\"level_id\";i:2;s:4:\"name\";s:4:\"MS-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";r:235;}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:4;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:5;s:14:\"school_year_id\";N;s:8:\"level_id\";i:3;s:4:\"name\";s:4:\"GS-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:5;s:14:\"school_year_id\";N;s:8:\"level_id\";i:3;s:4:\"name\";s:4:\"GS-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:3;s:14:\"school_year_id\";N;s:4:\"code\";s:2:\"GS\";s:10:\"sort_order\";i:3;s:4:\"name\";s:14:\"Grande Section\";s:11:\"monthly_fee\";s:6:\"500.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:3;s:14:\"school_year_id\";N;s:4:\"code\";s:2:\"GS\";s:10:\"sort_order\";i:3;s:4:\"name\";s:14:\"Grande Section\";s:11:\"monthly_fee\";s:6:\"500.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:5;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:6;s:14:\"school_year_id\";N;s:8:\"level_id\";i:3;s:4:\"name\";s:4:\"GS-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:6;s:14:\"school_year_id\";N;s:8:\"level_id\";i:3;s:4:\"name\";s:4:\"GS-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";r:426;}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:6;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:7;s:14:\"school_year_id\";N;s:8:\"level_id\";i:4;s:4:\"name\";s:6:\"1APG-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:7;s:14:\"school_year_id\";N;s:8:\"level_id\";i:4;s:4:\"name\";s:6:\"1APG-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:4;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"1APG\";s:10:\"sort_order\";i:5;s:4:\"name\";s:21:\"1ère Année Primaire\";s:11:\"monthly_fee\";s:6:\"550.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:4;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"1APG\";s:10:\"sort_order\";i:5;s:4:\"name\";s:21:\"1ère Année Primaire\";s:11:\"monthly_fee\";s:6:\"550.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:7;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:8;s:14:\"school_year_id\";N;s:8:\"level_id\";i:4;s:4:\"name\";s:6:\"1APG-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:8;s:14:\"school_year_id\";N;s:8:\"level_id\";i:4;s:4:\"name\";s:6:\"1APG-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";r:617;}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:8;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:9;s:14:\"school_year_id\";N;s:8:\"level_id\";i:5;s:4:\"name\";s:6:\"2APG-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:9;s:14:\"school_year_id\";N;s:8:\"level_id\";i:5;s:4:\"name\";s:6:\"2APG-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:5;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"2APG\";s:10:\"sort_order\";i:6;s:4:\"name\";s:21:\"2ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"600.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:5;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"2APG\";s:10:\"sort_order\";i:6;s:4:\"name\";s:21:\"2ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"600.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:9;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:10;s:14:\"school_year_id\";N;s:8:\"level_id\";i:5;s:4:\"name\";s:6:\"2APG-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:10;s:14:\"school_year_id\";N;s:8:\"level_id\";i:5;s:4:\"name\";s:6:\"2APG-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";r:808;}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:10;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:11;s:14:\"school_year_id\";N;s:8:\"level_id\";i:6;s:4:\"name\";s:6:\"3APG-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:11;s:14:\"school_year_id\";N;s:8:\"level_id\";i:6;s:4:\"name\";s:6:\"3APG-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:6;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"3APG\";s:10:\"sort_order\";i:7;s:4:\"name\";s:21:\"3ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"650.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:6;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"3APG\";s:10:\"sort_order\";i:7;s:4:\"name\";s:21:\"3ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"650.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:11;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:12;s:14:\"school_year_id\";N;s:8:\"level_id\";i:6;s:4:\"name\";s:6:\"3APG-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:12;s:14:\"school_year_id\";N;s:8:\"level_id\";i:6;s:4:\"name\";s:6:\"3APG-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";r:999;}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:12;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:13;s:14:\"school_year_id\";N;s:8:\"level_id\";i:7;s:4:\"name\";s:6:\"4APG-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:13;s:14:\"school_year_id\";N;s:8:\"level_id\";i:7;s:4:\"name\";s:6:\"4APG-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:7;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"4APG\";s:10:\"sort_order\";i:8;s:4:\"name\";s:21:\"4ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"700.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:7;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"4APG\";s:10:\"sort_order\";i:8;s:4:\"name\";s:21:\"4ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"700.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:13;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:14;s:14:\"school_year_id\";N;s:8:\"level_id\";i:7;s:4:\"name\";s:6:\"4APG-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:14;s:14:\"school_year_id\";N;s:8:\"level_id\";i:7;s:4:\"name\";s:6:\"4APG-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";r:1190;}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:14;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:15;s:14:\"school_year_id\";N;s:8:\"level_id\";i:8;s:4:\"name\";s:6:\"5APG-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:15;s:14:\"school_year_id\";N;s:8:\"level_id\";i:8;s:4:\"name\";s:6:\"5APG-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:8;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"5APG\";s:10:\"sort_order\";i:9;s:4:\"name\";s:21:\"5ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"750.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:8;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"5APG\";s:10:\"sort_order\";i:9;s:4:\"name\";s:21:\"5ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"750.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:15;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:16;s:14:\"school_year_id\";N;s:8:\"level_id\";i:8;s:4:\"name\";s:6:\"5APG-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:16;s:14:\"school_year_id\";N;s:8:\"level_id\";i:8;s:4:\"name\";s:6:\"5APG-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";r:1381;}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:16;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:17;s:14:\"school_year_id\";N;s:8:\"level_id\";i:9;s:4:\"name\";s:6:\"6APG-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:17;s:14:\"school_year_id\";N;s:8:\"level_id\";i:9;s:4:\"name\";s:6:\"6APG-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:9;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"6APG\";s:10:\"sort_order\";i:10;s:4:\"name\";s:21:\"6ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"800.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:9;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"6APG\";s:10:\"sort_order\";i:10;s:4:\"name\";s:21:\"6ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"800.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:17;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:18;s:14:\"school_year_id\";N;s:8:\"level_id\";i:9;s:4:\"name\";s:6:\"6APG-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:18;s:14:\"school_year_id\";N;s:8:\"level_id\";i:9;s:4:\"name\";s:6:\"6APG-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";r:1572;}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:18;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:19;s:14:\"school_year_id\";N;s:8:\"level_id\";i:10;s:4:\"name\";s:5:\"1AC-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:19;s:14:\"school_year_id\";N;s:8:\"level_id\";i:10;s:4:\"name\";s:5:\"1AC-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:10;s:14:\"school_year_id\";N;s:4:\"code\";s:3:\"1AC\";s:10:\"sort_order\";i:11;s:4:\"name\";s:21:\"1ère Année Collège\";s:11:\"monthly_fee\";s:6:\"850.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:10;s:14:\"school_year_id\";N;s:4:\"code\";s:3:\"1AC\";s:10:\"sort_order\";i:11;s:4:\"name\";s:21:\"1ère Année Collège\";s:11:\"monthly_fee\";s:6:\"850.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:19;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:20;s:14:\"school_year_id\";N;s:8:\"level_id\";i:10;s:4:\"name\";s:5:\"1AC-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:20;s:14:\"school_year_id\";N;s:8:\"level_id\";i:10;s:4:\"name\";s:5:\"1AC-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";r:1763;}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:20;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:21;s:14:\"school_year_id\";N;s:8:\"level_id\";i:11;s:4:\"name\";s:5:\"2AC-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:21;s:14:\"school_year_id\";N;s:8:\"level_id\";i:11;s:4:\"name\";s:5:\"2AC-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:11;s:14:\"school_year_id\";N;s:4:\"code\";s:3:\"2AC\";s:10:\"sort_order\";i:12;s:4:\"name\";s:21:\"2ème Année Collège\";s:11:\"monthly_fee\";s:6:\"900.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:11;s:14:\"school_year_id\";N;s:4:\"code\";s:3:\"2AC\";s:10:\"sort_order\";i:12;s:4:\"name\";s:21:\"2ème Année Collège\";s:11:\"monthly_fee\";s:6:\"900.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:21;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:22;s:14:\"school_year_id\";N;s:8:\"level_id\";i:11;s:4:\"name\";s:5:\"2AC-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:22;s:14:\"school_year_id\";N;s:8:\"level_id\";i:11;s:4:\"name\";s:5:\"2AC-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";r:1954;}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:22;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:23;s:14:\"school_year_id\";N;s:8:\"level_id\";i:12;s:4:\"name\";s:5:\"3AC-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:23;s:14:\"school_year_id\";N;s:8:\"level_id\";i:12;s:4:\"name\";s:5:\"3AC-1\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:12;s:14:\"school_year_id\";N;s:4:\"code\";s:3:\"3AC\";s:10:\"sort_order\";i:13;s:4:\"name\";s:21:\"3ème Année Collège\";s:11:\"monthly_fee\";s:6:\"950.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:12;s:14:\"school_year_id\";N;s:4:\"code\";s:3:\"3AC\";s:10:\"sort_order\";i:13;s:4:\"name\";s:21:\"3ème Année Collège\";s:11:\"monthly_fee\";s:6:\"950.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:23;O:21:\"App\\Models\\ClassModel\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:7:\"classes\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:8:{s:2:\"id\";i:24;s:14:\"school_year_id\";N;s:8:\"level_id\";i:12;s:4:\"name\";s:5:\"3AC-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:8:{s:2:\"id\";i:24;s:14:\"school_year_id\";N;s:8:\"level_id\";i:12;s:4:\"name\";s:5:\"3AC-2\";s:8:\"capacity\";i:30;s:10:\"teacher_id\";N;s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:0:{}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:1:{s:5:\"level\";r:2145;}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:4:{i:0;s:8:\"level_id\";i:1;s:4:\"name\";i:2;s:8:\"capacity\";i:3;s:10:\"teacher_id\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}',1766840519),('madrasti-cache-levels','O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:12:{i:0;O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:1;s:14:\"school_year_id\";N;s:4:\"code\";s:2:\"PS\";s:10:\"sort_order\";i:1;s:4:\"name\";s:14:\"Petite Section\";s:11:\"monthly_fee\";s:6:\"400.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:1;s:14:\"school_year_id\";N;s:4:\"code\";s:2:\"PS\";s:10:\"sort_order\";i:1;s:4:\"name\";s:14:\"Petite Section\";s:11:\"monthly_fee\";s:6:\"400.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:1;O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:2;s:14:\"school_year_id\";N;s:4:\"code\";s:2:\"MS\";s:10:\"sort_order\";i:2;s:4:\"name\";s:15:\"Moyenne Section\";s:11:\"monthly_fee\";s:6:\"450.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:2;s:14:\"school_year_id\";N;s:4:\"code\";s:2:\"MS\";s:10:\"sort_order\";i:2;s:4:\"name\";s:15:\"Moyenne Section\";s:11:\"monthly_fee\";s:6:\"450.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:2;O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:3;s:14:\"school_year_id\";N;s:4:\"code\";s:2:\"GS\";s:10:\"sort_order\";i:3;s:4:\"name\";s:14:\"Grande Section\";s:11:\"monthly_fee\";s:6:\"500.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:3;s:14:\"school_year_id\";N;s:4:\"code\";s:2:\"GS\";s:10:\"sort_order\";i:3;s:4:\"name\";s:14:\"Grande Section\";s:11:\"monthly_fee\";s:6:\"500.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:3;O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:4;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"1APG\";s:10:\"sort_order\";i:5;s:4:\"name\";s:21:\"1ère Année Primaire\";s:11:\"monthly_fee\";s:6:\"550.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:4;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"1APG\";s:10:\"sort_order\";i:5;s:4:\"name\";s:21:\"1ère Année Primaire\";s:11:\"monthly_fee\";s:6:\"550.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:4;O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:5;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"2APG\";s:10:\"sort_order\";i:6;s:4:\"name\";s:21:\"2ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"600.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:5;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"2APG\";s:10:\"sort_order\";i:6;s:4:\"name\";s:21:\"2ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"600.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:5;O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:6;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"3APG\";s:10:\"sort_order\";i:7;s:4:\"name\";s:21:\"3ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"650.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:6;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"3APG\";s:10:\"sort_order\";i:7;s:4:\"name\";s:21:\"3ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"650.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:6;O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:7;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"4APG\";s:10:\"sort_order\";i:8;s:4:\"name\";s:21:\"4ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"700.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:7;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"4APG\";s:10:\"sort_order\";i:8;s:4:\"name\";s:21:\"4ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"700.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:7;O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:8;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"5APG\";s:10:\"sort_order\";i:9;s:4:\"name\";s:21:\"5ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"750.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:8;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"5APG\";s:10:\"sort_order\";i:9;s:4:\"name\";s:21:\"5ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"750.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:8;O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:9;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"6APG\";s:10:\"sort_order\";i:10;s:4:\"name\";s:21:\"6ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"800.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:9;s:14:\"school_year_id\";N;s:4:\"code\";s:4:\"6APG\";s:10:\"sort_order\";i:10;s:4:\"name\";s:21:\"6ème Année Primaire\";s:11:\"monthly_fee\";s:6:\"800.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:9;O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:10;s:14:\"school_year_id\";N;s:4:\"code\";s:3:\"1AC\";s:10:\"sort_order\";i:11;s:4:\"name\";s:21:\"1ère Année Collège\";s:11:\"monthly_fee\";s:6:\"850.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:10;s:14:\"school_year_id\";N;s:4:\"code\";s:3:\"1AC\";s:10:\"sort_order\";i:11;s:4:\"name\";s:21:\"1ère Année Collège\";s:11:\"monthly_fee\";s:6:\"850.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:10;O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:11;s:14:\"school_year_id\";N;s:4:\"code\";s:3:\"2AC\";s:10:\"sort_order\";i:12;s:4:\"name\";s:21:\"2ème Année Collège\";s:11:\"monthly_fee\";s:6:\"900.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:11;s:14:\"school_year_id\";N;s:4:\"code\";s:3:\"2AC\";s:10:\"sort_order\";i:12;s:4:\"name\";s:21:\"2ème Année Collège\";s:11:\"monthly_fee\";s:6:\"900.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}i:11;O:16:\"App\\Models\\Level\":33:{s:13:\"\0*\0connection\";s:5:\"mysql\";s:8:\"\0*\0table\";s:6:\"levels\";s:13:\"\0*\0primaryKey\";s:2:\"id\";s:10:\"\0*\0keyType\";s:3:\"int\";s:12:\"incrementing\";b:1;s:7:\"\0*\0with\";a:0:{}s:12:\"\0*\0withCount\";a:0:{}s:19:\"preventsLazyLoading\";b:0;s:10:\"\0*\0perPage\";i:15;s:6:\"exists\";b:1;s:18:\"wasRecentlyCreated\";b:0;s:28:\"\0*\0escapeWhenCastingToString\";b:0;s:13:\"\0*\0attributes\";a:14:{s:2:\"id\";i:12;s:14:\"school_year_id\";N;s:4:\"code\";s:3:\"3AC\";s:10:\"sort_order\";i:13;s:4:\"name\";s:21:\"3ème Année Collège\";s:11:\"monthly_fee\";s:6:\"950.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:11:\"\0*\0original\";a:14:{s:2:\"id\";i:12;s:14:\"school_year_id\";N;s:4:\"code\";s:3:\"3AC\";s:10:\"sort_order\";i:13;s:4:\"name\";s:21:\"3ème Année Collège\";s:11:\"monthly_fee\";s:6:\"950.00\";s:13:\"cafeteria_fee\";s:4:\"0.00\";s:18:\"transportation_fee\";s:4:\"0.00\";s:19:\"private_lessons_fee\";s:4:\"0.00\";s:13:\"insurance_fee\";s:4:\"0.00\";s:13:\"schooling_fee\";s:4:\"0.00\";s:11:\"nursery_fee\";s:4:\"0.00\";s:10:\"created_at\";s:19:\"2025-12-16 23:26:28\";s:10:\"updated_at\";s:19:\"2025-12-16 23:26:28\";}s:10:\"\0*\0changes\";a:0:{}s:11:\"\0*\0previous\";a:0:{}s:8:\"\0*\0casts\";a:7:{s:11:\"monthly_fee\";s:9:\"decimal:2\";s:18:\"transportation_fee\";s:9:\"decimal:2\";s:13:\"cafeteria_fee\";s:9:\"decimal:2\";s:11:\"nursery_fee\";s:9:\"decimal:2\";s:19:\"private_lessons_fee\";s:9:\"decimal:2\";s:13:\"insurance_fee\";s:9:\"decimal:2\";s:13:\"schooling_fee\";s:9:\"decimal:2\";}s:17:\"\0*\0classCastCache\";a:0:{}s:21:\"\0*\0attributeCastCache\";a:0:{}s:13:\"\0*\0dateFormat\";N;s:10:\"\0*\0appends\";a:0:{}s:19:\"\0*\0dispatchesEvents\";a:0:{}s:14:\"\0*\0observables\";a:0:{}s:12:\"\0*\0relations\";a:0:{}s:10:\"\0*\0touches\";a:0:{}s:27:\"\0*\0relationAutoloadCallback\";N;s:26:\"\0*\0relationAutoloadContext\";N;s:10:\"timestamps\";b:1;s:13:\"usesUniqueIds\";b:0;s:9:\"\0*\0hidden\";a:0:{}s:10:\"\0*\0visible\";a:0:{}s:11:\"\0*\0fillable\";a:10:{i:0;s:4:\"code\";i:1;s:4:\"name\";i:2;s:10:\"sort_order\";i:3;s:11:\"monthly_fee\";i:4;s:18:\"transportation_fee\";i:5;s:13:\"cafeteria_fee\";i:6;s:11:\"nursery_fee\";i:7;s:19:\"private_lessons_fee\";i:8;s:13:\"insurance_fee\";i:9;s:13:\"schooling_fee\";}s:10:\"\0*\0guarded\";a:1:{i:0;s:1:\"*\";}}}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}',1766840519),('madrasti-cache-setting.machine_id','s:32:\"dc921c71e4911d981463a8716e266d28\";',1766840514),('madrasti-cache-spatie.permission.cache','a:3:{s:5:\"alias\";a:4:{s:1:\"a\";s:2:\"id\";s:1:\"b\";s:4:\"name\";s:1:\"c\";s:10:\"guard_name\";s:1:\"r\";s:5:\"roles\";}s:11:\"permissions\";a:66:{i:0;a:4:{s:1:\"a\";i:1;s:1:\"b\";s:14:\"dashboard.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:6:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;}}i:1;a:4:{s:1:\"a\";i:2;s:1:\"b\";s:12:\"profile.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:6:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;}}i:2;a:4:{s:1:\"a\";i:3;s:1:\"b\";s:14:\"profile.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:6:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;}}i:3;a:4:{s:1:\"a\";i:4;s:1:\"b\";s:23:\"profile.change_password\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:6:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;}}i:4;a:4:{s:1:\"a\";i:5;s:1:\"b\";s:13:\"students.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:6:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:5;i:5;i:6;}}i:5;a:4:{s:1:\"a\";i:6;s:1:\"b\";s:15:\"students.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:4:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:6;}}i:6;a:4:{s:1:\"a\";i:7;s:1:\"b\";s:15:\"students.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:4:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:6;}}i:7;a:4:{s:1:\"a\";i:8;s:1:\"b\";s:15:\"students.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:8;a:4:{s:1:\"a\";i:9;s:1:\"b\";s:15:\"students.import\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:9;a:4:{s:1:\"a\";i:10;s:1:\"b\";s:15:\"students.export\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:10;a:4:{s:1:\"a\";i:11;s:1:\"b\";s:14:\"guardians.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:6;}}i:11;a:4:{s:1:\"a\";i:12;s:1:\"b\";s:16:\"guardians.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:4:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:6;}}i:12;a:4:{s:1:\"a\";i:13;s:1:\"b\";s:16:\"guardians.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:4:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:6;}}i:13;a:4:{s:1:\"a\";i:14;s:1:\"b\";s:16:\"guardians.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:14;a:4:{s:1:\"a\";i:15;s:1:\"b\";s:13:\"payments.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:4;}}i:15;a:4:{s:1:\"a\";i:16;s:1:\"b\";s:15:\"payments.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:4;}}i:16;a:4:{s:1:\"a\";i:17;s:1:\"b\";s:15:\"payments.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:4;}}i:17;a:4:{s:1:\"a\";i:18;s:1:\"b\";s:15:\"payments.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:18;a:4:{s:1:\"a\";i:19;s:1:\"b\";s:16:\"payments.receipt\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:4;}}i:19;a:4:{s:1:\"a\";i:20;s:1:\"b\";s:16:\"payments.overdue\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:4;}}i:20;a:4:{s:1:\"a\";i:21;s:1:\"b\";s:15:\"attendance.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:5;i:4;i:6;}}i:21;a:4:{s:1:\"a\";i:22;s:1:\"b\";s:15:\"attendance.mark\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:5;i:4;i:6;}}i:22;a:4:{s:1:\"a\";i:23;s:1:\"b\";s:17:\"attendance.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:6;}}i:23;a:4:{s:1:\"a\";i:24;s:1:\"b\";s:17:\"attendance.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:24;a:4:{s:1:\"a\";i:25;s:1:\"b\";s:11:\"levels.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}}i:25;a:4:{s:1:\"a\";i:26;s:1:\"b\";s:13:\"levels.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:26;a:4:{s:1:\"a\";i:27;s:1:\"b\";s:13:\"levels.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:27;a:4:{s:1:\"a\";i:28;s:1:\"b\";s:13:\"levels.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:28;a:4:{s:1:\"a\";i:29;s:1:\"b\";s:12:\"classes.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:5;i:4;i:6;}}i:29;a:4:{s:1:\"a\";i:30;s:1:\"b\";s:14:\"classes.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}}i:30;a:4:{s:1:\"a\";i:31;s:1:\"b\";s:14:\"classes.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:3;}}i:31;a:4:{s:1:\"a\";i:32;s:1:\"b\";s:14:\"classes.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:32;a:4:{s:1:\"a\";i:33;s:1:\"b\";s:12:\"reports.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:5:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:4;i:4;i:6;}}i:33;a:4:{s:1:\"a\";i:34;s:1:\"b\";s:16:\"reports.students\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:4:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:6;}}i:34;a:4:{s:1:\"a\";i:35;s:1:\"b\";s:18:\"reports.attendance\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:4:{i:0;i:1;i:1;i:2;i:2;i:3;i:3;i:6;}}i:35;a:4:{s:1:\"a\";i:36;s:1:\"b\";s:17:\"reports.financial\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:4;}}i:36;a:4:{s:1:\"a\";i:37;s:1:\"b\";s:14:\"reports.export\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:3:{i:0;i:1;i:1;i:2;i:2;i:4;}}i:37;a:4:{s:1:\"a\";i:38;s:1:\"b\";s:13:\"settings.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:38;a:4:{s:1:\"a\";i:39;s:1:\"b\";s:15:\"settings.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:39;a:4:{s:1:\"a\";i:40;s:1:\"b\";s:20:\"settings.upload_logo\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:40;a:4:{s:1:\"a\";i:41;s:1:\"b\";s:10:\"users.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:41;a:4:{s:1:\"a\";i:42;s:1:\"b\";s:12:\"users.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:42;a:4:{s:1:\"a\";i:43;s:1:\"b\";s:12:\"users.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:43;a:4:{s:1:\"a\";i:44;s:1:\"b\";s:12:\"users.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:44;a:4:{s:1:\"a\";i:45;s:1:\"b\";s:20:\"users.reset_password\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:45;a:4:{s:1:\"a\";i:46;s:1:\"b\";s:12:\"users.manage\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:46;a:4:{s:1:\"a\";i:47;s:1:\"b\";s:16:\"permissions.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:47;a:4:{s:1:\"a\";i:48;s:1:\"b\";s:18:\"permissions.manage\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:48;a:4:{s:1:\"a\";i:49;s:1:\"b\";s:24:\"permissions.roles.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:49;a:4:{s:1:\"a\";i:50;s:1:\"b\";s:24:\"permissions.roles.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:50;a:4:{s:1:\"a\";i:51;s:1:\"b\";s:24:\"permissions.roles.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:51;a:4:{s:1:\"a\";i:52;s:1:\"b\";s:30:\"permissions.permissions.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:52;a:4:{s:1:\"a\";i:53;s:1:\"b\";s:30:\"permissions.permissions.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:53;a:4:{s:1:\"a\";i:54;s:1:\"b\";s:12:\"backups.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:54;a:4:{s:1:\"a\";i:55;s:1:\"b\";s:14:\"backups.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:55;a:4:{s:1:\"a\";i:56;s:1:\"b\";s:16:\"backups.download\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:56;a:4:{s:1:\"a\";i:57;s:1:\"b\";s:14:\"backups.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:57;a:4:{s:1:\"a\";i:58;s:1:\"b\";s:15:\"backups.restore\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:1:{i:0;i:1;}}i:58;a:4:{s:1:\"a\";i:59;s:1:\"b\";s:12:\"storage.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:59;a:4:{s:1:\"a\";i:60;s:1:\"b\";s:14:\"storage.upload\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:60;a:4:{s:1:\"a\";i:61;s:1:\"b\";s:14:\"storage.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:61;a:4:{s:1:\"a\";i:62;s:1:\"b\";s:16:\"storage.download\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:62;a:4:{s:1:\"a\";i:63;s:1:\"b\";s:18:\"trial-periods.view\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:63;a:4:{s:1:\"a\";i:64;s:1:\"b\";s:20:\"trial-periods.create\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:64;a:4:{s:1:\"a\";i:65;s:1:\"b\";s:20:\"trial-periods.update\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}i:65;a:4:{s:1:\"a\";i:66;s:1:\"b\";s:20:\"trial-periods.delete\";s:1:\"c\";s:3:\"web\";s:1:\"r\";a:2:{i:0;i:1;i:1;i:2;}}}s:5:\"roles\";a:6:{i:0;a:3:{s:1:\"a\";i:1;s:1:\"b\";s:11:\"Super Admin\";s:1:\"c\";s:3:\"web\";}i:1;a:3:{s:1:\"a\";i:2;s:1:\"b\";s:5:\"Admin\";s:1:\"c\";s:3:\"web\";}i:2;a:3:{s:1:\"a\";i:3;s:1:\"b\";s:7:\"Manager\";s:1:\"c\";s:3:\"web\";}i:3;a:3:{s:1:\"a\";i:4;s:1:\"b\";s:10:\"Accountant\";s:1:\"c\";s:3:\"web\";}i:4;a:3:{s:1:\"a\";i:5;s:1:\"b\";s:7:\"Teacher\";s:1:\"c\";s:3:\"web\";}i:5;a:3:{s:1:\"a\";i:6;s:1:\"b\";s:32:\"مشرف على التلاميذ\";s:1:\"c\";s:3:\"web\";}}}',1766924505),('madrasti-cache-teachers','O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:0:{}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}',1766840533);

--
-- Table structure for table `madrasti_d5_cache_locks`
--

CREATE TABLE `madrasti_d5_cache_locks` (
  `key` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `owner` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `expiration` int NOT NULL,
  PRIMARY KEY (`key`),
  KEY `cache_locks_expiration_index_madrasti_d5` (`expiration`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_cache_locks`
--


--
-- Table structure for table `madrasti_d5_classes`
--

CREATE TABLE `madrasti_d5_classes` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `school_year_id` bigint unsigned DEFAULT NULL,
  `level_id` bigint unsigned NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `capacity` int NOT NULL DEFAULT '30',
  `teacher_id` bigint unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `classes_school_year_level_name_unique_madrasti_d5` (`school_year_id`,`level_id`,`name`),
  KEY `classes_school_year_id_index_madrasti_d5` (`school_year_id`),
  KEY `classes_level_id_index_madrasti_d5` (`level_id`),
  KEY `classes_teacher_id_index_madrasti_d5` (`teacher_id`),
  KEY `classes_school_year_level_index_madrasti_d5` (`school_year_id`,`level_id`),
  KEY `classes_level_name_index_madrasti_d5` (`level_id`,`name`),
  CONSTRAINT `madrasti_d5_classes_level_id_foreign` FOREIGN KEY (`level_id`) REFERENCES `madrasti_d5_levels` (`id`) ON DELETE CASCADE,
  CONSTRAINT `madrasti_d5_classes_school_year_id_foreign` FOREIGN KEY (`school_year_id`) REFERENCES `madrasti_d5_school_years` (`id`) ON DELETE CASCADE,
  CONSTRAINT `madrasti_d5_classes_teacher_id_foreign` FOREIGN KEY (`teacher_id`) REFERENCES `madrasti_d5_users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_classes`
--

INSERT INTO `madrasti_d5_classes` VALUES (1,NULL,1,'PS-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(2,NULL,1,'PS-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(3,NULL,2,'MS-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(4,NULL,2,'MS-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(5,NULL,3,'GS-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(6,NULL,3,'GS-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(7,NULL,4,'1APG-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(8,NULL,4,'1APG-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(9,NULL,5,'2APG-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(10,NULL,5,'2APG-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(11,NULL,6,'3APG-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(12,NULL,6,'3APG-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(13,NULL,7,'4APG-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(14,NULL,7,'4APG-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(15,NULL,8,'5APG-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(16,NULL,8,'5APG-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(17,NULL,9,'6APG-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(18,NULL,9,'6APG-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(19,NULL,10,'1AC-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(20,NULL,10,'1AC-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(21,NULL,11,'2AC-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(22,NULL,11,'2AC-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(23,NULL,12,'3AC-1',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(24,NULL,12,'3AC-2',30,NULL,'2025-12-16 22:26:28','2025-12-16 22:26:28');

--
-- Table structure for table `madrasti_d5_failed_jobs`
--

CREATE TABLE `madrasti_d5_failed_jobs` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `uuid` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `connection` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `queue` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `exception` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `madrasti_d5_failed_jobs_uuid_unique_madrasti_d5` (`uuid`),
  KEY `failed_jobs_uuid_index_madrasti_d5` (`uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_failed_jobs`
--


--
-- Table structure for table `madrasti_d5_forbidden_items`
--

CREATE TABLE `madrasti_d5_forbidden_items` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `student_id` bigint unsigned NOT NULL,
  `type` enum('food','medicine') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `forbidden_items_student_id_index_madrasti_d5` (`student_id`),
  KEY `forbidden_items_type_index_madrasti_d5` (`type`),
  KEY `forbidden_items_student_type_index_madrasti_d5` (`student_id`,`type`),
  CONSTRAINT `madrasti_d5_forbidden_items_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `madrasti_d5_students` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_forbidden_items`
--


--
-- Table structure for table `madrasti_d5_guardian_student`
--

CREATE TABLE `madrasti_d5_guardian_student` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `guardian_id` bigint unsigned NOT NULL,
  `student_id` bigint unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `guardian_student_guardian_student_unique_madrasti_d5` (`guardian_id`,`student_id`),
  KEY `guardian_student_guardian_id_index_madrasti_d5` (`guardian_id`),
  KEY `guardian_student_student_id_index_madrasti_d5` (`student_id`),
  CONSTRAINT `madrasti_d5_guardian_student_guardian_id_foreign` FOREIGN KEY (`guardian_id`) REFERENCES `madrasti_d5_guardians` (`id`) ON DELETE CASCADE,
  CONSTRAINT `madrasti_d5_guardian_student_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `madrasti_d5_students` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_guardian_student`
--


--
-- Table structure for table `madrasti_d5_guardians`
--

CREATE TABLE `madrasti_d5_guardians` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `relationship` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `allowed_to_pickup` tinyint(1) NOT NULL DEFAULT '1',
  `photo_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `guardians_phone_index_madrasti_d5` (`phone`),
  KEY `guardians_email_index_madrasti_d5` (`email`),
  KEY `guardians_relationship_index_madrasti_d5` (`relationship`),
  KEY `guardians_allowed_to_pickup_index_madrasti_d5` (`allowed_to_pickup`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_guardians`
--


--
-- Table structure for table `madrasti_d5_job_batches`
--

CREATE TABLE `madrasti_d5_job_batches` (
  `id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `total_jobs` int NOT NULL,
  `pending_jobs` int NOT NULL,
  `failed_jobs` int NOT NULL,
  `failed_job_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `options` mediumtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `cancelled_at` int DEFAULT NULL,
  `created_at` int NOT NULL,
  `finished_at` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `job_batches_cancelled_at_index_madrasti_d5` (`cancelled_at`),
  KEY `job_batches_created_at_index_madrasti_d5` (`created_at`),
  KEY `job_batches_finished_at_index_madrasti_d5` (`finished_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_job_batches`
--


--
-- Table structure for table `madrasti_d5_jobs`
--

CREATE TABLE `madrasti_d5_jobs` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `queue` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `attempts` tinyint unsigned NOT NULL,
  `reserved_at` int unsigned DEFAULT NULL,
  `available_at` int unsigned NOT NULL,
  `created_at` int unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `jobs_queue_index_madrasti_d5` (`queue`),
  KEY `jobs_reserved_at_index_madrasti_d5` (`reserved_at`),
  KEY `jobs_available_at_index_madrasti_d5` (`available_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_jobs`
--


--
-- Table structure for table `madrasti_d5_level_payment_type`
--

CREATE TABLE `madrasti_d5_level_payment_type` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `level_id` bigint unsigned NOT NULL,
  `payment_type_id` bigint unsigned NOT NULL,
  `price` decimal(10,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `level_payment_type_level_payment_unique_madrasti_d5` (`level_id`,`payment_type_id`),
  KEY `level_payment_type_level_id_index_madrasti_d5` (`level_id`),
  KEY `level_payment_type_payment_type_id_index_madrasti_d5` (`payment_type_id`),
  CONSTRAINT `madrasti_d5_level_payment_type_level_id_foreign` FOREIGN KEY (`level_id`) REFERENCES `madrasti_d5_levels` (`id`) ON DELETE CASCADE,
  CONSTRAINT `madrasti_d5_level_payment_type_payment_type_id_foreign` FOREIGN KEY (`payment_type_id`) REFERENCES `madrasti_d5_payment_types` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_level_payment_type`
--


--
-- Table structure for table `madrasti_d5_levels`
--

CREATE TABLE `madrasti_d5_levels` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `school_year_id` bigint unsigned DEFAULT NULL,
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sort_order` int NOT NULL DEFAULT '0',
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `monthly_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `cafeteria_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `transportation_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `private_lessons_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `insurance_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `schooling_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `nursery_fee` decimal(10,2) NOT NULL DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `madrasti_d5_levels_code_unique_madrasti_d5` (`code`),
  KEY `levels_school_year_id_index_madrasti_d5` (`school_year_id`),
  KEY `levels_code_index_madrasti_d5` (`code`),
  KEY `levels_sort_order_index_madrasti_d5` (`sort_order`),
  KEY `levels_school_year_sort_order_index_madrasti_d5` (`school_year_id`,`sort_order`),
  CONSTRAINT `madrasti_d5_levels_school_year_id_foreign` FOREIGN KEY (`school_year_id`) REFERENCES `madrasti_d5_school_years` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_levels`
--

INSERT INTO `madrasti_d5_levels` VALUES (1,NULL,'PS',1,'Petite Section',400.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(2,NULL,'MS',2,'Moyenne Section',450.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(3,NULL,'GS',3,'Grande Section',500.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(4,NULL,'1APG',5,'1ère Année Primaire',550.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(5,NULL,'2APG',6,'2ème Année Primaire',600.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(6,NULL,'3APG',7,'3ème Année Primaire',650.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(7,NULL,'4APG',8,'4ème Année Primaire',700.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(8,NULL,'5APG',9,'5ème Année Primaire',750.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(9,NULL,'6APG',10,'6ème Année Primaire',800.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(10,NULL,'1AC',11,'1ère Année Collège',850.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(11,NULL,'2AC',12,'2ème Année Collège',900.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28'),(12,NULL,'3AC',13,'3ème Année Collège',950.00,0.00,0.00,0.00,0.00,0.00,0.00,'2025-12-16 22:26:28','2025-12-16 22:26:28');

--
-- Table structure for table `madrasti_d5_migrations`
--

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

--
-- Dumping data for table `madrasti_d5_migrations`
--

INSERT INTO `madrasti_d5_migrations` VALUES (1,'0001_01_01_000000_create_migrations_table',1),(2,'2025_12_13_000001_create_users_table',1),(3,'2025_12_13_000002_create_cache_table',1),(4,'2025_12_13_000003_create_jobs_table',1),(5,'2025_12_13_000004_create_permission_tables',1),(6,'2025_12_13_000005_create_school_years_table',1),(7,'2025_12_13_000006_create_levels_table',1),(8,'2025_12_13_000007_create_classes_table',1),(9,'2025_12_13_000008_create_students_table',1),(10,'2025_12_13_000009_create_guardians_table',1),(11,'2025_12_13_000010_create_guardian_student_table',1),(12,'2025_12_13_000011_create_school_settings_table',1),(13,'2025_12_13_000012_create_settings_table',1),(14,'2025_12_13_000013_create_attendances_table',1),(15,'2025_12_13_000014_create_payments_table',1),(16,'2025_12_13_000015_create_payment_components_table',1),(17,'2025_12_13_000016_create_payment_transactions_table',1),(18,'2025_12_13_000017_create_transfers_table',1),(19,'2025_12_13_000018_create_notifications_log_table',1),(20,'2025_12_13_000019_create_trial_periods_table',1),(21,'2025_12_13_000020_create_backups_table',1),(22,'2025_12_13_000021_create_payment_types_table',1),(23,'2025_12_13_000022_create_level_payment_type_table',1),(24,'2025_12_13_000023_create_treasury_transactions_table',1),(25,'2025_12_13_000024_create_forbidden_items_table',1),(26,'2025_12_13_000025_create_student_services_table',1);

--
-- Table structure for table `madrasti_d5_model_has_permissions`
--

CREATE TABLE `madrasti_d5_model_has_permissions` (
  `permission_id` bigint unsigned NOT NULL,
  `model_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint unsigned NOT NULL,
  PRIMARY KEY (`permission_id`,`model_id`,`model_type`),
  KEY `model_has_permissions_model_id_model_type_index_madrasti_d5` (`model_id`,`model_type`),
  CONSTRAINT `madrasti_d5_model_has_permissions_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `madrasti_d5_permissions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_model_has_permissions`
--


--
-- Table structure for table `madrasti_d5_model_has_roles`
--

CREATE TABLE `madrasti_d5_model_has_roles` (
  `role_id` bigint unsigned NOT NULL,
  `model_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `model_id` bigint unsigned NOT NULL,
  PRIMARY KEY (`role_id`,`model_id`,`model_type`),
  KEY `model_has_roles_model_id_model_type_index_madrasti_d5` (`model_id`,`model_type`),
  CONSTRAINT `madrasti_d5_model_has_roles_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `madrasti_d5_roles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_model_has_roles`
--

INSERT INTO `madrasti_d5_model_has_roles` VALUES (1,'App\\Models\\User',1),(2,'App\\Models\\User',2),(3,'App\\Models\\User',3),(4,'App\\Models\\User',4);

--
-- Table structure for table `madrasti_d5_notifications_log`
--

CREATE TABLE `madrasti_d5_notifications_log` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `student_id` bigint unsigned NOT NULL,
  `guardian_id` bigint unsigned DEFAULT NULL,
  `type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `channel` enum('email','sms','both') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sent_at` timestamp NULL DEFAULT NULL,
  `status` enum('pending','sent','failed') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `error_message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `madrasti_d5_notifications_log_guardian_id_foreign` (`guardian_id`),
  KEY `notifications_log_student_guardian_index_madrasti_d5` (`student_id`,`guardian_id`),
  KEY `notifications_log_status_index_madrasti_d5` (`status`),
  KEY `notifications_log_sent_at_index_madrasti_d5` (`sent_at`),
  KEY `notifications_log_type_index_madrasti_d5` (`type`),
  KEY `notifications_log_channel_index_madrasti_d5` (`channel`),
  CONSTRAINT `madrasti_d5_notifications_log_guardian_id_foreign` FOREIGN KEY (`guardian_id`) REFERENCES `madrasti_d5_guardians` (`id`) ON DELETE SET NULL,
  CONSTRAINT `madrasti_d5_notifications_log_student_id_foreign` FOREIGN KEY (`student_id`) REFERENCES `madrasti_d5_students` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_notifications_log`
--


--
-- Table structure for table `madrasti_d5_password_reset_tokens`
--

CREATE TABLE `madrasti_d5_password_reset_tokens` (
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`email`),
  KEY `password_reset_tokens_email_index_madrasti_d5` (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_password_reset_tokens`
--


--
-- Table structure for table `madrasti_d5_payment_components`
--

CREATE TABLE `madrasti_d5_payment_components` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `payment_id` bigint unsigned NOT NULL,
  `component_type` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `amount_due` decimal(10,2) NOT NULL,
  `amount_paid` decimal(10,2) NOT NULL DEFAULT '0.00',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payment_components_payment_id_index_madrasti_d5` (`payment_id`),
  KEY `payment_components_component_type_index_madrasti_d5` (`component_type`),
  CONSTRAINT `madrasti_d5_payment_components_payment_id_foreign` FOREIGN KEY (`payment_id`) REFERENCES `madrasti_d5_payments` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_payment_components`
--


--
-- Table structure for table `madrasti_d5_payment_transactions`
--

CREATE TABLE `madrasti_d5_payment_transactions` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `payment_id` bigint unsigned NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `method` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'cash',
  `transaction_date` date NOT NULL,
  `receipt_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `receipt_path` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `madrasti_d5_payment_transactions_receipt_number_unique` (`receipt_number`),
  KEY `payment_transactions_payment_id_index_madrasti_d5` (`payment_id`),
  KEY `payment_transactions_receipt_number_index_madrasti_d5` (`receipt_number`),
  KEY `payment_transactions_transaction_date_index_madrasti_d5` (`transaction_date`),
  KEY `payment_transactions_method_index_madrasti_d5` (`method`),
  CONSTRAINT `madrasti_d5_payment_transactions_payment_id_foreign` FOREIGN KEY (`payment_id`) REFERENCES `madrasti_d5_payments` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
-- Dumping data for table `madrasti_d5_payment_transactions`
--


--
-- Table structure for table `madrasti_d5_payment_types`
--

CREATE TABLE `madrasti_d5_payment_types` (
  `id` bigint unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `name_ar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `payment_types_name_unique_madrasti_d5` (`name`),
  UNIQUE KEY `payment_types_code_unique_madrasti_d5` (`code`),
  UNIQUE KEY `madrasti_d5_payment_types_name_unique_madrasti_d5` (`name`),
  UNIQUE KEY `madrasti_d5_payment_types_code_unique_madrasti_d5` (`code`),
  KEY `payment_types_is_active_index_madrasti_d5` (`is_active`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

--
