-- Roz Skin Database Backup
-- Generated: 2025-11-30 00:55:40
-- Tables: 68



-- Table: addresses
CREATE TABLE `addresses` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `title` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `full_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `address_line1` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `address_line2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `city` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `state` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `postal_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `location` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'الموقع الجغرافي (lat,lng)',
  `latitude` decimal(10,8) DEFAULT NULL COMMENT 'خط العرض',
  `longitude` decimal(11,8) DEFAULT NULL COMMENT 'خط الطول',
  `is_default` tinyint(1) DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`),
  CONSTRAINT `addresses_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;


-- Table: announcements
CREATE TABLE `announcements` (
  `id` int NOT NULL AUTO_INCREMENT,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'عنوان العرض',
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'نص الإعلان',
  `background_color` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '#dc3545' COMMENT 'لون الخلفية',
  `text_color` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '#ffffff' COMMENT 'لون النص',
  `link_url` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'رابط العرض',
  `link_text` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'نص الرابط',
  `coupon_code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'كود الكوبون (اختياري)',
  `is_active` tinyint(1) DEFAULT '1' COMMENT 'نشط',
  `start_date` datetime DEFAULT NULL COMMENT 'تاريخ البداية',
  `end_date` datetime DEFAULT NULL COMMENT 'تاريخ النهاية',
  `display_order` int DEFAULT '0' COMMENT 'ترتيب العرض',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_active` (`is_active`),
  KEY `idx_dates` (`start_date`,`end_date`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: announcements
INSERT INTO `announcements` (`id`, `title`, `message`, `background_color`, `text_color`, `link_url`, `link_text`, `coupon_code`, `is_active`, `start_date`, `end_date`, `display_order`, `created_at`, `updated_at`) VALUES ('1', '🔥 عرض فلاش', 'خصم 50% على جميع المنتجات - لمدة محدودة!', '#dc3545', '#ffffff', NULL, NULL, 'FLASH50', '1', NULL, '2025-11-25 02:21:40', '0', '2025-11-18 04:21:40', '2025-11-18 04:21:40');
INSERT INTO `announcements` (`id`, `title`, `message`, `background_color`, `text_color`, `link_url`, `link_text`, `coupon_code`, `is_active`, `start_date`, `end_date`, `display_order`, `created_at`, `updated_at`) VALUES ('2', '🔥 عرض فلاش', 'خصم 50% على جميع المنتجات - لمدة محدودة!', '#dc3545', '#ffffff', NULL, NULL, 'FLASH50', '1', NULL, '2025-11-25 02:23:38', '0', '2025-11-18 04:23:38', '2025-11-18 04:23:38');


-- Table: beauty_bookings
CREATE TABLE `beauty_bookings` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `phone` varchar(20) NOT NULL,
  `email` varchar(255) DEFAULT NULL,
  `service_id` int NOT NULL,
  `appointment_date` date NOT NULL,
  `appointment_time` time NOT NULL,
  `status` enum('pending','confirmed','completed','cancelled') DEFAULT 'pending',
  `notes` text,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `user_id` (`user_id`),
  KEY `service_id` (`service_id`),
  CONSTRAINT `beauty_bookings_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `beauty_bookings_ibfk_2` FOREIGN KEY (`service_id`) REFERENCES `beauty_services` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Data for table: beauty_bookings
INSERT INTO `beauty_bookings` (`id`, `user_id`, `name`, `phone`, `email`, `service_id`, `appointment_date`, `appointment_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('1', '2', 'أحمد محمد', '01012345678', '', '3', '2025-11-13', '17:00:00', 'completed', '', '2025-11-13 00:25:02', '2025-11-18 14:55:30');
INSERT INTO `beauty_bookings` (`id`, `user_id`, `name`, `phone`, `email`, `service_id`, `appointment_date`, `appointment_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('2', '2', 'أحمد محمد', '01012345678', '', '1', '2025-11-14', '16:00:00', 'pending', '', '2025-11-13 02:44:31', '2025-11-13 02:44:31');
INSERT INTO `beauty_bookings` (`id`, `user_id`, `name`, `phone`, `email`, `service_id`, `appointment_date`, `appointment_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('3', '2', 'أحمد محمد', '01012345678', '', '1', '2025-11-14', '15:00:00', 'pending', '', '2025-11-13 02:52:59', '2025-11-13 02:52:59');
INSERT INTO `beauty_bookings` (`id`, `user_id`, `name`, `phone`, `email`, `service_id`, `appointment_date`, `appointment_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('4', '1', 'Ahmed Sharara', '01098890999', '', '2', '2025-11-15', '16:00:00', 'pending', '', '2025-11-13 03:36:32', '2025-11-13 03:36:32');
INSERT INTO `beauty_bookings` (`id`, `user_id`, `name`, `phone`, `email`, `service_id`, `appointment_date`, `appointment_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('5', '1', 'Ahmed Sharara', '01098890999', '', '1', '2025-11-15', '17:00:00', 'pending', '', '2025-11-13 06:38:47', '2025-11-13 06:38:47');
INSERT INTO `beauty_bookings` (`id`, `user_id`, `name`, `phone`, `email`, `service_id`, `appointment_date`, `appointment_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('6', '1', 'Ahmed Sharara', '01098890999', '', '2', '2025-11-16', '14:00:00', 'pending', '', '2025-11-13 08:12:44', '2025-11-13 08:12:44');


-- Table: beauty_services
CREATE TABLE `beauty_services` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` text,
  `price` decimal(10,2) NOT NULL,
  `discount_percentage` decimal(5,2) DEFAULT '0.00',
  `duration` int NOT NULL,
  `category` varchar(100) DEFAULT NULL,
  `image` varchar(255) DEFAULT NULL,
  `additional_images` json DEFAULT NULL,
  `variations` json DEFAULT NULL,
  `available_branches` json DEFAULT NULL,
  `is_limited_stock` tinyint(1) DEFAULT '0',
  `is_free_shipping` tinyint(1) DEFAULT '1',
  `is_medicinal` tinyint(1) DEFAULT '0',
  `medicinal_leaflet` text,
  `usage_instructions` text,
  `stock_quantity` int DEFAULT '0',
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=49 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Data for table: beauty_services
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('1', 'علاج البشرة المتقدم', 'جلسات علاج شاملة لجميع أنواع البشرة باستخدام أحدث التقنيات والمنتجات الطبيعية', '500.00', '10.00', '60', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', NULL, '0', '1', '2025-11-12 07:52:25', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('2', 'المساج والاسترخاء', 'جلسات مساج علاجية تساعد على الاسترخاء والتخلص من التوتر والإرهاق اليومي', '300.00', '15.00', '45', 'massage', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', NULL, '0', '1', '2025-11-12 07:52:25', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('3', 'العناية بالشعر', 'خدمات علاج الشعر المتقدمة وتصفيف الشعر بأحدث الصيحات والمنتجات المغذية', '250.00', '0.00', '45', 'hair_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', NULL, '0', '1', '2025-11-12 07:52:25', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('5', 'علاج حب الشباب', 'برنامج علاجي متخصص لحب الشباب وندباته باستخدام تقنيات حديثة', '400.00', '20.00', '50', 'skin_treatment', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', NULL, '0', '1', '2025-11-12 07:52:25', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('7', 'تنظيف البشرة العميق (16 خطوة)', 'تنظيف عميق للبشرة من خلال 16 مرحلة متخصصة لإزالة الشوائب والخلايا الميتة وتنقية المسام', '100.00', '50.00', '60', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', 'السعر 50 ج في العروض، 100 ج السعر الطبيعي', '0', '1', '2025-11-19 09:22:57', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('8', 'تنظيف البشرة العميق الهيدروفيشيال (20 مرحلة)', 'تنظيف متقدم للبشرة باستخدام تقنية الهيدروفيشيال من خلال 20 مرحلة مع جهاز الفراكوانسي', '100.00', '0.00', '75', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', 'مع جهاز الفراكوانسي', '0', '1', '2025-11-19 09:22:57', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('9', 'وش كامل فتلة (خيط)', 'إزالة شعر الوجه بالكامل باستخدام الخيط (الفتلة) بطريقة احترافية', '30.00', '0.00', '20', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:57', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('10', 'شمع للوش كامل', 'إزالة شعر الوجه بالكامل باستخدام الشمع', '70.00', '29.00', '25', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', 'السعر 50 ج في العروض، 70 ج السعر الطبيعي', '0', '1', '2025-11-19 09:22:57', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('11', 'شنب وحواجب وماسك تنظيف', 'باقة متكاملة لتنظيف الشنب والحواجب مع ماسك تنظيف للبشرة', '50.00', '60.00', '30', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', 'يبدأ من 20 ج حسب العرض', '0', '1', '2025-11-19 09:22:57', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('12', 'تاتو حواجب', 'رسم وتحديد الحواجب بتقنية التاتو شبه الدائم', '50.00', '40.00', '45', 'makeup', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', 'السعر 30 ج في العروض، 50 ج السعر الطبيعي', '0', '1', '2025-11-19 09:22:57', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('13', 'توريد خدود', 'توريد طبيعي للخدود لإضفاء إشراقة ونضارة دائمة', '200.00', '0.00', '60', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:57', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('14', 'درما بن نضارة', 'جلسة درما بن لتحفيز الكولاجين وإعادة النضارة والحيوية للبشرة', '200.00', '50.00', '45', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '1', 'يُنصح باستشارة الطبيب قبل الاستخدام. قد يسبب احمرار مؤقت. تجنب التعرض للشمس بعد الجلسة.', 'السعر 100 ج في العروض، 200 ج السعر الطبيعي', '0', '1', '2025-11-19 09:22:57', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('15', 'درما بن حبوب وآثار حبوب', 'علاج متخصص بالدرما بن لإزالة آثار الحبوب والندبات', '150.00', '0.00', '50', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '1', 'يُنصح باستشارة الطبيب قبل الاستخدام. قد يسبب احمرار مؤقت. تجنب التعرض للشمس بعد الجلسة.', '', '0', '1', '2025-11-19 09:22:57', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('16', 'درما بن ميزوثرابي مكس', 'جلسة شاملة تجمع بين النضارة وتوحيد اللون وتصغير المسام والتفتيح', '250.00', '8.00', '60', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '1', 'يُنصح باستشارة الطبيب قبل الاستخدام. قد يسبب احمرار مؤقت. تجنب التعرض للشمس بعد الجلسة.', 'السعر 230 ج في العروض، 250 ج السعر الطبيعي', '0', '1', '2025-11-19 09:22:57', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('17', 'درما بلانديج', 'تقنية لإزالة الجلد الميت والشعر الوبري من الوجه', '50.00', '40.00', '30', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', 'السعر 30 ج في العروض، 50 ج السعر الطبيعي', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('18', 'درما بن للهالات السوداء', 'علاج متخصص بالدرما بن لتفتيح الهالات السوداء حول العين', '150.00', '33.00', '40', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '1', 'يُنصح باستشارة الطبيب قبل الاستخدام. قد يسبب احمرار مؤقت. تجنب التعرض للشمس بعد الجلسة.', 'السعر 100 ج في العروض، 150 ج السعر الطبيعي', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('19', 'توريد الشفايف (ميزوثرابي)', 'توريد طبيعي للشفايف باستخدام تقنية الميزوثرابي', '200.00', '25.00', '45', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '1', 'يُنصح باستشارة الطبيب قبل الاستخدام. قد يسبب احمرار مؤقت. تجنب التعرض للشمس بعد الجلسة.', 'السعر 150 ج في العروض، 200 ج السعر الطبيعي', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('20', 'شمع البرافين إيد ورجل', 'إزالة شعر اليدين والرجلين بالكامل باستخدام شمع البرافين', '100.00', '0.00', '60', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('21', 'سويت كامل للجسم', 'إزالة شعر الجسم بالكامل باستخدام تقنية السويت', '350.00', '0.00', '120', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('22', 'نص إيد ونص رجل سويت', 'إزالة شعر نصف اليد ونصف الرجل بتقنية السويت', '100.00', '0.00', '45', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('23', 'شمع نص إيد ونص رجل', 'إزالة شعر نصف اليد ونصف الرجل بالشمع', '150.00', '0.00', '50', 'skin_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('24', 'بيبي ليس واستشوار وغسيل وحمام كريم', 'باقة متكاملة للعناية بالشعر تشمل البيبي ليس والاستشوار والغسيل وحمام الكريم', '100.00', '30.00', '90', 'hair_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', 'السعر 70 ج في العروض، 100 ج السعر الطبيعي', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('25', 'ليس واستشوار فقط', 'فرد الشعر بالبيبي ليس مع الاستشوار', '70.00', '0.00', '60', 'hair_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('26', 'غسيل شعر', 'غسيل احترافي للشعر بمنتجات عالية الجودة', '40.00', '0.00', '20', 'hair_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('27', 'جلسة ترميم بارد', 'جلسة ترميم للشعر بدون حرارة لإصلاح التلف', '50.00', '0.00', '30', 'hair_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('28', 'جلسة ترميم بخار', 'جلسة ترميم عميقة للشعر باستخدام البخار', '100.00', '0.00', '45', 'hair_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('29', 'جلسة ترميم الشعر علاجية للهيشان والتساقط', 'علاج متخصص لمشاكل الهيشان وتساقط الشعر', '100.00', '50.00', '60', 'hair_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', 'السعر 50 ج في العروض، 100 ج السعر الطبيعي', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('30', 'جلسة علاجية للشعر (عام)', 'جلسة علاجية شاملة لجميع مشاكل الشعر', '150.00', '0.00', '60', 'hair_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('31', 'جلسة علاجية للشعر الفارغات', 'علاج متخصص لمشكلة الفراغات في الشعر', '200.00', '0.00', '75', 'hair_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('32', 'بروتين للشعر', 'علاج بروتين متقدم لفرد وتنعيم الشعر', '1000.00', '30.00', '180', 'hair_care', NULL, NULL, '{\"types\": [\"شعر قصير\", \"شعر متوسط\", \"شعر طويل\"]}', '[1, 2, 3]', '1', '1', '0', '', 'يبدأ من 700 ج حسب طول الشعر', '46', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('33', 'كفيار للشعر', 'علاج كفيار فاخر لتغذية وترميم الشعر', '1400.00', '29.00', '180', 'hair_care', NULL, NULL, '{\"types\": [\"شعر قصير\", \"شعر متوسط\", \"شعر طويل\"]}', '[1, 2, 3]', '1', '1', '0', '', 'السعر 1000 ج في العروض، 1400 ج السعر الطبيعي', '31', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('34', 'ويفي (تمويج الشعر)', 'تمويج طبيعي للشعر بتقنية الويفي', '150.00', '0.00', '90', 'hair_care', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('35', 'صبغة لون واحد', 'صبغ الشعر بلون واحد موحد', '400.00', '0.00', '120', 'hair_care', NULL, NULL, '{\"types\": [\"أسود\", \"بني\", \"كستنائي\", \"أحمر\", \"بلوند\"]}', '[1, 2, 3]', '1', '1', '0', '', '', '47', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('36', 'صبغة لونين', 'صبغ الشعر بلونين متناسقين', '650.00', '0.00', '150', 'hair_care', NULL, NULL, '{\"types\": [\"أسود\", \"بني\", \"كستنائي\", \"أحمر\", \"بلوند\"]}', '[1, 2, 3]', '1', '1', '0', '', '', '30', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('37', 'صبغة لوتين أو بلوند', 'صبغة متخصصة للألوان الفاتحة (لوتين أو بلوند)', '600.00', '0.00', '150', 'hair_care', NULL, NULL, '{\"types\": [\"أسود\", \"بني\", \"كستنائي\", \"أحمر\", \"بلوند\"]}', '[1, 2, 3]', '1', '1', '0', '', '', '16', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('38', 'رموش كلاسيك هيبر بي هيير', 'تركيب رموش كلاسيك بتقنية Hyper B Hair', '100.00', '50.00', '60', 'makeup', NULL, NULL, '{\"types\": [\"طبيعي\", \"كثيف\", \"طويل\"]}', '[1, 2, 3]', '0', '1', '0', '', 'السعر 50 ج في العروض، 100 ج السعر الطبيعي', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('39', 'رموش فوليوم', 'تركيب رموش بتقنية الفوليوم لمظهر كثيف', '200.00', '50.00', '90', 'makeup', NULL, NULL, '{\"types\": [\"طبيعي\", \"كثيف\", \"طويل\"]}', '[1, 2, 3]', '0', '1', '0', '', 'السعر 100 ج في العروض، 200 ج السعر الطبيعي', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('40', 'رموش ميجا فوليوم', 'تركيب رموش بتقنية الميجا فوليوم للكثافة القصوى', '200.00', '0.00', '120', 'makeup', NULL, NULL, '{\"types\": [\"طبيعي\", \"كثيف\", \"طويل\"]}', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('41', 'بدكير إيد', 'عناية متكاملة بأظافر اليدين', '50.00', '0.00', '30', 'nails', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('42', 'بدكير رجل', 'عناية متكاملة بأظافر القدمين', '50.00', '0.00', '30', 'nails', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('43', 'بدكير إيد ورجل ولون', 'باقة متكاملة للعناية بأظافر اليدين والقدمين مع طلاء الأظافر', '70.00', '0.00', '60', 'nails', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('44', 'تركيب أظافر + لون', 'تركيب أظافر صناعية مع طلاء بالألوان', '100.00', '0.00', '60', 'nails', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('45', 'فيك نيلز ديزين', 'رسومات وتصاميم فنية على الأظافر', '70.00', '0.00', '45', 'nails', NULL, NULL, '{\"types\": [\"أحمر\", \"وردي\", \"بيج\", \"فرنش\", \"عنابي\"]}', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('46', 'فيك نيلز جيل', 'طلاء أظافر بتقنية الجيل', '100.00', '0.00', '45', 'nails', NULL, NULL, '{\"types\": [\"أحمر\", \"وردي\", \"بيج\", \"فرنش\", \"عنابي\"]}', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('47', 'فيك نيلز الألوان العادي', 'طلاء أظافر بالألوان العادية', '50.00', '0.00', '30', 'nails', NULL, NULL, '{\"types\": [\"أحمر\", \"وردي\", \"بيج\", \"فرنش\", \"عنابي\"]}', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');
INSERT INTO `beauty_services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('48', 'استرس السنة', 'جلسة استرخاء ومساج لتخفيف التوتر والضغط', '20.00', '0.00', '30', 'massage', NULL, NULL, '[]', '[1, 2, 3]', '0', '1', '0', '', '', '0', '1', '2025-11-19 09:22:58', '2025-11-19 09:30:52');


-- Table: bookings
CREATE TABLE `bookings` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `service_id` int NOT NULL,
  `branch_id` int DEFAULT NULL,
  `customer_name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `customer_phone` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
  `booking_date` date NOT NULL,
  `booking_time` time NOT NULL,
  `status` varchar(20) COLLATE utf8mb4_unicode_ci DEFAULT 'pending',
  `notes` text COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `service_id` (`service_id`),
  CONSTRAINT `bookings_ibfk_1` FOREIGN KEY (`service_id`) REFERENCES `beauty_services` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: bookings
INSERT INTO `bookings` (`id`, `user_id`, `service_id`, `branch_id`, `customer_name`, `customer_phone`, `booking_date`, `booking_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('1', '1', '37', '1', 'Ahmed Sharara', '01098890999', '2025-11-21', '11:00:00', 'pending', 'رقم الحجز: BK-20251119-0001\n', '2025-11-19 07:32:00', '2025-11-19 07:32:00');
INSERT INTO `bookings` (`id`, `user_id`, `service_id`, `branch_id`, `customer_name`, `customer_phone`, `booking_date`, `booking_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('2', '7', '1', NULL, 'مستخدم تجريبي', '01000000000', '2025-01-20', '10:00:00', 'pending', 'رقم الحجز: BK-20251124-0002\nاختبار حجز خدمة من لوحة التحكم', '2025-11-24 10:12:26', '2025-11-24 10:12:26');
INSERT INTO `bookings` (`id`, `user_id`, `service_id`, `branch_id`, `customer_name`, `customer_phone`, `booking_date`, `booking_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('3', '7', '1', NULL, 'مستخدم تجريبي', '01000000000', '2025-01-20', '10:00:00', 'pending', 'رقم الحجز: BK-20251124-0003\nاختبار حجز خدمة من لوحة التحكم', '2025-11-24 10:13:35', '2025-11-24 10:13:35');
INSERT INTO `bookings` (`id`, `user_id`, `service_id`, `branch_id`, `customer_name`, `customer_phone`, `booking_date`, `booking_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('4', '7', '1', NULL, 'مستخدم تجريبي', '01000000000', '2025-01-20', '10:00:00', 'pending', 'رقم الحجز: BK-20251124-0004\nاختبار حجز خدمة من لوحة التحكم', '2025-11-24 10:16:13', '2025-11-24 10:16:13');
INSERT INTO `bookings` (`id`, `user_id`, `service_id`, `branch_id`, `customer_name`, `customer_phone`, `booking_date`, `booking_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('5', '7', '1', NULL, 'مستخدم تجريبي', '01000000000', '2025-01-20', '10:00:00', 'pending', 'رقم الحجز: BK-20251124-0005\nاختبار حجز خدمة من لوحة التحكم', '2025-11-24 10:16:37', '2025-11-24 10:16:37');
INSERT INTO `bookings` (`id`, `user_id`, `service_id`, `branch_id`, `customer_name`, `customer_phone`, `booking_date`, `booking_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('6', '7', '1', NULL, 'مستخدم تجريبي', '01000000000', '2025-01-20', '10:00:00', 'pending', 'رقم الحجز: BK-20251124-0006\nاختبار حجز خدمة من لوحة التحكم', '2025-11-24 10:22:24', '2025-11-24 10:22:24');
INSERT INTO `bookings` (`id`, `user_id`, `service_id`, `branch_id`, `customer_name`, `customer_phone`, `booking_date`, `booking_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('7', '7', '1', NULL, 'مستخدم تجريبي', '01000000000', '2025-01-20', '10:00:00', 'pending', 'رقم الحجز: BK-20251124-0007\nاختبار حجز خدمة من لوحة التحكم', '2025-11-24 10:24:56', '2025-11-24 10:24:56');
INSERT INTO `bookings` (`id`, `user_id`, `service_id`, `branch_id`, `customer_name`, `customer_phone`, `booking_date`, `booking_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('8', '7', '1', NULL, 'مستخدم تجريبي', '01000000000', '2025-11-25', '16:00:00', 'pending', 'رقم الحجز: BK-20251124-0008\n', '2025-11-24 10:35:16', '2025-11-24 10:35:16');
INSERT INTO `bookings` (`id`, `user_id`, `service_id`, `branch_id`, `customer_name`, `customer_phone`, `booking_date`, `booking_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('9', '7', '1', NULL, 'مستخدم تجريبي', '01000000000', '2025-01-20', '10:00:00', 'pending', 'رقم الحجز: BK-20251124-0009\nاختبار حجز خدمة من لوحة التحكم', '2025-11-24 10:55:11', '2025-11-24 10:55:11');
INSERT INTO `bookings` (`id`, `user_id`, `service_id`, `branch_id`, `customer_name`, `customer_phone`, `booking_date`, `booking_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('10', '7', '1', NULL, 'مستخدم تجريبي', '01000000000', '2025-01-20', '10:00:00', 'pending', 'رقم الحجز: BK-20251124-0010\nاختبار تلقائي من المحاكي', '2025-11-24 11:04:30', '2025-11-24 11:04:30');
INSERT INTO `bookings` (`id`, `user_id`, `service_id`, `branch_id`, `customer_name`, `customer_phone`, `booking_date`, `booking_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('11', '7', '1', NULL, 'مستخدم تجريبي', '01000000000', '2025-01-20', '10:00:00', 'pending', 'رقم الحجز: BK-20251124-0011\nاختبار حجز خدمة من لوحة التحكم', '2025-11-24 11:27:51', '2025-11-24 11:27:51');
INSERT INTO `bookings` (`id`, `user_id`, `service_id`, `branch_id`, `customer_name`, `customer_phone`, `booking_date`, `booking_time`, `status`, `notes`, `created_at`, `updated_at`) VALUES ('12', '7', '1', NULL, 'مستخدم تجريبي', '01000000000', '2025-01-20', '10:00:00', 'pending', 'رقم الحجز: BK-20251124-0012\nاختبار حجز خدمة من لوحة التحكم', '2025-11-24 12:00:05', '2025-11-24 12:00:05');


-- Table: branches
CREATE TABLE `branches` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `address` text NOT NULL,
  `phone` varchar(20) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `working_hours` json DEFAULT NULL,
  `is_active` tinyint(1) DEFAULT '1',
  `latitude` decimal(10,8) DEFAULT NULL,
  `longitude` decimal(11,8) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Data for table: branches
INSERT INTO `branches` (`id`, `name`, `address`, `phone`, `email`, `working_hours`, `is_active`, `latitude`, `longitude`, `created_at`, `updated_at`) VALUES ('1', 'فرع القاهرة الرئيسي', 'شارع الهرم، الجيزة، القاهرة', '01012345678', 'cairo@rozskin.com', '{\"friday\": \"14:00-22:00\", \"monday\": \"9:00-19:00\", \"sunday\": \"closed\", \"tuesday\": \"9:00-19:00\", \"saturday\": \"10:00-20:00\", \"thursday\": \"9:00-19:00\", \"wednesday\": \"9:00-19:00\"}', '1', NULL, NULL, '2025-11-11 23:12:16', '2025-11-11 23:12:16');
INSERT INTO `branches` (`id`, `name`, `address`, `phone`, `email`, `working_hours`, `is_active`, `latitude`, `longitude`, `created_at`, `updated_at`) VALUES ('2', 'فرع الإسكندرية', 'شارع الكورنيش، الإسكندرية', '01087654321', 'alex@rozskin.com', '{\"friday\": \"closed\", \"monday\": \"10:00-18:00\", \"sunday\": \"12:00-20:00\", \"tuesday\": \"10:00-18:00\", \"saturday\": \"11:00-19:00\", \"thursday\": \"10:00-18:00\", \"wednesday\": \"10:00-18:00\"}', '1', NULL, NULL, '2025-11-11 23:12:16', '2025-11-11 23:12:16');
INSERT INTO `branches` (`id`, `name`, `address`, `phone`, `email`, `working_hours`, `is_active`, `latitude`, `longitude`, `created_at`, `updated_at`) VALUES ('3', 'فرع أسيوط', 'وسط البلد، أسيوط', '01123456789', 'asyut@rozskin.com', '{\"friday\": \"closed\", \"monday\": \"9:00-17:00\", \"sunday\": \"closed\", \"tuesday\": \"9:00-17:00\", \"saturday\": \"10:00-16:00\", \"thursday\": \"9:00-17:00\", \"wednesday\": \"9:00-17:00\"}', '1', NULL, NULL, '2025-11-11 23:12:16', '2025-11-11 23:12:16');


-- Table: business_licenses
CREATE TABLE `business_licenses` (
  `id` int NOT NULL AUTO_INCREMENT,
  `document_type` enum('commercial_register','tax_card','national_id','business_address','company_registration') NOT NULL,
  `document_name` varchar(255) NOT NULL,
  `document_path` varchar(500) DEFAULT NULL,
  `expiry_date` date DEFAULT NULL,
  `is_verified` tinyint(1) DEFAULT '0',
  `verification_date` timestamp NULL DEFAULT NULL,
  `notes` text,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;


-- Table: cart
CREATE TABLE `cart` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `product_id` int NOT NULL,
  `quantity` int NOT NULL DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_cart_item` (`user_id`,`product_id`),
  KEY `product_id` (`product_id`),
  CONSTRAINT `cart_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `cart_ibfk_2` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=54 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Data for table: cart
INSERT INTO `cart` (`id`, `user_id`, `product_id`, `quantity`, `created_at`) VALUES ('50', '7', '8', '10', '2025-11-24 10:18:22');
INSERT INTO `cart` (`id`, `user_id`, `product_id`, `quantity`, `created_at`) VALUES ('51', '7', '9', '4', '2025-11-24 10:41:30');


-- Table: categories
CREATE TABLE `categories` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` text,
  `image` varchar(255) DEFAULT NULL,
  `type` enum('product','service') DEFAULT 'product',
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Data for table: categories
INSERT INTO `categories` (`id`, `name`, `description`, `image`, `type`, `is_active`, `created_at`, `updated_at`) VALUES ('10', 'العناية بالجسم', 'Body care and wellness', 'uploads/categories/category_691fd0723b08c.png', 'product', '1', '2025-11-12 07:52:25', '2025-11-21 06:37:38');
INSERT INTO `categories` (`id`, `name`, `description`, `image`, `type`, `is_active`, `created_at`, `updated_at`) VALUES ('12', 'الهدايا', 'Gift sets and packages', NULL, 'product', '1', '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `categories` (`id`, `name`, `description`, `image`, `type`, `is_active`, `created_at`, `updated_at`) VALUES ('15', 'عناية بالبشرة', 'خدمات العناية بالبشرة والوجه', NULL, 'service', '1', '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `categories` (`id`, `name`, `description`, `image`, `type`, `is_active`, `created_at`, `updated_at`) VALUES ('16', 'عناية بالشعر', 'خدمات العناية بالشعر والتصفيف', NULL, 'service', '1', '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `categories` (`id`, `name`, `description`, `image`, `type`, `is_active`, `created_at`, `updated_at`) VALUES ('17', 'مساج وتدليك', 'خدمات المساج والاسترخاء', NULL, 'service', '1', '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `categories` (`id`, `name`, `description`, `image`, `type`, `is_active`, `created_at`, `updated_at`) VALUES ('18', 'علاجات البشرة', 'علاجات متخصصة للبشرة', NULL, 'service', '1', '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `categories` (`id`, `name`, `description`, `image`, `type`, `is_active`, `created_at`, `updated_at`) VALUES ('22', 'الأكثر طلباً', 'Most requested and popular products', 'uploads/categories/category_691fd0911b889.jpeg', 'product', '1', '2025-11-18 15:13:12', '2025-11-21 06:38:09');


-- Table: consultation_bookings
CREATE TABLE `consultation_bookings` (
  `id` int NOT NULL AUTO_INCREMENT,
  `consultation_id` int NOT NULL,
  `user_id` int DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'اسم العميل',
  `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'رقم الهاتف',
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'البريد الإلكتروني',
  `booking_date` date NOT NULL COMMENT 'تاريخ الحجز',
  `booking_time` time NOT NULL COMMENT 'وقت الحجز',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT 'ملاحظات',
  `status` enum('pending','confirmed','completed','cancelled') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'pending' COMMENT 'حالة الحجز',
  `payment_status` enum('pending','paid','refunded') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'pending' COMMENT 'حالة الدفع',
  `total_price` decimal(10,2) NOT NULL COMMENT 'السعر الإجمالي',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `consultation_id` (`consultation_id`),
  KEY `user_id` (`user_id`),
  KEY `idx_status` (`status`),
  KEY `idx_date` (`booking_date`),
  CONSTRAINT `consultation_bookings_ibfk_1` FOREIGN KEY (`consultation_id`) REFERENCES `consultations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `consultation_bookings_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='جدول حجوزات الاستشارات';

-- Data for table: consultation_bookings
INSERT INTO `consultation_bookings` (`id`, `consultation_id`, `user_id`, `name`, `phone`, `email`, `booking_date`, `booking_time`, `notes`, `status`, `payment_status`, `total_price`, `created_at`, `updated_at`) VALUES ('1', '2', '1', 'Ahmed Sharara', '01098890999', NULL, '2025-11-26', '07:30:00', '', 'pending', 'pending', '200.00', '2025-11-21 06:13:05', '2025-11-21 06:13:05');
INSERT INTO `consultation_bookings` (`id`, `consultation_id`, `user_id`, `name`, `phone`, `email`, `booking_date`, `booking_time`, `notes`, `status`, `payment_status`, `total_price`, `created_at`, `updated_at`) VALUES ('2', '3', '1', 'Ahmed Sharara', '01098890999', NULL, '2025-11-30', '08:30:00', '', 'pending', 'pending', '75.00', '2025-11-24 09:20:56', '2025-11-24 09:20:56');
INSERT INTO `consultation_bookings` (`id`, `consultation_id`, `user_id`, `name`, `phone`, `email`, `booking_date`, `booking_time`, `notes`, `status`, `payment_status`, `total_price`, `created_at`, `updated_at`) VALUES ('3', '1', '1', 'Ahmed Sharara', '01098890999', NULL, '2025-01-20', '09:00:00', 'اختبار حجز استشارة من لوحة التحكم', 'pending', 'pending', '150.00', '2025-11-24 09:44:01', '2025-11-24 09:44:01');
INSERT INTO `consultation_bookings` (`id`, `consultation_id`, `user_id`, `name`, `phone`, `email`, `booking_date`, `booking_time`, `notes`, `status`, `payment_status`, `total_price`, `created_at`, `updated_at`) VALUES ('4', '1', '1', 'Ahmed Sharara', '01098890999', NULL, '2025-01-20', '09:00:00', 'اختبار حجز استشارة من لوحة التحكم', 'pending', 'pending', '150.00', '2025-11-24 09:56:32', '2025-11-24 09:56:32');
INSERT INTO `consultation_bookings` (`id`, `consultation_id`, `user_id`, `name`, `phone`, `email`, `booking_date`, `booking_time`, `notes`, `status`, `payment_status`, `total_price`, `created_at`, `updated_at`) VALUES ('5', '1', '7', 'مستخدم تجريبي', '01000000000', NULL, '2025-01-20', '09:00:00', 'اختبار حجز استشارة من لوحة التحكم', 'pending', 'pending', '150.00', '2025-11-24 10:12:26', '2025-11-24 10:12:26');
INSERT INTO `consultation_bookings` (`id`, `consultation_id`, `user_id`, `name`, `phone`, `email`, `booking_date`, `booking_time`, `notes`, `status`, `payment_status`, `total_price`, `created_at`, `updated_at`) VALUES ('6', '1', '7', 'مستخدم تجريبي', '01000000000', NULL, '2025-01-20', '09:00:00', 'اختبار حجز استشارة من لوحة التحكم', 'pending', 'pending', '150.00', '2025-11-24 10:13:36', '2025-11-24 10:13:36');
INSERT INTO `consultation_bookings` (`id`, `consultation_id`, `user_id`, `name`, `phone`, `email`, `booking_date`, `booking_time`, `notes`, `status`, `payment_status`, `total_price`, `created_at`, `updated_at`) VALUES ('7', '1', '7', 'مستخدم تجريبي', '01000000000', NULL, '2025-01-20', '09:00:00', 'اختبار حجز استشارة من لوحة التحكم', 'pending', 'pending', '150.00', '2025-11-24 10:16:14', '2025-11-24 10:16:14');
INSERT INTO `consultation_bookings` (`id`, `consultation_id`, `user_id`, `name`, `phone`, `email`, `booking_date`, `booking_time`, `notes`, `status`, `payment_status`, `total_price`, `created_at`, `updated_at`) VALUES ('8', '1', '7', 'مستخدم تجريبي', '01000000000', NULL, '2025-01-20', '09:00:00', 'اختبار حجز استشارة من لوحة التحكم', 'pending', 'pending', '150.00', '2025-11-24 10:16:37', '2025-11-24 10:16:37');
INSERT INTO `consultation_bookings` (`id`, `consultation_id`, `user_id`, `name`, `phone`, `email`, `booking_date`, `booking_time`, `notes`, `status`, `payment_status`, `total_price`, `created_at`, `updated_at`) VALUES ('9', '1', '7', 'مستخدم تجريبي', '01000000000', NULL, '2025-01-20', '09:00:00', 'اختبار حجز استشارة من لوحة التحكم', 'pending', 'pending', '150.00', '2025-11-24 10:22:24', '2025-11-24 10:22:24');
INSERT INTO `consultation_bookings` (`id`, `consultation_id`, `user_id`, `name`, `phone`, `email`, `booking_date`, `booking_time`, `notes`, `status`, `payment_status`, `total_price`, `created_at`, `updated_at`) VALUES ('10', '1', '7', 'مستخدم تجريبي', '01000000000', NULL, '2025-01-20', '09:00:00', 'اختبار حجز استشارة من لوحة التحكم', 'pending', 'pending', '150.00', '2025-11-24 10:24:57', '2025-11-24 10:24:57');
INSERT INTO `consultation_bookings` (`id`, `consultation_id`, `user_id`, `name`, `phone`, `email`, `booking_date`, `booking_time`, `notes`, `status`, `payment_status`, `total_price`, `created_at`, `updated_at`) VALUES ('11', '1', '7', 'مستخدم تجريبي', '01000000000', NULL, '2025-01-20', '09:00:00', 'اختبار حجز استشارة من لوحة التحكم', 'pending', 'pending', '150.00', '2025-11-24 10:55:12', '2025-11-24 10:55:12');
INSERT INTO `consultation_bookings` (`id`, `consultation_id`, `user_id`, `name`, `phone`, `email`, `booking_date`, `booking_time`, `notes`, `status`, `payment_status`, `total_price`, `created_at`, `updated_at`) VALUES ('12', '1', '7', 'مستخدم تجريبي', '01000000000', NULL, '2025-01-20', '09:00:00', 'اختبار حجز استشارة من لوحة التحكم', 'pending', 'pending', '150.00', '2025-11-24 11:27:52', '2025-11-24 11:27:52');
INSERT INTO `consultation_bookings` (`id`, `consultation_id`, `user_id`, `name`, `phone`, `email`, `booking_date`, `booking_time`, `notes`, `status`, `payment_status`, `total_price`, `created_at`, `updated_at`) VALUES ('13', '1', '7', 'مستخدم تجريبي', '01000000000', NULL, '2025-01-20', '09:00:00', 'اختبار حجز استشارة من لوحة التحكم', 'pending', 'pending', '150.00', '2025-11-24 12:00:06', '2025-11-24 12:00:06');


-- Table: consultations
CREATE TABLE `consultations` (
  `id` int NOT NULL AUTO_INCREMENT,
  `title` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'عنوان الاستشارة',
  `description` text COLLATE utf8mb4_unicode_ci COMMENT 'وصف الاستشارة',
  `image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'صورة الاستشارة',
  `duration` int NOT NULL COMMENT 'المدة بالدقائق',
  `price` decimal(10,2) NOT NULL COMMENT 'السعر الأصلي',
  `discount_price` decimal(10,2) DEFAULT NULL COMMENT 'السعر بعد الخصم',
  `consultant_name` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'اسم المستشار',
  `consultant_title` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'لقب المستشار',
  `features` json DEFAULT NULL COMMENT 'مميزات الاستشارة',
  `is_active` tinyint(1) DEFAULT '1' COMMENT 'نشط',
  `order_position` int DEFAULT '0' COMMENT 'ترتيب العرض',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_active` (`is_active`),
  KEY `idx_order` (`order_position`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='جدول الاستشارات والمكالمات';

-- Data for table: consultations
INSERT INTO `consultations` (`id`, `title`, `description`, `image`, `duration`, `price`, `discount_price`, `consultant_name`, `consultant_title`, `features`, `is_active`, `order_position`, `created_at`, `updated_at`) VALUES ('1', 'استشارة جلدية متخصصة', 'استشارة مع أخصائي جلدية لتحديد نوع بشرتك والمنتجات المناسبة لك', NULL, '30', '200.00', '150.00', 'د. سارة أحمد', 'أخصائي أمراض جلدية', '[\"تحليل نوع البشرة\", \"توصيات منتجات\", \"خطة عناية شخصية\", \"متابعة لمدة شهر\"]', '1', '1', '2025-11-21 02:13:19', '2025-11-21 02:13:19');
INSERT INTO `consultations` (`id`, `title`, `description`, `image`, `duration`, `price`, `discount_price`, `consultant_name`, `consultant_title`, `features`, `is_active`, `order_position`, `created_at`, `updated_at`) VALUES ('2', 'استشارة تغذية للبشرة', 'استشارة تغذية متخصصة لتحسين صحة البشرة من الداخل', 'uploads/consultations/consultation_1763686755_691fb963d7e79.png', '45', '250.00', '200.00', 'د. منى خالد', 'أخصائي تغذية علاجية', '[\"تقييم النظام الغذائي\", \"خطة غذائية مخصصة\", \"مكملات غذائية\", \"متابعة أسبوعية\"]', '1', '2', '2025-11-21 02:13:19', '2025-11-21 02:59:15');
INSERT INTO `consultations` (`id`, `title`, `description`, `image`, `duration`, `price`, `discount_price`, `consultant_name`, `consultant_title`, `features`, `is_active`, `order_position`, `created_at`, `updated_at`) VALUES ('3', 'مكالمة سريعة - استشارة عامة', 'مكالمة سريعة للإجابة على أسئلتك حول العناية بالبشرة', 'uploads/consultations/consultation_1763685566_691fb4be1d7ca.jpeg', '15', '100.00', '75.00', 'فريق روز سكين', 'خبراء العناية بالبشرة', '[\"استشارة سريعة\", \"إجابات فورية\", \"توصيات منتجات\"]', '1', '3', '2025-11-21 02:13:19', '2025-11-21 02:39:26');


-- Table: coupons
CREATE TABLE `coupons` (
  `id` int NOT NULL AUTO_INCREMENT,
  `code` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `discount_type` enum('percentage','fixed') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'percentage',
  `discount_value` decimal(10,2) NOT NULL,
  `usage_limit` int DEFAULT NULL,
  `usage_count` int DEFAULT '0',
  `expiry_date` date DEFAULT NULL,
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `show_in_banner` tinyint(1) DEFAULT '0' COMMENT 'عرض في شريط الإعلانات',
  `banner_text` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'نص الإعلان',
  `banner_color` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '#dc3545' COMMENT 'لون الشريط',
  PRIMARY KEY (`id`),
  UNIQUE KEY `code` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: coupons
INSERT INTO `coupons` (`id`, `code`, `discount_type`, `discount_value`, `usage_limit`, `usage_count`, `expiry_date`, `is_active`, `created_at`, `updated_at`, `show_in_banner`, `banner_text`, `banner_color`) VALUES ('1', 'A1', 'percentage', '2.00', NULL, '0', '2025-11-19', '1', '2025-11-15 08:19:32', '2025-11-15 08:19:39', '0', NULL, '#dc3545');
INSERT INTO `coupons` (`id`, `code`, `discount_type`, `discount_value`, `usage_limit`, `usage_count`, `expiry_date`, `is_active`, `created_at`, `updated_at`, `show_in_banner`, `banner_text`, `banner_color`) VALUES ('2', 'FLASH50', 'percentage', '50.00', NULL, '0', '2025-11-25', '1', '2025-11-18 04:17:21', '2025-11-18 04:27:46', '1', '🔥 عرض فلاش! خصم 50% على جميع المنتجات - لمدة محدودة', '#dc3545');
INSERT INTO `coupons` (`id`, `code`, `discount_type`, `discount_value`, `usage_limit`, `usage_count`, `expiry_date`, `is_active`, `created_at`, `updated_at`, `show_in_banner`, `banner_text`, `banner_color`) VALUES ('3', '23467', 'percentage', '55.00', NULL, '0', '2025-11-25', '1', '2025-11-18 04:28:06', '2025-11-18 04:28:06', '0', NULL, '#dc3545');


-- Table: device_pins
CREATE TABLE `device_pins` (
  `id` int NOT NULL AUTO_INCREMENT,
  `device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `pin_number` tinyint NOT NULL,
  `pin_gpio` tinyint NOT NULL,
  `pin_type` enum('relay','sensor','led','button','pwm') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'relay',
  `pin_mode` enum('OUTPUT','INPUT') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'OUTPUT',
  `pin_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `pin_location` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `pin_icon` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'fa-plug',
  `is_active` tinyint(1) DEFAULT '1',
  `current_state` tinyint(1) DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_device_pin` (`device_id`,`pin_gpio`),
  KEY `idx_device_pins` (`device_id`,`is_active`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: device_pins
INSERT INTO `device_pins` (`id`, `device_id`, `pin_number`, `pin_gpio`, `pin_type`, `pin_mode`, `pin_name`, `pin_location`, `pin_icon`, `is_active`, `current_state`, `created_at`) VALUES ('1', 'ESP01', '1', '16', 'relay', 'OUTPUT', 'إضاءة غرفة النوم', 'غرفة النوم', 'fa-lightbulb', '1', '1', '2025-11-21 12:45:18');
INSERT INTO `device_pins` (`id`, `device_id`, `pin_number`, `pin_gpio`, `pin_type`, `pin_mode`, `pin_name`, `pin_location`, `pin_icon`, `is_active`, `current_state`, `created_at`) VALUES ('2', 'ESP01', '2', '5', 'relay', 'OUTPUT', 'إضاءة الصالة', 'الصالة', 'fa-lightbulb', '1', '0', '2025-11-21 12:45:18');
INSERT INTO `device_pins` (`id`, `device_id`, `pin_number`, `pin_gpio`, `pin_type`, `pin_mode`, `pin_name`, `pin_location`, `pin_icon`, `is_active`, `current_state`, `created_at`) VALUES ('3', 'ESP01', '3', '4', 'relay', 'OUTPUT', 'إضاءة المطبخ', 'المطبخ', 'fa-lightbulb', '1', '0', '2025-11-21 12:45:18');
INSERT INTO `device_pins` (`id`, `device_id`, `pin_number`, `pin_gpio`, `pin_type`, `pin_mode`, `pin_name`, `pin_location`, `pin_icon`, `is_active`, `current_state`, `created_at`) VALUES ('4', 'ESP01', '4', '0', 'relay', 'OUTPUT', 'مروحة غرفة النوم', 'غرفة النوم', 'fa-fan', '1', '1', '2025-11-21 12:45:18');
INSERT INTO `device_pins` (`id`, `device_id`, `pin_number`, `pin_gpio`, `pin_type`, `pin_mode`, `pin_name`, `pin_location`, `pin_icon`, `is_active`, `current_state`, `created_at`) VALUES ('5', 'ESP01', '5', '2', 'led', 'OUTPUT', 'LED الحالة', 'اللوحة', 'fa-circle', '1', '0', '2025-11-21 12:45:18');
INSERT INTO `device_pins` (`id`, `device_id`, `pin_number`, `pin_gpio`, `pin_type`, `pin_mode`, `pin_name`, `pin_location`, `pin_icon`, `is_active`, `current_state`, `created_at`) VALUES ('6', 'ESP01', '6', '14', 'relay', 'OUTPUT', 'إضاءة المدخل', 'المدخل', 'fa-door-open', '1', '0', '2025-11-21 12:45:18');
INSERT INTO `device_pins` (`id`, `device_id`, `pin_number`, `pin_gpio`, `pin_type`, `pin_mode`, `pin_name`, `pin_location`, `pin_icon`, `is_active`, `current_state`, `created_at`) VALUES ('7', 'ESP01', '7', '12', 'sensor', 'INPUT', 'حساس الحرارة', 'الصالة', 'fa-thermometer-half', '1', '1', '2025-11-21 12:45:18');
INSERT INTO `device_pins` (`id`, `device_id`, `pin_number`, `pin_gpio`, `pin_type`, `pin_mode`, `pin_name`, `pin_location`, `pin_icon`, `is_active`, `current_state`, `created_at`) VALUES ('8', 'ESP01', '8', '13', 'sensor', 'INPUT', 'حساس الحركة', 'المدخل', 'fa-walking', '1', '0', '2025-11-21 12:45:18');
INSERT INTO `device_pins` (`id`, `device_id`, `pin_number`, `pin_gpio`, `pin_type`, `pin_mode`, `pin_name`, `pin_location`, `pin_icon`, `is_active`, `current_state`, `created_at`) VALUES ('9', 'ESP01', '9', '15', 'relay', 'OUTPUT', 'إضاءة خارجية', 'الحديقة', 'fa-tree', '1', '1', '2025-11-21 12:45:18');


-- Table: fawry_applications
CREATE TABLE `fawry_applications` (
  `id` int NOT NULL AUTO_INCREMENT,
  `application_status` enum('draft','submitted','under_review','approved','rejected') DEFAULT 'draft',
  `business_name` varchar(255) NOT NULL,
  `business_type` varchar(100) DEFAULT NULL,
  `owner_name` varchar(255) NOT NULL,
  `owner_phone` varchar(20) NOT NULL,
  `owner_email` varchar(255) DEFAULT NULL,
  `business_address` text,
  `commercial_register_number` varchar(100) DEFAULT NULL,
  `tax_card_number` varchar(100) DEFAULT NULL,
  `national_id_number` varchar(20) DEFAULT NULL,
  `application_data` json DEFAULT NULL,
  `submission_date` timestamp NULL DEFAULT NULL,
  `review_notes` text,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;


-- Table: identity_profiles
CREATE TABLE `identity_profiles` (
  `id` int NOT NULL AUTO_INCREMENT,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `profile_image` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `product_id` int DEFAULT NULL,
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `product_id` (`product_id`),
  CONSTRAINT `identity_profiles_ibfk_1` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;


-- Table: inventory_alerts
CREATE TABLE `inventory_alerts` (
  `id` int NOT NULL AUTO_INCREMENT,
  `product_id` int NOT NULL,
  `alert_type` enum('low_stock','out_of_stock') NOT NULL,
  `current_quantity` int NOT NULL,
  `threshold_quantity` int NOT NULL,
  `is_resolved` tinyint(1) DEFAULT '0',
  `resolved_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_product_id` (`product_id`),
  KEY `idx_is_resolved` (`is_resolved`),
  CONSTRAINT `inventory_alerts_ibfk_1` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;


-- Table: inventory_movements
CREATE TABLE `inventory_movements` (
  `id` int NOT NULL AUTO_INCREMENT,
  `product_id` int NOT NULL,
  `movement_type` enum('in','out','adjustment','return') NOT NULL,
  `quantity` int NOT NULL,
  `previous_quantity` int NOT NULL,
  `new_quantity` int NOT NULL,
  `reference_type` varchar(50) DEFAULT NULL,
  `reference_id` int DEFAULT NULL,
  `notes` text,
  `created_by` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_product_id` (`product_id`),
  KEY `idx_movement_type` (`movement_type`),
  KEY `idx_created_at` (`created_at`),
  CONSTRAINT `inventory_movements_ibfk_1` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;


-- Table: iot_commands
CREATE TABLE `iot_commands` (
  `id` int NOT NULL AUTO_INCREMENT,
  `device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `action` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` json DEFAULT NULL,
  `priority` tinyint DEFAULT '5',
  `status` enum('pending','sent','executed','failed','cancelled') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'pending',
  `sent_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `executed_at` timestamp NULL DEFAULT NULL,
  `created_by` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `error_message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  PRIMARY KEY (`id`),
  KEY `idx_device_id` (`device_id`),
  KEY `idx_status` (`status`),
  KEY `idx_created_at` (`created_at`),
  CONSTRAINT `iot_commands_ibfk_1` FOREIGN KEY (`device_id`) REFERENCES `iot_devices` (`device_id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=70 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: iot_commands
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('1', 'ESP01', 'turn_on', NULL, '5', 'sent', '2025-11-21 09:34:48', '2025-11-21 10:49:35', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('2', 'ESP01', 'turn_off', NULL, '5', 'sent', '2025-11-21 09:34:51', '2025-11-21 10:49:36', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('3', 'ESP01', 'turn_on', NULL, '5', 'sent', '2025-11-21 09:34:54', '2025-11-21 10:49:38', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('4', 'ESP01', 'toggle', NULL, '5', 'sent', '2025-11-21 09:34:57', '2025-11-21 10:53:00', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('5', 'ESP01', 'toggle', NULL, '5', 'sent', '2025-11-21 09:35:00', '2025-11-21 10:53:04', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('6', 'ESP01', 'turn_on', NULL, '5', 'sent', '2025-11-21 09:35:39', '2025-11-21 11:35:37', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('7', 'ESP01', 'turn_off', NULL, '5', 'sent', '2025-11-21 09:35:58', '2025-11-21 11:35:56', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('8', 'ESP01', 'pulse', '{\"duration\": 1000}', '5', 'sent', '2025-11-21 09:36:07', '2025-11-21 11:36:06', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('9', 'ESP01', 'pulse', '{\"duration\": 1000}', '5', 'sent', '2025-11-21 09:36:16', '2025-11-21 11:36:14', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('10', 'ESP01', 'turn_on', NULL, '5', 'sent', '2025-11-21 09:37:04', '2025-11-21 11:37:01', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('11', 'ESP01', 'turn_off', NULL, '5', 'sent', '2025-11-21 09:37:10', '2025-11-21 11:37:09', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('12', 'ESP01', 'blink', NULL, '5', 'sent', '2025-11-21 09:39:24', '2025-11-21 11:39:23', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('13', 'ESP01', 'pulse', '{\"duration\": 1000}', '5', 'sent', '2025-11-21 09:40:06', '2025-11-21 11:40:04', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('14', 'ESP01', 'test_led', NULL, '5', 'sent', '2025-11-21 09:40:31', '2025-11-21 11:40:30', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('15', 'ESP01', 'turn_on', NULL, '5', 'sent', '2025-11-21 09:48:15', '2025-11-21 11:48:13', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('16', 'ESP01', 'toggle', NULL, '5', 'sent', '2025-11-21 10:08:51', '2025-11-21 12:08:49', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('17', 'ESP01', 'turn_on', NULL, '5', 'sent', '2025-11-21 10:09:00', '2025-11-21 12:08:58', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('18', 'ESP01', 'turn_on', NULL, '5', 'sent', '2025-11-21 10:09:12', '2025-11-21 12:09:11', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('19', 'ESP01', 'turn_off', NULL, '5', 'sent', '2025-11-21 10:09:15', '2025-11-21 12:09:14', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('20', 'ESP01', 'get_status', NULL, '5', 'sent', '2025-11-21 10:10:01', '2025-11-21 12:09:58', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('21', 'ESP01', 'blink', NULL, '5', 'sent', '2025-11-21 10:10:49', '2025-11-21 12:10:47', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('22', 'ESP01', 'turn_on', NULL, '5', 'sent', '2025-11-21 11:40:04', '2025-11-21 12:16:26', NULL, 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('23', 'ESP01', 'pin_control', '{\"gpio\": 15, \"state\": 1}', '5', 'executed', '2025-11-21 12:45:42', '2025-11-21 14:45:40', '2025-11-21 14:45:42', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('24', 'ESP01', 'pin_control', '{\"gpio\": 16, \"state\": 1}', '5', 'executed', '2025-11-21 12:45:51', '2025-11-21 14:45:51', '2025-11-21 14:45:51', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('25', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 1}', '5', 'executed', '2025-11-21 12:47:36', '2025-11-21 14:47:34', '2025-11-21 14:47:36', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('26', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 0}', '5', 'executed', '2025-11-21 12:47:41', '2025-11-21 14:47:40', '2025-11-21 14:47:41', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('27', 'ESP01', 'pin_control', '{\"gpio\": 0, \"state\": 1}', '5', 'executed', '2025-11-21 12:47:43', '2025-11-21 14:47:43', '2025-11-21 14:47:43', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('28', 'ESP01', 'pin_control', '{\"gpio\": 4, \"state\": 1}', '5', 'executed', '2025-11-21 12:47:46', '2025-11-21 14:47:44', '2025-11-21 14:47:47', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('29', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 1}', '5', 'executed', '2025-11-21 12:47:55', '2025-11-21 14:47:55', '2025-11-21 14:47:56', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('30', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 1}', '5', 'executed', '2025-11-21 12:48:03', '2025-11-21 14:48:01', '2025-11-21 14:48:04', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('31', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 0}', '5', 'executed', '2025-11-21 12:48:16', '2025-11-21 14:48:16', '2025-11-21 14:48:16', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('32', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 1}', '5', 'executed', '2025-11-21 12:48:31', '2025-11-21 14:48:30', '2025-11-21 14:48:31', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('33', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 1}', '5', 'executed', '2025-11-21 12:48:38', '2025-11-21 14:48:36', '2025-11-21 14:48:38', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('34', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 1}', '5', 'executed', '2025-11-21 12:48:40', '2025-11-21 14:48:40', '2025-11-21 14:48:40', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('35', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 0}', '5', 'executed', '2025-11-21 12:48:46', '2025-11-21 14:48:45', '2025-11-21 14:48:46', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('36', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 1}', '5', 'executed', '2025-11-21 12:53:33', '2025-11-21 14:53:32', '2025-11-21 14:53:33', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('37', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 0}', '5', 'executed', '2025-11-21 12:53:37', '2025-11-21 14:53:36', '2025-11-21 14:53:37', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('38', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 1}', '5', 'executed', '2025-11-21 12:53:41', '2025-11-21 14:53:41', '2025-11-21 14:53:42', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('39', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 0}', '5', 'executed', '2025-11-21 12:53:46', '2025-11-21 14:53:45', '2025-11-21 14:53:46', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('40', 'ESP01', 'pin_control', '{\"gpio\": 12, \"state\": 1}', '5', 'executed', '2025-11-21 12:53:55', '2025-11-21 14:53:53', '2025-11-21 14:53:55', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('41', 'ESP01', 'pin_control', '{\"gpio\": 12, \"state\": 1}', '5', 'executed', '2025-11-21 12:53:57', '2025-11-21 14:53:56', '2025-11-21 14:53:57', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('42', 'ESP01', 'pin_control', '{\"gpio\": 15, \"state\": 1}', '5', 'executed', '2025-11-21 13:03:43', '2025-11-21 15:03:42', '2025-11-21 15:03:44', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('43', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 1}', '5', 'executed', '2025-11-21 13:03:48', '2025-11-21 15:03:47', '2025-11-21 15:03:48', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('44', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 0}', '5', 'executed', '2025-11-21 13:03:52', '2025-11-21 15:03:51', '2025-11-21 15:03:52', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('45', 'ESP01', 'pin_control', '{\"gpio\": 14, \"state\": 1}', '5', 'executed', '2025-11-21 14:02:37', '2025-11-21 16:02:36', '2025-11-21 16:02:37', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('46', 'ESP01', 'pin_control', '{\"gpio\": 0, \"state\": 1}', '5', 'executed', '2025-11-21 14:02:41', '2025-11-21 16:02:41', '2025-11-21 16:02:42', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('47', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 1}', '5', 'executed', '2025-11-21 14:02:44', '2025-11-21 16:02:42', '2025-11-21 16:02:44', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('48', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 0}', '5', 'executed', '2025-11-21 14:02:46', '2025-11-21 16:02:43', '2025-11-21 16:02:46', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('49', 'ESP01', 'pin_control', '{\"gpio\": 4, \"state\": 1}', '5', 'executed', '2025-11-21 14:02:48', '2025-11-21 16:02:46', '2025-11-21 16:02:48', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('50', 'ESP01', 'pin_control', '{\"gpio\": 4, \"state\": 0}', '5', 'executed', '2025-11-21 14:02:50', '2025-11-21 16:02:47', '2025-11-21 16:02:51', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('51', 'ESP01', 'pin_control', '{\"gpio\": 4, \"state\": 1}', '5', 'executed', '2025-11-21 14:02:53', '2025-11-21 16:02:50', '2025-11-21 16:02:53', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('52', 'ESP01', 'pin_control', '{\"gpio\": 4, \"state\": 0}', '5', 'executed', '2025-11-21 14:02:55', '2025-11-21 16:02:52', '2025-11-21 16:02:55', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('53', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 1}', '5', 'executed', '2025-11-21 14:02:57', '2025-11-21 16:02:54', '2025-11-21 16:02:57', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('54', 'ESP01', 'pin_control', '{\"gpio\": 16, \"state\": 1}', '5', 'executed', '2025-11-21 14:03:01', '2025-11-21 16:03:00', '2025-11-21 16:03:02', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('55', 'ESP01', 'pin_control', '{\"gpio\": 5, \"state\": 1}', '5', 'executed', '2025-11-21 14:03:04', '2025-11-21 16:03:01', '2025-11-21 16:03:04', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('56', 'ESP01', 'pin_control', '{\"gpio\": 0, \"state\": 1}', '5', 'executed', '2025-11-21 14:06:21', '2025-11-21 16:06:19', '2025-11-21 16:06:21', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('57', 'ESP01', 'pin_control', '{\"gpio\": 0, \"state\": 0}', '5', 'executed', '2025-11-21 14:06:26', '2025-11-21 16:06:24', '2025-11-21 16:06:26', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('58', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 0}', '5', 'executed', '2025-11-21 14:06:53', '2025-11-21 16:06:53', '2025-11-21 16:06:53', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('59', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 1}', '5', 'executed', '2025-11-21 14:07:00', '2025-11-21 16:06:59', '2025-11-21 16:07:00', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('60', 'ESP01', 'pin_control', '{\"gpio\": 0, \"state\": 1}', '5', 'executed', '2025-11-21 14:07:06', '2025-11-21 16:07:06', '2025-11-21 16:07:06', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('61', 'ESP01', 'pin_control', '{\"gpio\": 5, \"state\": 0}', '5', 'executed', '2025-11-21 14:07:08', '2025-11-21 16:07:08', '2025-11-21 16:07:08', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('62', 'ESP01', 'pin_control', '{\"gpio\": 14, \"state\": 0}', '5', 'executed', '2025-11-21 14:07:11', '2025-11-21 16:07:09', '2025-11-21 16:07:11', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('63', 'ESP01', 'pin_control', '{\"gpio\": 15, \"state\": 0}', '5', 'executed', '2025-11-21 14:07:13', '2025-11-21 16:07:10', '2025-11-21 16:07:14', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('64', 'ESP01', 'pin_control', '{\"gpio\": 16, \"state\": 0}', '5', 'executed', '2025-11-21 14:07:16', '2025-11-21 16:07:11', '2025-11-21 16:07:16', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('65', 'ESP01', 'pin_control', '{\"gpio\": 15, \"state\": 0}', '5', 'executed', '2025-11-21 14:07:18', '2025-11-21 16:07:17', '2025-11-21 16:07:18', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('66', 'ESP01', 'pin_control', '{\"gpio\": 15, \"state\": 1}', '5', 'executed', '2025-11-21 14:07:23', '2025-11-21 16:07:21', '2025-11-21 16:07:23', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('67', 'ESP01', 'pin_control', '{\"gpio\": 16, \"state\": 1}', '5', 'executed', '2025-11-21 14:07:25', '2025-11-21 16:07:24', '2025-11-21 16:07:25', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('68', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 0}', '5', 'executed', '2025-11-21 14:07:38', '2025-11-21 16:07:35', '2025-11-21 16:07:38', 'admin', NULL);
INSERT INTO `iot_commands` (`id`, `device_id`, `action`, `payload`, `priority`, `status`, `sent_at`, `created_at`, `executed_at`, `created_by`, `error_message`) VALUES ('69', 'ESP01', 'pin_control', '{\"gpio\": 2, \"state\": 1}', '5', 'pending', NULL, '2025-11-21 16:42:02', NULL, 'admin', NULL);


-- Table: iot_device_templates
CREATE TABLE `iot_device_templates` (
  `id` int NOT NULL AUTO_INCREMENT,
  `device_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `device_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `category` enum('lighting','control','security','entertainment','climate','sensors','other') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'other',
  `default_price` decimal(10,2) NOT NULL,
  `installation_cost` decimal(10,2) DEFAULT '0.00',
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `image_url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `specifications` json DEFAULT NULL,
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_category` (`category`),
  KEY `idx_device_type` (`device_type`),
  KEY `idx_is_active` (`is_active`)
) ENGINE=InnoDB AUTO_INCREMENT=104 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: iot_device_templates
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('1', 'مصباح ذكي LED', 'smart_bulb', 'lighting', '150.00', '20.00', 'مصباح LED ذكي قابل للتحكم عبر التطبيق', NULL, NULL, '1', '2025-11-22 06:01:30', '2025-11-22 06:01:30');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('2', 'شريط LED ذكي', 'led_strip', 'lighting', '200.00', '50.00', 'شريط إضاءة LED ملون قابل للتحكم', NULL, NULL, '1', '2025-11-22 06:01:30', '2025-11-22 06:01:30');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('3', 'مفتاح إضاءة ذكي', 'smart_switch', 'lighting', '180.00', '30.00', 'مفتاح ذكي للتحكم بالإضاءة', NULL, NULL, '1', '2025-11-22 06:01:30', '2025-11-22 06:01:30');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('4', 'مساعد صوتي', 'voice_assistant', 'control', '500.00', '0.00', 'مساعد صوتي ذكي (Alexa/Google Home)', NULL, NULL, '1', '2025-11-22 06:01:30', '2025-11-22 06:01:30');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('5', 'لوحة تحكم مركزية', 'control_panel', 'control', '800.00', '100.00', 'لوحة تحكم مركزية للمنزل الذكي', NULL, NULL, '1', '2025-11-22 06:01:30', '2025-11-22 06:01:30');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('6', 'كاميرا مراقبة', 'security_camera', 'security', '600.00', '80.00', 'كاميرا مراقبة ذكية بدقة عالية', NULL, NULL, '1', '2025-11-22 06:01:30', '2025-11-22 06:01:30');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('7', 'قفل ذكي', 'smart_lock', 'security', '800.00', '100.00', 'قفل باب ذكي بصمة وكود', NULL, NULL, '1', '2025-11-22 06:01:30', '2025-11-22 06:01:30');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('8', 'جرس باب ذكي', 'smart_doorbell', 'security', '450.00', '50.00', 'جرس باب بكاميرا وإشعارات', NULL, NULL, '1', '2025-11-22 06:01:30', '2025-11-22 06:01:30');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('9', 'حساس حركة', 'motion_sensor', 'sensors', '120.00', '20.00', 'حساس كشف الحركة', NULL, NULL, '1', '2025-11-22 06:01:30', '2025-11-22 06:01:30');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('10', 'ثيرموستات ذكي', 'smart_thermostat', 'climate', '700.00', '100.00', 'منظم حرارة ذكي', NULL, NULL, '1', '2025-11-22 06:01:30', '2025-11-22 06:01:30');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('11', 'تلفاز ذكي', 'smart_tv', 'entertainment', '3000.00', '100.00', 'تلفاز ذكي 55 بوصة', NULL, NULL, '1', '2025-11-22 06:01:30', '2025-11-22 06:01:30');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('12', 'سماعات ذكية', 'smart_speaker', 'entertainment', '350.00', '0.00', 'سماعات صوتية ذكية', NULL, NULL, '1', '2025-11-22 06:01:30', '2025-11-22 06:01:30');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('97', 'Arduino Uno', 'Microcontroller', 'control', '350.00', '100.00', 'متحكم دقيق Arduino Uno - مثالي للمشاريع المتوسطة', NULL, NULL, '1', '2025-11-22 11:24:29', '2025-11-22 11:24:29');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('98', 'Arduino Mega', 'Microcontroller', 'control', '550.00', '150.00', 'متحكم دقيق Arduino Mega - للمشاريع الكبيرة مع منافذ إضافية', NULL, NULL, '1', '2025-11-22 11:24:29', '2025-11-22 11:24:29');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('99', 'Arduino Nano', 'Microcontroller', 'control', '200.00', '80.00', 'متحكم دقيق Arduino Nano - صغير الحجم للمشاريع المدمجة', NULL, NULL, '1', '2025-11-22 11:24:29', '2025-11-22 11:24:29');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('100', 'ESP8266', 'WiFi Module', 'control', '150.00', '100.00', 'وحدة ESP8266 مع WiFi مدمج - مثالية لمشاريع IoT', NULL, NULL, '1', '2025-11-22 11:24:29', '2025-11-22 11:24:29');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('101', 'ESP32', 'WiFi/Bluetooth Module', 'control', '250.00', '120.00', 'وحدة ESP32 مع WiFi و Bluetooth - قوية ومتعددة الاستخدامات', NULL, NULL, '1', '2025-11-22 11:24:29', '2025-11-22 11:24:29');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('102', 'NodeMCU ESP8266', 'Development Board', 'control', '180.00', '100.00', 'لوحة تطوير NodeMCU مع ESP8266 - سهلة البرمجة', NULL, NULL, '1', '2025-11-22 11:24:29', '2025-11-22 11:24:29');
INSERT INTO `iot_device_templates` (`id`, `device_name`, `device_type`, `category`, `default_price`, `installation_cost`, `description`, `image_url`, `specifications`, `is_active`, `created_at`, `updated_at`) VALUES ('103', 'ESP32-CAM', 'Camera Module', 'security', '300.00', '150.00', 'وحدة ESP32 مع كاميرا مدمجة - للمراقبة والتصوير', NULL, NULL, '1', '2025-11-22 11:24:29', '2025-11-22 11:24:29');


-- Table: iot_devices
CREATE TABLE `iot_devices` (
  `id` int NOT NULL AUTO_INCREMENT,
  `device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `device_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `device_type` enum('esp8266','esp32','arduino','other') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'esp8266',
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `location` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `pin_config` json DEFAULT NULL,
  `is_online` tinyint(1) DEFAULT '0',
  `status` enum('online','offline') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'offline',
  `is_active` tinyint(1) DEFAULT '1',
  `last_seen` timestamp NULL DEFAULT NULL,
  `ip_address` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `firmware_version` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `device_id` (`device_id`),
  KEY `idx_device_id` (`device_id`),
  KEY `idx_online` (`is_online`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: iot_devices
INSERT INTO `iot_devices` (`id`, `device_id`, `device_name`, `device_type`, `description`, `location`, `pin_config`, `is_online`, `status`, `is_active`, `last_seen`, `ip_address`, `firmware_version`, `created_at`, `updated_at`) VALUES ('1', 'ESP01', 'Lamp Controller', 'esp8266', 'Controls living room lamp', 'Living Room', '{\"led_pin\": 2, \"relay_pin\": 5}', '1', 'online', '1', '2025-11-21 16:29:36', '192.168.1.123', NULL, '2025-11-21 09:16:41', '2025-11-21 16:29:36');


-- Table: iot_logs
CREATE TABLE `iot_logs` (
  `id` int NOT NULL AUTO_INCREMENT,
  `device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `log_type` enum('info','warning','error','command','status') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'info',
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `data` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_device_log` (`device_id`,`log_type`),
  KEY `idx_created_at` (`created_at`)
) ENGINE=InnoDB AUTO_INCREMENT=116 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: iot_logs
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('1', 'ESP01', 'command', 'Command sent: turn_on', '{\"action\": \"turn_on\", \"command_id\": \"1\"}', '2025-11-21 10:49:35');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('2', 'ESP01', 'command', 'Command sent: turn_off', '{\"action\": \"turn_off\", \"command_id\": \"2\"}', '2025-11-21 10:49:36');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('3', 'ESP01', 'command', 'Command sent: turn_on', '{\"action\": \"turn_on\", \"command_id\": \"3\"}', '2025-11-21 10:49:38');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('4', 'ESP01', 'command', 'Command sent: toggle', '{\"action\": \"toggle\", \"command_id\": \"4\"}', '2025-11-21 10:53:00');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('5', 'ESP01', 'command', 'Command sent: toggle', '{\"action\": \"toggle\", \"command_id\": \"5\"}', '2025-11-21 10:53:04');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('6', 'ESP01', 'command', 'Command sent: turn_on', '{\"action\": \"turn_on\", \"command_id\": \"6\"}', '2025-11-21 11:35:37');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('7', 'ESP01', 'command', 'Command sent: turn_off', '{\"action\": \"turn_off\", \"command_id\": \"7\"}', '2025-11-21 11:35:56');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('8', 'ESP01', 'command', 'Command sent: pulse', '{\"action\": \"pulse\", \"command_id\": \"8\"}', '2025-11-21 11:36:07');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('9', 'ESP01', 'command', 'Command sent: pulse', '{\"action\": \"pulse\", \"command_id\": \"9\"}', '2025-11-21 11:36:14');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('10', 'ESP01', 'command', 'Command sent: turn_on', '{\"action\": \"turn_on\", \"command_id\": \"10\"}', '2025-11-21 11:37:01');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('11', 'ESP01', 'command', 'Command sent: turn_off', '{\"action\": \"turn_off\", \"command_id\": \"11\"}', '2025-11-21 11:37:09');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('12', 'ESP01', 'command', 'Command sent: blink', '{\"action\": \"blink\", \"command_id\": \"12\"}', '2025-11-21 11:39:23');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('13', 'ESP01', 'command', 'Command sent: pulse', '{\"action\": \"pulse\", \"command_id\": \"13\"}', '2025-11-21 11:40:04');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('14', 'ESP01', 'command', 'Command sent: test_led', '{\"action\": \"test_led\", \"command_id\": \"14\"}', '2025-11-21 11:40:30');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('15', 'ESP01', 'command', 'Command sent: turn_on', '{\"action\": \"turn_on\", \"command_id\": \"15\"}', '2025-11-21 11:48:13');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('16', 'ESP01', 'command', 'Command sent: toggle', '{\"action\": \"toggle\", \"command_id\": \"16\"}', '2025-11-21 12:08:49');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('17', 'ESP01', 'command', 'Command sent: turn_on', '{\"action\": \"turn_on\", \"command_id\": \"17\"}', '2025-11-21 12:08:59');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('18', 'ESP01', 'command', 'Command sent: turn_on', '{\"action\": \"turn_on\", \"command_id\": \"18\"}', '2025-11-21 12:09:11');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('19', 'ESP01', 'command', 'Command sent: turn_off', '{\"action\": \"turn_off\", \"command_id\": \"19\"}', '2025-11-21 12:09:14');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('20', 'ESP01', 'command', 'Command sent: get_status', '{\"action\": \"get_status\", \"command_id\": \"20\"}', '2025-11-21 12:09:58');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('21', 'ESP01', 'command', 'Command sent: blink', '{\"action\": \"blink\", \"command_id\": \"21\"}', '2025-11-21 12:10:47');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('22', 'ESP01', 'command', 'Command sent: turn_on', '{\"action\": \"turn_on\", \"command_id\": \"22\"}', '2025-11-21 12:16:26');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('23', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"23\"}', '2025-11-21 14:45:40');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('24', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"23\"}', '2025-11-21 14:45:42');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('25', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"24\"}', '2025-11-21 14:45:51');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('26', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"24\"}', '2025-11-21 14:45:51');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('27', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"25\"}', '2025-11-21 14:47:34');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('28', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"25\"}', '2025-11-21 14:47:36');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('29', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"26\"}', '2025-11-21 14:47:40');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('30', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"26\"}', '2025-11-21 14:47:41');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('31', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"27\"}', '2025-11-21 14:47:43');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('32', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"27\"}', '2025-11-21 14:47:43');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('33', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"28\"}', '2025-11-21 14:47:44');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('34', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"28\"}', '2025-11-21 14:47:47');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('35', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"29\"}', '2025-11-21 14:47:55');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('36', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"29\"}', '2025-11-21 14:47:56');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('37', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"30\"}', '2025-11-21 14:48:01');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('38', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"30\"}', '2025-11-21 14:48:04');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('39', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"31\"}', '2025-11-21 14:48:16');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('40', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"31\"}', '2025-11-21 14:48:16');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('41', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"32\"}', '2025-11-21 14:48:30');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('42', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"32\"}', '2025-11-21 14:48:31');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('43', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"33\"}', '2025-11-21 14:48:36');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('44', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"33\"}', '2025-11-21 14:48:38');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('45', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"34\"}', '2025-11-21 14:48:40');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('46', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"34\"}', '2025-11-21 14:48:40');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('47', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"35\"}', '2025-11-21 14:48:45');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('48', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"35\"}', '2025-11-21 14:48:46');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('49', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"36\"}', '2025-11-21 14:53:32');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('50', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"36\"}', '2025-11-21 14:53:33');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('51', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"37\"}', '2025-11-21 14:53:36');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('52', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"37\"}', '2025-11-21 14:53:37');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('53', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"38\"}', '2025-11-21 14:53:41');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('54', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"38\"}', '2025-11-21 14:53:42');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('55', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"39\"}', '2025-11-21 14:53:45');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('56', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"39\"}', '2025-11-21 14:53:46');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('57', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"40\"}', '2025-11-21 14:53:53');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('58', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"40\"}', '2025-11-21 14:53:55');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('59', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"41\"}', '2025-11-21 14:53:56');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('60', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"41\"}', '2025-11-21 14:53:57');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('61', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"42\"}', '2025-11-21 15:03:43');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('62', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"42\"}', '2025-11-21 15:03:44');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('63', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"43\"}', '2025-11-21 15:03:47');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('64', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"43\"}', '2025-11-21 15:03:48');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('65', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"44\"}', '2025-11-21 15:03:51');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('66', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"44\"}', '2025-11-21 15:03:52');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('67', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"45\"}', '2025-11-21 16:02:36');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('68', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"45\"}', '2025-11-21 16:02:37');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('69', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"46\"}', '2025-11-21 16:02:41');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('70', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"46\"}', '2025-11-21 16:02:42');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('71', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"47\"}', '2025-11-21 16:02:42');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('72', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"48\"}', '2025-11-21 16:02:43');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('73', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"47\"}', '2025-11-21 16:02:44');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('74', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"49\"}', '2025-11-21 16:02:46');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('75', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"48\"}', '2025-11-21 16:02:46');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('76', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"50\"}', '2025-11-21 16:02:47');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('77', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"49\"}', '2025-11-21 16:02:48');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('78', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"51\"}', '2025-11-21 16:02:50');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('79', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"50\"}', '2025-11-21 16:02:51');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('80', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"52\"}', '2025-11-21 16:02:52');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('81', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"51\"}', '2025-11-21 16:02:53');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('82', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"53\"}', '2025-11-21 16:02:54');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('83', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"52\"}', '2025-11-21 16:02:55');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('84', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"53\"}', '2025-11-21 16:02:57');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('85', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"54\"}', '2025-11-21 16:03:00');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('86', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"55\"}', '2025-11-21 16:03:01');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('87', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"54\"}', '2025-11-21 16:03:02');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('88', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"55\"}', '2025-11-21 16:03:04');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('89', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"56\"}', '2025-11-21 16:06:19');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('90', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"56\"}', '2025-11-21 16:06:21');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('91', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"57\"}', '2025-11-21 16:06:24');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('92', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"57\"}', '2025-11-21 16:06:26');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('93', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"58\"}', '2025-11-21 16:06:53');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('94', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"58\"}', '2025-11-21 16:06:53');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('95', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"59\"}', '2025-11-21 16:06:59');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('96', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"59\"}', '2025-11-21 16:07:00');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('97', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"60\"}', '2025-11-21 16:07:06');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('98', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"60\"}', '2025-11-21 16:07:06');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('99', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"61\"}', '2025-11-21 16:07:08');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('100', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"61\"}', '2025-11-21 16:07:08');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('101', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"62\"}', '2025-11-21 16:07:09');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('102', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"63\"}', '2025-11-21 16:07:10');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('103', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"62\"}', '2025-11-21 16:07:11');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('104', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"64\"}', '2025-11-21 16:07:12');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('105', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"63\"}', '2025-11-21 16:07:14');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('106', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"64\"}', '2025-11-21 16:07:16');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('107', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"65\"}', '2025-11-21 16:07:17');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('108', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"65\"}', '2025-11-21 16:07:18');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('109', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"66\"}', '2025-11-21 16:07:21');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('110', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"66\"}', '2025-11-21 16:07:23');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('111', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"67\"}', '2025-11-21 16:07:24');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('112', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"67\"}', '2025-11-21 16:07:25');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('113', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"68\"}', '2025-11-21 16:07:36');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('114', 'ESP01', 'info', 'Command executed successfully', '{\"error\": null, \"status\": \"executed\", \"command_id\": \"68\"}', '2025-11-21 16:07:38');
INSERT INTO `iot_logs` (`id`, `device_id`, `log_type`, `message`, `data`, `created_at`) VALUES ('115', 'ESP01', 'command', 'Command sent: pin_control', '{\"action\": \"pin_control\", \"command_id\": \"69\"}', '2025-11-21 16:42:02');


-- Table: iot_project_devices
CREATE TABLE `iot_project_devices` (
  `id` int NOT NULL AUTO_INCREMENT,
  `room_id` int NOT NULL,
  `device_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `device_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `device_model` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `quantity` int DEFAULT '1',
  `unit_price` decimal(10,2) NOT NULL,
  `installation_cost` decimal(10,2) DEFAULT '0.00',
  `total_price` decimal(10,2) NOT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_room_id` (`room_id`),
  KEY `idx_device_type` (`device_type`),
  CONSTRAINT `iot_project_devices_ibfk_1` FOREIGN KEY (`room_id`) REFERENCES `iot_project_rooms` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: iot_project_devices
INSERT INTO `iot_project_devices` (`id`, `room_id`, `device_type`, `device_name`, `device_model`, `quantity`, `unit_price`, `installation_cost`, `total_price`, `notes`, `created_at`) VALUES ('1', '1', 'led_strip', 'شريط LED ذكي', '', '1', '200.00', '50.00', '250.00', '', '2025-11-22 06:57:26');


-- Table: iot_project_rooms
CREATE TABLE `iot_project_rooms` (
  `id` int NOT NULL AUTO_INCREMENT,
  `project_id` int NOT NULL,
  `room_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `room_type` enum('bedroom','living_room','kitchen','bathroom','office','garage','garden','other') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'bedroom',
  `area_sqm` decimal(6,2) DEFAULT NULL,
  `floor_number` int DEFAULT '1',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_project_id` (`project_id`),
  KEY `idx_room_type` (`room_type`),
  CONSTRAINT `iot_project_rooms_ibfk_1` FOREIGN KEY (`project_id`) REFERENCES `iot_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: iot_project_rooms
INSERT INTO `iot_project_rooms` (`id`, `project_id`, `room_name`, `room_type`, `area_sqm`, `floor_number`, `notes`, `created_at`) VALUES ('1', '1', 'غرفة نوم رئيسية ذكية', 'bedroom', '2.00', '1', '', '2025-11-22 06:44:19');
INSERT INTO `iot_project_rooms` (`id`, `project_id`, `room_name`, `room_type`, `area_sqm`, `floor_number`, `notes`, `created_at`) VALUES ('2', '1', 'غرفة نوم رئيسية ذكية', 'bedroom', '2.00', '1', '', '2025-11-22 06:44:19');


-- Table: iot_projects
CREATE TABLE `iot_projects` (
  `id` int NOT NULL AUTO_INCREMENT,
  `customer_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `customer_phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `customer_email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `project_type` enum('house','apartment','villa','office','other') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'house',
  `status` enum('new','in_progress','completed','cancelled') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'new',
  `total_cost` decimal(10,2) DEFAULT '0.00',
  `discount_percentage` decimal(5,2) DEFAULT '0.00',
  `discount_amount` decimal(10,2) DEFAULT '0.00',
  `final_cost` decimal(10,2) DEFAULT '0.00',
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `created_by` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_customer_phone` (`customer_phone`),
  KEY `idx_status` (`status`),
  KEY `idx_created_at` (`created_at`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: iot_projects
INSERT INTO `iot_projects` (`id`, `customer_name`, `customer_phone`, `customer_email`, `project_type`, `status`, `total_cost`, `discount_percentage`, `discount_amount`, `final_cost`, `notes`, `created_at`, `updated_at`, `created_by`) VALUES ('1', 'شراره', '0512345678', 'sharara3310@gmail.com', 'house', 'new', '250.00', '0.00', '0.00', '250.00', '', '2025-11-22 06:39:54', '2025-11-22 07:01:26', NULL);


-- Table: iot_room_templates
CREATE TABLE `iot_room_templates` (
  `id` int NOT NULL AUTO_INCREMENT,
  `room_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `room_type` enum('bedroom','living_room','kitchen','bathroom','office','garage','garden','other') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'bedroom',
  `default_devices` json DEFAULT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `estimated_cost` decimal(10,2) DEFAULT NULL,
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_room_type` (`room_type`),
  KEY `idx_is_active` (`is_active`)
) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: iot_room_templates
INSERT INTO `iot_room_templates` (`id`, `room_name`, `room_type`, `default_devices`, `description`, `estimated_cost`, `is_active`, `created_at`, `updated_at`) VALUES ('1', 'غرفة نوم رئيسية ذكية', 'bedroom', NULL, 'غرفة نوم مجهزة بالكامل بأجهزة ذكية', '3500.00', '1', '2025-11-22 06:01:30', '2025-11-22 06:01:30');
INSERT INTO `iot_room_templates` (`id`, `room_name`, `room_type`, `default_devices`, `description`, `estimated_cost`, `is_active`, `created_at`, `updated_at`) VALUES ('2', 'صالة معيشة ذكية', 'living_room', NULL, 'صالة معيشة مع نظام ترفيه وإضاءة ذكية', '8000.00', '1', '2025-11-22 06:01:30', '2025-11-22 06:01:30');
INSERT INTO `iot_room_templates` (`id`, `room_name`, `room_type`, `default_devices`, `description`, `estimated_cost`, `is_active`, `created_at`, `updated_at`) VALUES ('3', 'مطبخ ذكي', 'kitchen', NULL, 'مطبخ مجهز بأجهزة ذكية', '4500.00', '1', '2025-11-22 06:01:30', '2025-11-22 06:01:30');
INSERT INTO `iot_room_templates` (`id`, `room_name`, `room_type`, `default_devices`, `description`, `estimated_cost`, `is_active`, `created_at`, `updated_at`) VALUES ('4', 'مكتب منزلي ذكي', 'office', NULL, 'مكتب منزلي بنظام تحكم ذكي', '3000.00', '1', '2025-11-22 06:01:30', '2025-11-22 06:01:30');


-- Table: iot_schedules
CREATE TABLE `iot_schedules` (
  `id` int NOT NULL AUTO_INCREMENT,
  `device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `schedule_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `action` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `payload` json DEFAULT NULL,
  `cron_expression` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_active` tinyint(1) DEFAULT '1',
  `last_run` datetime DEFAULT NULL,
  `next_run` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_device_schedule` (`device_id`,`is_active`),
  KEY `idx_next_run` (`next_run`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;


-- Table: iot_sensors_data
CREATE TABLE `iot_sensors_data` (
  `id` int NOT NULL AUTO_INCREMENT,
  `device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `sensor_type` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `value` decimal(10,2) DEFAULT NULL,
  `unit` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `raw_data` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_device_sensor` (`device_id`,`sensor_type`),
  KEY `idx_created_at` (`created_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;


-- Table: iot_settings
CREATE TABLE `iot_settings` (
  `id` int NOT NULL AUTO_INCREMENT,
  `setting_key` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `setting_value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `wifi_ssid` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'YOUR_WIFI_NAME',
  `wifi_password` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'YOUR_WIFI_PASSWORD',
  `server_ip` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'localhost',
  PRIMARY KEY (`id`),
  UNIQUE KEY `setting_key` (`setting_key`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: iot_settings
INSERT INTO `iot_settings` (`id`, `setting_key`, `setting_value`, `description`, `updated_at`, `wifi_ssid`, `wifi_password`, `server_ip`) VALUES ('1', 'wifi_ssid', 'Hidden Network', 'WiFi Network Name', '2025-11-21 11:08:14', 'YOUR_WIFI_NAME', 'YOUR_WIFI_PASSWORD', 'localhost');
INSERT INTO `iot_settings` (`id`, `setting_key`, `setting_value`, `description`, `updated_at`, `wifi_ssid`, `wifi_password`, `server_ip`) VALUES ('2', 'wifi_password', 'STROX2020', 'WiFi Password', '2025-11-21 11:08:14', 'YOUR_WIFI_NAME', 'YOUR_WIFI_PASSWORD', 'localhost');
INSERT INTO `iot_settings` (`id`, `setting_key`, `setting_value`, `description`, `updated_at`, `wifi_ssid`, `wifi_password`, `server_ip`) VALUES ('3', 'server_url', 'http://192.168.1.121/KL/backend/api/esp_control.php', 'Server API URL', '2025-11-21 11:10:00', 'YOUR_WIFI_NAME', 'YOUR_WIFI_PASSWORD', 'localhost');
INSERT INTO `iot_settings` (`id`, `setting_key`, `setting_value`, `description`, `updated_at`, `wifi_ssid`, `wifi_password`, `server_ip`) VALUES ('4', 'server_port', '80', 'Server Port (80 for HTTP, 443 for HTTPS)', '2025-11-21 10:59:54', 'YOUR_WIFI_NAME', 'YOUR_WIFI_PASSWORD', 'localhost');
INSERT INTO `iot_settings` (`id`, `setting_key`, `setting_value`, `description`, `updated_at`, `wifi_ssid`, `wifi_password`, `server_ip`) VALUES ('5', 'poll_interval', '3000', 'Polling interval in milliseconds', '2025-11-21 10:59:54', 'YOUR_WIFI_NAME', 'YOUR_WIFI_PASSWORD', 'localhost');
INSERT INTO `iot_settings` (`id`, `setting_key`, `setting_value`, `description`, `updated_at`, `wifi_ssid`, `wifi_password`, `server_ip`) VALUES ('6', 'relay_pin', '5', 'Default relay pin (GPIO5/D1)', '2025-11-21 10:59:54', 'YOUR_WIFI_NAME', 'YOUR_WIFI_PASSWORD', 'localhost');
INSERT INTO `iot_settings` (`id`, `setting_key`, `setting_value`, `description`, `updated_at`, `wifi_ssid`, `wifi_password`, `server_ip`) VALUES ('7', 'led_pin', '2', 'Default LED pin (GPIO2/D4)', '2025-11-21 14:31:23', 'Hidden Network', 'STROX2020', '192.168.1.121');
INSERT INTO `iot_settings` (`id`, `setting_key`, `setting_value`, `description`, `updated_at`, `wifi_ssid`, `wifi_password`, `server_ip`) VALUES ('8', 'test_led_pin', '2', 'Built-in test LED (GPIO2)', '2025-11-21 10:59:54', 'YOUR_WIFI_NAME', 'YOUR_WIFI_PASSWORD', 'localhost');
INSERT INTO `iot_settings` (`id`, `setting_key`, `setting_value`, `description`, `updated_at`, `wifi_ssid`, `wifi_password`, `server_ip`) VALUES ('9', 'serial_baud', '115200', 'Serial Monitor Baud Rate', '2025-11-21 10:59:54', 'YOUR_WIFI_NAME', 'YOUR_WIFI_PASSWORD', 'localhost');


-- Table: manifest_orders
CREATE TABLE `manifest_orders` (
  `id` int NOT NULL AUTO_INCREMENT,
  `manifest_id` int NOT NULL,
  `order_id` int NOT NULL,
  PRIMARY KEY (`id`),
  KEY `manifest_id` (`manifest_id`),
  KEY `order_id` (`order_id`),
  CONSTRAINT `manifest_orders_ibfk_1` FOREIGN KEY (`manifest_id`) REFERENCES `shipping_manifests` (`id`) ON DELETE CASCADE,
  CONSTRAINT `manifest_orders_ibfk_2` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Data for table: manifest_orders
INSERT INTO `manifest_orders` (`id`, `manifest_id`, `order_id`) VALUES ('1', '1', '1');
INSERT INTO `manifest_orders` (`id`, `manifest_id`, `order_id`) VALUES ('2', '2', '5');
INSERT INTO `manifest_orders` (`id`, `manifest_id`, `order_id`) VALUES ('3', '2', '4');
INSERT INTO `manifest_orders` (`id`, `manifest_id`, `order_id`) VALUES ('4', '2', '3');
INSERT INTO `manifest_orders` (`id`, `manifest_id`, `order_id`) VALUES ('5', '2', '2');
INSERT INTO `manifest_orders` (`id`, `manifest_id`, `order_id`) VALUES ('6', '3', '5');
INSERT INTO `manifest_orders` (`id`, `manifest_id`, `order_id`) VALUES ('7', '3', '4');
INSERT INTO `manifest_orders` (`id`, `manifest_id`, `order_id`) VALUES ('8', '3', '3');
INSERT INTO `manifest_orders` (`id`, `manifest_id`, `order_id`) VALUES ('9', '3', '2');


-- Table: material_alerts
CREATE TABLE `material_alerts` (
  `id` int NOT NULL AUTO_INCREMENT,
  `material_type` enum('raw','packaging','wrapping') NOT NULL,
  `material_id` int NOT NULL,
  `alert_type` enum('low_stock','out_of_stock','expiring_soon','expired') NOT NULL,
  `current_quantity` decimal(10,3) NOT NULL,
  `threshold_quantity` decimal(10,3) DEFAULT NULL,
  `expiry_date` date DEFAULT NULL,
  `is_resolved` tinyint(1) DEFAULT '0',
  `resolved_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_material` (`material_type`,`material_id`),
  KEY `idx_is_resolved` (`is_resolved`),
  KEY `idx_alert_type` (`alert_type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;


-- Table: material_movements
CREATE TABLE `material_movements` (
  `id` int NOT NULL AUTO_INCREMENT,
  `material_type` enum('raw','packaging','wrapping') NOT NULL,
  `material_id` int NOT NULL,
  `movement_type` enum('in','out','adjustment','production','return') NOT NULL,
  `quantity` decimal(10,3) NOT NULL,
  `previous_quantity` decimal(10,3) NOT NULL,
  `new_quantity` decimal(10,3) NOT NULL,
  `reference_type` varchar(50) DEFAULT NULL COMMENT 'purchase_order, production_batch, adjustment',
  `reference_id` int DEFAULT NULL,
  `notes` text,
  `created_by` int DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_material` (`material_type`,`material_id`),
  KEY `idx_movement_type` (`movement_type`),
  KEY `idx_created_at` (`created_at`),
  KEY `created_by` (`created_by`),
  CONSTRAINT `material_movements_ibfk_1` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;


-- Table: messages
CREATE TABLE `messages` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `message` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `is_read` tinyint(1) DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: messages
INSERT INTO `messages` (`id`, `name`, `email`, `phone`, `message`, `is_read`, `created_at`, `updated_at`) VALUES ('1', 'أحمد محمد', 'ahmed@example.com', '01012345678', 'أريد الاستفسار عن منتجات العناية بالبشرة المتوفرة لديكم', '1', '2025-11-15 08:19:52', '2025-11-15 08:20:04');
INSERT INTO `messages` (`id`, `name`, `email`, `phone`, `message`, `is_read`, `created_at`, `updated_at`) VALUES ('2', 'فاطمة علي', 'fatma@example.com', '01098765432', 'هل يمكنني إلغاء طلبي رقم #123؟', '1', '2025-11-15 08:19:52', '2025-11-15 08:19:52');
INSERT INTO `messages` (`id`, `name`, `email`, `phone`, `message`, `is_read`, `created_at`, `updated_at`) VALUES ('3', 'محمود حسن', 'mahmoud@example.com', '01123456789', 'متى سيتم توصيل طلبي؟ لقد مر 3 أيام', '0', '2025-11-15 08:19:52', '2025-11-15 08:19:52');


-- Table: offers
CREATE TABLE `offers` (
  `id` int NOT NULL AUTO_INCREMENT,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'عنوان العرض',
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT 'وصف العرض',
  `discount_type` enum('percentage','fixed') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'percentage' COMMENT 'نوع الخصم',
  `discount_value` decimal(10,2) NOT NULL COMMENT 'قيمة الخصم',
  `image` varchar(500) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT 'صورة العرض',
  `start_date` datetime NOT NULL COMMENT 'تاريخ البداية',
  `end_date` datetime NOT NULL COMMENT 'تاريخ النهاية',
  `is_active` tinyint(1) DEFAULT '1' COMMENT 'حالة العرض',
  `product_ids` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT 'معرفات المنتجات المشمولة (JSON)',
  `category_ids` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci COMMENT 'معرفات الفئات المشمولة (JSON)',
  `min_purchase` decimal(10,2) DEFAULT '0.00' COMMENT 'الحد الأدنى للشراء',
  `max_discount` decimal(10,2) DEFAULT NULL COMMENT 'الحد الأقصى للخصم',
  `usage_limit` int DEFAULT '0' COMMENT 'عدد مرات الاستخدام (0 = غير محدود)',
  `used_count` int DEFAULT '0' COMMENT 'عدد مرات الاستخدام الفعلي',
  `priority` int DEFAULT '0' COMMENT 'الأولوية',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_active` (`is_active`),
  KEY `idx_dates` (`start_date`,`end_date`),
  KEY `idx_priority` (`priority`)
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci COMMENT='جدول العروض والخصومات';

-- Data for table: offers
INSERT INTO `offers` (`id`, `title`, `description`, `discount_type`, `discount_value`, `image`, `start_date`, `end_date`, `is_active`, `product_ids`, `category_ids`, `min_purchase`, `max_discount`, `usage_limit`, `used_count`, `priority`, `created_at`, `updated_at`) VALUES ('8', 'عرض الصيف الحصري 🌸', 'خصم 30% على جميع منتجات العناية بالبشرة + شحن مجاني', 'percentage', '30.00', 'uploads/offers/summer-offer.jpg', '2025-11-30 00:14:00', '2025-12-25 00:14:00', '0', NULL, NULL, '234.00', '12.00', '0', '0', '1', '2025-11-30 00:13:34', '2025-11-30 00:15:43');
INSERT INTO `offers` (`id`, `title`, `description`, `discount_type`, `discount_value`, `image`, `start_date`, `end_date`, `is_active`, `product_ids`, `category_ids`, `min_purchase`, `max_discount`, `usage_limit`, `used_count`, `priority`, `created_at`, `updated_at`) VALUES ('9', 'عرض الصيف الحصري 🌸', 'خصم 30% على جميع منتجات العناية بالبشرة', 'percentage', '30.00', NULL, '2025-11-29 00:17:52', '2025-12-30 00:17:52', '1', NULL, NULL, '0.00', NULL, '0', '0', '1', '2025-11-30 00:17:52', '2025-11-30 00:17:52');
INSERT INTO `offers` (`id`, `title`, `description`, `discount_type`, `discount_value`, `image`, `start_date`, `end_date`, `is_active`, `product_ids`, `category_ids`, `min_purchase`, `max_discount`, `usage_limit`, `used_count`, `priority`, `created_at`, `updated_at`) VALUES ('12', 'عرض العناية بالبشرة 💆', 'خصم 40% على جميع منتجات العناية بالبشرة الطبيعية', 'percentage', '40.00', NULL, '2025-11-29 00:25:37', '2025-12-20 00:25:37', '1', NULL, NULL, '0.00', NULL, '0', '0', '2', '2025-11-30 00:25:37', '2025-11-30 00:25:37');
INSERT INTO `offers` (`id`, `title`, `description`, `discount_type`, `discount_value`, `image`, `start_date`, `end_date`, `is_active`, `product_ids`, `category_ids`, `min_purchase`, `max_discount`, `usage_limit`, `used_count`, `priority`, `created_at`, `updated_at`) VALUES ('13', 'شحن مجاني لجميع الطلبات 🚚', 'توصيل مجاني لكل الطلبات بدون حد أدنى', 'fixed', '0.00', NULL, '2025-11-29 00:25:37', '2025-12-15 00:25:37', '1', NULL, NULL, '0.00', NULL, '0', '0', '3', '2025-11-30 00:25:37', '2025-11-30 00:25:37');


-- Table: order_items
CREATE TABLE `order_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `order_id` int NOT NULL,
  `product_id` int NOT NULL,
  `product_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `price` decimal(10,2) NOT NULL,
  `quantity` int NOT NULL,
  `total` decimal(10,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_order_id` (`order_id`),
  KEY `idx_product_id` (`product_id`),
  CONSTRAINT `order_items_ibfk_1` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=29 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: order_items
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('1', '1', '1', 'Hydrating Face Cream', '1200.00', '10', '12000.00', '2025-11-15 09:06:42');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('2', '1', '2', 'Matte Lipstick', '800.00', '8', '6400.00', '2025-11-15 09:06:42');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('3', '1', '4', 'Facial Cleanser', '950.00', '7', '6650.00', '2025-11-15 09:06:42');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('4', '1', '5', 'Eyeshadow Palette', '1800.00', '7', '12600.00', '2025-11-15 09:06:42');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('5', '2', '2', 'Matte Lipstick', '800.00', '2', '1600.00', '2025-11-16 10:08:55');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('6', '3', '5', 'Eyeshadow Palette', '1800.00', '1', '1800.00', '2025-11-16 10:13:29');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('7', '4', '4', 'Facial Cleanser', '950.00', '1', '950.00', '2025-11-16 10:58:06');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('8', '5', '4', 'Facial Cleanser', '950.00', '3', '2850.00', '2025-11-16 13:35:25');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('9', '5', '5', 'Eyeshadow Palette', '1800.00', '2', '3600.00', '2025-11-16 13:35:25');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('10', '6', '8', 'سيروم الحبوب الطبيعي', '110.00', '2', '220.00', '2025-11-18 14:32:49');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('11', '6', '9', 'مجموعة العناية الفائقة', '350.00', '2', '700.00', '2025-11-18 14:32:49');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('12', '7', '8', 'سيروم الحبوب الطبيعي', '110.00', '2', '220.00', '2025-11-19 07:56:04');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('13', '7', '9', 'مجموعة العناية الفائقة', '350.00', '2', '700.00', '2025-11-19 07:56:04');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('14', '8', '9', 'مجموعة العناية الفائقة', '350.00', '1', '350.00', '2025-11-19 08:03:25');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('15', '9', '9', 'مجموعة العناية الفائقة', '350.00', '2', '700.00', '2025-11-19 08:11:08');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('16', '10', '8', 'سيروم الحبوب الطبيعي', '110.00', '2', '220.00', '2025-11-19 11:38:56');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('17', '10', '9', 'مجموعة العناية الفائقة', '350.00', '1', '350.00', '2025-11-19 11:38:56');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('18', '11', '8', 'سيروم الحبوب الطبيعي', '110.00', '5', '550.00', '2025-11-20 16:12:38');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('19', '11', '9', 'مجموعة العناية الفائقة', '350.00', '5', '1750.00', '2025-11-20 16:12:38');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('20', '12', '8', 'سيروم الحبوب الطبيعي', '110.00', '1', '110.00', '2025-11-21 15:12:23');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('21', '13', '8', 'سيروم الحبوب الطبيعي', '110.00', '1', '110.00', '2025-11-23 14:03:26');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('22', '13', '9', 'مجموعة العناية الفائقة', '350.00', '4', '1400.00', '2025-11-23 14:03:26');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('23', '14', '8', 'سيروم الحبوب الطبيعي', '110.00', '1', '110.00', '2025-11-23 14:22:00');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('24', '14', '9', 'مجموعة العناية الفائقة', '350.00', '1', '350.00', '2025-11-23 14:22:00');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('25', '15', '8', 'سيروم الحبوب الطبيعي', '110.00', '3', '330.00', '2025-11-30 01:22:22');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('26', '15', '9', 'مجموعة العناية الفائقة', '350.00', '3', '1050.00', '2025-11-30 01:22:22');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('27', '15', '13', 'تونك الشعر المقوي (Roz Hair Tonic)', '140.00', '1', '140.00', '2025-11-30 01:22:22');
INSERT INTO `order_items` (`id`, `order_id`, `product_id`, `product_name`, `price`, `quantity`, `total`, `created_at`) VALUES ('28', '15', '15', 'سيروم تقوية الأظافر (Roz Nail Serum)', '120.00', '2', '240.00', '2025-11-30 01:22:22');


-- Table: orders
CREATE TABLE `orders` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `order_number` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `first_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `last_name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `email` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `address` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `city` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `postal_code` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `notes` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `payment_method` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'cod',
  `subtotal` decimal(10,2) NOT NULL DEFAULT '0.00',
  `shipping` decimal(10,2) NOT NULL DEFAULT '0.00',
  `tax` decimal(10,2) NOT NULL DEFAULT '0.00',
  `discount` decimal(10,2) NOT NULL DEFAULT '0.00',
  `total` decimal(10,2) NOT NULL DEFAULT '0.00',
  `status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `order_number` (`order_number`),
  KEY `idx_user_id` (`user_id`),
  KEY `idx_order_number` (`order_number`),
  KEY `idx_status` (`status`),
  KEY `idx_created_at` (`created_at`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: orders
INSERT INTO `orders` (`id`, `user_id`, `order_number`, `first_name`, `last_name`, `phone`, `email`, `address`, `city`, `postal_code`, `notes`, `payment_method`, `subtotal`, `shipping`, `tax`, `discount`, `total`, `status`, `created_at`, `updated_at`) VALUES ('1', '1', 'ORD-20251115-7759', 'Ahmed Sharara', 'شراره', '01098890999', 'sharara3310@gmail.com', 'الهرم جيزة فيصل', 'القاهرة', '', '', 'cod', '37650.00', '0.00', '5647.50', '0.00', '43297.50', 'shipped', '2025-11-15 09:06:42', '2025-11-15 09:33:55');
INSERT INTO `orders` (`id`, `user_id`, `order_number`, `first_name`, `last_name`, `phone`, `email`, `address`, `city`, `postal_code`, `notes`, `payment_method`, `subtotal`, `shipping`, `tax`, `discount`, `total`, `status`, `created_at`, `updated_at`) VALUES ('2', '1', 'ORD-20251116-6783', 'Ahmed', 'Sharara', '01098890999', 'sharara3310@gmail.com', 'الهرم جيزة فيصل', 'القاهرة', '', '', 'cod', '1600.00', '0.00', '240.00', '0.00', '1840.00', 'shipped', '2025-11-16 10:08:55', '2025-11-17 07:12:20');
INSERT INTO `orders` (`id`, `user_id`, `order_number`, `first_name`, `last_name`, `phone`, `email`, `address`, `city`, `postal_code`, `notes`, `payment_method`, `subtotal`, `shipping`, `tax`, `discount`, `total`, `status`, `created_at`, `updated_at`) VALUES ('3', '1', 'ORD-20251116-2301', 'Ahmed', 'Sharara', '01098890999', 'sharara3310@gmail.com', 'الهرم جيزة فيصل', 'القاهرة', '', '', 'cod', '1800.00', '0.00', '270.00', '0.00', '2070.00', 'shipped', '2025-11-16 10:13:29', '2025-11-17 07:12:20');
INSERT INTO `orders` (`id`, `user_id`, `order_number`, `first_name`, `last_name`, `phone`, `email`, `address`, `city`, `postal_code`, `notes`, `payment_method`, `subtotal`, `shipping`, `tax`, `discount`, `total`, `status`, `created_at`, `updated_at`) VALUES ('4', '1', 'ORD-20251116-1393', 'Ahmed', 'Sharara', '01098890999', 'sharara3310@gmail.com', 'الهرم جيزة فيصل', 'القاهرة', '', '', 'cod', '950.00', '0.00', '142.50', '0.00', '1092.50', 'out_for_delivery', '2025-11-16 10:58:06', '2025-11-17 07:40:15');
INSERT INTO `orders` (`id`, `user_id`, `order_number`, `first_name`, `last_name`, `phone`, `email`, `address`, `city`, `postal_code`, `notes`, `payment_method`, `subtotal`, `shipping`, `tax`, `discount`, `total`, `status`, `created_at`, `updated_at`) VALUES ('5', '1', 'ORD-20251116-1955', 'Ahmed', 'Sharara', '01098890999', 'sharara3310@gmail.com', 'الهرم جيزة فيصل', 'القاهرة', '', '', 'cod', '6450.00', '0.00', '967.50', '0.00', '7417.50', 'out_for_delivery', '2025-11-16 13:35:25', '2025-11-17 07:40:14');
INSERT INTO `orders` (`id`, `user_id`, `order_number`, `first_name`, `last_name`, `phone`, `email`, `address`, `city`, `postal_code`, `notes`, `payment_method`, `subtotal`, `shipping`, `tax`, `discount`, `total`, `status`, `created_at`, `updated_at`) VALUES ('6', '1', 'ORD-20251118-7609', 'Ahmed', 'Sharara', '01098890999', 'sharara3310@gmail.com', 'الهرم جيزة فيصل', 'القاهرة', '', '', 'cod', '920.00', '0.00', '138.00', '0.00', '1058.00', 'pending', '2025-11-18 14:32:49', '2025-11-18 14:32:49');
INSERT INTO `orders` (`id`, `user_id`, `order_number`, `first_name`, `last_name`, `phone`, `email`, `address`, `city`, `postal_code`, `notes`, `payment_method`, `subtotal`, `shipping`, `tax`, `discount`, `total`, `status`, `created_at`, `updated_at`) VALUES ('7', '1', 'ORD-20251119-5395', 'Test', 'User', '01234567890', 'test@test.com', 'Test Address', 'Cairo', '', '', 'cod', '920.00', '0.00', '138.00', '0.00', '1058.00', 'pending', '2025-11-19 07:56:04', '2025-11-19 07:56:04');
INSERT INTO `orders` (`id`, `user_id`, `order_number`, `first_name`, `last_name`, `phone`, `email`, `address`, `city`, `postal_code`, `notes`, `payment_method`, `subtotal`, `shipping`, `tax`, `discount`, `total`, `status`, `created_at`, `updated_at`) VALUES ('8', '1', 'ORD-20251119-2882', 'Ahmed', 'Sharara', '01098890999', 'user01098890999@rozskin.local', 'Test Address - Direct Order', 'Cairo', '', 'Test order from debug script', 'cod', '350.00', '0.00', '52.50', '0.00', '402.50', 'pending', '2025-11-19 08:03:25', '2025-11-19 08:03:25');
INSERT INTO `orders` (`id`, `user_id`, `order_number`, `first_name`, `last_name`, `phone`, `email`, `address`, `city`, `postal_code`, `notes`, `payment_method`, `subtotal`, `shipping`, `tax`, `discount`, `total`, `status`, `created_at`, `updated_at`) VALUES ('9', '1', 'ORD-20251119-5419', 'Ahmed', 'Sharara', '01098890999', 'user01098890999@rozskin.local', '15, شارع فخري رستم, كوم الأخضر, الجيزة, 12574, مصر', 'البيت', '', '', 'cod', '700.00', '0.00', '105.00', '0.00', '805.00', 'pending', '2025-11-19 08:11:08', '2025-11-19 08:11:08');
INSERT INTO `orders` (`id`, `user_id`, `order_number`, `first_name`, `last_name`, `phone`, `email`, `address`, `city`, `postal_code`, `notes`, `payment_method`, `subtotal`, `shipping`, `tax`, `discount`, `total`, `status`, `created_at`, `updated_at`) VALUES ('10', '1', 'ORD-20251119-3497', 'Ahmed', 'Sharara', '01098890999', 'user01098890999@rozskin.local', '15, شارع فخري رستم, كوم الأخضر, الجيزة, 12574, مصر', 'البيت', '', '', 'cod', '570.00', '0.00', '85.50', '0.00', '655.50', 'pending', '2025-11-19 11:38:56', '2025-11-19 11:38:56');
INSERT INTO `orders` (`id`, `user_id`, `order_number`, `first_name`, `last_name`, `phone`, `email`, `address`, `city`, `postal_code`, `notes`, `payment_method`, `subtotal`, `shipping`, `tax`, `discount`, `total`, `status`, `created_at`, `updated_at`) VALUES ('11', '1', 'ORD-20251120-8086', 'Ahmed', 'Sharara', '01098890999', 'user01098890999@rozskin.local', '15, شارع فخري رستم, كوم الأخضر, الجيزة, 12574, مصر', 'البيت', '', '', 'cod', '2300.00', '0.00', '345.00', '0.00', '2645.00', 'pending', '2025-11-20 16:12:38', '2025-11-20 16:12:38');
INSERT INTO `orders` (`id`, `user_id`, `order_number`, `first_name`, `last_name`, `phone`, `email`, `address`, `city`, `postal_code`, `notes`, `payment_method`, `subtotal`, `shipping`, `tax`, `discount`, `total`, `status`, `created_at`, `updated_at`) VALUES ('12', '1', 'ORD-20251121-4606', 'Ahmed', 'Sharara', '01098890999', 'user01098890999@rozskin.local', 'الموقع: 29.9860339, 31.1591702', 'البيت', '', '', 'cod', '110.00', '0.00', '16.50', '0.00', '126.50', 'pending', '2025-11-21 15:12:23', '2025-11-21 15:12:23');
INSERT INTO `orders` (`id`, `user_id`, `order_number`, `first_name`, `last_name`, `phone`, `email`, `address`, `city`, `postal_code`, `notes`, `payment_method`, `subtotal`, `shipping`, `tax`, `discount`, `total`, `status`, `created_at`, `updated_at`) VALUES ('13', '1', 'ORD-20251123-6165', 'Ahmed', 'Sharara', '01098890999', 'user01098890999@rozskin.local', 'الموقع: 29.9860339, 31.1591702', 'البيت', '', '', 'cod', '1510.00', '0.00', '226.50', '0.00', '1736.50', 'pending', '2025-11-23 14:03:26', '2025-11-23 14:03:26');
INSERT INTO `orders` (`id`, `user_id`, `order_number`, `first_name`, `last_name`, `phone`, `email`, `address`, `city`, `postal_code`, `notes`, `payment_method`, `subtotal`, `shipping`, `tax`, `discount`, `total`, `status`, `created_at`, `updated_at`) VALUES ('14', '1', 'ORD-20251123-9240', 'Ahmed', 'Sharara', '01098890999', 'user01098890999@rozskin.local', 'الموقع: 29.9860339, 31.1591702', 'البيت', '', '', 'cod', '460.00', '0.00', '69.00', '0.00', '529.00', 'pending', '2025-11-23 14:22:00', '2025-11-23 14:22:00');
INSERT INTO `orders` (`id`, `user_id`, `order_number`, `first_name`, `last_name`, `phone`, `email`, `address`, `city`, `postal_code`, `notes`, `payment_method`, `subtotal`, `shipping`, `tax`, `discount`, `total`, `status`, `created_at`, `updated_at`) VALUES ('15', '1', 'ORD-20251129-2527', 'Ahmed', 'Sharara', '01098890999', 'user01098890999@rozskin.local', '15, شارع فخري رستم, كوم الأخضر, الجيزة, 12574, مصر', 'البيت', '', '', 'cod', '1760.00', '0.00', '264.00', '0.00', '2024.00', 'pending', '2025-11-30 01:22:22', '2025-11-30 01:22:22');


-- Table: packaging_materials
CREATE TABLE `packaging_materials` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `type` enum('bottle','jar','cap','dropper','spray','pump','tube') NOT NULL,
  `size` varchar(50) DEFAULT NULL COMMENT '30ml, 50ml, 100ml',
  `material` varchar(50) DEFAULT NULL COMMENT 'زجاج، بلاستيك، ألومنيوم',
  `color` varchar(50) DEFAULT NULL,
  `quantity` int NOT NULL DEFAULT '0',
  `unit_cost` decimal(10,2) NOT NULL DEFAULT '0.00',
  `supplier_id` int DEFAULT NULL,
  `min_quantity` int DEFAULT '50',
  `notes` text,
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_type` (`type`),
  KEY `idx_supplier` (`supplier_id`),
  CONSTRAINT `packaging_materials_ibfk_1` FOREIGN KEY (`supplier_id`) REFERENCES `suppliers` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;


-- Table: payment_accounts
CREATE TABLE `payment_accounts` (
  `id` int NOT NULL AUTO_INCREMENT,
  `payment_method_id` int NOT NULL,
  `account_name` varchar(255) NOT NULL,
  `account_number` varchar(100) NOT NULL,
  `account_holder` varchar(255) DEFAULT NULL,
  `is_active` tinyint(1) DEFAULT '1',
  `daily_limit` decimal(10,2) DEFAULT '0.00',
  `current_daily_amount` decimal(10,2) DEFAULT '0.00',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `payment_method_id` (`payment_method_id`),
  CONSTRAINT `payment_accounts_ibfk_1` FOREIGN KEY (`payment_method_id`) REFERENCES `payment_methods` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Data for table: payment_accounts
INSERT INTO `payment_accounts` (`id`, `payment_method_id`, `account_name`, `account_number`, `account_holder`, `is_active`, `daily_limit`, `current_daily_amount`, `created_at`, `updated_at`) VALUES ('1', '3', 'رقم فودافون كاش الأساسي', '01012345678', 'متجر روز سكين', '1', '10000.00', '0.00', '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `payment_accounts` (`id`, `payment_method_id`, `account_name`, `account_number`, `account_holder`, `is_active`, `daily_limit`, `current_daily_amount`, `created_at`, `updated_at`) VALUES ('2', '3', 'رقم فودافون كاش الاحتياطي', '01087654321', 'متجر روز سكين', '1', '15000.00', '0.00', '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `payment_accounts` (`id`, `payment_method_id`, `account_name`, `account_number`, `account_holder`, `is_active`, `daily_limit`, `current_daily_amount`, `created_at`, `updated_at`) VALUES ('3', '4', 'حساب البنك الأهلي', '1234567890123456', 'متجر روز سكين', '1', '50000.00', '0.00', '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `payment_accounts` (`id`, `payment_method_id`, `account_name`, `account_number`, `account_holder`, `is_active`, `daily_limit`, `current_daily_amount`, `created_at`, `updated_at`) VALUES ('4', '4', 'حساب بنك مصر', '9876543210987654', 'متجر روز سكين', '1', '50000.00', '0.00', '2025-11-12 07:52:25', '2025-11-12 07:52:25');


-- Table: payment_methods
CREATE TABLE `payment_methods` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `code` varchar(100) NOT NULL,
  `description` text,
  `is_active` tinyint(1) DEFAULT '1',
  `icon_class` varchar(100) DEFAULT NULL,
  `color_class` varchar(100) DEFAULT NULL,
  `integration_config` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `code` (`code`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Data for table: payment_methods
INSERT INTO `payment_methods` (`id`, `name`, `code`, `description`, `is_active`, `icon_class`, `color_class`, `integration_config`, `created_at`, `updated_at`) VALUES ('1', 'الدفع عند الاستلام', 'cash_on_delivery', 'العميل يدفع المبلغ نقداً عند استلام الطلب من مندوب التوصيل', '1', 'fas fa-hand-holding-usd', 'text-blue-600', NULL, '2025-11-12 07:52:25', '2025-11-15 07:58:25');
INSERT INTO `payment_methods` (`id`, `name`, `code`, `description`, `is_active`, `icon_class`, `color_class`, `integration_config`, `created_at`, `updated_at`) VALUES ('2', 'فوري', 'fawry', 'خدمة الدفع الإلكتروني المصرية عبر ماكينات فوري أو التطبيق', '0', 'fas fa-mobile-alt', 'text-orange-600', '{\"api_key\": \"fawry_api_key_here\", \"merchant_code\": \"123456789\"}', '2025-11-12 07:52:25', '2025-11-18 15:30:07');
INSERT INTO `payment_methods` (`id`, `name`, `code`, `description`, `is_active`, `icon_class`, `color_class`, `integration_config`, `created_at`, `updated_at`) VALUES ('3', 'فودافون كاش', 'vodafone_cash', 'المحفظة الإلكترونية من فودافون للدفع السريع والآمن', '1', 'fas fa-wallet', 'text-red-600', NULL, '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `payment_methods` (`id`, `name`, `code`, `description`, `is_active`, `icon_class`, `color_class`, `integration_config`, `created_at`, `updated_at`) VALUES ('4', 'إنستا باي', 'instapay', 'خدمة التحويل البنكي الفوري من البنوك المصرية', '1', 'fas fa-university', 'text-purple-600', NULL, '2025-11-12 07:52:25', '2025-11-12 07:52:25');


-- Table: payment_settings
CREATE TABLE `payment_settings` (
  `id` int NOT NULL AUTO_INCREMENT,
  `cash_on_delivery` tinyint(1) DEFAULT '1',
  `bank_transfer` tinyint(1) DEFAULT '0',
  `fawry` tinyint(1) DEFAULT '0',
  `bank_name` varchar(255) DEFAULT '',
  `bank_account` varchar(255) DEFAULT '',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Data for table: payment_settings
INSERT INTO `payment_settings` (`id`, `cash_on_delivery`, `bank_transfer`, `fawry`, `bank_name`, `bank_account`, `created_at`) VALUES ('1', '1', '0', '1', '', '', '2025-11-15 06:19:34');


-- Table: pin_commands
CREATE TABLE `pin_commands` (
  `id` int NOT NULL AUTO_INCREMENT,
  `device_id` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `pin_gpio` tinyint NOT NULL,
  `action` enum('on','off','toggle','pulse') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `duration` int DEFAULT NULL,
  `status` enum('pending','sent','executed','failed') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `executed_at` datetime DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `idx_pin_commands` (`device_id`,`pin_gpio`,`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;


-- Table: post_categories
CREATE TABLE `post_categories` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `slug` varchar(100) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `icon` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `color` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `posts_count` int DEFAULT '0',
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `slug` (`slug`)
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: post_categories
INSERT INTO `post_categories` (`id`, `name`, `slug`, `description`, `icon`, `color`, `posts_count`, `is_active`, `created_at`) VALUES ('1', 'أخبار المتجر', 'store-news', 'آخر أخبار وتحديثات المتجر', '📰', '#E57393', '0', '1', '2025-11-17 10:07:43');
INSERT INTO `post_categories` (`id`, `name`, `slug`, `description`, `icon`, `color`, `posts_count`, `is_active`, `created_at`) VALUES ('2', 'نصائح جمالية', 'beauty-tips', 'نصائح للعناية بالبشرة والجمال', '💡', '#9B59B6', '0', '1', '2025-11-17 10:07:43');
INSERT INTO `post_categories` (`id`, `name`, `slug`, `description`, `icon`, `color`, `posts_count`, `is_active`, `created_at`) VALUES ('3', 'عروض خاصة', 'special-offers', 'أحدث العروض والخصومات', '🔥', '#E74C3C', '0', '1', '2025-11-17 10:07:43');
INSERT INTO `post_categories` (`id`, `name`, `slug`, `description`, `icon`, `color`, `posts_count`, `is_active`, `created_at`) VALUES ('4', 'منتجات جديدة', 'new-products', 'تعرفي على أحدث منتجاتنا', '✨', '#3498DB', '0', '1', '2025-11-17 10:07:43');
INSERT INTO `post_categories` (`id`, `name`, `slug`, `description`, `icon`, `color`, `posts_count`, `is_active`, `created_at`) VALUES ('5', 'قصص نجاح', 'success-stories', 'تجارب عملائنا الناجحة', '⭐', '#2ECC71', '0', '1', '2025-11-17 10:07:43');
INSERT INTO `post_categories` (`id`, `name`, `slug`, `description`, `icon`, `color`, `posts_count`, `is_active`, `created_at`) VALUES ('6', 'دليل الاستخدام', 'how-to', 'طرق استخدام المنتجات', '📚', '#F39C12', '0', '1', '2025-11-17 10:07:43');


-- Table: post_comments
CREATE TABLE `post_comments` (
  `id` int NOT NULL AUTO_INCREMENT,
  `post_id` int NOT NULL,
  `user_id` int NOT NULL,
  `comment` text NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `post_id` (`post_id`),
  KEY `user_id` (`user_id`),
  CONSTRAINT `post_comments_ibfk_1` FOREIGN KEY (`post_id`) REFERENCES `posts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `post_comments_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;


-- Table: post_likes
CREATE TABLE `post_likes` (
  `id` int NOT NULL AUTO_INCREMENT,
  `post_id` int NOT NULL,
  `user_id` int NOT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_post_user_like` (`post_id`,`user_id`),
  KEY `user_id` (`user_id`),
  CONSTRAINT `post_likes_ibfk_1` FOREIGN KEY (`post_id`) REFERENCES `posts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `post_likes_ibfk_2` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;


-- Table: posts
CREATE TABLE `posts` (
  `id` int NOT NULL AUTO_INCREMENT,
  `title` varchar(255) DEFAULT NULL,
  `slug` varchar(255) DEFAULT NULL,
  `excerpt` text,
  `content` longtext,
  `featured_image` varchar(255) DEFAULT NULL,
  `author_id` int DEFAULT NULL,
  `category` varchar(100) DEFAULT NULL,
  `tags` varchar(255) DEFAULT NULL,
  `status` enum('draft','published','scheduled') DEFAULT 'draft',
  `is_featured` tinyint(1) DEFAULT '0',
  `views_count` int DEFAULT '0',
  `likes_count` int DEFAULT '0',
  `comments_count` int DEFAULT '0',
  `published_at` datetime DEFAULT NULL,
  `caption` text,
  `image` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Data for table: posts
INSERT INTO `posts` (`id`, `title`, `slug`, `excerpt`, `content`, `featured_image`, `author_id`, `category`, `tags`, `status`, `is_featured`, `views_count`, `likes_count`, `comments_count`, `published_at`, `caption`, `image`, `created_at`, `updated_at`) VALUES ('1', 'ابدأ يومك ببشرة نقية ومشرقة مع روتيننا اليومي البسيط والفعال. استخدم غسول روز سكين الطبيعي لتنظيف ال', 'post-1', NULL, 'ابدأ يومك ببشرة نقية ومشرقة مع روتيننا اليومي البسيط والفعال. استخدم غسول روز سكين الطبيعي لتنظيف البشرة بلطف، ثم طبق كريم الترطيب الغني بمكونات طبيعية للحفاظ على رطوبة البشرة طوال اليوم.', 'uploads/posts/skincare-routine.jpg', NULL, NULL, NULL, 'draft', '0', '0', '0', '0', NULL, 'ابدأ يومك ببشرة نقية ومشرقة مع روتيننا اليومي البسيط والفعال. استخدم غسول روز سكين الطبيعي لتنظيف البشرة بلطف، ثم طبق كريم الترطيب الغني بمكونات طبيعية للحفاظ على رطوبة البشرة طوال اليوم.', 'uploads/posts/skincare-routine.jpg', '2025-11-12 07:52:25', '2025-11-17 10:07:43');
INSERT INTO `posts` (`id`, `title`, `slug`, `excerpt`, `content`, `featured_image`, `author_id`, `category`, `tags`, `status`, `is_featured`, `views_count`, `likes_count`, `comments_count`, `published_at`, `caption`, `image`, `created_at`, `updated_at`) VALUES ('5', 'مع ارتفاع درجات الحرارة في الصيف، تحتاج بشرتك عناية إضافية. استخدم واقي شمس يومياً ومنتجات تحتوي على', 'post-5', NULL, 'مع ارتفاع درجات الحرارة في الصيف، تحتاج بشرتك عناية إضافية. استخدم واقي شمس يومياً ومنتجات تحتوي على الألوفيرا للحفاظ على رطوبة البشرة.', 'uploads/posts/summer-skincare.jpg', NULL, NULL, NULL, 'draft', '0', '0', '0', '0', NULL, 'مع ارتفاع درجات الحرارة في الصيف، تحتاج بشرتك عناية إضافية. استخدم واقي شمس يومياً ومنتجات تحتوي على الألوفيرا للحفاظ على رطوبة البشرة.', 'uploads/posts/summer-skincare.jpg', '2025-11-12 07:52:25', '2025-11-17 10:07:43');
INSERT INTO `posts` (`id`, `title`, `slug`, `excerpt`, `content`, `featured_image`, `author_id`, `category`, `tags`, `status`, `is_featured`, `views_count`, `likes_count`, `comments_count`, `published_at`, `caption`, `image`, `created_at`, `updated_at`) VALUES ('6', 'تعلم أسرار المكياج الدائم الذي يدوم طوال اليوم. اختر منتجات عالية الجودة واستخدم تقنيات البشرة الأسا', 'post-6', NULL, 'تعلم أسرار المكياج الدائم الذي يدوم طوال اليوم. اختر منتجات عالية الجودة واستخدم تقنيات البشرة الأساسية قبل وضع المكياج.', 'uploads/posts/long-lasting-makeup.jpg', NULL, NULL, NULL, 'draft', '0', '0', '0', '0', NULL, 'تعلم أسرار المكياج الدائم الذي يدوم طوال اليوم. اختر منتجات عالية الجودة واستخدم تقنيات البشرة الأساسية قبل وضع المكياج.', 'uploads/posts/long-lasting-makeup.jpg', '2025-11-12 07:52:25', '2025-11-17 10:07:43');
INSERT INTO `posts` (`id`, `title`, `slug`, `excerpt`, `content`, `featured_image`, `author_id`, `category`, `tags`, `status`, `is_featured`, `views_count`, `likes_count`, `comments_count`, `published_at`, `caption`, `image`, `created_at`, `updated_at`) VALUES ('7', 'هههه', 'ههه', 'ههه', 'ههخعع', 'uploads/posts/1763365538_1761942700_WhatsApp Image 2025-10-31 at 2.13.53 PM.jpeg', NULL, 'منتجات جديدة', 'جح', 'published', '1', '1', '0', '0', '2025-11-17 07:45:38', NULL, NULL, '2025-11-17 11:45:38', '2025-11-18 02:42:23');


-- Table: product_recipes
CREATE TABLE `product_recipes` (
  `id` int NOT NULL AUTO_INCREMENT,
  `product_id` int NOT NULL,
  `recipe_name` varchar(255) NOT NULL,
  `batch_size` int NOT NULL DEFAULT '1' COMMENT 'عدد القطع في الدفعة',
  `total_cost` decimal(10,2) DEFAULT '0.00' COMMENT 'التكلفة الإجمالية للدفعة',
  `cost_per_unit` decimal(10,2) DEFAULT '0.00' COMMENT 'تكلفة القطعة الواحدة',
  `notes` text,
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_product` (`product_id`),
  CONSTRAINT `product_recipes_ibfk_1` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;


-- Table: production_batches
CREATE TABLE `production_batches` (
  `id` int NOT NULL AUTO_INCREMENT,
  `batch_number` varchar(50) NOT NULL,
  `recipe_id` int NOT NULL,
  `quantity_produced` int NOT NULL,
  `production_date` date NOT NULL,
  `total_cost` decimal(10,2) NOT NULL,
  `cost_per_unit` decimal(10,2) NOT NULL,
  `status` enum('pending','in_progress','completed','cancelled') DEFAULT 'pending',
  `produced_by` int DEFAULT NULL COMMENT 'المستخدم الذي أنتج',
  `notes` text,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `batch_number` (`batch_number`),
  KEY `idx_batch_number` (`batch_number`),
  KEY `idx_recipe` (`recipe_id`),
  KEY `idx_status` (`status`),
  KEY `idx_production_date` (`production_date`),
  KEY `produced_by` (`produced_by`),
  CONSTRAINT `production_batches_ibfk_1` FOREIGN KEY (`recipe_id`) REFERENCES `product_recipes` (`id`) ON DELETE RESTRICT,
  CONSTRAINT `production_batches_ibfk_2` FOREIGN KEY (`produced_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;


-- Table: products
CREATE TABLE `products` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` text,
  `price` decimal(10,2) NOT NULL,
  `discount_price` decimal(10,2) DEFAULT NULL,
  `discount_percentage` int DEFAULT NULL,
  `status` varchar(20) DEFAULT 'active',
  `image` varchar(255) DEFAULT NULL,
  `category_id` int DEFAULT NULL,
  `stock_quantity` int DEFAULT '0',
  `low_stock_alert` int DEFAULT '5',
  `sku` varchar(100) DEFAULT NULL,
  `track_inventory` tinyint(1) DEFAULT '1',
  `is_limited_stock` tinyint(1) DEFAULT '0',
  `is_free_shipping` tinyint(1) DEFAULT '0',
  `is_medicinal` tinyint(1) DEFAULT '0',
  `medicinal_leaflet` text,
  `usage_instructions` text,
  `variations` json DEFAULT NULL,
  `additional_images` json DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  `size` varchar(100) DEFAULT NULL COMMENT 'حجم المنتج',
  `certification` text COMMENT 'الاعتماد والترخيص',
  `short_description` text COMMENT 'وصف مختصر',
  `detailed_description` longtext COMMENT 'وصف تفصيلي',
  `how_to_use` text COMMENT 'طريقة الاستخدام',
  `additional_tips` text COMMENT 'نصائح إضافية',
  `gallery_images` json DEFAULT NULL COMMENT 'صور إضافية (معرض)',
  PRIMARY KEY (`id`),
  UNIQUE KEY `sku` (`sku`),
  KEY `category_id` (`category_id`),
  CONSTRAINT `products_ibfk_1` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Data for table: products
INSERT INTO `products` (`id`, `name`, `description`, `price`, `discount_price`, `discount_percentage`, `status`, `image`, `category_id`, `stock_quantity`, `low_stock_alert`, `sku`, `track_inventory`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `variations`, `additional_images`, `created_at`, `updated_at`, `size`, `certification`, `short_description`, `detailed_description`, `how_to_use`, `additional_tips`, `gallery_images`) VALUES ('8', 'سيروم الحبوب الطبيعي', 'وداعاً للبثور المزعجة! سيروم روز سكين لحب الشباب هو الحل الموضعي السريع والفعّال، بتركيبة طبيعية 100% تعمل على تجفيف الحبوب وتهدئة الاحمرار ومنع ظهور البثور الجديدة. مصمم خصيصاً في عبوة \"رول أون\" لسهولة الاستخدام والتطبيق الدقيق.\r\n', '110.00', '80.00', NULL, 'active', 'uploads/products/691c40b20f382.jpeg', '10', '10', '5', '433', '1', '0', '0', '0', NULL, NULL, NULL, NULL, '2025-11-18 07:28:27', '2025-11-18 13:47:30', '10 مل', 'مُرخص ومعتمد من وزارة الصحة المصرية', 'وداعاً للبثور المزعجة! سيروم روز سكين لحب الشباب هو الحل الموضعي السريع والفعّال.', 'اكتشف قوة الطبيعة في علاج الحبوب:\r\nتم تطوير سيروم روز سكين ليكون سلاحك السري ضد ظهور حب الشباب المفاجئ. يحتوي السيروم على مزيج نقي من الزيوت النباتية والمستخلصات الطبيعية (مثل زيت شجرة الشاي، زيت الجوجوبا، أو زيوت أخرى مضادة للبكتيريا) التي تستهدف البكتيريا المسببة لحب الشباب دون التسبب في جفاف الجلد المفرط.\r\n', '1.رج العبوة جيداً قبل الاستخدام.\r\n2.نظف المنطقة المصابة وجففها جيداً.\r\n3.مرر كرة الرول (Roll-On) برفق على البثور الفردية أو المنطقة المصابة بحب الشباب.\r\n4.يستخدم مرتين إلى ثلاث مرات يومياً، أو عند اللزوم.\r\n5.لا يُغسل، ويُفضل استخدامه قبل تطبيق المرطبات أو المكياج.\r\n', 'للحصول على أفضل النتائج، استخدم السيروم بمجرد الشعور ببدء ظهور البثرة. حجمه الصغير يجعله مثالياً لحمله في الحقيبة للاستخدام السريع في أي وقت.\r\n', '[\"uploads/products/691be7db42bf1.jpeg\", \"uploads/products/691be7db43a71.jpeg\", \"uploads/products/691c3fff1e825.jpeg\", \"uploads/products/691c4019135c9.jpeg\", \"uploads/products/691c401913ca5.jpeg\"]');
INSERT INTO `products` (`id`, `name`, `description`, `price`, `discount_price`, `discount_percentage`, `status`, `image`, `category_id`, `stock_quantity`, `low_stock_alert`, `sku`, `track_inventory`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `variations`, `additional_images`, `created_at`, `updated_at`, `size`, `certification`, `short_description`, `detailed_description`, `how_to_use`, `additional_tips`, `gallery_images`) VALUES ('9', 'مجموعة العناية الفائقة', 'مجموعة شاملة تحتوي على 10 منتجات طبيعية 100% من Roz Skin، تغطي احتياجات العناية بالبشرة والشعر والجمال (سيرومات، مقشرات، مرطبات، تونيك). عرض اقتصادي بقيمة ممتازة ومكونات آمنة ومُصرح بها.\r\n', '350.00', '300.00', NULL, 'active', 'uploads/products/691c42f16ea47.jpeg', '10', '20', '5', 'RS-SET-10PCS', '1', '0', '0', '0', NULL, NULL, NULL, NULL, '2025-11-18 13:57:05', '2025-11-18 14:04:53', ' بين 5 مل - 50 جم', 'جميع منتجات المجموعة مرخصة ومعتمدة من وزارة الصحة المصرية', 'مجموعة شاملة تحتوي على 10 منتجات طبيعية 100% من Roz Skin، تغطي احتياجات العناية بالبشرة والشعر والجمال (سيرومات، مقشرات، مرطبات، تونيك). عرض اقتصادي بقيمة ممتازة ومكونات آمنة ومُصرح بها.', 'عرض Roz Skin المتكامل: روتين العناية الشامل بـ 10 منتجات\r\nهذه المجموعة هي الحل الأمثل للحصول على عناية فائقة لكل تفاصيل جمالكِ. كل منتج في هذه الباقة مُصمم بتركيبة طبيعية 100% ليعمل بفعالية وأمان. تشمل المجموعة 10 منتجات أساسية: \r\n1. سيروم الحبوب (Acne Roll-On). \r\n2. سيروم الهالات السوداء. \r\n3. سيروم رموش وحواجب. \r\n4. سيروم الأظافر. \r\n5. سيروم ليلي (للتجديد). \r\n6. ماسك البودر السحري. \r\n7. مقشر الشفاه (Scrub). \r\n8. صن بلوك وكريم ترطيب. \r\n9. تونيك الشعر. \r\n10. مورد الخدود والشفايف (Tint). \r\nالميزات الرئيسية: \r\nتركيبات نقية 100% خالية من الكيماويات والمواد الضارة. عرض اقتصادي غير مسبوق بقيمة ممتازة. جودة موثوقة لأن المنتجات مُصرح بها ومعتمدة من وزارة الصحة المصرية. تنوع لا مثيل له، حيث يوفر روتين عناية متكامل يغطي الوجه، الشعر، العيون، الأظافر، والشفاه.\r\n', 'الصباح: ابدئي بالتونيك على الشعر، ثم ضعي السيرومات الموضعية مثل سيروم الهالات، وانهي بالصن بلوك والمرطب.\r\nالمساء: استخدمي السيروم الليلي على الوجه بعد التنظيف الجيد وقبل النوم.\r\nالعناية المخصصة: استخدمي سيروم الحبوب على البثور فقط عند ظهورها مباشرة.\r\nالعناية الأسبوعية: استخدمي ماسك البودر ومقشر الشفاه مرة أو مرتين أسبوعياً لتقشير وتنقية عميقة.\r\n', 'حفظ المنتج: يُحفظ في مكان بارد وجاف بعيداً عن أشعة الشمس المباشرة لضمان أقصى فاعلية للمكونات الطبيعية. صلاحية العرض: هذا العرض ساري لفترة محدودة أو حتى نفاذ الكمية، سارعي بالحجز. العبوات: معظم السيرومات تأتي في عبوات صغيرة الحجم (5-10 مل) لضمان تركيز وفاعلية المواد الفعالة والمساعدة على سهولة الحمل والاستخدام الموضعي.\r\n', '[\"uploads/products/691c42f16efd4.jpeg\", \"uploads/products/691c42f16f70a.jpeg\", \"uploads/products/691c42f16fc26.jpeg\", \"uploads/products/691c42f170153.jpeg\", \"uploads/products/691c42f1706a5.jpeg\", \"uploads/products/691c44c5a596d.jpeg\"]');
INSERT INTO `products` (`id`, `name`, `description`, `price`, `discount_price`, `discount_percentage`, `status`, `image`, `category_id`, `stock_quantity`, `low_stock_alert`, `sku`, `track_inventory`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `variations`, `additional_images`, `created_at`, `updated_at`, `size`, `certification`, `short_description`, `detailed_description`, `how_to_use`, `additional_tips`, `gallery_images`) VALUES ('11', 'سيروم روز لتفتيح البقع الداكنة', 'استعيدي إشراقة بشرتك الطبيعية ووحدي لونها! سيروم روز سكين لتفتيح البقع هو الحل الطبيعي والآمن للتخلص من التصبغات والكلف.', '150.00', '120.00', '20', 'active', 'uploads/products/692b61edde17d.jpeg', '10', '10', '2', '434', '1', '0', '0', '0', NULL, 'يستخدم مرتين يومياً صباحاً ومساءً على بشرة نظيفة.', NULL, NULL, '2025-11-29 23:12:34', '2025-11-29 23:13:17', '30 ml', 'مُرخص ومعتمد من وزارة الصحة المصرية', 'وداعاً للبقع الداكنة! سيروم طبيعي 100% لتفتيح وتوحيد لون البشرة.', 'تم تطوير سيروم روز سكين ليكون سلاحك ضد التصبغات. يحتوي على تركيبة طبيعية 100% تستهدف البقع الداكنة وآثار الحبوب القديمة، مما يمنح بشرتك نضارة فورية وملمساً ناعماً دون استخدام مواد كيميائية قاسية.', '1. نظفي بشرتك جيداً وجففيها.\r\n2. ضعي 3-5 قطرات من السيروم على الوجه أو أماكن البقع.\r\n3. دلكي بلطف بحركات دائرية حتى الامتصاص.\r\n4. يستخدم صباحاً ومساءً.', 'للحصول على أفضل النتائج، يفضل استخدام واقي شمس أثناء النهار عند الخروج خلال فترة استخدام السيروم.', '[\"uploads/products/692b61eddf108.jpeg\", \"uploads/products/692b61eddf666.jpeg\", \"uploads/products/692b61eddfb64.jpeg\", \"uploads/products/692b61eddff7d.jpeg\"]');
INSERT INTO `products` (`id`, `name`, `description`, `price`, `discount_price`, `discount_percentage`, `status`, `image`, `category_id`, `stock_quantity`, `low_stock_alert`, `sku`, `track_inventory`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `variations`, `additional_images`, `created_at`, `updated_at`, `size`, `certification`, `short_description`, `detailed_description`, `how_to_use`, `additional_tips`, `gallery_images`) VALUES ('12', 'تنت مورد للخدود والشفاه (Roz Tint & Hydrate)', 'تألقي بإطلالة وردية طبيعية وجذابة في ثوانٍ! مورد روز سكين يمنحك لوناً ثابتاً وترطيباً عميقاً بلمسة واحدة.', '100.00', '75.00', '25', 'active', 'uploads/products/692b63246b3b0.jpeg', NULL, '20', '5', '435', '1', '0', '0', '0', NULL, 'للاستخدام الخارجي فقط. يحفظ في مكان بارد.', NULL, NULL, '2025-11-29 23:17:15', '2025-11-29 23:18:28', '10 ml', 'مُرخص ومعتمد من وزارة الصحة المصرية', 'توريد وترطيب 2 في 1. لون ثابت ومظهر طبيعي يدوم طويلاً.', 'اكتشفي سر الخدود الوردية والشفاه الجذابة مع Roz Tint & Hydrate. صُمم هذا التنت بتركيبة مائية خفيفة وسريعة الامتصاص ليعطيكِ لوناً وردياً طبيعياً يدوم طوال اليوم. بفضل مكوناته المرطبة، فهو لا يسبب جفاف الشفاه، بل يتركها ناعمة ومشرقة. يأتي بعبوة \"رول أون\" عملية وسهلة الاستخدام لتطبيق دقيق وسريع في أي وقت.', '1. مرري كرة الرول برفق على الشفاه أو الخدود.\r\n2. وزعي اللون بسرعة باستخدام أطراف أصابعك للدمج.\r\n3. يمكنك وضع طبقة إضافية لزيادة حدة اللون.', 'للحصول على مظهر \"No Makeup\" طبيعي، ضعي كمية بسيطة جداً وادمجيها جيداً. يمكن استخدامه أيضاً كظل عيون كريمي خفيف.', '[\"uploads/products/692b63246b6a1.jpeg\"]');
INSERT INTO `products` (`id`, `name`, `description`, `price`, `discount_price`, `discount_percentage`, `status`, `image`, `category_id`, `stock_quantity`, `low_stock_alert`, `sku`, `track_inventory`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `variations`, `additional_images`, `created_at`, `updated_at`, `size`, `certification`, `short_description`, `detailed_description`, `how_to_use`, `additional_tips`, `gallery_images`) VALUES ('13', 'تونك الشعر المقوي (Roz Hair Tonic)', 'جددي حيوية شعرك! تونك روز سكين بتركيبة فعالة لعلاج الهيشان، تقوية البصيلات، والحفاظ على صحة فروة الرأس من الفطريات والقشرة.', '140.00', '110.00', '21', 'active', 'uploads/products/692b6e549a3be.jpeg', '10', '15', '3', '436', '1', '0', '0', '0', NULL, 'يستخدم يومياً لنتائج أفضل.', NULL, NULL, '2025-11-30 00:03:23', '2025-11-30 00:06:12', '100 ml', 'مُرخص ومعتمد من وزارة الصحة المصرية', 'علاج مكثف للشعر: مضاد للهيشان، مقوي للجذور، ومطهر للفروة.', 'تونك الشعر من روز سكين هو الحل المتكامل لمشاكل الشعر اليومية. تركيبته المائية الخفيفة الغنية بالمستخلصات الطبيعية تعمل على:\r\n1. القضاء على الهيشان (Anti-Frizz) وتسهيل التصفيف.\r\n2. تغذية فروة الرأس وتقوية الجذور لمنع التساقط.\r\n3. حماية فروة الرأس من الفطريات والقشرة بفضل خصائصه المطهرة.\r\nمثالي للاستخدام اليومي ولا يسبب ملمساً دهنياً.', '1. رجي العبوة جيداً.\r\n2. رشي التونك مباشرة على فروة الرأس وعلى طول الشعر (سواء كان جافاً أو مبللاً).\r\n3. دلكي الفروة بأطراف أصابعك لمدة دقيقتين لتنشيط الدورة الدموية وامتصاص التونك.\r\n4. لا يُشطف بالماء.', 'للحصول على أفضل نتيجة في منع الهيشان، استخدميه قبل تصفيف الشعر مباشرة. ممتاز للمحجبات لتهوية وتطهير الفروة.', '[\"uploads/products/692b6e549b2d2.jpeg\", \"uploads/products/692b6e549c83c.jpeg\"]');
INSERT INTO `products` (`id`, `name`, `description`, `price`, `discount_price`, `discount_percentage`, `status`, `image`, `category_id`, `stock_quantity`, `low_stock_alert`, `sku`, `track_inventory`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `variations`, `additional_images`, `created_at`, `updated_at`, `size`, `certification`, `short_description`, `detailed_description`, `how_to_use`, `additional_tips`, `gallery_images`) VALUES ('14', 'سيروم روز الليلي للهالات (Roz Night Repair)', 'استيقظي بعيون مشرقة وبشرة نضرة! سيروم ليلي مكثف بتركيبة (Hempo Bali) الغنية لتغذية محيط العين وعلاج الهالات السوداء أثناء النوم.', '180.00', '145.00', '19', 'active', 'uploads/products/692b6e84ab90d.jpeg', '10', '20', '5', '437', '1', '0', '0', '0', NULL, 'للإستخدام الليلي فقط. تجنب التعرض للضوء المباشر بعد وضعه.', NULL, NULL, '2025-11-30 00:05:14', '2025-11-30 00:07:00', '30 ml', 'مُرخص ومعتمد من وزارة الصحة المصرية', 'علاج ليلي مركز: وداعاً للهالات السوداء وعلامات الإرهاق.', 'صُمم سيروم روز الليلي ليعمل بينما ترتاحين. يحتوي على تركيبة مركزة وغنية (Rich in 5000 Hempo Bali) تتغلغل بعمق لترميم البشرة المجهدة. \r\nأهم الفوائد:\r\n1. استهداف الهالات السوداء وتقليل مظهرها بشكل ملحوظ.\r\n2. تغذية فائقة لمنطقة حول العين والوجه لتعويض الجفاف.\r\n3. محاربة الخطوط الرفيعة وعلامات الأكسدة الناتجة عن إجهاد اليوم.', '1. يُستخدم مساءً قبل النوم على بشرة نظيفة تماماً.\r\n2. ضعي 2-3 قطرات على أطراف أصابعك.\r\n3. ربتي برفق (الطبطبة) على منطقة تحت العين وعظمة الخد، ويمكن توزيعه على باقي الوجه.\r\n4. اتركيه طوال الليل لتمتصه البشرة.', 'للحصول على نتيجة فعالة في علاج الهالات، يفضل استخدامه بانتظام كل ليلة، مع الحرص على شرب كميات كافية من الماء.', '[\"uploads/products/692b6e84abef1.jpeg\", \"uploads/products/692b6e84acbce.jpeg\", \"uploads/products/692b6e84ad14b.jpeg\"]');
INSERT INTO `products` (`id`, `name`, `description`, `price`, `discount_price`, `discount_percentage`, `status`, `image`, `category_id`, `stock_quantity`, `low_stock_alert`, `sku`, `track_inventory`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `variations`, `additional_images`, `created_at`, `updated_at`, `size`, `certification`, `short_description`, `detailed_description`, `how_to_use`, `additional_tips`, `gallery_images`) VALUES ('15', 'سيروم تقوية الأظافر (Roz Nail Serum)', 'أظافر قوية، طويلة، وصحية! سيروم روز سكين الغني بالفيتامينات والزيوت الطبيعية يعالج التكسر ويرطب الجلد المحيط بالأظافر (Cuticles) بعمق.', '120.00', '95.00', '21', 'active', 'uploads/products/692b769d35bf7.jpeg', '10', '25', '5', '438', '1', '0', '0', '0', NULL, 'للاستخدام الخارجي فقط.', NULL, NULL, '2025-11-30 00:40:35', '2025-11-30 00:41:33', '15 ml', 'مُرخص ومعتمد من وزارة الصحة المصرية', 'علاج مكثف للأظافر: يمنع التكسر، يرطب الكيوتيكل، ويزيد اللمعان.', 'احصلي على أظافر صالونات التجميل في منزلك. سيروم الأظافر من روز سكين يحتوي على مزيج مركز من الزيوت الطبيعية والفيتامينات التي تعمل على:\r\n1. تقوية الأظافر الهشة ومنع تكسرها أو تقشرها.\r\n2. ترطيب الجلد حول الظفر (Cuticles) وإزالة الزوائد الجافة.\r\n3. تحفيز النمو الصحي للأظافر وإعطائها لمعاناً طبيعياً وجذاباً.', '1. تأكدي من نظافة يديك وخلو الأظافر من الطلاء.\r\n2. ضعي قطرة صغيرة من السيروم على كل ظفر.\r\n3. دلكي السيروم جيداً على الظفر والجلد المحيط به حتى يتم امتصاصه.\r\n4. يستخدم يومياً للحصول على أفضل النتائج.', 'يفضل استخدامه قبل النوم للسماح للزيوت بالتغلغل طوال الليل دون غسل اليدين.', '[\"uploads/products/692b769d360bd.jpeg\", \"uploads/products/692b769d36590.jpeg\", \"uploads/products/692b769d36a61.jpeg\"]');


-- Table: purchase_order_items
CREATE TABLE `purchase_order_items` (
  `id` int NOT NULL AUTO_INCREMENT,
  `purchase_order_id` int NOT NULL,
  `product_id` int NOT NULL,
  `quantity` int NOT NULL,
  `unit_price` decimal(10,2) NOT NULL,
  `total_price` decimal(10,2) NOT NULL,
  `received_quantity` int DEFAULT '0',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_purchase_order_id` (`purchase_order_id`),
  KEY `idx_product_id` (`product_id`),
  CONSTRAINT `purchase_order_items_ibfk_1` FOREIGN KEY (`purchase_order_id`) REFERENCES `purchase_orders` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_order_items_ibfk_2` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;


-- Table: purchase_orders
CREATE TABLE `purchase_orders` (
  `id` int NOT NULL AUTO_INCREMENT,
  `order_number` varchar(50) NOT NULL,
  `supplier_id` int DEFAULT NULL,
  `total_amount` decimal(10,2) NOT NULL,
  `status` enum('pending','approved','received','cancelled') DEFAULT 'pending',
  `notes` text,
  `created_by` int DEFAULT NULL,
  `received_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `order_number` (`order_number`),
  KEY `idx_order_number` (`order_number`),
  KEY `idx_supplier_id` (`supplier_id`),
  KEY `idx_status` (`status`),
  CONSTRAINT `purchase_orders_ibfk_1` FOREIGN KEY (`supplier_id`) REFERENCES `suppliers` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;


-- Table: raw_materials
CREATE TABLE `raw_materials` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `category` varchar(100) DEFAULT NULL COMMENT 'زيوت، فيتامينات، عطور، مواد حافظة',
  `unit` enum('liter','ml','kg','gram','piece') NOT NULL DEFAULT 'ml',
  `quantity` decimal(10,3) NOT NULL DEFAULT '0.000',
  `unit_cost` decimal(10,2) NOT NULL DEFAULT '0.00',
  `supplier_id` int DEFAULT NULL,
  `min_quantity` decimal(10,3) DEFAULT '10.000',
  `expiry_date` date DEFAULT NULL,
  `notes` text,
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_category` (`category`),
  KEY `idx_supplier` (`supplier_id`),
  CONSTRAINT `raw_materials_ibfk_1` FOREIGN KEY (`supplier_id`) REFERENCES `suppliers` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Data for table: raw_materials
INSERT INTO `raw_materials` (`id`, `name`, `category`, `unit`, `quantity`, `unit_cost`, `supplier_id`, `min_quantity`, `expiry_date`, `notes`, `is_active`, `created_at`, `updated_at`) VALUES ('1', 'Marasy', 'عناية بالوجه', 'liter', '0.002', '3.00', NULL, '20.000', NULL, NULL, '1', '2025-11-15 13:35:22', '2025-11-15 13:35:22');


-- Table: recipe_ingredients
CREATE TABLE `recipe_ingredients` (
  `id` int NOT NULL AUTO_INCREMENT,
  `recipe_id` int NOT NULL,
  `material_type` enum('raw','packaging','wrapping') NOT NULL,
  `material_id` int NOT NULL,
  `quantity_needed` decimal(10,3) NOT NULL COMMENT 'الكمية المطلوبة لدفعة واحدة',
  `unit` varchar(20) NOT NULL,
  `cost` decimal(10,2) DEFAULT '0.00' COMMENT 'التكلفة لهذا المكون',
  `notes` text,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_recipe` (`recipe_id`),
  KEY `idx_material` (`material_type`,`material_id`),
  CONSTRAINT `recipe_ingredients_ibfk_1` FOREIGN KEY (`recipe_id`) REFERENCES `product_recipes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;


-- Table: reviews
CREATE TABLE `reviews` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int NOT NULL,
  `product_id` int DEFAULT NULL,
  `service_id` int DEFAULT NULL,
  `rating` int NOT NULL,
  `comment` text,
  `status` enum('pending','approved','rejected') DEFAULT 'pending',
  `is_approved` tinyint(1) DEFAULT '0',
  `is_visible` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `unique_user_product_review` (`user_id`,`product_id`),
  UNIQUE KEY `unique_user_service_review` (`user_id`,`service_id`),
  KEY `product_id` (`product_id`),
  KEY `service_id` (`service_id`),
  CONSTRAINT `reviews_ibfk_1` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `reviews_ibfk_2` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `reviews_ibfk_3` FOREIGN KEY (`service_id`) REFERENCES `beauty_services` (`id`) ON DELETE CASCADE,
  CONSTRAINT `reviews_chk_1` CHECK (((`rating` >= 1) and (`rating` <= 5)))
) ENGINE=InnoDB AUTO_INCREMENT=66 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Data for table: reviews
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('21', '1', NULL, NULL, '5', 'منتجات رائعة وخدمة ممتازة! بشرتي تحسنت كثيراً بعد استخدام منتجاتكم 💕', 'pending', '1', '1', '2025-11-30 01:46:00', '2025-11-30 01:46:00');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('22', '2', NULL, NULL, '5', 'أفضل متجر للعناية بالبشرة! المنتجات طبيعية 100% والنتائج مذهلة ✨', 'pending', '1', '1', '2025-11-30 01:46:00', '2025-11-30 01:46:00');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('23', '3', NULL, NULL, '5', 'تجربة تسوق رائعة والتوصيل سريع جداً. أنصح الجميع بالتجربة 🌸', 'pending', '1', '1', '2025-11-30 01:46:00', '2025-11-30 01:46:00');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('24', '4', NULL, NULL, '4', 'منتجات عالية الجودة وأسعار مناسبة. سأكرر الطلب بالتأكيد 👍', 'pending', '1', '1', '2025-11-30 01:46:00', '2025-11-30 01:46:00');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('25', '5', NULL, NULL, '5', 'بشرتي أصبحت أكثر نضارة وإشراقاً! شكراً روز سكين 🌹', 'pending', '1', '1', '2025-11-30 01:46:00', '2025-11-30 01:46:00');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('46', '8', NULL, NULL, '5', 'بصراحة سيروم الضوافر فرق معايا جدا، ضوافري كانت ضعيفة وبتتقطم من اقل حاجة، دلوقتي بقيت احسها اجمد وطولت.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('47', '9', NULL, NULL, '5', 'التنت لونه طبيعي جدا وثابت معايا طول اليوم في الكلية، مش بيبقع ولا بينشف شفايفي زي انواع تانية جربتها.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('48', '10', NULL, NULL, '5', 'التونك قلل الهيشان عندي بشكل ملحوظ وريحته كمان حلوة وهادية، حبيت النتيجة اوي.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('49', '11', NULL, NULL, '5', 'عملت جلسة تنظيف بشرة والفرق بان من اول مرة خصوصا في منطقة الأنف، الرؤوس السوداء اختفت ووشي رايق.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('50', '12', NULL, NULL, '4', 'سيروم الحبوب ده نشفلي الحباية في يومين بالظبط، بجد كنت محتاجاه جدا عشان عندي مناسبة، شكرا ليكم.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('51', '13', NULL, NULL, '5', 'أسعاركم بجد تحفة وعلى قد الايد ومناسبة لينا كطلبة، ياريت تفضلوا كدة علطول ومتغلوش الحاجة.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('52', '14', NULL, NULL, '5', 'سكراب الشفايف بينعم جدا وبيشيل الجلد الميت، بستخدمه قبل التنت وبيبقى شكله احلى بكتير.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('53', '15', NULL, NULL, '5', 'الهير ميست ريحته تحفة وثابتة في شعري، كل اما اتحرك اشم ريحة نظافة كدة ✨', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('54', '16', NULL, NULL, '5', 'تسلم ايد البنوتة اللي عملتلي الهارد جيل، شغلها نظيف ومرتب واللون طلع زي ما كنت عايزاه بالظبط.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('55', '17', NULL, NULL, '5', 'الصن بلوك خفيف ومش بيعمل طبقة بيضا ولا بيزيت الوش، مناسب جدا للبشرة المختلطة.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('56', '18', NULL, NULL, '4', 'بقالي اسبوعين بستخدم السيروم الليلي وحاسة بفرق بسيط في الهالات والنضارة، هستمر عليه واشوف النتيجة النهائية.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('57', '19', NULL, NULL, '5', 'ركبت رموش عندكم وبقالها فترة وموقعتش وشكلها مش أوفر، بجد شغلكم حلو.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('58', '20', NULL, NULL, '5', 'الماسك البودر بينور الوش من اول استخدام، بنصح اي حد يجربه.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('59', '21', NULL, NULL, '5', 'تعامل البنات في السنتر ذوق جدا ومحترمين، والمكان مريح نفسيا.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('60', '22', NULL, NULL, '5', 'مورد الخدود بيدي تورد خفيف كأنه طبيعي، بحطه وأنا نازلة الصبح بيبقى شكله هادي وحلو.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('61', '23', NULL, NULL, '5', 'بدأت جلسات ديرما بن عشان آثار الحبوب وشايفة تحسن في ملمس بشرتي، المكان نظيف والدكاترة شاطرين.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('62', '24', NULL, NULL, '5', 'الأوردر وصلني بسرعة والتغليف كان كويس وحافظ على الحاجة انها متتكسرش.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('63', '25', NULL, NULL, '5', 'استفدت من عرض الـ 50 جنيه بتاع تنظيف البشرة وكانت تجربة حلوة اوي مقابل السعر ده.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('64', '26', NULL, NULL, '5', 'سيروم الحواجب والرموش ممتاز، لاحظت ان الفراغات اللي في حواجبي بدأت تتملي.', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');
INSERT INTO `reviews` (`id`, `user_id`, `product_id`, `service_id`, `rating`, `comment`, `status`, `is_approved`, `is_visible`, `created_at`, `updated_at`) VALUES ('65', '27', NULL, NULL, '5', 'دي تالت مرة اطلب منكم، بجد حاجتكم مضمونة وفعالة وسعرها فيها، بالتوفيق ليكم ❤️', 'pending', '1', '1', '2025-11-30 01:48:24', '2025-11-30 01:48:24');


-- Table: services
CREATE TABLE `services` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  `description` text COLLATE utf8mb4_unicode_ci,
  `price` decimal(10,2) NOT NULL,
  `discount_percentage` decimal(5,2) DEFAULT '0.00',
  `duration` int DEFAULT '60' COMMENT 'Duration in minutes',
  `category` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT 'skin_care',
  `image` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `additional_images` text COLLATE utf8mb4_unicode_ci,
  `variations` text COLLATE utf8mb4_unicode_ci,
  `available_branches` text COLLATE utf8mb4_unicode_ci,
  `is_limited_stock` tinyint(1) DEFAULT '0',
  `is_free_shipping` tinyint(1) DEFAULT '1',
  `is_medicinal` tinyint(1) DEFAULT '0',
  `medicinal_leaflet` text COLLATE utf8mb4_unicode_ci,
  `usage_instructions` text COLLATE utf8mb4_unicode_ci,
  `stock_quantity` int DEFAULT '0',
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: services
INSERT INTO `services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('1', 'تنظيف البشرة العميق', 'جلسة تنظيف عميق للبشرة تزيل الشوائب والرؤوس السوداء وتنقي المسام', '250.00', '20.00', '60', 'skin_care', NULL, NULL, NULL, '[1,2]', '0', '1', '0', NULL, NULL, '0', '1', '2025-11-19 06:30:10', '2025-11-19 06:55:29');
INSERT INTO `services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('2', 'المساج والاسترخاء', 'جلسات مساج علاجية تساعد على الاسترخاء والتخلص من التوتر والإرهاق اليومي', '300.00', '15.00', '45', 'massage', NULL, NULL, NULL, '[1,2]', '0', '1', '0', NULL, NULL, '0', '1', '2025-11-19 06:30:10', '2025-11-19 06:55:29');
INSERT INTO `services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('3', 'صبغة الشعر', 'صبغة شعر احترافية بأحدث الألوان والتقنيات مع حماية كاملة للشعر', '400.00', '0.00', '120', 'hair_care', NULL, NULL, NULL, '[1,2]', '0', '1', '0', NULL, NULL, '0', '1', '2025-11-19 06:30:10', '2025-11-19 06:55:29');
INSERT INTO `services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('4', 'مكياج سهرة', 'مكياج احترافي للمناسبات والسهرات بأحدث صيحات الموضة', '350.00', '10.00', '90', 'makeup', NULL, NULL, NULL, '[1,2]', '0', '1', '0', NULL, NULL, '0', '1', '2025-11-19 06:30:10', '2025-11-19 06:55:29');
INSERT INTO `services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('5', 'ماسك الوجه المغذي', 'ماسك طبيعي يغذي البشرة ويعيد لها نضارتها وحيويتها', '180.00', '0.00', '45', 'skin_care', NULL, NULL, NULL, '[1,2]', '0', '1', '0', NULL, NULL, '0', '1', '2025-11-19 06:30:10', '2025-11-19 06:55:29');
INSERT INTO `services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('6', 'باديكير وماني كير', 'عناية كاملة بالأظافر والقدمين مع تلميع وتزيين احترافي', '150.00', '25.00', '60', 'nails', NULL, NULL, NULL, '[1,2]', '0', '1', '0', NULL, NULL, '0', '1', '2025-11-19 06:30:10', '2025-11-19 06:55:29');
INSERT INTO `services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('7', 'علاج الشعر بالكيراتين', 'علاج متقدم للشعر بالكيراتين لفرد وتنعيم الشعر وإعطائه لمعان طبيعي', '800.00', '15.00', '180', 'hair_care', NULL, NULL, NULL, '[1,2]', '0', '1', '0', NULL, NULL, '0', '1', '2025-11-19 06:30:10', '2025-11-19 06:55:29');
INSERT INTO `services` (`id`, `name`, `description`, `price`, `discount_percentage`, `duration`, `category`, `image`, `additional_images`, `variations`, `available_branches`, `is_limited_stock`, `is_free_shipping`, `is_medicinal`, `medicinal_leaflet`, `usage_instructions`, `stock_quantity`, `is_active`, `created_at`, `updated_at`) VALUES ('8', 'تقشير البشرة الكيميائي', 'تقشير كيميائي لطيف يزيل خلايا الجلد الميتة ويجدد البشرة', '450.00', '0.00', '75', 'skin_care', NULL, NULL, NULL, '[1,2]', '0', '1', '0', NULL, NULL, '0', '1', '2025-11-19 06:30:10', '2025-11-19 06:55:29');


-- Table: settings
CREATE TABLE `settings` (
  `id` int NOT NULL AUTO_INCREMENT,
  `setting_key` varchar(255) NOT NULL,
  `setting_value` text,
  `setting_type` enum('string','number','boolean','json') DEFAULT 'string',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY `setting_key` (`setting_key`)
) ENGINE=InnoDB AUTO_INCREMENT=1073 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Data for table: settings
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('1', 'site_name', 'روز سكين', 'string', '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('2', 'whatsapp_link', 'https://wa.me/20123456789', 'string', '2025-11-12 07:52:25', '2025-11-18 06:05:29');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('3', 'facebook_link', 'https://facebook.com/rozskin', 'string', '2025-11-12 07:52:25', '2025-11-18 06:05:29');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('4', 'instagram_link', 'https://instagram.com/rozskin', 'string', '2025-11-12 07:52:25', '2025-11-18 06:05:29');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('5', 'threads_link', 'https://threads.net/@rozskin', 'string', '2025-11-12 07:52:25', '2025-11-18 06:05:29');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('6', 'store_status', '1', 'boolean', '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('7', 'free_shipping_threshold', '500', 'number', '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('8', 'default_currency', 'EGP', 'string', '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('9', 'tax_rate', '14', 'number', '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('10', 'cash_on_delivery_enabled', '1', 'boolean', '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('11', 'fawry_enabled', '1', 'boolean', '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('12', 'vodafone_cash_enabled', '1', 'boolean', '2025-11-12 07:52:25', '2025-11-12 07:52:25');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('14', 'logo_text', 'Roz Skin', 'string', '2025-11-15 07:13:45', '2025-11-15 07:13:45');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('16', 'site_phone', '01098890999', 'string', '2025-11-15 07:13:45', '2025-11-15 07:13:45');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('17', 'site_email', '', 'string', '2025-11-15 07:13:45', '2025-11-15 07:13:45');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('18', 'site_address', '', 'string', '2025-11-15 07:13:45', '2025-11-15 07:13:45');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('23', 'tiktok_link', 'https://tiktok.com/@rozskin', 'string', '2025-11-15 07:13:45', '2025-11-18 06:05:29');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('24', 'twitter_link', 'https://threads.net/@rozskin', 'string', '2025-11-15 07:13:45', '2025-11-18 06:11:48');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('25', 'primary_color', '#7c3aed', 'string', '2025-11-15 07:13:45', '2025-11-15 07:13:45');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('26', 'success_color', '#10b981', 'string', '2025-11-15 07:13:45', '2025-11-15 07:13:45');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('27', 'warning_color', '#f59e0b', 'string', '2025-11-15 07:13:45', '2025-11-15 07:13:45');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('28', 'danger_color', '#ef4444', 'string', '2025-11-15 07:13:45', '2025-11-15 07:13:45');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('29', 'font_family', 'Cairo', 'string', '2025-11-15 07:13:45', '2025-11-20 03:39:23');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('30', 'theme_mode', 'light', 'string', '2025-11-15 07:13:45', '2025-11-15 07:13:45');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('31', 'shipping_cost', '50', 'string', '2025-11-15 07:13:45', '2025-11-15 07:13:45');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('34', 'hero_title', 'دللي بشرتك بلمسة من الطبيعة', 'string', '2025-11-15 07:13:45', '2025-11-18 14:43:05');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('35', 'hero_description', 'منتجات عناية بالبشرة والجمال طبيعية 100% مع خدمات متخصصة في مركزنا', 'string', '2025-11-15 07:13:45', '2025-11-18 14:12:38');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('36', 'hero_bg_image', 'https://i.pinimg.com/736x/15/ef/dd/15efddf36f234cf2eecb724bbdeb1098.jpg', 'string', '2025-11-15 07:13:45', '2025-11-29 22:31:51');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('85', 'telegram_enabled', '1', 'string', '2025-11-16 10:51:05', '2025-11-16 10:57:15');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('86', 'telegram_bot_token', '8353028206:AAEdDMjPiYTZf36BvGM6UWlQ0LQ2q7J_75w', 'string', '2025-11-16 10:51:05', '2025-11-16 10:56:42');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('87', 'telegram_chat_id', '-5006795702', 'string', '2025-11-16 10:51:05', '2025-11-16 10:56:42');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('168', 'contact_phone', '+20 123 456 7890', 'string', '2025-11-18 06:05:29', '2025-11-18 06:05:29');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('169', 'contact_email', 'info@rozskin.com', 'string', '2025-11-18 06:05:29', '2025-11-18 06:05:29');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('170', 'contact_address', 'القاهرة، مصر', 'string', '2025-11-18 06:05:29', '2025-11-18 06:05:29');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('171', 'store_name', 'روز سكين', 'string', '2025-11-18 06:05:29', '2025-11-20 04:04:42');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('172', 'store_description', 'دللي بشرتك بلمسة من الطبيعة', 'string', '2025-11-18 06:05:29', '2025-11-18 06:05:29');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('178', 'snapchat_link', 'https://snapchat.com/add/rozskin', 'string', '2025-11-18 06:05:29', '2025-11-18 06:05:29');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('180', 'youtube_link', 'https://youtube.com/@rozskin', 'string', '2025-11-18 06:05:29', '2025-11-18 06:05:29');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('280', 'hero_overlay_color', '#e57393', 'string', '2025-11-18 14:12:38', '2025-11-18 14:41:48');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('281', 'hero_overlay_opacity', '0.55', 'string', '2025-11-18 14:12:38', '2025-11-30 01:06:55');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('316', 'visit_notifications_enabled', '1', 'boolean', '2025-11-18 14:30:50', '2025-11-18 14:30:50');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('494', 'hero_bg_color', '#cc2e5b', 'string', '2025-11-20 03:38:15', '2025-11-20 03:57:02');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('496', 'hero_text_color', '#ffffff', 'string', '2025-11-20 03:38:15', '2025-11-20 03:38:15');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('499', 'secondary_color', '#2c3e50', 'string', '2025-11-20 03:38:15', '2025-11-20 03:38:15');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('501', 'show_stories', '1', 'string', '2025-11-20 03:38:15', '2025-11-20 03:52:22');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('502', 'show_quick_buttons', '1', 'string', '2025-11-20 03:38:15', '2025-11-20 03:38:15');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('503', 'show_featured_products', '1', 'string', '2025-11-20 03:38:15', '2025-11-20 03:38:15');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('504', 'sections_order', 'quick_buttons,featured_products,hero,stories', 'string', '2025-11-20 03:38:15', '2025-11-20 03:52:15');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('565', 'welcome_text', 'أهلا وسهلاً', 'string', '2025-11-20 03:44:23', '2025-11-20 03:52:06');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('606', 'store_color', '#ffffff', 'string', '2025-11-20 04:00:02', '2025-11-20 04:00:02');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('607', 'store_size', '56', 'string', '2025-11-20 04:00:02', '2025-11-20 04:00:02');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('611', 'hero_height', '48', 'string', '2025-11-20 04:05:26', '2025-11-20 04:05:26');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('613', 'hero_overlay', '0.41', 'string', '2025-11-20 04:05:26', '2025-11-20 04:05:26');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('614', 'hero_padding', '66', 'string', '2025-11-20 04:05:26', '2025-11-20 04:05:26');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('615', 'hero_radius', '2', 'string', '2025-11-20 04:05:26', '2025-11-20 04:05:26');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('616', 'home_vertical_cover', 'uploads/settings/vertical_cover_1763627574.jpg', 'string', '2025-11-20 12:32:46', '2025-11-20 12:32:54');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('648', 'home_vertical_cover_category', '10', 'string', '2025-11-20 12:32:46', '2025-11-20 12:32:46');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('723', 'home_vertical_cover_1', 'uploads/settings/vertical_cover_1_1763628147.jpg', 'string', '2025-11-20 12:42:23', '2025-11-20 12:42:27');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('724', 'home_vertical_cover_2', 'uploads/settings/vertical_cover_2_1763628147.jpeg', 'string', '2025-11-20 12:42:23', '2025-11-20 12:42:27');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('725', 'home_vertical_cover_3', 'uploads/settings/vertical_cover_3_1763628147.jpg', 'string', '2025-11-20 12:42:23', '2025-11-20 12:42:27');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('757', 'home_vertical_cover_speed', '2', 'string', '2025-11-20 12:42:23', '2025-11-20 12:53:36');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('758', 'home_vertical_cover_category_1', '12', 'string', '2025-11-20 12:42:23', '2025-11-20 12:42:23');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('759', 'home_vertical_cover_category_2', '10', 'string', '2025-11-20 12:42:23', '2025-11-20 12:42:23');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('760', 'home_vertical_cover_category_3', '12', 'string', '2025-11-20 12:42:23', '2025-11-20 12:42:23');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('881', 'site_logo', 'uploads/logo/logo_1763878004.png', 'string', '2025-11-23 08:06:44', '2025-11-23 08:06:44');
INSERT INTO `settings` (`id`, `setting_key`, `setting_value`, `setting_type`, `created_at`, `updated_at`) VALUES ('882', 'logo_path', 'uploads/logo/logo_1763878004.png', 'string', '2025-11-23 08:06:44', '2025-11-23 08:06:44');


-- Table: shipping_companies
CREATE TABLE `shipping_companies` (
  `id` int NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `coverage` enum('all','internal_only','gov_only') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'all',
  `default_rate_internal` decimal(10,2) DEFAULT '0.00',
  `default_rate_gov` decimal(10,2) DEFAULT '0.00',
  `op_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `op_phone` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `is_active` tinyint(1) DEFAULT '1',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `updated_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: shipping_companies
INSERT INTO `shipping_companies` (`id`, `name`, `coverage`, `default_rate_internal`, `default_rate_gov`, `op_name`, `op_phone`, `is_active`, `created_at`, `updated_at`) VALUES ('1', 'Marasy', 'all', '50.00', '52.00', 'س', '0', '1', '2025-11-15 08:38:06', '2025-11-15 08:38:06');


-- Table: shipping_manifests
CREATE TABLE `shipping_manifests` (
  `id` int NOT NULL AUTO_INCREMENT,
  `manifest_number` varchar(50) NOT NULL,
  `shipping_company_id` int DEFAULT NULL,
  `delegate_name` varchar(255) DEFAULT NULL,
  `total_orders` int DEFAULT '0',
  `total_amount` decimal(10,2) DEFAULT '0.00',
  `shipping_cost` decimal(10,2) DEFAULT '0.00',
  `net_amount` decimal(10,2) DEFAULT '0.00',
  `notes` text,
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  `created_by` int DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `manifest_number` (`manifest_number`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

-- Data for table: shipping_manifests
INSERT INTO `shipping_manifests` (`id`, `manifest_number`, `shipping_company_id`, `delegate_name`, `total_orders`, `total_amount`, `shipping_cost`, `net_amount`, `notes`, `created_at`, `created_by`) VALUES ('1', 'MAN-20251115-9782', NULL, 'طكوط', '1', '43297.50', '30.00', '43267.50', 'طن', '2025-11-15 09:33:55', '1');
INSERT INTO `shipping_manifests` (`id`, `manifest_number`, `shipping_company_id`, `delegate_name`, `total_orders`, `total_amount`, `shipping_cost`, `net_amount`, `notes`, `created_at`, `created_by`) VALUES ('2', 'MAN-20251117-2791', NULL, '', '4', '12420.00', '120.00', '12300.00', '', '2025-11-17 07:12:20', '1');
INSERT INTO `shipping_manifests` (`id`, `manifest_number`, `shipping_company_id`, `delegate_name`, `total_orders`, `total_amount`, `shipping_cost`, `net_amount`, `notes`, `created_at`, `created_by`) VALUES ('3', 'MAN-20251117-8477', NULL, '', '4', '12420.00', '120.00', '12300.00', '', '2025-11-17 07:12:27', '1');


-- Table: site_visits
CREATE TABLE `site_visits` (
  `id` int NOT NULL AUTO_INCREMENT,
  `user_id` int DEFAULT NULL,
  `ip_address` varchar(45) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_agent` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `page` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'index',
  `referrer` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci,
  `device_type` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'Desktop',
  `browser` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT 'Unknown',
  `created_at` timestamp NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY `idx_user_id` (`user_id`),
  KEY `idx_created_at` (`created_at`),
  KEY `idx_ip` (`ip_address`)
) ENGINE=InnoDB AUTO_INCREMENT=1349 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Data for table: site_visits
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('1', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 14:31:52');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('2', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 14:35:01');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('3', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 14:37:02');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('4', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'test', 'http://localhost/KL/backend/test-visit-notification.php', 'Desktop', 'Chrome', '2025-11-18 14:39:53');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('5', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'test', 'http://localhost/KL/backend/test-visit-notification.php', 'Desktop', 'Chrome', '2025-11-18 14:39:54');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('6', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'test', 'http://localhost/KL/backend/test-visit-notification.php', 'Desktop', 'Chrome', '2025-11-18 14:39:57');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('7', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'test', 'http://localhost/KL/backend/test-visit-notification.php', 'Desktop', 'Chrome', '2025-11-18 14:40:08');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('8', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 14:40:20');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('9', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 14:40:30');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('10', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 14:41:00');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('11', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 14:41:05');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('12', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 14:41:08');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('13', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 14:43:38');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('14', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 14:44:15');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('15', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 14:46:06');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('16', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 14:59:49');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('17', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 15:01:07');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('18', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 15:03:14');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('19', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 15:14:26');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('20', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 15:15:09');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('21', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 15:21:39');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('22', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 15:21:56');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('23', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 15:39:01');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('24', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 15:43:07');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('25', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-18 23:36:21');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('26', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/', 'Desktop', 'Chrome', '2025-11-19 00:23:05');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('27', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/', 'Desktop', 'Chrome', '2025-11-19 00:41:51');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('28', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/sh/rozskin/backend/public/', 'Desktop', 'Chrome', '2025-11-19 02:04:11');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('29', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/sh/rozskin/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 02:04:30');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('30', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/sh/rozskin/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 02:04:39');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('31', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/', 'Desktop', 'Chrome', '2025-11-19 03:16:48');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('32', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 03:17:04');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('33', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 03:24:18');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('34', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 03:35:30');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('35', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 03:35:57');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('36', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/', 'Desktop', 'Chrome', '2025-11-19 03:35:59');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('37', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/', 'Desktop', 'Chrome', '2025-11-19 03:36:10');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('38', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/', 'Desktop', 'Chrome', '2025-11-19 03:36:16');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('39', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/', 'Desktop', 'Chrome', '2025-11-19 03:49:39');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('40', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/', 'Desktop', 'Chrome', '2025-11-19 03:54:51');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('41', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 05:47:22');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('42', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 05:56:47');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('43', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 05:56:54');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('44', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 06:29:11');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('45', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 06:52:41');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('46', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 06:52:44');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('47', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 07:28:34');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('48', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 07:28:36');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('49', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 07:30:46');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('50', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 07:35:39');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('51', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 07:38:51');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('52', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 07:55:02');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('53', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 08:03:53');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('54', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 08:11:57');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('55', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 08:12:04');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('56', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 08:28:46');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('57', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 08:43:02');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('58', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 08:50:27');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('59', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 08:51:03');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('60', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 08:51:24');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('61', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 08:54:06');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('62', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 08:54:35');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('63', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 08:55:51');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('64', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/', 'Desktop', 'Chrome', '2025-11-19 08:57:49');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('65', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/', 'Desktop', 'Chrome', '2025-11-19 09:00:24');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('66', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 09:00:38');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('67', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 09:24:13');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('68', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 09:27:41');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('69', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/', 'Desktop', 'Chrome', '2025-11-19 10:14:42');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('70', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 10:26:37');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('71', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 10:33:35');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('72', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 10:58:34');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('73', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 10:59:15');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('74', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:05:44');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('75', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:05:47');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('76', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:05:49');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('77', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:05:52');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('78', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:05:53');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('79', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/', 'Desktop', 'Chrome', '2025-11-19 11:38:27');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('80', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:38:59');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('81', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:39:19');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('82', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:39:45');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('83', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:39:50');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('84', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:40:05');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('85', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:40:07');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('86', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:40:38');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('87', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:40:45');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('88', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:40:49');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('89', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:41:22');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('90', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:42:12');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('91', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:42:13');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('92', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/', 'Desktop', 'Chrome', '2025-11-19 11:44:39');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('93', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 11:44:40');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('94', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:23:29');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('95', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:23:58');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('96', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:40:10');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('97', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:43:53');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('98', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:44:04');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('99', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:44:04');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('100', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:44:09');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('101', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:45:03');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('102', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:45:05');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('103', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:45:08');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('104', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:45:09');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('105', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:45:09');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('106', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:45:10');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('107', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:45:14');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('108', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:50:09');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('109', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:50:16');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('110', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:50:34');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('111', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:52:05');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('112', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:52:49');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('113', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:52:52');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('114', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:52:58');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('115', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:54:38');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('116', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:54:39');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('117', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:57:50');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('118', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 13:58:00');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('119', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:01:46');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('120', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:02:53');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('121', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:23:14');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('122', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:23:21');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('123', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:23:23');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('124', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:23:27');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('125', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:23:34');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('126', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:29:52');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('127', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:30:17');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('128', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:44:44');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('129', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:44:53');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('130', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:45:38');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('131', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:52:10');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('132', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:52:35');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('133', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:53:15');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('134', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:53:27');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('135', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:53:54');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('136', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:54:05');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('137', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 14:54:46');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('138', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 15:46:16');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('139', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 15:46:17');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('140', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 15:46:29');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('141', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 15:47:27');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('142', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 15:47:46');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('143', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 15:49:28');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('144', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 15:49:29');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('145', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 15:49:30');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('146', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 15:49:31');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('147', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 15:49:34');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('148', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 16:07:54');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('149', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 16:09:00');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('150', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 16:09:54');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('151', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 16:10:02');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('152', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 16:10:10');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('153', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 16:10:22');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('154', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 16:10:24');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('155', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 16:10:58');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('156', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 16:11:13');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('157', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 16:11:41');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('158', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-19 16:11:44');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('159', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:00:21');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('160', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:00:32');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('161', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:02:58');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('162', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:03:13');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('163', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:07:23');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('164', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:09:22');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('165', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:14:02');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('166', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:20:07');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('167', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:20:13');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('168', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:23:55');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('169', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:24:39');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('170', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:26:02');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('171', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:27:06');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('172', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:28:47');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('173', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:35:18');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('174', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:38:01');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('175', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:38:20');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('176', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:38:42');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('177', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:39:03');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('178', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:39:24');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('179', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:43:09');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('180', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:43:35');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('181', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:43:57');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('182', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:44:17');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('183', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:44:20');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('184', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:44:24');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('185', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:44:28');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('186', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:46:42');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('187', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:46:49');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('188', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:46:52');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('189', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:47:21');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('190', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:47:27');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('191', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:52:25');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('192', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:55:34');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('193', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:55:37');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('194', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:55:40');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('195', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:56:25');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('196', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:57:27');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('197', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:57:32');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('198', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 03:59:45');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('199', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 04:00:42');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('200', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 04:03:42');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('201', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 04:04:10');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('202', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 04:06:05');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('203', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 04:06:10');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('204', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 04:06:16');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('205', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 04:11:46');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('206', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 04:32:37');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('207', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 04:33:54');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('208', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 04:37:48');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('209', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 04:41:28');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('210', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 04:53:03');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('211', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:07:07');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('212', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:07:35');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('213', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:08:25');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('214', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:11:29');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('215', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:14:19');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('216', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:19:28');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('217', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:19:35');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('218', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:20:57');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('219', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:21:01');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('220', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:21:02');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('221', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:22:06');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('222', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:22:34');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('223', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:22:47');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('224', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:22:58');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('225', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:24:31');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('226', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:26:15');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('227', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:27:38');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('228', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:29:45');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('229', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:32:58');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('230', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:33:16');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('231', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:35:40');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('232', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:35:46');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('233', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:35:50');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('234', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:35:52');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('235', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:35:54');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('236', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:37:58');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('237', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:38:04');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('238', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 05:40:23');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('239', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kkl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:04:52');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('240', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:05:26');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('241', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:05:38');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('242', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:05:39');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('243', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:05:45');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('244', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KkL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:05:45');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('245', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:11:39');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('246', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:19:20');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('247', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:19:46');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('248', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:20:19');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('249', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:20:21');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('250', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:20:22');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('251', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:24:03');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('252', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:24:04');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('253', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:24:06');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('254', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:24:06');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('255', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:27:40');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('256', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:30:10');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('257', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:30:12');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('258', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:30:12');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('259', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:30:12');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('260', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:31:12');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('261', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:31:13');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('262', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:31:47');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('263', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:31:48');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('264', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:31:49');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('265', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:31:49');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('266', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:31:58');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('267', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:31:58');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('268', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:35:18');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('269', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:35:22');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('270', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:35:26');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('271', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:35:32');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('272', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:39:09');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('273', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:39:17');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('274', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:40:57');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('275', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:40:58');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('276', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:40:58');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('277', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:40:58');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('278', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:40:58');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('279', '1', '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 07:40:59');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('280', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 12:19:11');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('281', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 12:20:21');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('282', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 12:20:33');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('283', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 12:20:34');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('284', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 12:29:51');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('285', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 12:33:06');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('286', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 12:33:19');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('287', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 12:34:28');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('288', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 12:42:34');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('289', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 12:43:10');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('290', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 12:52:47');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('291', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 12:53:06');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('292', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 12:53:41');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('293', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 12:57:16');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('294', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 12:58:00');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('295', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 12:58:44');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('296', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 13:05:43');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('297', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 13:06:06');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('298', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 13:39:48');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('299', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 13:43:41');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('300', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 13:45:45');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('301', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 13:46:30');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('302', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 13:46:59');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('303', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 13:51:24');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('304', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 13:55:17');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('305', NULL, '::1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://localhost/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 13:55:58');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('306', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 13:58:14');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('307', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:00:44');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('308', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:02:58');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('309', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:03:00');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('310', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:03:08');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('311', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:07:59');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('312', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:08:28');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('313', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:10:32');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('314', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:18:36');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('315', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:22:42');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('316', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:25:41');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('317', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:27:27');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('318', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:27:28');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('319', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:29:41');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('320', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:31:25');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('321', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:32:12');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('322', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:35:45');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('323', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:35:49');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('324', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:37:02');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('325', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:38:53');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('326', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:39:57');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('327', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:40:26');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('328', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:43:42');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('329', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:49:43');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('330', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:49:54');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('331', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:54:08');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('332', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:54:25');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('333', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:55:54');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('334', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 14:57:43');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('335', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 15:01:37');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('336', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 15:01:48');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('337', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 15:07:17');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('338', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 15:18:20');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('339', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 15:21:26');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('340', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 15:59:19');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('341', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:00:04');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('342', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:00:14');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('343', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:00:55');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('344', NULL, '192.168.1.121', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:05:22');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('345', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:06:40');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('346', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:07:29');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('347', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:08:33');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('348', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:09:02');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('349', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:09:49');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('350', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:10:23');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('351', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:13:16');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('352', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:13:20');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('353', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:13:30');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('354', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:13:35');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('355', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:14:11');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('356', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:14:30');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('357', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:14:35');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('358', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:14:45');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('359', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:14:50');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('360', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:14:59');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('361', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:15:11');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('362', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:15:36');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('363', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:16:59');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('364', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:18:11');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('365', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:20:24');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('366', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:20:27');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('367', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:20:45');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('368', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:20:52');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('369', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:22:44');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('370', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:23:59');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('371', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:24:06');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('372', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:24:07');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('373', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:24:08');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('374', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:24:08');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('375', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:24:09');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('376', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:24:09');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('377', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:24:10');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('378', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:24:19');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('379', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:24:26');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('380', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:24:26');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('381', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:24:28');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('382', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:24:33');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('383', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:24:54');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('384', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:24:55');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('385', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:25:08');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('386', NULL, '127.0.0.1', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', 'index', 'http://127.0.0.1/kl/backend/public/index.php', 'Desktop', 'Chrome', '2025-11-20 16:25:34');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('387', '1', '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:26:10');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('388', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:26:57');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('389', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:27:35');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('390', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:28:00');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('391', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:28:01');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('392', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:28:04');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('393', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:28:07');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('394', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:28:20');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('395', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:30:30');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('396', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:30:38');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('397', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:39:22');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('398', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:39:29');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('399', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:39:33');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('400', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:40:30');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('401', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:41:59');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('402', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:42:34');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('403', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:42:54');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('404', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:46:06');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('405', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:47:31');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('406', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:47:44');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('407', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:48:14');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('408', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:48:49');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('409', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:51:03');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('410', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:51:07');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('411', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:52:32');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('412', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:52:35');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('413', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:52:50');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('414', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:53:14');
INSERT INTO `site_visits` (`id`, `user_id`, `ip_address`, `user_agent`, `page`, `referrer`, `device_type`, `browser`, `created_at`) VALUES ('415', NULL, '192.168.1.138', 'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Mobile Safari/537.36', 'index', 'http://192.168.1.121/KL/backend/public/index.php', 'Mobile', 'Chrome', '2025-11-20 16:55:00');
