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


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

-- Dumping data for table `model_has_roles`
INSERT INTO `model_has_roles` VALUES
('1', 'App\\Models\\User', '1'),
('1', 'App\\Models\\User', '10'),
('1', 'App\\Models\\User', '18'),
('1', 'App\\Models\\User', '19'),
('1', 'App\\Models\\User', '20'),
('2', 'App\\Models\\User', '2'),
('4', 'App\\Models\\User', '3'),
('6', 'App\\Models\\User', '4'),
('8', 'App\\Models\\User', '5'),
('10', 'App\\Models\\User', '6'),
('14', 'App\\Models\\User', '7'),
('16', 'App\\Models\\User', '9'),
('22', 'App\\Models\\User', '12'),
('26', 'App\\Models\\User', '13'),
('30', 'App\\Models\\User', '14'),
('34', 'App\\Models\\User', '15'),
('38', 'App\\Models\\User', '16');


-- Table structure for table `modifier_group_translations`
CREATE TABLE `modifier_group_translations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `modifier_group_id` bigint(20) unsigned NOT NULL,
  `locale` varchar(191) NOT NULL,
  `name` varchar(191) DEFAULT NULL,
  `description` text DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `modifier_group_translations_modifier_group_id_locale_unique` (`modifier_group_id`,`locale`),
  KEY `modifier_group_translations_locale_index` (`locale`),
  CONSTRAINT `modifier_group_translations_modifier_group_id_foreign` FOREIGN KEY (`modifier_group_id`) REFERENCES `modifier_groups` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `modifier_group_translations`
INSERT INTO `modifier_group_translations` VALUES
('1', '1', 'en', 'Coffee', '');


-- Table structure for table `modifier_groups`
CREATE TABLE `modifier_groups` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `description` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `modifier_groups_branch_id_foreign` (`branch_id`),
  CONSTRAINT `modifier_groups_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `modifier_groups`
INSERT INTO `modifier_groups` VALUES
('1', 'Coffee', NULL, '5', '2025-10-24 14:50:33', '2025-10-24 14:50:33');


-- Table structure for table `modifier_option_prices`
CREATE TABLE `modifier_option_prices` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `modifier_group_id` bigint(20) unsigned NOT NULL,
  `modifier_option_id` bigint(20) unsigned DEFAULT NULL,
  `order_type_id` bigint(20) unsigned DEFAULT NULL,
  `delivery_app_id` bigint(20) unsigned DEFAULT NULL,
  `calculated_price` decimal(16,2) NOT NULL,
  `override_price` decimal(16,2) DEFAULT NULL,
  `final_price` decimal(16,2) NOT NULL DEFAULT 0.00,
  `status` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `modifier_option_prices_modifier_group_id_foreign` (`modifier_group_id`),
  KEY `modifier_option_prices_modifier_option_id_foreign` (`modifier_option_id`),
  KEY `modifier_option_prices_order_type_id_foreign` (`order_type_id`),
  KEY `modifier_option_prices_delivery_app_id_foreign` (`delivery_app_id`),
  CONSTRAINT `modifier_option_prices_delivery_app_id_foreign` FOREIGN KEY (`delivery_app_id`) REFERENCES `delivery_platforms` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `modifier_option_prices_modifier_group_id_foreign` FOREIGN KEY (`modifier_group_id`) REFERENCES `modifier_groups` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `modifier_option_prices_modifier_option_id_foreign` FOREIGN KEY (`modifier_option_id`) REFERENCES `modifier_options` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `modifier_option_prices_order_type_id_foreign` FOREIGN KEY (`order_type_id`) REFERENCES `order_types` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `modifier_option_prices`
INSERT INTO `modifier_option_prices` VALUES
('1', '1', '1', '13', NULL, '10.00', NULL, '10.00', '1', '2025-10-24 14:50:33', '2025-10-24 14:50:33'),
('2', '1', '1', '14', NULL, '10.00', NULL, '10.00', '1', '2025-10-24 14:50:33', '2025-10-24 14:50:33'),
('3', '1', '1', '15', NULL, '10.00', NULL, '10.00', '1', '2025-10-24 14:50:33', '2025-10-24 14:50:33'),
('4', '1', '1', '14', '1', '12.00', NULL, '12.00', '1', '2025-10-24 14:50:33', '2025-10-24 14:50:33'),
('5', '1', '2', '13', NULL, '25.00', NULL, '25.00', '1', '2025-10-24 14:50:33', '2025-10-24 14:50:33'),
('6', '1', '2', '14', NULL, '25.00', NULL, '25.00', '1', '2025-10-24 14:50:33', '2025-10-24 14:50:33'),
('7', '1', '2', '15', NULL, '25.00', NULL, '25.00', '1', '2025-10-24 14:50:33', '2025-10-24 14:50:33'),
('8', '1', '2', '14', '1', '30.00', NULL, '30.00', '1', '2025-10-24 14:50:33', '2025-10-24 14:50:33');


-- Table structure for table `modifier_options`
CREATE TABLE `modifier_options` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `modifier_group_id` bigint(20) unsigned NOT NULL,
  `name` text DEFAULT NULL,
  `price` decimal(16,2) NOT NULL,
  `is_available` tinyint(1) NOT NULL DEFAULT 1,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `is_preselected` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `modifier_options_modifier_group_id_foreign` (`modifier_group_id`),
  CONSTRAINT `modifier_options_modifier_group_id_foreign` FOREIGN KEY (`modifier_group_id`) REFERENCES `modifier_groups` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `modifier_options`
INSERT INTO `modifier_options` VALUES
('1', '1', '{\"en\":\"Small\",\"fr\":\"\"}', '10.00', '1', '0', '0', '2025-10-24 14:50:33', '2025-10-24 14:50:33'),
('2', '1', '{\"en\":\"Large\",\"fr\":\"\"}', '25.00', '1', '1', '0', '2025-10-24 14:50:33', '2025-10-24 14:50:33');


-- Table structure for table `modules`
CREATE TABLE `modules` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=23 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `modules`
INSERT INTO `modules` VALUES
('1', 'Menu', NULL, NULL),
('2', 'Menu Item', NULL, NULL),
('3', 'Item Category', NULL, NULL),
('4', 'Area', NULL, NULL),
('5', 'Table', NULL, NULL),
('6', 'Reservation', NULL, NULL),
('7', 'KOT', NULL, NULL),
('8', 'Order', NULL, NULL),
('9', 'Customer', NULL, NULL),
('10', 'Staff', NULL, NULL),
('11', 'Payment', NULL, NULL),
('12', 'Report', NULL, NULL),
('13', 'Settings', NULL, NULL),
('14', 'Delivery Executive', NULL, NULL),
('15', 'Waiter Request', NULL, NULL),
('16', 'Expense', NULL, NULL),
('17', 'Inventory', '2025-09-17 05:48:09', '2025-09-17 05:48:09'),
('18', 'Kitchen', '2025-09-17 05:48:21', '2025-09-17 05:48:21'),
('19', 'Kiosk', '2025-09-28 12:08:47', '2025-09-28 12:08:47'),
('20', 'Cash Register', '2025-10-15 12:16:30', '2025-10-15 12:16:30'),
('21', 'Sms', '2025-10-25 07:22:09', '2025-10-25 07:22:09'),
('22', 'MultiPOS', '2025-11-25 10:51:07', '2025-11-25 10:51:07');


-- Table structure for table `multi_pos_global_settings`
CREATE TABLE `multi_pos_global_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `purchase_code` varchar(191) DEFAULT NULL,
  `supported_until` timestamp NULL DEFAULT NULL,
  `purchased_on` timestamp NULL DEFAULT NULL,
  `license_type` varchar(20) DEFAULT NULL,
  `notify_update` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `multi_pos_global_settings`
INSERT INTO `multi_pos_global_settings` VALUES
('1', NULL, NULL, NULL, NULL, '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07');


-- Table structure for table `notification_settings`
CREATE TABLE `notification_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  `type` varchar(191) NOT NULL,
  `send_email` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `notification_settings_restaurant_id_foreign` (`restaurant_id`),
  CONSTRAINT `notification_settings_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=160 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `notification_settings`
INSERT INTO `notification_settings` VALUES
('1', '1', 'order_received', '1', NULL, NULL),
('2', '1', 'reservation_confirmed', '1', NULL, NULL),
('3', '1', 'new_reservation', '1', NULL, NULL),
('4', '1', 'order_bill_sent', '1', NULL, NULL),
('5', '1', 'staff_welcome', '1', NULL, NULL),
('6', '2', 'order_received', '1', NULL, NULL),
('7', '2', 'reservation_confirmed', '1', NULL, NULL),
('8', '2', 'new_reservation', '1', NULL, NULL),
('9', '2', 'order_bill_sent', '1', NULL, NULL),
('10', '2', 'staff_welcome', '1', NULL, NULL),
('11', '3', 'order_received', '1', NULL, NULL),
('12', '3', 'reservation_confirmed', '1', NULL, NULL),
('13', '3', 'new_reservation', '1', NULL, NULL),
('14', '3', 'order_bill_sent', '1', NULL, NULL),
('15', '3', 'staff_welcome', '1', NULL, NULL),
('16', '4', 'order_received', '1', NULL, NULL),
('17', '4', 'reservation_confirmed', '1', NULL, NULL),
('18', '4', 'new_reservation', '1', NULL, NULL),
('19', '4', 'order_bill_sent', '1', NULL, NULL),
('20', '4', 'staff_welcome', '1', NULL, NULL),
('126', '26', 'order_received', '1', NULL, NULL),
('127', '26', 'reservation_confirmed', '1', NULL, NULL),
('128', '26', 'new_reservation', '1', NULL, NULL),
('129', '26', 'order_bill_sent', '1', NULL, NULL),
('130', '26', 'staff_welcome', '1', NULL, NULL),
('131', '27', 'order_received', '1', NULL, NULL),
('132', '27', 'reservation_confirmed', '1', NULL, NULL),
('133', '27', 'new_reservation', '1', NULL, NULL),
('134', '27', 'order_bill_sent', '1', NULL, NULL),
('135', '27', 'staff_welcome', '1', NULL, NULL),
('136', '28', 'order_received', '1', NULL, NULL),
('137', '28', 'reservation_confirmed', '1', NULL, NULL),
('138', '28', 'new_reservation', '1', NULL, NULL),
('139', '28', 'order_bill_sent', '1', NULL, NULL),
('140', '28', 'staff_welcome', '1', NULL, NULL),
('141', '29', 'order_received', '1', NULL, NULL),
('142', '29', 'reservation_confirmed', '1', NULL, NULL),
('143', '29', 'new_reservation', '1', NULL, NULL),
('144', '29', 'order_bill_sent', '1', NULL, NULL),
('145', '29', 'staff_welcome', '1', NULL, NULL),
('146', '30', 'order_received', '1', NULL, NULL),
('147', '30', 'reservation_confirmed', '1', NULL, NULL),
('148', '30', 'new_reservation', '1', NULL, NULL),
('149', '30', 'order_bill_sent', '1', NULL, NULL),
('150', '30', 'staff_welcome', '1', NULL, NULL),
('151', '1', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07'),
('152', '2', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07'),
('153', '3', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07'),
('154', '4', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07'),
('155', '26', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07'),
('156', '27', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07'),
('157', '28', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07'),
('158', '29', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07'),
('159', '30', 'pos_machine_request', '1', '2025-11-25 10:51:07', '2025-11-25 10:51:07');


-- Table structure for table `offline_payment_methods`
CREATE TABLE `offline_payment_methods` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `description` text DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `offline_payment_methods_restaurant_id_foreign` (`restaurant_id`),
  CONSTRAINT `offline_payment_methods_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `offline_plan_changes`
CREATE TABLE `offline_plan_changes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  `package_id` bigint(20) unsigned NOT NULL,
  `package_type` varchar(191) NOT NULL,
  `amount` decimal(16,2) DEFAULT NULL,
  `pay_date` date DEFAULT NULL,
  `next_pay_date` date DEFAULT NULL,
  `invoice_id` bigint(20) unsigned DEFAULT NULL,
  `offline_method_id` bigint(20) unsigned DEFAULT NULL,
  `file_name` varchar(191) DEFAULT NULL,
  `status` enum('verified','pending','rejected') NOT NULL DEFAULT 'pending',
  `remark` text DEFAULT NULL,
  `description` mediumtext NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `xzodo_status` varchar(100) NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `offline_plan_changes_restaurant_id_foreign` (`restaurant_id`),
  KEY `offline_plan_changes_package_id_foreign` (`package_id`),
  KEY `offline_plan_changes_invoice_id_foreign` (`invoice_id`),
  KEY `offline_plan_changes_offline_method_id_foreign` (`offline_method_id`),
  CONSTRAINT `offline_plan_changes_invoice_id_foreign` FOREIGN KEY (`invoice_id`) REFERENCES `global_invoices` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `offline_plan_changes_offline_method_id_foreign` FOREIGN KEY (`offline_method_id`) REFERENCES `offline_payment_methods` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `offline_plan_changes_package_id_foreign` FOREIGN KEY (`package_id`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `offline_plan_changes_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `onboarding_steps`
CREATE TABLE `onboarding_steps` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned NOT NULL,
  `add_area_completed` tinyint(1) NOT NULL DEFAULT 0,
  `add_table_completed` tinyint(1) NOT NULL DEFAULT 0,
  `add_menu_completed` tinyint(1) NOT NULL DEFAULT 0,
  `add_menu_items_completed` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `onboarding_steps_branch_id_foreign` (`branch_id`),
  CONSTRAINT `onboarding_steps_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `onboarding_steps`
INSERT INTO `onboarding_steps` VALUES
('1', '1', '0', '0', '0', '0', '2025-09-17 05:36:43', '2025-09-17 05:36:43'),
('2', '1', '0', '0', '0', '0', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('3', '2', '0', '0', '0', '0', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('4', '2', '0', '0', '0', '0', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('5', '3', '0', '0', '0', '0', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('6', '4', '1', '1', '1', '1', '2025-09-20 12:56:44', '2025-09-20 13:00:00'),
('7', '5', '1', '1', '1', '1', '2025-10-07 15:00:09', '2025-10-07 15:05:09'),
('29', '27', '1', '1', '0', '0', '2025-11-07 17:23:03', '2025-11-15 13:14:04'),
('30', '28', '0', '0', '0', '0', '2025-11-08 10:32:26', '2025-11-08 10:32:26'),
('31', '29', '1', '1', '0', '0', '2025-11-12 14:15:50', '2025-11-12 14:20:17'),
('32', '30', '0', '0', '0', '0', '2025-11-13 15:41:43', '2025-11-13 15:41:43'),
('33', '31', '0', '0', '0', '0', '2025-11-15 07:46:25', '2025-11-15 07:46:25');


-- Table structure for table `order_charges`
CREATE TABLE `order_charges` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `order_id` bigint(20) unsigned NOT NULL,
  `charge_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `order_charges_order_id_foreign` (`order_id`),
  KEY `order_charges_charge_id_foreign` (`charge_id`),
  CONSTRAINT `order_charges_charge_id_foreign` FOREIGN KEY (`charge_id`) REFERENCES `restaurant_charges` (`id`) ON DELETE CASCADE,
  CONSTRAINT `order_charges_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `order_histories`
CREATE TABLE `order_histories` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `order_id` bigint(20) unsigned NOT NULL,
  `status` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `order_histories_order_id_foreign` (`order_id`),
  CONSTRAINT `order_histories_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `order_item_modifier_options`
CREATE TABLE `order_item_modifier_options` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `order_item_id` bigint(20) unsigned NOT NULL,
  `modifier_option_id` bigint(20) unsigned DEFAULT NULL,
  `modifier_option_name` text DEFAULT NULL,
  `modifier_option_price` decimal(10,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `order_item_modifier_options_order_item_id_foreign` (`order_item_id`),
  KEY `order_item_modifier_options_modifier_option_id_foreign` (`modifier_option_id`),
  CONSTRAINT `order_item_modifier_options_modifier_option_id_foreign` FOREIGN KEY (`modifier_option_id`) REFERENCES `modifier_options` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `order_item_modifier_options_order_item_id_foreign` FOREIGN KEY (`order_item_id`) REFERENCES `order_items` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `order_item_modifier_options`
INSERT INTO `order_item_modifier_options` VALUES
('1', '64', '1', '{\"en\":\"Small\",\"fr\":\"\"}', '10.00', NULL, NULL),
('2', '75', '1', '{\"en\":\"Small\",\"fr\":\"\"}', '10.00', NULL, NULL),
('3', '76', '2', '{\"en\":\"Large\",\"fr\":\"\"}', '25.00', NULL, NULL);


-- Table structure for table `order_items`
CREATE TABLE `order_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `order_id` bigint(20) unsigned NOT NULL,
  `transaction_id` varchar(191) DEFAULT NULL,
  `menu_item_id` bigint(20) unsigned NOT NULL,
  `menu_item_variation_id` bigint(20) unsigned DEFAULT NULL,
  `note` text DEFAULT NULL,
  `quantity` int(11) NOT NULL,
  `price` decimal(16,2) NOT NULL,
  `amount` decimal(16,2) NOT NULL,
  `tax_amount` decimal(15,2) DEFAULT NULL,
  `tax_percentage` decimal(8,4) DEFAULT NULL,
  `tax_breakup` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`tax_breakup`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `order_items_order_id_foreign` (`order_id`),
  KEY `order_items_menu_item_id_foreign` (`menu_item_id`),
  KEY `order_items_menu_item_variation_id_foreign` (`menu_item_variation_id`),
  KEY `order_items_branch_id_foreign` (`branch_id`),
  CONSTRAINT `order_items_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `order_items_menu_item_id_foreign` FOREIGN KEY (`menu_item_id`) REFERENCES `menu_items` (`id`) ON DELETE CASCADE,
  CONSTRAINT `order_items_menu_item_variation_id_foreign` FOREIGN KEY (`menu_item_variation_id`) REFERENCES `menu_item_variations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `order_items_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=89 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `order_items`
INSERT INTO `order_items` VALUES
('3', '3', '1', NULL, '251', NULL, NULL, '1', '269.52', '269.52', NULL, NULL, NULL, '2025-09-20 12:27:12', '2025-09-20 12:27:12'),
('4', '3', '1', NULL, '252', NULL, NULL, '1', '183.50', '183.50', NULL, NULL, NULL, '2025-09-20 12:27:12', '2025-09-20 12:27:12'),
('5', '4', '2', NULL, '501', NULL, '', '1', '100.00', '100.00', NULL, NULL, NULL, '2025-09-20 13:00:18', '2025-09-20 13:00:18'),
('8', '5', '4', 'TXN_68e62861d3eb76.37324333_776395', '503', '2', '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-08 09:01:22', '2025-10-08 09:01:22'),
('9', '5', '4', 'TXN_68e62861d3eb76.37324333_776395', '504', '6', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-08 09:01:22', '2025-10-08 09:01:22'),
('10', '5', '4', 'TXN_68e62861d3eb76.37324333_776395', '506', '10', '', '1', '500.00', '500.00', NULL, NULL, NULL, '2025-10-08 09:01:22', '2025-10-08 09:01:22'),
('11', '5', '5', 'TXN_68e63e3e517e69.31196617_301189', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-10-08 10:34:38', '2025-10-08 10:34:38'),
('12', '5', '6', NULL, '503', '2', NULL, '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-15 12:32:51', '2025-10-15 12:32:51'),
('13', '5', '7', NULL, '507', NULL, NULL, '1', '60.00', '60.00', NULL, NULL, NULL, '2025-10-15 12:34:09', '2025-10-15 12:34:09'),
('14', '5', '8', 'KIOSK_TXN_68ef9521a16ec0.32691058', '503', NULL, NULL, '1', '0.00', '0.00', NULL, NULL, NULL, '2025-10-15 12:35:45', '2025-10-15 12:35:45'),
('15', '5', '8', 'KIOSK_TXN_68ef9521a16ec0.32691058', '504', NULL, NULL, '2', '0.00', '0.00', NULL, NULL, NULL, '2025-10-15 12:35:45', '2025-10-15 12:35:45'),
('16', '5', '9', 'KIOSK_TXN_68ef95b8481505.85338088', '503', '3', NULL, '2', '400.00', '800.00', NULL, NULL, NULL, '2025-10-15 12:38:16', '2025-10-15 12:38:16'),
('17', '5', '9', 'KIOSK_TXN_68ef95b8481505.85338088', '503', '2', NULL, '2', '250.00', '500.00', NULL, NULL, NULL, '2025-10-15 12:38:16', '2025-10-15 12:38:16'),
('18', '5', '10', NULL, '504', '4', NULL, '1', '120.00', '120.00', NULL, NULL, NULL, '2025-10-15 12:40:33', '2025-10-15 12:40:33'),
('19', '5', '11', 'TXN_68f0dec5bc7488.23372968_650415', '503', '2', '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-16 12:02:13', '2025-10-16 12:02:13'),
('20', '5', '12', 'TXN_68f0e5e92bf222.61353201_589451', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-10-16 12:32:41', '2025-10-16 12:32:41'),
('21', '5', '13', 'TXN_68f0e7ed518392.11253318_184380', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-10-16 12:41:17', '2025-10-16 12:41:17'),
('22', '5', '14', 'TXN_68f0e98f88fcf0.97081858_196506', '503', '2', '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-16 12:48:15', '2025-10-16 12:48:15'),
('24', '5', '16', 'TXN_68f0f1253d9812.85311588_548223', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-16 13:20:37', '2025-10-16 13:20:37'),
('25', '5', '17', 'TXN_68f0f342b770d2.44028867_382578', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-16 13:29:38', '2025-10-16 13:29:38'),
('26', '5', '18', 'TXN_68f0f92d3d7cb8.57476962_970704', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-10-16 13:54:53', '2025-10-16 13:54:53'),
('27', '5', '19', 'TXN_68f0f9a7428d31.03319738_156288', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-16 13:56:55', '2025-10-16 13:56:55'),
('28', '5', '20', 'TXN_68f0fa8b5df871.67446827_444391', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-16 14:00:43', '2025-10-16 14:00:43'),
('29', '5', '21', 'TXN_68f0ff436d7e31.26322864_733895', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-16 14:20:51', '2025-10-16 14:20:51'),
('30', '5', '22', 'TXN_68f11186a40d88.85359813_642469', '503', '2', '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-16 15:38:46', '2025-10-16 15:38:46'),
('31', '5', '23', 'TXN_68f11493951c64.13647932_350258', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-10-16 15:51:47', '2025-10-16 15:51:47'),
('32', '5', '24', 'TXN_68f11df6b45478.84597662_879041', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-16 16:31:50', '2025-10-16 16:31:50'),
('33', '5', '25', 'TXN_68f11f5c936752.69173031_207616', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-16 16:37:48', '2025-10-16 16:37:48'),
('34', '5', '26', 'TXN_68f12534eac280.48739786_102422', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-16 17:02:45', '2025-10-16 17:02:45'),
('35', '3', '27', 'TXN_68f12d9ec2a981.97878175_856288', '251', NULL, '', '2', '269.52', '539.04', NULL, NULL, NULL, '2025-10-16 17:38:38', '2025-10-16 17:38:38'),
('36', '5', '28', 'TXN_68f12e35eb2419.11533676_187640', '503', '2', '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-16 17:41:10', '2025-10-16 17:41:10'),
('37', '5', '28', 'TXN_68f12e35eb2419.11533676_187640', '505', '8', '', '1', '200.00', '200.00', NULL, NULL, NULL, '2025-10-16 17:41:10', '2025-10-16 17:41:10'),
('38', '5', '29', 'TXN_68f2d1c10efc73.86184169_610422', '503', '2', '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-17 23:31:13', '2025-10-17 23:31:13'),
('39', '5', '29', 'TXN_68f2d1c10efc73.86184169_610422', '504', '6', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-17 23:31:13', '2025-10-17 23:31:13'),
('40', '5', '30', NULL, '507', NULL, NULL, '1', '60.00', '60.00', NULL, NULL, NULL, '2025-10-17 23:40:44', '2025-10-17 23:40:44'),
('41', '5', '30', NULL, '505', '8', NULL, '1', '200.00', '200.00', NULL, NULL, NULL, '2025-10-17 23:40:44', '2025-10-17 23:40:44'),
('42', '5', '31', NULL, '505', '8', NULL, '1', '200.00', '200.00', NULL, NULL, NULL, '2025-10-17 23:42:52', '2025-10-17 23:42:52'),
('43', '5', '32', NULL, '507', NULL, '', '2', '60.00', '120.00', NULL, NULL, NULL, '2025-10-17 23:43:33', '2025-10-17 23:43:33'),
('44', '5', '33', 'TXN_68f2d4f8bb1f42.34426374_425498', '504', '5', '', '1', '210.00', '210.00', NULL, NULL, NULL, '2025-10-17 23:44:56', '2025-10-17 23:44:56'),
('45', '5', '35', NULL, '507', NULL, '', '1', '60.00', '60.00', NULL, NULL, NULL, '2025-10-17 23:48:25', '2025-10-17 23:48:25'),
('46', '5', '36', NULL, '503', '1', NULL, '3', '130.00', '390.00', NULL, NULL, NULL, '2025-10-17 23:49:05', '2025-10-17 23:49:05'),
('47', '5', '37', NULL, '505', '8', NULL, '1', '200.00', '200.00', NULL, NULL, NULL, '2025-10-17 23:51:30', '2025-10-17 23:51:30'),
('48', '5', '37', NULL, '507', NULL, NULL, '1', '60.00', '60.00', NULL, NULL, NULL, '2025-10-17 23:51:30', '2025-10-17 23:51:30'),
('49', '5', '38', 'KIOSK_TXN_68f2d73349bab0.75415852', '503', '2', NULL, '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-17 23:54:27', '2025-10-17 23:54:27'),
('50', '5', '38', 'KIOSK_TXN_68f2d73349bab0.75415852', '504', '6', NULL, '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-17 23:54:27', '2025-10-17 23:54:27'),
('51', '5', '39', NULL, '503', '1', NULL, '3', '130.00', '390.00', NULL, NULL, NULL, '2025-10-18 00:05:52', '2025-10-18 00:05:52'),
('52', '5', '40', NULL, '507', NULL, NULL, '1', '60.00', '60.00', NULL, NULL, NULL, '2025-10-18 00:07:59', '2025-10-18 00:07:59'),
('53', '5', '41', NULL, '503', '1', NULL, '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-18 00:09:20', '2025-10-18 00:09:20'),
('54', '5', '42', NULL, '504', '5', NULL, '1', '210.00', '210.00', NULL, NULL, NULL, '2025-10-18 17:25:40', '2025-10-18 17:25:40'),
('55', '5', '43', 'KIOSK_TXN_68f3ce74859f57.71863120', '507', NULL, NULL, '1', '60.00', '60.00', NULL, NULL, NULL, '2025-10-18 17:29:24', '2025-10-18 17:29:24'),
('56', '5', '44', NULL, '503', '3', NULL, '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-18 17:45:50', '2025-10-18 17:45:50'),
('57', '5', '45', 'TXN_68f3dc48227c63.69436210_587956', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-18 18:28:24', '2025-10-18 18:28:24'),
('58', '5', '46', 'TXN_68fae377308866.64667514_242686', '503', '3', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-24 02:24:55', '2025-10-24 02:24:55'),
('59', '5', '47', 'TXN_68fae4436c6376.32408368_690123', '503', '3', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-24 02:28:19', '2025-10-24 02:28:19'),
('60', '5', '48', 'TXN_68fae4d68a5be2.70313865_172721', '503', '3', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-24 02:30:46', '2025-10-24 02:30:46'),
('61', '5', '49', 'TXN_68fae5a469e1f0.38965568_491018', '503', '3', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-24 02:34:12', '2025-10-24 02:34:12'),
('62', '5', '50', 'KIOSK_TXN_68fae6f37dcbb1.17912335', '503', '3', NULL, '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-24 02:39:47', '2025-10-24 02:39:47'),
('63', '5', '51', 'TXN_68fb33264034c1.82188861_150016', '503', '3', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-24 08:04:54', '2025-10-24 08:04:54'),
('64', '5', '52', 'TXN_68fb936144c5c0.85366552_757268', '509', '13', '', '1', '20.00', '30.00', NULL, NULL, NULL, '2025-10-24 14:55:29', '2025-10-24 14:55:29'),
('65', '5', '54', NULL, '503', '3', NULL, '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-24 15:12:01', '2025-10-24 15:12:01'),
('66', '5', '55', NULL, '503', '3', NULL, '2', '400.00', '800.00', NULL, NULL, NULL, '2025-10-24 15:17:55', '2025-10-24 15:17:55'),
('67', '5', '55', NULL, '505', '7', NULL, '2', '110.00', '220.00', NULL, NULL, NULL, '2025-10-24 15:17:55', '2025-10-24 15:17:55'),
('68', '5', '55', NULL, '507', NULL, NULL, '1', '60.00', '60.00', NULL, NULL, NULL, '2025-10-24 15:17:55', '2025-10-24 15:17:55'),
('69', '5', '56', 'KIOSK_TXN_68fb990c30d636.60122123', '503', '3', NULL, '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-24 15:19:40', '2025-10-24 15:19:40'),
('70', '5', '56', 'KIOSK_TXN_68fb990c30d636.60122123', '504', '5', NULL, '1', '210.00', '210.00', NULL, NULL, NULL, '2025-10-24 15:19:40', '2025-10-24 15:19:40'),
('71', '3', '57', 'TXN_68fc57f0399db1.50117952_364289', '252', NULL, '', '2', '183.50', '367.00', NULL, NULL, NULL, '2025-10-25 04:54:08', '2025-10-25 04:54:08'),
('72', '5', '58', 'TXN_68fc6d77230d03.96692444_378586', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-25 06:25:59', '2025-10-25 06:25:59'),
('73', '5', '59', 'TXN_68fc6e5acfbd48.90231901_253331', '504', '4', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-10-25 06:29:46', '2025-10-25 06:29:46'),
('74', '5', '60', 'TXN_68fc77830b1da2.56348875_457592', '504', '6', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-25 07:08:51', '2025-10-25 07:08:51'),
('75', '5', '60', 'TXN_68fc77830b1da2.56348875_457592', '509', '13', '', '1', '20.00', '30.00', NULL, NULL, NULL, '2025-10-25 07:08:51', '2025-10-25 07:08:51'),
('76', '5', '61', 'TXN_68fccb07228e12.18684759_803076', '510', '15', '', '1', '200.00', '205.00', NULL, NULL, NULL, '2025-10-25 13:05:11', '2025-10-25 13:05:11'),
('77', '5', '62', 'TXN_68fccb611eea08.93188830_842371', '503', '3', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-25 13:06:41', '2025-10-25 13:06:41'),
('78', '5', '63', NULL, '507', NULL, NULL, '3', '60.00', '180.00', NULL, NULL, NULL, '2025-10-25 13:22:55', '2025-10-25 13:22:55'),
('80', '5', '64', NULL, '504', '6', NULL, '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-25 13:31:04', '2025-10-25 13:31:04'),
('81', '5', '65', 'TXN_68ff2e669fdda2.19244022_537360', '503', '3', '', '1', '400.00', '400.00', NULL, NULL, NULL, '2025-10-27 08:33:42', '2025-10-27 08:33:42'),
('82', '5', '66', 'TXN_68ff3ee7afeeb1.84124161_154687', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-10-27 09:44:07', '2025-10-27 09:44:07'),
('83', '5', '67', 'TXN_6904cd1be4d188.53805857_163380', '503', '2', '', '1', '250.00', '250.00', NULL, NULL, NULL, '2025-10-31 14:52:12', '2025-10-31 14:52:12'),
('84', '5', '68', 'TXN_690cb00a55da05.48803001_906465', '503', '1', '', '1', '130.00', '130.00', NULL, NULL, NULL, '2025-11-06 14:26:18', '2025-11-06 14:26:18'),
('85', '5', '69', 'TXN_690efbfc54c7b5.77165461_252028', '510', '14', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-11-08 08:14:52', '2025-11-08 08:14:52'),
('86', '5', '70', 'TXN_6925767fc285f2.33668884_993165', '510', '14', '', '1', '120.00', '120.00', NULL, NULL, NULL, '2025-11-25 09:27:27', '2025-11-25 09:27:27'),
('87', '3', '71', 'TXN_692586a92d46a5.98952834_872162', '252', NULL, '', '1', '183.50', '183.50', NULL, NULL, NULL, '2025-11-25 10:36:25', '2025-11-25 10:36:25'),
('88', '5', '72', NULL, '506', '9', NULL, '1', '300.00', '300.00', NULL, NULL, NULL, '2025-11-25 12:10:42', '2025-11-25 12:10:42');


-- Table structure for table `order_number_settings`
CREATE TABLE `order_number_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned NOT NULL,
  `enable_feature` tinyint(1) NOT NULL DEFAULT 0,
  `prefix` varchar(191) NOT NULL DEFAULT 'ORD',
  `digits` tinyint(3) unsigned NOT NULL DEFAULT 3,
  `separator` varchar(191) NOT NULL DEFAULT '-',
  `include_date` tinyint(1) NOT NULL DEFAULT 0,
  `show_year` tinyint(1) NOT NULL DEFAULT 0,
  `show_month` tinyint(1) NOT NULL DEFAULT 0,
  `show_day` tinyint(1) NOT NULL DEFAULT 0,
  `show_time` tinyint(1) NOT NULL DEFAULT 0,
  `reset_daily` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `order_number_settings_branch_id_foreign` (`branch_id`),
  CONSTRAINT `order_number_settings_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `order_places`
CREATE TABLE `order_places` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `printer_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `type` varchar(191) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `order_places_branch_id_foreign` (`branch_id`),
  KEY `order_places_printer_id_foreign` (`printer_id`),
  CONSTRAINT `order_places_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `order_places_printer_id_foreign` FOREIGN KEY (`printer_id`) REFERENCES `printers` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `order_places`
INSERT INTO `order_places` VALUES
('1', NULL, '1', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('2', NULL, '2', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('3', NULL, '3', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('4', NULL, '4', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('5', NULL, '5', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('27', NULL, '27', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('28', NULL, '28', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('29', NULL, '29', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('30', NULL, '30', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('31', NULL, '31', 'Default POS Terminal', 'vegetarian', '1', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25');


-- Table structure for table `order_taxes`
CREATE TABLE `order_taxes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `order_id` bigint(20) unsigned NOT NULL,
  `tax_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `order_taxes_order_id_foreign` (`order_id`),
  KEY `order_taxes_tax_id_foreign` (`tax_id`),
  CONSTRAINT `order_taxes_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE,
  CONSTRAINT `order_taxes_tax_id_foreign` FOREIGN KEY (`tax_id`) REFERENCES `taxes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=133 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `order_taxes`
INSERT INTO `order_taxes` VALUES
('1', '3', '6'),
('2', '3', '7'),
('3', '4', '6'),
('4', '4', '7'),
('5', '5', '6'),
('6', '5', '7'),
('7', '6', '6'),
('8', '6', '7'),
('9', '7', '6'),
('10', '7', '7'),
('11', '8', '6'),
('12', '8', '7'),
('13', '9', '6'),
('14', '9', '7'),
('15', '10', '6'),
('16', '10', '7'),
('17', '11', '6'),
('18', '11', '7'),
('19', '12', '6'),
('20', '12', '7'),
('21', '13', '6'),
('22', '13', '7'),
('23', '14', '6'),
('24', '14', '7'),
('27', '16', '6'),
('28', '16', '7'),
('29', '17', '6'),
('30', '17', '7'),
('31', '18', '6'),
('32', '18', '7'),
('33', '19', '6'),
('34', '19', '7'),
('35', '20', '6'),
('36', '20', '7'),
('37', '21', '6'),
('38', '21', '7'),
('39', '22', '6'),
('40', '22', '7'),
('41', '23', '6'),
('42', '23', '7'),
('43', '24', '6'),
('44', '24', '7'),
('45', '25', '6'),
('46', '25', '7'),
('47', '26', '6'),
('48', '26', '7'),
('49', '28', '6'),
('50', '28', '7'),
('51', '29', '6'),
('52', '29', '7'),
('53', '30', '6'),
('54', '30', '7'),
('55', '31', '6'),
('56', '31', '7'),
('57', '32', '6'),
('58', '32', '7'),
('59', '33', '6'),
('60', '33', '7'),
('61', '35', '6'),
('62', '35', '7'),
('63', '36', '6'),
('64', '36', '7'),
('65', '37', '6'),
('66', '37', '7'),
('67', '38', '6'),
('68', '38', '7'),
('69', '39', '6'),
('70', '39', '7'),
('71', '40', '6'),
('72', '40', '7'),
('73', '41', '6'),
('74', '41', '7'),
('75', '42', '6'),
('76', '42', '7'),
('77', '43', '6'),
('78', '43', '7'),
('79', '44', '6'),
('80', '44', '7'),
('81', '45', '6'),
('82', '45', '7'),
('83', '46', '6'),
('84', '46', '7'),
('85', '47', '6'),
('86', '47', '7'),
('87', '48', '6'),
('88', '48', '7'),
('89', '49', '6'),
('90', '49', '7'),
('91', '50', '6'),
('92', '50', '7'),
('93', '51', '6'),
('94', '51', '7'),
('95', '52', '6'),
('96', '52', '7'),
('97', '54', '6'),
('98', '54', '7'),
('99', '55', '6'),
('100', '55', '7'),
('101', '56', '6'),
('102', '56', '7'),
('103', '58', '6'),
('104', '58', '7'),
('105', '59', '6'),
('106', '59', '7'),
('107', '60', '6'),
('108', '60', '7'),
('109', '61', '6'),
('110', '61', '7'),
('111', '62', '6'),
('112', '62', '7'),
('113', '63', '6'),
('114', '63', '7'),
('117', '64', '6'),
('118', '64', '7'),
('119', '65', '6'),
('120', '65', '7'),
('121', '66', '6'),
('122', '66', '7'),
('123', '67', '6'),
('124', '67', '7'),
('125', '68', '6'),
('126', '68', '7'),
('127', '69', '6'),
('128', '69', '7'),
('129', '70', '6'),
('130', '70', '7'),
('131', '72', '6'),
('132', '72', '7');


-- Table structure for table `order_types`
CREATE TABLE `order_types` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `order_type_name` varchar(191) NOT NULL,
  `slug` varchar(191) NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `enable_token_number` tinyint(1) NOT NULL DEFAULT 0,
  `type` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `order_types_branch_id_foreign` (`branch_id`),
  CONSTRAINT `order_types_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=94 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `order_types`
INSERT INTO `order_types` VALUES
('1', '1', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('2', '1', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('3', '1', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('4', '2', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('5', '2', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('6', '2', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('7', '3', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('8', '3', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('9', '3', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('10', '4', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('11', '4', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('12', '4', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('13', '5', 'Dine In', 'dine_in', '1', '1', '1', 'dine_in', '2025-10-07 15:00:09', '2025-10-17 23:46:48'),
('14', '5', 'Delivery', 'delivery', '1', '1', '1', 'delivery', '2025-10-07 15:00:09', '2025-10-17 23:46:48'),
('15', '5', 'Pickup', 'pickup', '1', '1', '1', 'pickup', '2025-10-07 15:00:09', '2025-10-17 23:46:48'),
('79', '27', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('80', '27', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('81', '27', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('82', '28', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('83', '28', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('84', '28', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('85', '29', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('86', '29', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('87', '29', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('88', '30', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('89', '30', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('90', '30', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('91', '31', 'Dine In', 'dine_in', '1', '1', '0', 'dine_in', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('92', '31', 'Delivery', 'delivery', '1', '1', '0', 'delivery', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('93', '31', 'Pickup', 'pickup', '1', '1', '0', 'pickup', '2025-11-15 07:46:25', '2025-11-15 07:46:25');


-- Table structure for table `orders`
CREATE TABLE `orders` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `uuid` char(36) DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `pos_machine_id` bigint(20) unsigned DEFAULT NULL,
  `order_number` varchar(191) NOT NULL,
  `formatted_order_number` varchar(191) DEFAULT NULL,
  `date_time` datetime NOT NULL,
  `table_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `number_of_pax` int(11) DEFAULT NULL,
  `waiter_id` bigint(20) unsigned DEFAULT NULL,
  `added_by` bigint(20) unsigned DEFAULT NULL,
  `cancelled_by` bigint(20) unsigned DEFAULT NULL,
  `status` enum('draft','kot','billed','paid','canceled','payment_due','ready','out_for_delivery','delivered','pending_verification') NOT NULL DEFAULT 'kot',
  `placed_via` enum('pos','shop','kiosk') DEFAULT NULL,
  `sub_total` decimal(16,2) NOT NULL,
  `tip_amount` decimal(16,2) DEFAULT 0.00,
  `total_tax_amount` decimal(16,2) DEFAULT 0.00,
  `tax_mode` varchar(191) DEFAULT NULL,
  `tip_note` text DEFAULT NULL,
  `total` decimal(16,2) NOT NULL,
  `amount_paid` decimal(16,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `order_type_id` bigint(20) unsigned DEFAULT NULL,
  `delivery_app_id` bigint(20) unsigned DEFAULT NULL,
  `custom_order_type_name` varchar(191) DEFAULT NULL,
  `order_type` varchar(191) DEFAULT NULL,
  `pickup_date` datetime DEFAULT NULL,
  `delivery_executive_id` bigint(20) unsigned DEFAULT NULL,
  `delivery_address` text DEFAULT NULL,
  `delivery_time` datetime DEFAULT NULL,
  `estimated_delivery_time` datetime DEFAULT NULL,
  `split_type` enum('even','custom','items') DEFAULT NULL,
  `discount_type` varchar(191) DEFAULT NULL,
  `discount_value` decimal(16,2) DEFAULT NULL,
  `discount_amount` decimal(16,2) DEFAULT NULL,
  `order_status` varchar(191) NOT NULL DEFAULT 'placed',
  `delivery_fee` decimal(8,2) NOT NULL DEFAULT 0.00,
  `customer_lat` decimal(10,7) DEFAULT NULL,
  `customer_lng` decimal(10,7) DEFAULT NULL,
  `is_within_radius` tinyint(1) NOT NULL DEFAULT 0,
  `delivery_started_at` timestamp NULL DEFAULT NULL,
  `delivered_at` timestamp NULL DEFAULT NULL,
  `estimated_eta_min` int(11) DEFAULT NULL,
  `estimated_eta_max` int(11) DEFAULT NULL,
  `cancel_reason_id` bigint(20) unsigned DEFAULT NULL,
  `cancel_reason_text` varchar(191) DEFAULT NULL,
  `reservation_id` bigint(20) unsigned DEFAULT NULL,
  `kiosk_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `orders_uuid_unique` (`uuid`),
  KEY `orders_table_id_foreign` (`table_id`),
  KEY `orders_customer_id_foreign` (`customer_id`),
  KEY `orders_delivery_executive_id_foreign` (`delivery_executive_id`),
  KEY `orders_waiter_id_foreign` (`waiter_id`),
  KEY `orders_cancel_reason_id_foreign` (`cancel_reason_id`),
  KEY `idx_branch_date` (`branch_id`,`date_time`),
  KEY `orders_order_type_id_foreign` (`order_type_id`),
  KEY `orders_reservation_id_foreign` (`reservation_id`),
  KEY `orders_kiosk_id_foreign` (`kiosk_id`),
  KEY `orders_delivery_app_id_foreign` (`delivery_app_id`),
  KEY `orders_added_by_foreign` (`added_by`),
  KEY `orders_cancelled_by_foreign` (`cancelled_by`),
  KEY `orders_pos_machine_id_index` (`pos_machine_id`),
  CONSTRAINT `orders_added_by_foreign` FOREIGN KEY (`added_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `orders_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `orders_cancel_reason_id_foreign` FOREIGN KEY (`cancel_reason_id`) REFERENCES `kot_cancel_reasons` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `orders_cancelled_by_foreign` FOREIGN KEY (`cancelled_by`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `orders_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `orders_delivery_app_id_foreign` FOREIGN KEY (`delivery_app_id`) REFERENCES `delivery_platforms` (`id`) ON DELETE SET NULL,
  CONSTRAINT `orders_delivery_executive_id_foreign` FOREIGN KEY (`delivery_executive_id`) REFERENCES `delivery_executives` (`id`) ON DELETE SET NULL,
  CONSTRAINT `orders_kiosk_id_foreign` FOREIGN KEY (`kiosk_id`) REFERENCES `kiosks` (`id`) ON DELETE SET NULL,
  CONSTRAINT `orders_order_type_id_foreign` FOREIGN KEY (`order_type_id`) REFERENCES `order_types` (`id`) ON DELETE SET NULL,
  CONSTRAINT `orders_pos_machine_id_foreign` FOREIGN KEY (`pos_machine_id`) REFERENCES `pos_machines` (`id`) ON DELETE SET NULL,
  CONSTRAINT `orders_reservation_id_foreign` FOREIGN KEY (`reservation_id`) REFERENCES `reservations` (`id`) ON DELETE SET NULL,
  CONSTRAINT `orders_table_id_foreign` FOREIGN KEY (`table_id`) REFERENCES `tables` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `orders_waiter_id_foreign` FOREIGN KEY (`waiter_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=73 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `orders`
INSERT INTO `orders` VALUES
('1', '762ceab8-435f-4269-9e6e-c2b6120e1320', '3', NULL, '1', NULL, '2025-09-20 12:27:12', '1', NULL, '4', NULL, NULL, NULL, 'paid', 'shop', '453.02', '0.00', '0.00', 'order', NULL, '453.02', '906.04', '2025-09-20 12:25:05', '2025-09-20 12:27:46', '1', NULL, 'dine_in', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('2', 'fd9ca8d7-145d-4c7c-b94d-cecc98000c40', '4', NULL, '1', NULL, '2025-09-20 13:00:18', NULL, '1', '1', '6', NULL, NULL, 'paid', 'pos', '100.00', '0.00', '0.00', 'order', NULL, '100.00', '100.00', '2025-09-20 13:00:18', '2025-09-20 13:00:43', '10', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'preparing', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('3', '3f6e0bb4-e221-4bd6-b2e1-cb8d03ae49a1', '5', NULL, '1', NULL, '2025-10-07 15:13:31', '5', NULL, NULL, NULL, NULL, NULL, 'paid', 'shop', '4.00', '0.00', '0.00', 'order', NULL, '4.20', '4.20', '2025-10-07 15:13:31', '2025-10-07 15:41:42', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('4', '7ef53383-e964-451d-93e7-dc1a1a0d4e63', '5', NULL, '2', NULL, '2025-10-08 09:01:21', '5', NULL, NULL, NULL, NULL, NULL, 'paid', 'shop', '1150.00', '0.00', '0.00', 'order', NULL, '1207.50', '1207.50', '2025-10-08 09:01:21', '2025-10-08 09:02:13', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('5', '61f919bc-be4d-42c6-979f-e5f21a4386bb', '5', NULL, '3', NULL, '2025-10-08 10:34:38', '5', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-10-08 10:34:38', '2025-10-15 12:34:44', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('6', '6afee693-7983-4062-8925-16c8fa7345f7', '5', NULL, '4', NULL, '2025-10-15 12:32:50', NULL, '2', '1', '7', NULL, NULL, 'paid', 'pos', '250.00', '0.00', '12.50', 'order', NULL, '262.50', '262.50', '2025-10-15 12:32:50', '2025-10-15 12:33:11', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('7', '7732a0d7-ec82-42da-b462-64715964a20f', '5', NULL, '5', NULL, '2025-10-15 12:34:09', '6', '2', NULL, '7', NULL, NULL, 'billed', 'pos', '60.00', '0.00', '3.00', 'order', NULL, '63.00', '0.00', '2025-10-15 12:33:28', '2025-10-15 12:34:54', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('8', '41483780-3735-49c1-9627-4788069a5f1e', '5', NULL, '6', NULL, '2025-10-15 12:35:45', NULL, '3', NULL, NULL, NULL, NULL, 'paid', 'kiosk', '0.00', '0.00', '0.00', 'order', NULL, '0.00', '0.00', '2025-10-15 12:35:45', '2025-10-15 12:36:40', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5'),
('9', '7857a0d0-73f8-450d-9467-267ea3d54dfc', '5', NULL, '7', NULL, '2025-10-15 12:38:16', NULL, '3', NULL, NULL, NULL, NULL, 'paid', 'kiosk', '1300.00', '0.00', '65.00', 'order', NULL, '1365.00', '1365.00', '2025-10-15 12:38:16', '2025-10-15 12:39:27', '15', NULL, 'Pickup', 'pickup', '2025-10-15 12:38:16', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'delivered', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5'),
('10', 'b79da98c-3df3-4ae5-8cc5-e4515ccb80a3', '5', NULL, '8', NULL, '2025-10-15 12:40:33', NULL, NULL, '1', '7', NULL, NULL, 'paid', 'pos', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-10-15 12:40:33', '2025-10-15 12:40:41', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'preparing', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('11', 'c80069d5-545e-47ba-933a-6e314a69ee85', '5', NULL, '9', NULL, '2025-10-16 12:02:13', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '250.00', '0.00', '0.00', 'order', NULL, '262.50', '262.50', '2025-10-16 12:02:13', '2025-10-16 12:02:53', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('12', '0ff12223-648d-4064-ac56-0aba8d7ed0e9', '5', NULL, '10', NULL, '2025-10-16 12:32:40', '5', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-10-16 12:32:40', '2025-10-16 12:33:24', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('13', '0303dac8-6851-4308-ad5d-916d35bce5be', '5', NULL, '11', NULL, '2025-10-16 12:41:17', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-10-16 12:41:17', '2025-10-16 12:41:48', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('14', 'fb076413-f4ce-404e-a591-20b6d732db11', '5', NULL, '12', NULL, '2025-10-16 12:48:15', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '250.00', '0.00', '0.00', 'order', NULL, '262.50', '262.50', '2025-10-16 12:48:15', '2025-10-16 12:48:50', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('16', '9aa123e3-16b7-4efc-a5eb-c247c3c18c2d', '5', NULL, '13', NULL, '2025-10-16 13:20:37', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-16 13:20:37', '2025-10-16 13:21:02', '2', NULL, 'Delivery', 'delivery', NULL, NULL, 'wdqwdqw', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('17', 'd314afc3-5533-434b-a8f9-f9412c576c14', '5', NULL, '14', NULL, '2025-10-16 13:29:38', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-16 13:29:38', '2025-10-16 13:30:10', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('18', '98fbfe63-0951-4430-9c0e-6364970d2cf0', '5', NULL, '15', NULL, '2025-10-16 13:54:53', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-10-16 13:54:53', '2025-10-16 13:55:16', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('19', '69e3a24d-d936-4b62-8f74-485ffa9836fd', '5', NULL, '16', NULL, '2025-10-16 13:56:55', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-16 13:56:55', '2025-10-16 13:57:19', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('20', '40611183-a127-47e6-8e08-5b8328ad2414', '5', NULL, '17', NULL, '2025-10-16 14:00:43', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-16 14:00:43', '2025-10-16 14:01:17', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('21', 'dbbbfb94-daa1-4214-9a70-7dc487b88045', '5', NULL, '18', NULL, '2025-10-16 14:20:51', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-16 14:20:51', '2025-10-16 14:21:16', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('22', 'c29ff8ef-6cf1-42ef-9911-fe6cd63d49fc', '5', NULL, '19', NULL, '2025-10-16 15:38:46', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '250.00', '0.00', '0.00', 'order', NULL, '262.50', '262.50', '2025-10-16 15:38:46', '2025-10-16 15:40:44', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('23', '7b29bacd-154b-453d-8853-82b7cc9523e2', '5', NULL, '20', NULL, '2025-10-16 15:51:47', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-10-16 15:51:47', '2025-10-16 15:52:12', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('24', '6b6cba77-c145-4dbf-bbae-6f7a14029aba', '5', NULL, '21', NULL, '2025-10-16 16:31:50', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-16 16:31:50', '2025-10-16 16:32:18', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('25', 'f9e38759-bf59-404e-bf3d-a40bac6e190e', '5', NULL, '22', NULL, '2025-10-16 16:37:48', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-16 16:37:48', '2025-10-16 16:38:15', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('26', '010b9d43-fb18-4555-8fda-8bf8a08c34ba', '5', NULL, '23', NULL, '2025-10-16 17:02:44', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-16 17:02:44', '2025-10-17 23:44:13', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'preparing', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('27', 'b414f8cd-0c26-44d7-ad3b-6c94f2d075af', '3', NULL, '2', NULL, '2025-10-16 17:38:38', NULL, NULL, NULL, NULL, NULL, NULL, 'kot', 'shop', '539.04', '0.00', '0.00', 'order', NULL, '539.04', '0.00', '2025-10-16 17:38:38', '2025-10-16 17:38:38', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'placed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('28', '5721e123-d5f3-4171-ab0e-1ad400080e3b', '5', NULL, '24', NULL, '2025-10-16 17:41:09', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '450.00', '0.00', '0.00', 'order', NULL, '472.50', '472.50', '2025-10-16 17:41:09', '2025-10-17 23:42:21', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('29', 'ea8434e2-3a97-4f6a-aa8a-d2505a1f4cc7', '5', NULL, '25', NULL, '2025-10-17 23:31:12', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '650.00', '0.00', '0.00', 'order', NULL, '682.50', '682.50', '2025-10-17 23:31:12', '2025-10-17 23:33:43', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('30', '01674eb7-f492-405b-981b-6d62d66a0831', '5', NULL, '26', NULL, '2025-10-17 23:40:44', NULL, NULL, '1', '7', NULL, NULL, 'paid', 'pos', '260.00', '0.00', '0.00', 'order', NULL, '220.50', '220.50', '2025-10-17 23:40:44', '2025-10-18 17:27:04', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, 'fixed', '50.00', '50.00', 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('31', '7c810f93-6a9d-466b-846f-4d9b1445f99d', '5', NULL, '27', NULL, '2025-10-17 23:42:52', NULL, NULL, '1', '7', NULL, NULL, 'paid', 'pos', '200.00', '0.00', '0.00', 'order', NULL, '210.00', '210.00', '2025-10-17 23:42:52', '2025-10-18 17:27:15', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('32', 'de02c43c-fdb2-42d5-87be-0ed3074b01b7', '5', NULL, '28', NULL, '2025-10-17 23:43:33', NULL, NULL, NULL, '7', NULL, NULL, 'paid', 'pos', '120.00', '0.00', '6.00', 'order', NULL, '126.00', '126.00', '2025-10-17 23:43:33', '2025-10-17 23:43:54', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('33', '7008fc76-aa76-464b-91c5-ac1dd47db954', '5', NULL, '29', NULL, '2025-10-17 23:44:56', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '210.00', '0.00', '0.00', 'order', NULL, '220.50', '220.50', '2025-10-17 23:44:56', '2025-10-18 17:27:51', '1', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('34', 'f4d33358-1dfc-493b-8d3c-94f1f6df24c5', '5', NULL, '30', NULL, '2025-10-17 23:47:25', NULL, NULL, '1', '7', NULL, NULL, 'kot', 'pos', '500.00', '0.00', '0.00', 'order', NULL, '525.00', '0.00', '2025-10-17 23:47:25', '2025-10-18 17:27:37', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('35', '9628cf55-045e-4f81-86bf-d6ccf39a6a13', '5', NULL, '31', NULL, '2025-10-17 23:48:25', NULL, NULL, '5', '7', NULL, NULL, 'paid', 'pos', '60.00', '0.00', '3.00', 'order', NULL, '63.00', '63.00', '2025-10-17 23:48:25', '2025-10-18 17:27:24', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('36', '96f35b0e-4034-48a0-9a8f-53e2e2f44d96', '5', NULL, '32', NULL, '2025-10-17 23:49:05', '5', NULL, NULL, '7', NULL, NULL, 'paid', 'pos', '390.00', '0.00', '0.00', 'order', NULL, '409.50', '409.50', '2025-10-17 23:49:05', '2025-10-17 23:50:31', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('37', 'd977165d-cdb0-46a2-b0f7-28700d22200f', '5', NULL, '33', NULL, '2025-10-17 23:51:30', NULL, NULL, '1', '7', NULL, NULL, 'paid', 'pos', '260.00', '0.00', '0.00', 'order', NULL, '273.00', '273.00', '2025-10-17 23:51:30', '2025-10-17 23:52:10', '15', NULL, 'Pickup', 'pickup', '2025-10-18 05:22:00', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'delivered', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('38', '8ac5f8d4-8676-4794-8d22-a62dab9ea688', '5', NULL, '34', NULL, '2025-10-17 23:54:27', NULL, '1', NULL, NULL, NULL, NULL, 'paid', 'kiosk', '650.00', '0.00', '32.50', 'order', NULL, '682.50', '682.50', '2025-10-17 23:54:27', '2025-10-17 23:55:21', '15', NULL, 'Pickup', 'pickup', '2025-10-17 23:54:27', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'delivered', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5'),
('39', '0a6646cd-6b26-429e-9190-d44c2a753044', '5', NULL, '35', NULL, '2025-10-18 00:05:52', NULL, NULL, '1', '7', NULL, NULL, 'paid', 'pos', '390.00', '0.00', '0.00', 'order', NULL, '409.50', '409.50', '2025-10-18 00:05:52', '2025-10-18 00:06:04', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('40', '1b9b1a64-e1ee-45ce-8a0e-29c68fa6454b', '5', NULL, '36', NULL, '2025-10-18 00:07:59', NULL, NULL, '1', '7', NULL, NULL, 'paid', 'pos', '60.00', '0.00', '0.00', 'order', NULL, '63.00', '63.00', '2025-10-18 00:07:59', '2025-10-18 00:08:11', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('41', 'dd821c0d-08ce-444b-89c9-ee6354ff36de', '5', NULL, '37', NULL, '2025-10-18 00:09:19', NULL, NULL, '1', '7', NULL, NULL, 'billed', 'pos', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '0.00', '2025-10-18 00:09:19', '2025-10-18 00:09:41', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('42', 'ebe39f55-e675-4571-872e-7734db1e6c84', '5', NULL, '38', NULL, '2025-10-18 17:25:40', NULL, NULL, '1', '7', NULL, NULL, 'paid', 'pos', '210.00', '0.00', '0.00', 'order', NULL, '220.50', '220.50', '2025-10-18 17:25:40', '2025-10-18 17:26:21', '13', NULL, 'Dine In', 'pickup', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'delivered', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('43', 'e612968e-1f9d-4c68-8926-f4f905ea8059', '5', NULL, '39', NULL, '2025-10-18 17:29:24', NULL, '1', NULL, NULL, NULL, NULL, 'paid', 'kiosk', '60.00', '0.00', '3.00', 'order', NULL, '63.00', '63.00', '2025-10-18 17:29:24', '2025-10-18 17:30:16', '15', NULL, 'Pickup', 'pickup', '2025-10-18 17:29:24', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'delivered', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5'),
('44', 'fc1cf0d8-3ca0-4170-8184-369140f646dd', '5', NULL, '40', NULL, '2025-10-18 17:45:49', NULL, '1', '1', '9', NULL, NULL, 'paid', 'pos', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '420.00', '2025-10-18 17:45:49', '2025-10-18 18:00:04', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('45', '42380913-f0af-43ae-94c6-f9560094a2ce', '5', NULL, '41', NULL, '2025-10-18 18:28:23', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-18 18:28:23', '2025-10-18 18:28:48', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('46', 'f6feda77-15ee-4e5f-8455-fe2819b46d5c', '5', NULL, '42', NULL, '2025-10-24 02:24:55', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '420.00', '2025-10-24 02:24:55', '2025-10-24 02:25:51', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('47', '119605d1-3fc4-4794-a05b-0a1c7af52058', '5', NULL, '43', NULL, '2025-10-24 02:28:19', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '420.00', '2025-10-24 02:28:19', '2025-10-24 02:33:37', '14', NULL, 'Delivery', 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'delivered', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('48', '7c79327a-4e99-4cc5-89f6-e0226ef69025', '5', NULL, '44', NULL, '2025-10-24 02:30:46', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '420.00', '2025-10-24 02:30:46', '2025-10-24 02:32:41', '14', NULL, 'Delivery', 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'delivered', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('49', '980ded67-2307-4bdf-9786-038ee6fc8c0f', '5', NULL, '45', NULL, '2025-10-24 02:34:12', '5', '1', NULL, NULL, NULL, NULL, 'draft', 'shop', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '0.00', '2025-10-24 02:34:12', '2025-10-24 02:34:12', '15', NULL, 'Pickup', 'pickup', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('50', '26d8dd01-8977-4baf-bc6c-e33890fad0b2', '5', NULL, '46', NULL, '2025-10-24 02:39:47', NULL, '1', NULL, '9', NULL, NULL, 'paid', 'kiosk', '400.00', '0.00', '20.00', 'order', NULL, '420.00', '420.00', '2025-10-24 02:39:47', '2025-10-24 02:40:25', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5'),
('51', '49cde4cd-35fe-41c1-b4d3-b3f98d1507cd', '5', NULL, '47', NULL, '2025-10-24 08:04:54', '5', '1', NULL, '9', NULL, NULL, 'paid', 'shop', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '420.00', '2025-10-24 08:04:54', '2025-10-24 08:06:12', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('52', '58ada686-4a35-4354-8209-e9e1404fedab', '5', NULL, '48', NULL, '2025-10-24 14:55:29', '7', '1', NULL, '9', NULL, NULL, 'paid', 'shop', '30.00', '0.00', '0.00', 'order', NULL, '31.50', '31.50', '2025-10-24 14:55:29', '2025-10-24 14:58:49', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('53', '39d65ee4-80e6-45ed-88e9-29cf4e499506', '5', NULL, '49', NULL, '2025-10-24 15:03:18', '8', '1', '4', '9', NULL, NULL, 'kot', 'pos', '445.00', '0.00', '0.00', 'order', NULL, '420.53', '0.00', '2025-10-24 15:03:18', '2025-10-24 15:03:46', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, 'percent', '10.00', '44.50', 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, '3', NULL),
('54', '39b93d3a-1368-42bb-93ca-73d4becb94f0', '5', NULL, '50', NULL, '2025-10-24 15:12:01', '7', NULL, '1', '7', NULL, NULL, 'paid', 'pos', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '420.00', '2025-10-24 15:12:01', '2025-10-24 15:12:18', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('55', '09fe13b3-b96b-4d3a-8d29-ec8fc8be5ba1', '5', NULL, '51', NULL, '2025-10-24 15:17:55', NULL, '1', '1', '7', NULL, NULL, 'paid', 'pos', '1080.00', '0.00', '0.00', 'order', NULL, '1134.00', '1134.00', '2025-10-24 15:17:55', '2025-10-24 15:18:12', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'preparing', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('56', 'a718ec8f-6a90-4f72-9b9b-aa13d5cd237a', '5', NULL, '52', NULL, '2025-10-24 15:19:39', NULL, '1', NULL, NULL, NULL, NULL, 'paid', 'kiosk', '610.00', '0.00', '30.50', 'order', NULL, '640.50', '640.00', '2025-10-24 15:19:40', '2025-10-24 15:20:36', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'preparing', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5'),
('57', '78b323df-1217-432a-9807-20f959738394', '3', NULL, '3', NULL, '2025-10-25 04:54:08', NULL, NULL, NULL, NULL, NULL, NULL, 'kot', 'shop', '367.00', '0.00', '0.00', 'order', NULL, '367.00', '0.00', '2025-10-25 04:54:08', '2025-10-25 04:54:08', '8', NULL, 'Delivery', 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'placed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('58', 'd7966150-e5ed-482c-9e6f-2269f7d9aa7c', '5', NULL, '53', NULL, '2025-10-25 06:25:58', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-25 06:25:58', '2025-10-25 06:26:39', '14', NULL, 'Delivery', 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('59', '2ef9c4ed-09fa-4a1e-81fd-238dfd41b562', '5', NULL, '54', NULL, '2025-10-25 06:29:46', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-10-25 06:29:46', '2025-10-25 06:30:15', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('60', 'e2d051ef-9506-4229-ba84-5f18cf526270', '5', NULL, '55', NULL, '2025-10-25 07:08:50', '7', '1', NULL, '9', NULL, NULL, 'paid', 'shop', '430.00', '0.00', '0.00', 'order', NULL, '451.50', '451.50', '2025-10-25 07:08:50', '2025-10-25 07:11:14', '14', NULL, 'Delivery', 'delivery', NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'delivered', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('61', 'd1e8b2eb-5111-4fda-b097-d832cd37e46b', '5', NULL, '56', NULL, '2025-10-25 13:05:10', '9', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '205.00', '0.00', '0.00', 'order', NULL, '215.25', '215.25', '2025-10-25 13:05:10', '2025-10-25 13:23:49', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('62', 'e7c787e7-58f0-4e30-9eb3-4db1953d3831', '5', NULL, '57', NULL, '2025-10-25 13:06:40', '9', '1', NULL, NULL, NULL, NULL, 'draft', 'shop', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '0.00', '2025-10-25 13:06:40', '2025-10-25 13:06:41', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('63', '254a2157-dfb7-41f0-8ac2-f802887dcc89', '5', NULL, '58', NULL, '2025-10-25 13:22:55', NULL, '1', '1', '7', NULL, NULL, 'paid', 'pos', '180.00', '0.00', '0.00', 'order', NULL, '189.00', '189.00', '2025-10-25 13:22:55', '2025-10-25 13:24:44', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, 'Bambagher, Ramnagar-244715, Uttarkhand', NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('64', '59394330-19f6-4582-87bb-1c6b4216d0c7', '5', NULL, '59', NULL, '2025-10-25 13:31:04', '9', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '400.00', '0.00', '20.00', 'order', NULL, '420.00', '420.00', '2025-10-25 13:30:33', '2025-10-25 13:31:24', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'preparing', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('65', 'a2fa2789-645a-4866-a77e-ae1d8a1c125b', '5', NULL, '60', NULL, '2025-10-27 08:33:42', '7', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '400.00', '0.00', '0.00', 'order', NULL, '420.00', '420.00', '2025-10-27 08:33:42', '2025-10-27 08:34:14', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('66', '001231db-778a-4520-a5fa-8f0de81e5d73', '5', NULL, '61', NULL, '2025-10-27 09:44:07', '6', '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-10-27 09:44:07', '2025-10-27 09:44:37', '14', NULL, 'Delivery', 'delivery', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('67', '1e709f54-2e9d-4a90-8a29-560c0248fe9e', '5', NULL, '62', NULL, '2025-10-31 14:52:11', '5', '1', NULL, NULL, NULL, NULL, 'paid', 'shop', '250.00', '0.00', '0.00', 'order', NULL, '262.50', '262.50', '2025-10-31 14:52:11', '2025-10-31 14:53:05', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'preparing', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('68', '010b0d5b-1e58-45c4-89f2-4e0f041ab194', '5', NULL, '63', NULL, '2025-11-06 14:26:18', NULL, '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '130.00', '0.00', '0.00', 'order', NULL, '136.50', '136.50', '2025-11-06 14:26:18', '2025-11-06 14:26:59', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'wdqwdqw', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9403884', '80.8963691', '1', NULL, NULL, '1', '2', NULL, NULL, NULL, NULL),
('69', '4c9d8d6d-5c72-4de3-a244-38b8c96e07cb', '5', NULL, '64', NULL, '2025-11-08 08:14:52', NULL, '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-11-08 08:14:52', '2025-11-08 08:15:20', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVRW+36, Sadabahar Colony, Mubarakpur, Lucknow, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'confirmed', '0.00', '26.9407327', '80.8958455', '1', NULL, NULL, '1', '2', NULL, NULL, NULL, NULL),
('70', '5a927adf-33b7-40f0-8b28-34232bea0132', '5', NULL, '65', NULL, '2025-11-25 09:27:27', NULL, '2', NULL, NULL, NULL, NULL, 'paid', 'shop', '120.00', '0.00', '0.00', 'order', NULL, '126.00', '126.00', '2025-11-25 09:27:27', '2025-11-25 09:34:50', '14', NULL, 'Delivery', 'delivery', NULL, NULL, 'WVRW+36, Sadabahar Colony, Mubarakpur, Lucknow, Uttar Pradesh 226013, India', NULL, NULL, NULL, NULL, NULL, NULL, 'food_ready', '0.00', '26.9401214', '80.8947850', '1', NULL, NULL, '2', '3', NULL, NULL, NULL, NULL),
('71', 'cc9e4b28-737d-423e-a33a-613cc78a9d55', '3', NULL, '4', NULL, '2025-11-25 10:36:24', NULL, '1', NULL, NULL, NULL, NULL, 'kot', 'shop', '183.50', '0.00', '0.00', 'order', NULL, '183.50', '0.00', '2025-11-25 10:36:24', '2025-11-25 10:36:25', '8', NULL, 'Delivery', 'delivery', NULL, NULL, 'Bambagher, Ramnagar-244715, Uttarkhand', NULL, NULL, NULL, NULL, NULL, NULL, 'placed', '0.00', NULL, NULL, '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL),
('72', '30671b29-9a07-4707-a875-d102cf8b75e4', '5', '2', '66', NULL, '2025-11-25 12:10:42', NULL, NULL, '1', '7', '7', NULL, 'paid', 'pos', '300.00', '0.00', '15.00', 'order', NULL, '315.00', '315.00', '2025-11-25 12:10:42', '2025-11-25 12:11:15', '13', NULL, 'Dine In', 'dine_in', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'served', '0.00', NULL, NULL, '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);


-- Table structure for table `otps`
CREATE TABLE `otps` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `identifier` varchar(191) NOT NULL,
  `token` varchar(191) NOT NULL,
  `type` varchar(191) NOT NULL DEFAULT 'login',
  `expires_at` timestamp NOT NULL,
  `used` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `otps_identifier_type_index` (`identifier`,`type`),
  KEY `otps_token_index` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `package_modules`
CREATE TABLE `package_modules` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `package_id` bigint(20) unsigned DEFAULT NULL,
  `module_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `package_modules_package_id_foreign` (`package_id`),
  KEY `package_modules_module_id_foreign` (`module_id`),
  CONSTRAINT `package_modules_module_id_foreign` FOREIGN KEY (`module_id`) REFERENCES `modules` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `package_modules_package_id_foreign` FOREIGN KEY (`package_id`) REFERENCES `packages` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=185 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `package_modules`
INSERT INTO `package_modules` VALUES
('1', '1', '1', NULL, NULL),
('2', '1', '2', NULL, NULL),
('3', '1', '3', NULL, NULL),
('4', '1', '4', NULL, NULL),
('5', '1', '5', NULL, NULL),
('6', '1', '6', NULL, NULL),
('7', '1', '7', NULL, NULL),
('8', '1', '8', NULL, NULL),
('9', '1', '9', NULL, NULL),
('10', '1', '10', NULL, NULL),
('11', '1', '11', NULL, NULL),
('12', '1', '12', NULL, NULL),
('13', '1', '13', NULL, NULL),
('14', '1', '14', NULL, NULL),
('15', '1', '15', NULL, NULL),
('16', '1', '16', NULL, NULL),
('65', '2', '1', NULL, NULL),
('66', '2', '2', NULL, NULL),
('67', '2', '3', NULL, NULL),
('68', '2', '4', NULL, NULL),
('69', '2', '5', NULL, NULL),
('70', '2', '6', NULL, NULL),
('71', '2', '7', NULL, NULL),
('72', '2', '8', NULL, NULL),
('73', '2', '9', NULL, NULL),
('74', '2', '10', NULL, NULL),
('75', '2', '11', NULL, NULL),
('76', '2', '12', NULL, NULL),
('77', '2', '13', NULL, NULL),
('78', '2', '14', NULL, NULL),
('79', '2', '15', NULL, NULL),
('80', '2', '16', NULL, NULL),
('86', '6', '1', NULL, NULL),
('87', '6', '2', NULL, NULL),
('88', '6', '3', NULL, NULL),
('89', '6', '4', NULL, NULL),
('90', '6', '5', NULL, NULL),
('91', '6', '6', NULL, NULL),
('92', '6', '7', NULL, NULL),
('93', '6', '8', NULL, NULL),
('94', '6', '9', NULL, NULL),
('95', '6', '10', NULL, NULL),
('96', '6', '11', NULL, NULL),
('97', '6', '12', NULL, NULL),
('98', '6', '13', NULL, NULL),
('99', '6', '14', NULL, NULL),
('100', '6', '15', NULL, NULL),
('101', '6', '16', NULL, NULL),
('102', '6', '17', NULL, NULL),
('103', '6', '18', NULL, NULL),
('104', '6', '19', NULL, NULL),
('105', '6', '20', NULL, NULL),
('106', '6', '21', NULL, NULL),
('112', '1', '22', NULL, NULL),
('116', '2', '22', NULL, NULL),
('117', '6', '22', NULL, NULL),
('119', '8', '1', NULL, NULL),
('120', '8', '2', NULL, NULL),
('121', '8', '3', NULL, NULL),
('122', '8', '4', NULL, NULL),
('123', '8', '5', NULL, NULL),
('124', '8', '6', NULL, NULL),
('125', '8', '7', NULL, NULL),
('126', '8', '8', NULL, NULL),
('127', '8', '9', NULL, NULL),
('128', '8', '10', NULL, NULL),
('129', '8', '11', NULL, NULL),
('130', '8', '12', NULL, NULL),
('131', '8', '13', NULL, NULL),
('132', '8', '14', NULL, NULL),
('133', '8', '15', NULL, NULL),
('134', '8', '16', NULL, NULL),
('135', '8', '17', NULL, NULL),
('136', '8', '18', NULL, NULL),
('137', '8', '19', NULL, NULL),
('138', '8', '20', NULL, NULL),
('139', '8', '21', NULL, NULL),
('140', '8', '22', NULL, NULL),
('141', '9', '1', NULL, NULL),
('142', '9', '2', NULL, NULL),
('143', '9', '3', NULL, NULL),
('144', '9', '4', NULL, NULL),
('145', '9', '5', NULL, NULL),
('146', '9', '6', NULL, NULL),
('147', '9', '7', NULL, NULL),
('148', '9', '8', NULL, NULL),
('149', '9', '9', NULL, NULL),
('150', '9', '10', NULL, NULL),
('151', '9', '11', NULL, NULL),
('152', '9', '12', NULL, NULL),
('153', '9', '13', NULL, NULL),
('154', '9', '14', NULL, NULL),
('155', '9', '15', NULL, NULL),
('156', '9', '16', NULL, NULL),
('157', '9', '17', NULL, NULL),
('158', '9', '18', NULL, NULL),
('159', '9', '19', NULL, NULL),
('160', '9', '20', NULL, NULL),
('161', '9', '21', NULL, NULL),
('162', '9', '22', NULL, NULL),
('163', '10', '1', NULL, NULL),
('164', '10', '2', NULL, NULL),
('165', '10', '3', NULL, NULL),
('166', '10', '4', NULL, NULL),
('167', '10', '5', NULL, NULL),
('168', '10', '6', NULL, NULL),
('169', '10', '7', NULL, NULL),
('170', '10', '8', NULL, NULL),
('171', '10', '9', NULL, NULL),
('172', '10', '10', NULL, NULL),
('173', '10', '11', NULL, NULL),
('174', '10', '12', NULL, NULL),
('175', '10', '13', NULL, NULL),
('176', '10', '14', NULL, NULL),
('177', '10', '15', NULL, NULL),
('178', '10', '16', NULL, NULL),
('179', '10', '17', NULL, NULL),
('180', '10', '18', NULL, NULL),
('181', '10', '19', NULL, NULL),
('182', '10', '20', NULL, NULL),
('183', '10', '21', NULL, NULL),
('184', '10', '22', NULL, NULL);


-- Table structure for table `packages`
CREATE TABLE `packages` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `package_name` varchar(191) NOT NULL,
  `price` decimal(16,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `currency_id` bigint(20) unsigned DEFAULT NULL,
  `description` text NOT NULL,
  `annual_price` decimal(16,2) DEFAULT NULL,
  `monthly_price` decimal(16,2) DEFAULT NULL,
  `monthly_status` varchar(191) DEFAULT '1',
  `annual_status` varchar(191) DEFAULT '1',
  `stripe_annual_plan_id` varchar(191) DEFAULT NULL,
  `stripe_monthly_plan_id` varchar(191) DEFAULT NULL,
  `razorpay_annual_plan_id` varchar(191) DEFAULT NULL,
  `razorpay_monthly_plan_id` varchar(191) DEFAULT NULL,
  `flutterwave_annual_plan_id` varchar(191) DEFAULT NULL,
  `flutterwave_monthly_plan_id` varchar(191) DEFAULT NULL,
  `paystack_annual_plan_id` varchar(191) DEFAULT NULL,
  `paystack_monthly_plan_id` varchar(191) DEFAULT NULL,
  `xendit_annual_plan_id` varchar(191) DEFAULT NULL,
  `xendit_monthly_plan_id` varchar(191) DEFAULT NULL,
  `paddle_annual_price_id` varchar(191) DEFAULT NULL,
  `paddle_monthly_price_id` varchar(191) DEFAULT NULL,
  `paddle_lifetime_price_id` varchar(191) DEFAULT NULL,
  `stripe_lifetime_plan_id` varchar(191) DEFAULT NULL,
  `razorpay_lifetime_plan_id` varchar(191) DEFAULT NULL,
  `billing_cycle` tinyint(3) unsigned DEFAULT NULL,
  `sort_order` int(10) unsigned DEFAULT NULL,
  `is_private` tinyint(1) NOT NULL DEFAULT 0,
  `is_free` tinyint(1) NOT NULL DEFAULT 0,
  `is_recommended` tinyint(1) NOT NULL DEFAULT 0,
  `package_type` varchar(191) NOT NULL DEFAULT 'standard',
  `trial_status` tinyint(1) DEFAULT NULL,
  `trial_days` int(11) DEFAULT NULL,
  `trial_notification_before_days` int(11) DEFAULT NULL,
  `trial_message` varchar(191) DEFAULT NULL,
  `additional_features` longtext DEFAULT NULL,
  `branch_limit` int(11) DEFAULT -1,
  `multipos_limit` int(11) DEFAULT -1,
  `menu_items_limit` int(11) NOT NULL DEFAULT -1,
  `order_limit` int(11) NOT NULL DEFAULT -1,
  `staff_limit` int(11) NOT NULL DEFAULT -1,
  `sms_count` int(11) NOT NULL DEFAULT 0,
  `carry_forward_sms` tinyint(1) NOT NULL DEFAULT 0,
  `countryID` int(11) NOT NULL DEFAULT 1000,
  PRIMARY KEY (`id`),
  KEY `packages_currency_id_foreign` (`currency_id`),
  CONSTRAINT `packages_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `global_currencies` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `packages`
INSERT INTO `packages` VALUES
('1', 'Default', '0.00', '2025-09-17 05:36:43', '2025-11-25 08:40:03', '1', 'Its a default package and cannot be deleted', NULL, NULL, '0', '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '12', '1', '0', '1', '0', 'default', NULL, NULL, NULL, NULL, '[]', '-1', '-1', '-1', '-1', '-1', '0', '0', '103'),
('2', 'Trial Package', '0.00', '2025-09-17 05:36:43', '2025-09-17 05:36:43', '1', 'This is a trial package', NULL, NULL, '0', '0', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', NULL, '0', '1', '0', 'trial', '1', '30', '5', '30 Days Free Trial', '[\"Change Branch\",\"Export Report\",\"Table Reservation\",\"Payment Gateway Integration\",\"Theme Setting\",\"Customer Display\"]', '-1', '-1', '-1', '-1', '-1', '0', '0', '1000'),
('6', 'Starter Package', '0.00', '2025-11-07 17:30:21', '2025-12-02 11:47:54', '5', 'Best for small cafés / restaurants starting out\n', '490.00', '49.00', '1', '1', 'price_1SZs3XILSMCMpdPIIgIR91MN', 'price_1SZrAiILSMCMpdPIhx62Cl0N', 'prod_TWv3gtnakQ5r3J', 'prod_TWv3gtnakQ5r3J', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '8', '0', '0', '0', 'standard', NULL, NULL, NULL, NULL, '[\"Change Branch\",\"Theme Setting\",\"Export Report\",\"Customer Display\",\"Table Reservation\",\"Payment Gateway Integration\"]', '-1', '-1', '-1', '-1', '-1', '-1', '0', '40'),
('8', 'Growth Package', '0.00', '2025-12-02 10:52:26', '2025-12-02 11:46:50', '5', 'For medium restaurants with dine-in + delivery needs\n', '990.00', '99.00', '1', '1', 'price_1SZs2VILSMCMpdPILojbSzs2', 'price_1SZrFvILSMCMpdPIuzwMdwAh', 'prod_TWv8mph5uea1iv', 'prod_TWv6ibxhRoE8ku', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '10', '0', '0', '0', 'standard', NULL, NULL, NULL, NULL, '[\"Change Branch\",\"Theme Setting\",\"Export Report\",\"Customer Display\",\"Table Reservation\",\"Payment Gateway Integration\"]', '0', '-1', '-1', '-1', '-1', '-1', '0', '40'),
('9', 'Premium Package', '0.00', '2025-12-02 11:03:59', '2025-12-02 11:46:02', '5', 'For multi-cuisine restaurants & bars\n', '1490.00', '149.00', '1', '1', 'price_1SZs1PILSMCMpdPIMDg9NjzB', 'price_1SZrMNILSMCMpdPIhIXtg2Uh', 'prod_TWvDJP95hq80lo', 'prod_TWvCJm82TJRFcY', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '5', '0', '0', '1', 'standard', NULL, NULL, NULL, NULL, '[\"Payment Gateway Integration\",\"Table Reservation\",\"Export Report\",\"Customer Display\",\"Theme Setting\",\"Change Branch\"]', '-1', '-1', '-1', '-1', '-1', '-1', '0', '40'),
('10', 'Enterprise Package', '0.00', '2025-12-02 11:09:02', '2025-12-02 11:45:08', '5', 'For chains, franchises, and high-volume operations\n', '1990.00', '199.00', '1', '1', 'price_1SZrPhILSMCMpdPITyzBtaE2', 'price_1SZs0PILSMCMpdPIuFCfGgQ7', 'prod_TWvGoVHhHttOZ7', 'prod_TWvF8uBKVDqfhm', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '6', '0', '0', '0', 'standard', NULL, NULL, NULL, NULL, '[\"Table Reservation\",\"Customer Display\",\"Export Report\",\"Change Branch\",\"Theme Setting\",\"Payment Gateway Integration\"]', '-1', '-1', '-1', '-1', '-1', '-1', '0', '40');


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


-- Table structure for table `payfast_payments`
CREATE TABLE `payfast_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `payfast_payment_id` varchar(191) DEFAULT NULL,
  `order_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `payment_status` enum('pending','completed','failed') NOT NULL DEFAULT 'pending',
  `payment_date` timestamp NULL DEFAULT NULL,
  `payment_error_response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`payment_error_response`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payfast_payments_order_id_foreign` (`order_id`),
  CONSTRAINT `payfast_payments_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `payment_gateway_credentials`
CREATE TABLE `payment_gateway_credentials` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  `razorpay_key` text DEFAULT NULL,
  `razorpay_secret` text DEFAULT NULL,
  `razorpay_status` tinyint(1) NOT NULL DEFAULT 0,
  `stripe_key` text DEFAULT NULL,
  `stripe_secret` text DEFAULT NULL,
  `stripe_status` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `is_dine_in_payment_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `is_delivery_payment_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `is_pickup_payment_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `is_cash_payment_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `is_qr_payment_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `is_offline_payment_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `offline_payment_detail` varchar(191) DEFAULT NULL,
  `qr_code_image` varchar(191) DEFAULT NULL,
  `flutterwave_status` tinyint(1) NOT NULL DEFAULT 0,
  `flutterwave_mode` enum('test','live') NOT NULL DEFAULT 'test',
  `test_flutterwave_key` varchar(191) DEFAULT NULL,
  `test_flutterwave_secret` varchar(191) DEFAULT NULL,
  `test_flutterwave_hash` varchar(191) DEFAULT NULL,
  `live_flutterwave_key` varchar(191) DEFAULT NULL,
  `live_flutterwave_secret` varchar(191) DEFAULT NULL,
  `live_flutterwave_hash` varchar(191) DEFAULT NULL,
  `flutterwave_webhook_secret_hash` varchar(191) DEFAULT NULL,
  `paypal_client_id` varchar(191) DEFAULT NULL,
  `paypal_secret` varchar(191) DEFAULT NULL,
  `paypal_status` tinyint(1) NOT NULL DEFAULT 0,
  `paypal_mode` enum('sandbox','live') NOT NULL DEFAULT 'sandbox',
  `sandbox_paypal_client_id` varchar(191) DEFAULT NULL,
  `sandbox_paypal_secret` varchar(191) DEFAULT NULL,
  `payfast_merchant_id` varchar(191) DEFAULT NULL,
  `payfast_merchant_key` varchar(191) DEFAULT NULL,
  `payfast_passphrase` varchar(191) DEFAULT NULL,
  `payfast_mode` enum('sandbox','live') NOT NULL DEFAULT 'sandbox',
  `payfast_status` tinyint(1) NOT NULL DEFAULT 0,
  `test_payfast_merchant_id` varchar(191) DEFAULT NULL,
  `test_payfast_merchant_key` varchar(191) DEFAULT NULL,
  `test_payfast_passphrase` varchar(191) DEFAULT NULL,
  `paystack_key` varchar(191) DEFAULT NULL,
  `paystack_secret` varchar(191) DEFAULT NULL,
  `paystack_merchant_email` varchar(191) DEFAULT NULL,
  `paystack_status` tinyint(1) NOT NULL DEFAULT 0,
  `paystack_mode` enum('sandbox','live') NOT NULL DEFAULT 'sandbox',
  `test_paystack_key` varchar(191) DEFAULT NULL,
  `test_paystack_secret` varchar(191) DEFAULT NULL,
  `test_paystack_merchant_email` varchar(191) DEFAULT NULL,
  `paystack_payment_url` varchar(191) DEFAULT 'https://api.paystack.co',
  `xendit_status` tinyint(1) NOT NULL DEFAULT 0,
  `xendit_mode` enum('sandbox','live') NOT NULL DEFAULT 'sandbox',
  `test_xendit_public_key` varchar(191) DEFAULT NULL,
  `test_xendit_secret_key` varchar(191) DEFAULT NULL,
  `live_xendit_public_key` varchar(191) DEFAULT NULL,
  `live_xendit_secret_key` varchar(191) DEFAULT NULL,
  `test_xendit_webhook_token` varchar(191) DEFAULT NULL,
  `live_xendit_webhook_token` varchar(191) DEFAULT NULL,
  `epay_status` tinyint(1) NOT NULL DEFAULT 0,
  `epay_mode` enum('sandbox','live') NOT NULL DEFAULT 'sandbox',
  `epay_client_id` varchar(191) DEFAULT NULL,
  `epay_client_secret` varchar(191) DEFAULT NULL,
  `epay_terminal_id` varchar(191) DEFAULT NULL,
  `test_epay_client_id` varchar(191) DEFAULT NULL,
  `test_epay_client_secret` varchar(191) DEFAULT NULL,
  `test_epay_terminal_id` varchar(191) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payment_gateway_credentials_restaurant_id_foreign` (`restaurant_id`),
  CONSTRAINT `payment_gateway_credentials_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `payment_gateway_credentials`
INSERT INTO `payment_gateway_credentials` VALUES
('1', '1', NULL, NULL, '0', NULL, NULL, '0', '2025-09-17 05:36:43', '2025-09-17 05:36:43', '0', '0', '0', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('2', '1', NULL, NULL, '0', NULL, NULL, '0', '2025-09-17 05:36:44', '2025-09-17 05:36:44', '0', '0', '0', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('3', '2', NULL, NULL, '0', NULL, NULL, '0', '2025-09-17 10:02:45', '2025-09-20 12:28:22', '0', '0', '0', '1', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('4', '3', NULL, NULL, '0', NULL, NULL, '0', '2025-09-20 12:56:44', '2025-09-20 12:56:44', '0', '0', '0', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('5', '4', 'eyJpdiI6Im9JQzA0dHRQSlFaamJLR01Wb212dUE9PSIsInZhbHVlIjoiSUZqSS8vcDFwRjA2NlZNRHM0UHNqWE9aUEhQV3F4WkZZbTJ1N0Eyek5yYz0iLCJtYWMiOiI5ZjJlOWRjYzhiOTYzZGU3OGQ3ODVlNWVmOTBiMjBiYjk0MzA1YmJiNTUwZmM4ZDE4MjM3NzBhNGNjNGI3NDU5IiwidGFnIjoiIn0=', 'eyJpdiI6ImpPalpWeVZCL1hYUC84QTF5aCtzeUE9PSIsInZhbHVlIjoiRE93eWFoQ2NVNExlMjk3SFBGVVJjOFZadDRXMlRqUVFjTWhEUndhTVNOYz0iLCJtYWMiOiIzMTU1ZDQ1Y2JhNTI1N2QzMmVkZTk0ZDgxZGMxYTYzYmFkNDdiOTliN2Q1MGI2NzBiNzRjMmUzMGY4YjIxYjVmIiwidGFnIjoiIn0=', '1', NULL, NULL, '0', '2025-10-07 15:00:09', '2025-10-15 12:49:05', '1', '1', '1', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('27', '26', NULL, NULL, '0', NULL, NULL, '0', '2025-11-07 17:23:03', '2025-11-07 17:23:03', '0', '0', '0', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('28', '27', NULL, NULL, '0', NULL, NULL, '0', '2025-11-08 10:32:26', '2025-11-08 10:32:26', '0', '0', '0', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('29', '28', NULL, NULL, '0', NULL, NULL, '0', '2025-11-12 14:15:50', '2025-11-12 14:15:50', '0', '0', '0', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('30', '29', NULL, NULL, '0', NULL, NULL, '0', '2025-11-13 15:41:43', '2025-11-13 15:41:43', '0', '0', '0', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL),
('31', '30', NULL, NULL, '0', NULL, NULL, '0', '2025-11-15 07:46:25', '2025-11-15 07:46:25', '0', '0', '0', '0', '0', '0', NULL, NULL, '0', 'test', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, 'sandbox', '0', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, 'https://api.paystack.co', '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL, '0', 'sandbox', NULL, NULL, NULL, NULL, NULL, NULL);


-- Table structure for table `payments`
CREATE TABLE `payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `order_id` bigint(20) unsigned NOT NULL,
  `payment_method` varchar(191) NOT NULL DEFAULT 'cash',
  `amount` decimal(16,2) NOT NULL,
  `balance` decimal(16,2) DEFAULT 0.00,
  `transaction_id` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payments_order_id_foreign` (`order_id`),
  KEY `payments_branch_id_foreign` (`branch_id`),
  CONSTRAINT `payments_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `payments_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=71 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `payments`
INSERT INTO `payments` VALUES
('1', '3', '1', 'cash', '453.02', '0.00', NULL, '2025-09-20 12:27:27', '2025-09-20 12:27:27'),
('2', '3', '1', 'card', '453.02', '0.00', NULL, '2025-09-20 12:27:46', '2025-09-20 12:27:46'),
('3', '4', '2', 'cash', '100.00', '0.00', NULL, '2025-09-20 13:00:23', '2025-09-20 13:00:23'),
('4', '5', '3', 'razorpay', '4.20', '0.00', 'pay_RQdFvyYfrbz90B', '2025-10-07 15:27:22', '2025-10-07 15:27:22'),
('5', '5', '4', 'razorpay', '1207.50', '0.00', 'pay_RQvDmpMUMiPPoz', '2025-10-08 09:01:47', '2025-10-08 09:01:47'),
('6', '5', '5', 'razorpay', '126.00', '0.00', 'pay_RQwocGZ0pLkBZU', '2025-10-08 10:35:27', '2025-10-08 10:35:27'),
('7', '5', '6', 'upi', '262.50', '0.00', NULL, '2025-10-15 12:33:02', '2025-10-15 12:33:02'),
('9', '5', '8', 'upi', '0.00', '0.00', NULL, '2025-10-15 12:36:19', '2025-10-15 12:36:19'),
('11', '5', '9', 'cash', '1365.00', '0.00', NULL, '2025-10-15 12:39:12', '2025-10-15 12:39:12'),
('12', '5', '10', 'cash', '126.00', '0.00', NULL, '2025-10-15 12:40:41', '2025-10-15 12:40:41'),
('13', '5', '11', 'razorpay', '262.50', '0.00', 'pay_RU8a2YLhBIHi68', '2025-10-16 12:02:53', '2025-10-16 12:02:53'),
('14', '5', '12', 'razorpay', '126.00', '0.00', 'pay_RU96EhIkc3IVzX', '2025-10-16 12:33:24', '2025-10-16 12:33:24'),
('15', '5', '13', 'razorpay', '126.00', '0.00', 'pay_RU9F8RuNHirFo6', '2025-10-16 12:41:49', '2025-10-16 12:41:49'),
('16', '5', '14', 'razorpay', '262.50', '0.00', 'pay_RU9MU5ib1JkTnn', '2025-10-16 12:48:50', '2025-10-16 12:48:50'),
('17', '5', '16', 'razorpay', '136.50', '0.00', 'pay_RU9ub1bUSMzfs0', '2025-10-16 13:21:02', '2025-10-16 13:21:02'),
('18', '5', '17', 'razorpay', '136.50', '0.00', 'pay_RUA4EIVkrFaSbP', '2025-10-16 13:30:10', '2025-10-16 13:30:10'),
('19', '5', '18', 'razorpay', '126.00', '0.00', 'pay_RUAUlBSDMxqJTC', '2025-10-16 13:55:16', '2025-10-16 13:55:16'),
('20', '5', '19', 'razorpay', '136.50', '0.00', 'pay_RUAWulQPNCTG7i', '2025-10-16 13:57:19', '2025-10-16 13:57:19'),
('21', '5', '20', 'razorpay', '136.50', '0.00', 'pay_RUAb7Ybhnyp6VA', '2025-10-16 14:01:18', '2025-10-16 14:01:18'),
('22', '5', '21', 'razorpay', '136.50', '0.00', 'pay_RUAwENCbQlEREv', '2025-10-16 14:21:17', '2025-10-16 14:21:17'),
('23', '5', '22', 'razorpay', '262.50', '0.00', 'pay_RUCI08zHu05Cru', '2025-10-16 15:40:44', '2025-10-16 15:40:44'),
('24', '5', '23', 'razorpay', '126.00', '0.00', 'pay_RUCUH901mTpl0v', '2025-10-16 15:52:12', '2025-10-16 15:52:12'),
('25', '5', '24', 'razorpay', '136.50', '0.00', 'pay_RUDAdHGRhRPEMR', '2025-10-16 16:32:18', '2025-10-16 16:32:18'),
('26', '5', '25', 'razorpay', '136.50', '0.00', 'pay_RUDGrlYPDDK0Fy', '2025-10-16 16:38:15', '2025-10-16 16:38:15'),
('27', '5', '26', 'razorpay', '136.50', '0.00', 'pay_RUDhEd02oZPOQz', '2025-10-16 17:03:10', '2025-10-16 17:03:10'),
('28', '5', '28', 'razorpay', '472.50', '0.00', 'pay_RUELrldqCYy71f', '2025-10-16 17:41:37', '2025-10-16 17:41:37'),
('29', '5', '29', 'upi', '682.50', '0.00', 'pay_RUiqllBt3UkVp2', '2025-10-17 23:31:40', '2025-10-17 23:34:02'),
('30', '5', '30', 'cash', '220.50', '0.00', NULL, '2025-10-17 23:41:41', '2025-10-17 23:41:41'),
('31', '5', '31', 'cash', '210.00', '0.00', NULL, '2025-10-17 23:43:03', '2025-10-17 23:43:03'),
('32', '5', '32', 'card', '126.00', '0.00', NULL, '2025-10-17 23:43:40', '2025-10-17 23:43:40'),
('33', '5', '33', 'razorpay', '220.50', '0.00', 'pay_RUj5ABMuzDkVft', '2025-10-17 23:45:18', '2025-10-17 23:45:18'),
('34', '5', '35', 'bank_transfer', '63.00', '0.00', NULL, '2025-10-17 23:48:31', '2025-10-17 23:48:31'),
('35', '5', '36', 'cash', '409.50', '0.00', NULL, '2025-10-17 23:49:24', '2025-10-17 23:49:24'),
('36', '5', '37', 'cash', '273.00', '0.00', NULL, '2025-10-17 23:51:44', '2025-10-17 23:51:44'),
('38', '5', '38', 'upi', '682.50', '0.00', NULL, '2025-10-17 23:55:07', '2025-10-17 23:55:07'),
('39', '5', '39', 'cash', '409.50', '0.00', NULL, '2025-10-18 00:06:01', '2025-10-18 00:06:01'),
('40', '5', '40', 'cash', '63.00', '0.00', NULL, '2025-10-18 00:08:07', '2025-10-18 00:08:07'),
('41', '5', '42', 'cash', '220.50', '0.00', NULL, '2025-10-18 17:25:48', '2025-10-18 17:25:48'),
('43', '5', '43', 'cash', '63.00', '0.00', NULL, '2025-10-18 17:30:08', '2025-10-18 17:30:08'),
('44', '5', '44', 'upi', '420.00', '0.00', NULL, '2025-10-18 17:45:59', '2025-10-18 17:55:28'),
('45', '5', '45', 'razorpay', '136.50', '0.00', 'pay_RV2DxCEAXulsv5', '2025-10-18 18:28:48', '2025-10-18 18:28:48'),
('46', '5', '46', 'razorpay', '420.00', '0.00', 'pay_RX913zygg3h1tF', '2025-10-24 02:25:28', '2025-10-24 02:25:28'),
('47', '5', '48', 'razorpay', '420.00', '0.00', 'pay_RX97xYO5XaJJUZ', '2025-10-24 02:32:05', '2025-10-24 02:32:05'),
('48', '5', '47', 'razorpay', '420.00', '0.00', 'pay_RX94TbbHbMhN5f', '2025-10-24 02:33:07', '2025-10-24 02:33:07'),
('50', '5', '50', 'upi', '420.00', '0.00', NULL, '2025-10-24 02:40:08', '2025-10-24 02:40:08'),
('51', '5', '51', 'razorpay', '420.00', '0.00', 'pay_RXEo8vcj53JFek', '2025-10-24 08:05:24', '2025-10-24 08:05:24'),
('52', '5', '52', 'razorpay', '31.50', '0.00', 'pay_RXLnlRuXkRmfab', '2025-10-24 14:55:53', '2025-10-24 14:55:53'),
('53', '5', '54', 'upi', '420.00', '0.00', NULL, '2025-10-24 15:12:10', '2025-10-24 15:12:10'),
('54', '5', '55', 'upi', '1134.00', '0.00', NULL, '2025-10-24 15:18:12', '2025-10-24 15:18:12'),
('56', '5', '56', 'card', '640.00', '0.00', NULL, '2025-10-24 15:20:25', '2025-10-24 15:20:25'),
('57', '5', '56', 'cash', '0.50', '0.00', NULL, '2025-10-24 15:20:25', '2025-10-24 15:20:32'),
('58', '5', '58', 'razorpay', '136.50', '0.00', 'pay_RXbevsxRjFumh3', '2025-10-25 06:26:39', '2025-10-25 06:26:39'),
('59', '5', '59', 'razorpay', '126.00', '0.00', 'pay_RXbihPYglMshJc', '2025-10-25 06:30:15', '2025-10-25 06:30:15'),
('60', '5', '60', 'razorpay', '451.50', '0.00', 'pay_RXcO2QUK3Vaicu', '2025-10-25 07:09:25', '2025-10-25 07:09:25'),
('61', '5', '61', 'razorpay', '215.25', '0.00', 'pay_RXiSNL3KI554tj', '2025-10-25 13:05:35', '2025-10-25 13:05:35'),
('62', '5', '63', 'card', '189.00', '0.00', NULL, '2025-10-25 13:23:04', '2025-10-25 13:23:04'),
('63', '5', '64', 'cash', '420.00', '0.00', NULL, '2025-10-25 13:31:10', '2025-10-25 13:31:10'),
('64', '5', '65', 'razorpay', '420.00', '0.00', 'pay_RYQtycnNPA3QC8', '2025-10-27 08:34:14', '2025-10-27 08:34:14'),
('65', '5', '66', 'razorpay', '136.50', '0.00', 'pay_RYS6Im4PwH5Ms3', '2025-10-27 09:44:37', '2025-10-27 09:44:37'),
('66', '5', '67', 'razorpay', '262.50', '0.00', 'pay_Ra7UGYjSkQuBI1', '2025-10-31 14:52:44', '2025-10-31 14:52:44'),
('67', '5', '68', 'razorpay', '136.50', '0.00', 'pay_RcUFltzY11hRkG', '2025-11-06 14:26:59', '2025-11-06 14:26:59'),
('68', '5', '69', 'razorpay', '126.00', '0.00', 'pay_RdAzRsFf5QdQv9', '2025-11-08 08:15:20', '2025-11-08 08:15:20'),
('69', '5', '70', 'razorpay', '126.00', '0.00', 'pay_RjvJLBitbRBmUL', '2025-11-25 09:28:04', '2025-11-25 09:28:04'),
('70', '5', '72', 'cash', '315.00', '0.00', NULL, '2025-11-25 12:10:49', '2025-11-25 12:10:49');


-- Table structure for table `paypal_payments`
CREATE TABLE `paypal_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `paypal_payment_id` varchar(191) DEFAULT NULL,
  `order_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `payment_status` enum('pending','completed','failed') NOT NULL DEFAULT 'pending',
  `payment_date` timestamp NULL DEFAULT NULL,
  `payment_error_response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`payment_error_response`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `paypal_payments_order_id_foreign` (`order_id`),
  CONSTRAINT `paypal_payments_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `paystack_payments`
CREATE TABLE `paystack_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `paystack_payment_id` varchar(191) DEFAULT NULL,
  `order_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `payment_status` enum('pending','completed','failed') NOT NULL DEFAULT 'pending',
  `payment_date` timestamp NULL DEFAULT NULL,
  `payment_error_response` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`payment_error_response`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `paystack_payments_order_id_foreign` (`order_id`),
  CONSTRAINT `paystack_payments_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `permissions`
CREATE TABLE `permissions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `guard_name` varchar(191) NOT NULL,
  `module_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `permissions_name_guard_name_unique` (`name`,`guard_name`),
  KEY `permissions_module_id_foreign` (`module_id`),
  CONSTRAINT `permissions_module_id_foreign` FOREIGN KEY (`module_id`) REFERENCES `modules` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=93 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `permissions`
INSERT INTO `permissions` VALUES
('1', 'Create Menu', 'web', '1', NULL, NULL),
('2', 'Show Menu', 'web', '1', NULL, NULL),
('3', 'Update Menu', 'web', '1', NULL, NULL),
('4', 'Delete Menu', 'web', '1', NULL, NULL),
('5', 'Create Menu Item', 'web', '2', NULL, NULL),
('6', 'Show Menu Item', 'web', '2', NULL, NULL),
('7', 'Update Menu Item', 'web', '2', NULL, NULL),
('8', 'Delete Menu Item', 'web', '2', NULL, NULL),
('9', 'Create Item Category', 'web', '3', NULL, NULL),
('10', 'Show Item Category', 'web', '3', NULL, NULL),
('11', 'Update Item Category', 'web', '3', NULL, NULL),
('12', 'Delete Item Category', 'web', '3', NULL, NULL),
('13', 'Create Area', 'web', '4', NULL, NULL),
('14', 'Show Area', 'web', '4', NULL, NULL),
('15', 'Update Area', 'web', '4', NULL, NULL),
('16', 'Delete Area', 'web', '4', NULL, NULL),
('17', 'Create Table', 'web', '5', NULL, NULL),
('18', 'Show Table', 'web', '5', NULL, NULL),
('19', 'Update Table', 'web', '5', NULL, NULL),
('20', 'Delete Table', 'web', '5', NULL, NULL),
('21', 'Create Reservation', 'web', '6', NULL, NULL),
('22', 'Show Reservation', 'web', '6', NULL, NULL),
('23', 'Update Reservation', 'web', '6', NULL, NULL),
('24', 'Delete Reservation', 'web', '6', NULL, NULL),
('25', 'Manage KOT', 'web', '7', NULL, NULL),
('26', 'Create Order', 'web', '8', NULL, NULL),
('27', 'Show Order', 'web', '8', NULL, NULL),
('28', 'Update Order', 'web', '8', NULL, NULL),
('29', 'Delete Order', 'web', '8', NULL, NULL),
('30', 'Create Customer', 'web', '9', NULL, NULL),
('31', 'Show Customer', 'web', '9', NULL, NULL),
('32', 'Update Customer', 'web', '9', NULL, NULL),
('33', 'Delete Customer', 'web', '9', NULL, NULL),
('34', 'Create Staff Member', 'web', '10', NULL, NULL),
('35', 'Show Staff Member', 'web', '10', NULL, NULL),
('36', 'Update Staff Member', 'web', '10', NULL, NULL),
('37', 'Delete Staff Member', 'web', '10', NULL, NULL),
('38', 'Create Delivery Executive', 'web', '14', NULL, NULL),
('39', 'Show Delivery Executive', 'web', '14', NULL, NULL),
('40', 'Update Delivery Executive', 'web', '14', NULL, NULL),
('41', 'Delete Delivery Executive', 'web', '14', NULL, NULL),
('42', 'Show Payments', 'web', '11', NULL, NULL),
('43', 'Show Reports', 'web', '12', NULL, NULL),
('44', 'Manage Settings', 'web', '13', NULL, NULL),
('45', 'Manage Waiter Request', 'web', '15', NULL, NULL),
('46', 'Create Expense', 'web', '16', NULL, NULL),
('47', 'Show Expense', 'web', '16', NULL, NULL),
('48', 'Update Expense', 'web', '16', NULL, NULL),
('49', 'Delete Expense', 'web', '16', NULL, NULL),
('50', 'Create Expense Category', 'web', '16', NULL, NULL),
('51', 'Show Expense Category', 'web', '16', NULL, NULL),
('52', 'Update Expense Category', 'web', '16', NULL, NULL),
('53', 'Delete Expense Category', 'web', '16', NULL, NULL),
('54', 'Create Inventory Item', 'web', '17', NULL, NULL),
('55', 'Show Inventory Item', 'web', '17', NULL, NULL),
('56', 'Update Inventory Item', 'web', '17', NULL, NULL),
('57', 'Delete Inventory Item', 'web', '17', NULL, NULL),
('58', 'Create Inventory Movement', 'web', '17', NULL, NULL),
('59', 'Show Inventory Movement', 'web', '17', NULL, NULL),
('60', 'Update Inventory Movement', 'web', '17', NULL, NULL),
('61', 'Delete Inventory Movement', 'web', '17', NULL, NULL),
('62', 'Show Inventory Stock', 'web', '17', NULL, NULL),
('63', 'Create Unit', 'web', '17', NULL, NULL),
('64', 'Show Unit', 'web', '17', NULL, NULL),
('65', 'Update Unit', 'web', '17', NULL, NULL),
('66', 'Delete Unit', 'web', '17', NULL, NULL),
('67', 'Create Recipe', 'web', '17', NULL, NULL),
('68', 'Show Recipe', 'web', '17', NULL, NULL),
('69', 'Update Recipe', 'web', '17', NULL, NULL),
('70', 'Delete Recipe', 'web', '17', NULL, NULL),
('71', 'Create Purchase Order', 'web', '17', NULL, NULL),
('72', 'Show Purchase Order', 'web', '17', NULL, NULL),
('73', 'Update Purchase Order', 'web', '17', NULL, NULL),
('74', 'Delete Purchase Order', 'web', '17', NULL, NULL),
('75', 'Show Inventory Report', 'web', '17', NULL, NULL),
('76', 'Update Inventory Settings', 'web', '17', NULL, NULL),
('77', 'Show Supplier', 'web', '17', NULL, NULL),
('78', 'Create Supplier', 'web', '17', NULL, NULL),
('79', 'Update Supplier', 'web', '17', NULL, NULL),
('80', 'Delete Supplier', 'web', '17', NULL, NULL),
('81', 'Show Kitchen Place', 'web', '18', '2025-09-17 05:48:21', '2025-09-17 05:48:21'),
('82', 'Create Kitchen Place', 'web', '18', '2025-09-17 05:48:21', '2025-09-17 05:48:21'),
('83', 'Update Kitchen Place', 'web', '18', '2025-09-17 05:48:21', '2025-09-17 05:48:21'),
('84', 'Delete Kitchen Place', 'web', '18', '2025-09-17 05:48:21', '2025-09-17 05:48:21'),
('85', 'Manage Cash Register Settings', 'web', '20', '2025-10-15 12:16:30', '2025-10-15 12:16:30'),
('86', 'View Cash Register Reports', 'web', '20', '2025-10-15 12:16:30', '2025-10-15 12:16:30'),
('87', 'Manage Cash Denominations', 'web', '20', '2025-10-15 12:16:30', '2025-10-15 12:16:30'),
('88', 'Approve Cash Register', 'web', '20', '2025-10-15 12:16:30', '2025-10-15 12:16:30'),
('89', 'Open Cash Register', 'web', '20', '2025-10-15 12:16:30', '2025-10-15 12:16:30'),
('90', 'Update Sms Settings', 'web', '21', NULL, NULL),
('91', 'Add Discount on POS', 'web', '8', '2025-11-06 14:08:51', '2025-11-06 14:08:51'),
('92', 'Manage MultiPOS Machines', 'web', '22', '2025-11-25 10:51:07', '2025-11-25 10:51:07');


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


-- Table structure for table `pos_machines`
CREATE TABLE `pos_machines` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned NOT NULL,
  `alias` varchar(191) DEFAULT NULL,
  `public_id` varchar(191) NOT NULL,
  `token` varchar(191) NOT NULL,
  `device_id` varchar(191) DEFAULT NULL,
  `status` enum('pending','active','declined') NOT NULL DEFAULT 'pending',
  `last_seen_at` timestamp NULL DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pos_machines_public_id_unique` (`public_id`),
  UNIQUE KEY `pos_machines_token_unique` (`token`),
  KEY `pos_machines_created_by_foreign` (`created_by`),
  KEY `pos_machines_approved_by_foreign` (`approved_by`),
  KEY `pos_machines_branch_id_status_index` (`branch_id`,`status`),
  KEY `pos_machines_status_index` (`status`),
  KEY `pos_machines_device_id_branch_id_index` (`device_id`,`branch_id`),
  CONSTRAINT `pos_machines_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `pos_machines_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pos_machines_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `pos_machines`
INSERT INTO `pos_machines` VALUES
('1', '5', 'Bar', '01KAXARK3TCYFMN15AQZNGBPBK', 'R1L1DVLCpgWcJc7aRRttlDDHME7kE9aNElkrO9kSryJfzsJ5t6T1rJdWvfWcX62A', 'BQv8kkHmNMs1F6m57uSm6zvLzohZaonOpff0G8wzhPPRmuAyyOSRxkWHoy6EiUVf', 'active', NULL, '7', '7', '2025-11-25 11:00:59', NULL, '2025-11-25 11:00:45', '2025-11-25 11:00:59'),
('2', '5', 'MESS ONE POS 1764069012', '01KAXB9WH98HYADWSH4QMEA9D0', 'r4ca0K7fP0xMq9CmI6eucmNS77M0MKXv1em7ei154dLnZAbwJF2QAHpIsweFDdth', 'EWEiBobeQaNxgndp7YdT7jGOqelad03SuRx4E3PnpSrLGPULHilUHR8hbjbyzb4G', 'active', NULL, '7', '7', '2025-11-25 12:09:12', NULL, '2025-11-25 11:10:12', '2025-11-25 12:09:12'),
('3', '31', 'q', '01KBFHXSP7CRV8QKWSRSS96D4T', 'fiI5GRkScxHGqQERFSYP4INuhBUDvYrVcUvF4JobpFHat3FrjSbyAXmYFApciksr', 'BQv8kkHmNMs1F6m57uSm6zvLzohZaonOpff0G8wzhPPRmuAyyOSRxkWHoy6EiUVf', 'active', NULL, '16', '16', '2025-12-02 12:52:20', NULL, '2025-12-02 12:52:15', '2025-12-02 12:52:20');


-- Table structure for table `predefined_amounts`
CREATE TABLE `predefined_amounts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(10,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `predefined_amounts_restaurant_id_foreign` (`restaurant_id`),
  CONSTRAINT `predefined_amounts_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=121 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `predefined_amounts`
INSERT INTO `predefined_amounts` VALUES
('1', '1', '50.00', '2025-09-17 05:36:43', '2025-09-17 05:36:43'),
('2', '1', '100.00', '2025-09-17 05:36:43', '2025-09-17 05:36:43'),
('3', '1', '500.00', '2025-09-17 05:36:43', '2025-09-17 05:36:43'),
('4', '1', '1000.00', '2025-09-17 05:36:43', '2025-09-17 05:36:43'),
('5', '2', '50.00', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('6', '2', '100.00', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('7', '2', '500.00', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('8', '2', '1000.00', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('9', '3', '50.00', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('10', '3', '100.00', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('11', '3', '500.00', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('12', '3', '1000.00', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('13', '4', '50.00', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('14', '4', '100.00', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('15', '4', '500.00', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('16', '4', '1000.00', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('101', '26', '50.00', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('102', '26', '100.00', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('103', '26', '500.00', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('104', '26', '1000.00', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('105', '27', '50.00', '2025-11-08 10:32:26', '2025-11-08 10:32:26'),
('106', '27', '100.00', '2025-11-08 10:32:26', '2025-11-08 10:32:26'),
('107', '27', '500.00', '2025-11-08 10:32:26', '2025-11-08 10:32:26'),
('108', '27', '1000.00', '2025-11-08 10:32:26', '2025-11-08 10:32:26'),
('109', '28', '50.00', '2025-11-12 14:15:50', '2025-11-12 14:15:50'),
('110', '28', '100.00', '2025-11-12 14:15:50', '2025-11-12 14:15:50'),
('111', '28', '500.00', '2025-11-12 14:15:50', '2025-11-12 14:15:50'),
('112', '28', '1000.00', '2025-11-12 14:15:50', '2025-11-12 14:15:50'),
('113', '29', '50.00', '2025-11-13 15:41:43', '2025-11-13 15:41:43'),
('114', '29', '100.00', '2025-11-13 15:41:43', '2025-11-13 15:41:43'),
('115', '29', '500.00', '2025-11-13 15:41:43', '2025-11-13 15:41:43'),
('116', '29', '1000.00', '2025-11-13 15:41:43', '2025-11-13 15:41:43'),
('117', '30', '50.00', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('118', '30', '100.00', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('119', '30', '500.00', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('120', '30', '1000.00', '2025-11-15 07:46:25', '2025-11-15 07:46:25');


-- Table structure for table `print_jobs`
CREATE TABLE `print_jobs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `printer_id` bigint(20) unsigned DEFAULT NULL,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `status` enum('done','failed','printing','pending') DEFAULT 'pending',
  `error` text DEFAULT NULL,
  `response_printer` varchar(191) DEFAULT NULL,
  `image_filename` varchar(191) DEFAULT NULL,
  `printed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `print_jobs_printer_id_foreign` (`printer_id`),
  KEY `print_jobs_restaurant_id_foreign` (`restaurant_id`),
  KEY `print_jobs_branch_id_foreign` (`branch_id`),
  CONSTRAINT `print_jobs_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `print_jobs_printer_id_foreign` FOREIGN KEY (`printer_id`) REFERENCES `printers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `print_jobs_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `print_jobs`
INSERT INTO `print_jobs` VALUES
('1', '5', '4', '5', 'pending', NULL, NULL, 'x-report-3.png', NULL, '2025-10-24 15:09:26', '2025-10-24 15:09:26'),
('2', '5', '4', '5', 'pending', NULL, NULL, 'x-report-3.png', NULL, '2025-10-24 15:09:29', '2025-10-24 15:09:29');


-- Table structure for table `printers`
CREATE TABLE `printers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `printing_choice` varchar(191) DEFAULT NULL,
  `print_type` enum('image','pdf') NOT NULL DEFAULT 'image',
  `kots` text DEFAULT NULL,
  `orders` text DEFAULT NULL,
  `print_format` varchar(191) DEFAULT NULL,
  `invoice_qr_code` int(11) DEFAULT NULL,
  `open_cash_drawer` enum('yes','no') DEFAULT NULL,
  `share_name` varchar(191) DEFAULT NULL,
  `type` enum('network','windows','linux','default') DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `printer_name` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `printers_restaurant_id_foreign` (`restaurant_id`),
  KEY `printers_branch_id_foreign` (`branch_id`),
  CONSTRAINT `printers_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `printers_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `printers`
INSERT INTO `printers` VALUES
('1', '1', '1', 'Default Thermal Printer', 'browserPopupPrint', 'image', '[1]', '[1]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('2', '1', '2', 'Default Thermal Printer', 'browserPopupPrint', 'image', '[2]', '[2]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('3', '2', '3', 'Default Thermal Printer', 'browserPopupPrint', 'image', '[3]', '[3]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('4', '3', '4', 'Default Thermal Printer', 'browserPopupPrint', 'image', '[4]', '[4]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('5', '4', '5', 'Default Thermal Printer', 'browserPopupPrint', 'image', '[5]', '[5]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('27', '26', '27', 'Default Printer', 'browserPopupPrint', 'image', '[28]', '[27]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('28', '27', '28', 'Default Printer', 'browserPopupPrint', 'image', '[29]', '[28]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('29', '28', '29', 'Default Printer', 'browserPopupPrint', 'image', '[30]', '[29]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('30', '29', '30', 'Default Printer', 'browserPopupPrint', 'image', '[31]', '[30]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('31', '30', '31', 'Default Printer', 'browserPopupPrint', 'image', '[32]', '[31]', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, '2025-11-15 07:46:25', '2025-11-15 07:46:25');


-- Table structure for table `purchase_order_items`
CREATE TABLE `purchase_order_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `purchase_order_id` bigint(20) unsigned NOT NULL,
  `inventory_item_id` bigint(20) unsigned NOT NULL,
  `quantity` decimal(10,2) NOT NULL,
  `received_quantity` decimal(10,2) NOT NULL DEFAULT 0.00,
  `unit_price` decimal(10,2) NOT NULL,
  `subtotal` decimal(10,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `purchase_order_items_purchase_order_id_foreign` (`purchase_order_id`),
  KEY `purchase_order_items_inventory_item_id_foreign` (`inventory_item_id`),
  CONSTRAINT `purchase_order_items_inventory_item_id_foreign` FOREIGN KEY (`inventory_item_id`) REFERENCES `inventory_items` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_order_items_purchase_order_id_foreign` FOREIGN KEY (`purchase_order_id`) REFERENCES `purchase_orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `purchase_order_payments`
CREATE TABLE `purchase_order_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `purchase_order_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `payment_method` varchar(191) DEFAULT NULL,
  `paid_at` date DEFAULT NULL,
  `reference` varchar(191) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `purchase_order_payments_purchase_order_id_foreign` (`purchase_order_id`),
  KEY `purchase_order_payments_branch_id_foreign` (`branch_id`),
  KEY `purchase_order_payments_created_by_foreign` (`created_by`),
  CONSTRAINT `purchase_order_payments_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_order_payments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `purchase_order_payments_purchase_order_id_foreign` FOREIGN KEY (`purchase_order_id`) REFERENCES `purchase_orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `purchase_orders`
CREATE TABLE `purchase_orders` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `po_number` varchar(191) NOT NULL,
  `branch_id` bigint(20) unsigned NOT NULL,
  `supplier_id` bigint(20) unsigned NOT NULL,
  `order_date` date NOT NULL,
  `expected_delivery_date` date DEFAULT NULL,
  `total_amount` decimal(10,2) NOT NULL DEFAULT 0.00,
  `status` enum('draft','sent','received','partially_received','cancelled') NOT NULL DEFAULT 'draft',
  `notes` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `purchase_orders_po_number_unique` (`po_number`),
  KEY `purchase_orders_branch_id_foreign` (`branch_id`),
  KEY `purchase_orders_supplier_id_foreign` (`supplier_id`),
  KEY `purchase_orders_created_by_foreign` (`created_by`),
  CONSTRAINT `purchase_orders_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_orders_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_orders_supplier_id_foreign` FOREIGN KEY (`supplier_id`) REFERENCES `suppliers` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `pusher_settings`
CREATE TABLE `pusher_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `beamer_status` tinyint(1) NOT NULL DEFAULT 0,
  `instance_id` varchar(191) DEFAULT NULL,
  `beam_secret` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `pusher_broadcast` tinyint(1) NOT NULL DEFAULT 0,
  `pusher_app_id` varchar(191) DEFAULT NULL,
  `pusher_key` varchar(191) DEFAULT NULL,
  `pusher_secret` varchar(191) DEFAULT NULL,
  `pusher_cluster` varchar(191) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `pusher_settings`
INSERT INTO `pusher_settings` VALUES
('1', '1', 'd40201a7-4c2b-485d-b83e-b6df413123b9', '14A81FF2A4C0B8BAB9765B9499E25E4A635B35203593A1BF9E2FF0D177D88FC7', '2025-09-17 05:36:40', '2025-09-20 14:32:42', '1', '1700836', '74e36e339f0d30ae3742', 'e210d079d07f180d0b75', 'mt1'),
('2', '0', NULL, NULL, '2025-09-17 05:36:44', '2025-09-17 05:36:44', '0', NULL, NULL, NULL, NULL);


-- Table structure for table `razorpay_payments`
CREATE TABLE `razorpay_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `order_id` bigint(20) unsigned NOT NULL,
  `payment_date` datetime DEFAULT NULL,
  `amount` decimal(16,2) DEFAULT NULL,
  `payment_status` enum('pending','requested','declined','completed') NOT NULL DEFAULT 'pending',
  `payment_error_response` text DEFAULT NULL,
  `razorpay_order_id` varchar(191) DEFAULT NULL,
  `razorpay_payment_id` varchar(191) DEFAULT NULL,
  `razorpay_signature` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `razorpay_payments_order_id_foreign` (`order_id`),
  CONSTRAINT `razorpay_payments_order_id_foreign` FOREIGN KEY (`order_id`) REFERENCES `orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `razorpay_payments`
INSERT INTO `razorpay_payments` VALUES
('1', '3', '2025-10-07 15:27:21', '4.20', 'completed', NULL, 'order_RQdEjK4mFoyb5X', 'pay_RQdFvyYfrbz90B', 'ab3a863408775751c5e84d3f76868ec971c2549f2446b5fa3621311bc12169bf', '2025-10-07 15:25:57', '2025-10-07 15:27:21'),
('2', '4', '2025-10-08 09:01:47', '1207.50', 'completed', NULL, 'order_RQvDdMEnjpcAar', 'pay_RQvDmpMUMiPPoz', '22ab9b169944f12675b46dcd8b13f54436eae52074b0aa7be217795fffa97a7c', '2025-10-08 09:01:24', '2025-10-08 09:01:47'),
('3', '5', '2025-10-08 10:35:27', '126.00', 'completed', NULL, 'order_RQwoDoAZZBXGHS', 'pay_RQwocGZ0pLkBZU', '81827097b034d78a88c62054e893f7ee7cd9b731a79ac938a0e8034f69ef5377', '2025-10-08 10:34:44', '2025-10-08 10:35:27'),
('4', '11', '2025-10-16 12:02:53', '262.50', 'completed', NULL, 'order_RU8ZgFDUHtuxgL', 'pay_RU8a2YLhBIHi68', 'cbf12e299953cedfa42184d82d7587e43669f299dc3a85fe1fa5b5e5004be924', '2025-10-16 12:02:18', '2025-10-16 12:02:53'),
('5', '11', NULL, '262.50', 'pending', NULL, 'order_RU8aGu6rma9yue', NULL, NULL, '2025-10-16 12:02:52', '2025-10-16 12:02:53'),
('6', '12', '2025-10-16 12:33:24', '126.00', 'completed', NULL, 'order_RU95r290ofCDqi', 'pay_RU96EhIkc3IVzX', '2c1b8e51ce2307805c05ca0306ada70654e157c82b5f0f4353e9f136b12aa4cb', '2025-10-16 12:32:45', '2025-10-16 12:33:24'),
('7', '12', NULL, '126.00', 'pending', NULL, 'order_RU96VhDVxnZRlv', NULL, NULL, '2025-10-16 12:33:23', '2025-10-16 12:33:24'),
('8', '13', '2025-10-16 12:41:48', '126.00', 'completed', NULL, 'order_RU9EtwR38RMeJT', 'pay_RU9F8RuNHirFo6', '9ae8d47dcfd4115cce91ca8c66e8444c22f30f2cbdbdd9f95eea60c6251f0ec6', '2025-10-16 12:41:20', '2025-10-16 12:41:48'),
('9', '13', NULL, '126.00', 'pending', NULL, 'order_RU9FOKnMNtqAwT', NULL, NULL, '2025-10-16 12:41:48', '2025-10-16 12:41:48'),
('10', '14', '2025-10-16 12:48:50', '262.50', 'completed', NULL, 'order_RU9MH7rS6fHal7', 'pay_RU9MU5ib1JkTnn', '2e87246a9b182883aa6cbe4fbbc499494f34c47314a8d61d3c746c5e855056f1', '2025-10-16 12:48:19', '2025-10-16 12:48:50'),
('11', '16', '2025-10-16 13:21:02', '136.50', 'completed', NULL, 'order_RU9uT8B8gLO9QH', 'pay_RU9ub1bUSMzfs0', '80b2172794e73668d3fbe22a4e9aa44c88a164ad5294d8f29bbc6a443a98973e', '2025-10-16 13:20:39', '2025-10-16 13:21:02'),
('12', '17', '2025-10-16 13:30:10', '136.50', 'completed', NULL, 'order_RUA44x2L6DrVj6', 'pay_RUA4EIVkrFaSbP', '192d53a4214085f62db6940a14e7c88bbe4896c23b08e2acf705343c35a29e4d', '2025-10-16 13:29:47', '2025-10-16 13:30:10'),
('13', '17', NULL, '136.50', 'pending', NULL, 'order_RUA4TduMY0NapO', NULL, NULL, '2025-10-16 13:30:09', '2025-10-16 13:30:10'),
('14', '18', '2025-10-16 13:55:16', '126.00', 'completed', NULL, 'order_RUAUe10RDgdiX0', 'pay_RUAUlBSDMxqJTC', 'f163d9a021eb30c66282784f261c6239ee5c9e0e14b1037e5a7671380f11ea11', '2025-10-16 13:54:55', '2025-10-16 13:55:16'),
('15', '19', '2025-10-16 13:57:19', '136.50', 'completed', NULL, 'order_RUAWnRnZAitO5K', 'pay_RUAWulQPNCTG7i', '85af424b781f99b156a6649c9ab98b7f643be140baef6bd5f62fc44c9e827b44', '2025-10-16 13:56:58', '2025-10-16 13:57:19'),
('16', '20', '2025-10-16 14:01:17', '136.50', 'completed', NULL, 'order_RUAaoXIyWj6Pnj', 'pay_RUAb7Ybhnyp6VA', '2034863bb1307002ae4393bd6976c9daac62a8efb17fbee0d810c42a82667c3b', '2025-10-16 14:00:46', '2025-10-16 14:01:17'),
('17', '21', '2025-10-16 14:21:16', '136.50', 'completed', NULL, 'order_RUAw5XJg7FTmuA', 'pay_RUAwENCbQlEREv', '0668c433240c3d45d321893b3fa414bd2028b060e4224add33301eee6ecccdc8', '2025-10-16 14:20:54', '2025-10-16 14:21:16'),
('18', '22', '2025-10-16 15:40:44', '262.50', 'completed', NULL, 'order_RUCGOxOyxUxNvZ', 'pay_RUCI08zHu05Cru', 'e15c4b58cc62691d740e9b50011766ec3882250e99a66cf6b78c52ba1146d7c6', '2025-10-16 15:38:48', '2025-10-16 15:40:44'),
('19', '23', '2025-10-16 15:52:12', '126.00', 'completed', NULL, 'order_RUCU8C4Z2ZqojV', 'pay_RUCUH901mTpl0v', '335ea0a08988e95a9c2370397c987848411a3f437931af063e8f39d448d107f1', '2025-10-16 15:51:49', '2025-10-16 15:52:12'),
('20', '24', '2025-10-16 16:32:18', '136.50', 'completed', NULL, 'order_RUDATpmB7WN6xY', 'pay_RUDAdHGRhRPEMR', 'abf62034aa8c9bfa456835fc9a9b3bb031e0eb53dcc479c3b5361ee6a0c8fb5b', '2025-10-16 16:31:54', '2025-10-16 16:32:18'),
('21', '25', '2025-10-16 16:38:15', '136.50', 'completed', NULL, 'order_RUDGjP4LohHskh', 'pay_RUDGrlYPDDK0Fy', '664ecbacf5a0960ec6bc40b049b391792044eb42ec01007564e9b4e629ab9c30', '2025-10-16 16:37:50', '2025-10-16 16:38:15'),
('22', '26', '2025-10-16 17:03:09', '136.50', 'completed', NULL, 'order_RUDh6ggkDpG8ct', 'pay_RUDhEd02oZPOQz', 'b0f7210312fb43b664a7497f5af0bf158e9ab622b478b579ebe208ef7eb87688', '2025-10-16 17:02:48', '2025-10-16 17:03:09'),
('23', '28', '2025-10-16 17:41:36', '472.50', 'completed', NULL, 'order_RUELgaBQ9IIvqw', 'pay_RUELrldqCYy71f', 'bded028be187bc97db9e15840b0a6aa05901457a378c09ca502b95fe42bc067e', '2025-10-16 17:41:12', '2025-10-16 17:41:36'),
('24', '29', '2025-10-17 23:31:40', '682.50', 'completed', NULL, 'order_RUiqZ1lWvsuTay', 'pay_RUiqllBt3UkVp2', '8f6c28ff48c1ec6f7f85e18ef1f2bfff14393f19db26564f8e05683c7120ad99', '2025-10-17 23:31:15', '2025-10-17 23:31:40'),
('25', '33', '2025-10-17 23:45:18', '220.50', 'completed', NULL, 'order_RUj53Izsqgh4ZR', 'pay_RUj5ABMuzDkVft', 'df49725b5e976019c5d1aa8dd1611fe4542f4007133ee230053391bae6c6804f', '2025-10-17 23:44:58', '2025-10-17 23:45:18'),
('26', '45', '2025-10-18 18:28:48', '136.50', 'completed', NULL, 'order_RV2DoDSYF7JI2k', 'pay_RV2DxCEAXulsv5', '16e15a6f0da7f172b51ae0f14c0a4e6188f6a5c65b13e2e5c92cb96a038bb674', '2025-10-18 18:28:26', '2025-10-18 18:28:48'),
('27', '46', '2025-10-24 02:25:28', '420.00', 'completed', NULL, 'order_RX90nIKa4rcCPW', 'pay_RX913zygg3h1tF', '7f896bab839f80ee7607adcad12c701126901eda0f16ca5afaf699fb478c1cb2', '2025-10-24 02:24:58', '2025-10-24 02:25:28'),
('28', '47', '2025-10-24 02:33:07', '420.00', 'completed', NULL, 'order_RX94MQTaiKEBkp', 'pay_RX94TbbHbMhN5f', '06f166e964c8329bd5bef8de3fdf79dcabd5ef6fc2dcab7260a55c9d35614268', '2025-10-24 02:28:21', '2025-10-24 02:33:07'),
('29', '48', '2025-10-24 02:32:05', '420.00', 'completed', NULL, 'order_RX97sM6vUJm3oD', 'pay_RX97xYO5XaJJUZ', 'cb9e634ad62850629b5e617c186c4a03fc91a8c9608b77ff4d54d64f660daba4', '2025-10-24 02:31:41', '2025-10-24 02:32:05'),
('30', '49', NULL, '420.00', 'pending', NULL, 'order_RX9ArA9HPXxlgb', NULL, NULL, '2025-10-24 02:34:30', '2025-10-24 02:34:31'),
('31', '51', '2025-10-24 08:05:24', '420.00', 'completed', NULL, 'order_RXEnwXmCxf6uU3', 'pay_RXEo8vcj53JFek', '2c397cf545e4fc63b470686efdbc7d963a3a355940ccab076ff3099d57eb9391', '2025-10-24 08:04:58', '2025-10-24 08:05:24'),
('32', '52', '2025-10-24 14:55:53', '31.50', 'completed', NULL, 'order_RXLne0sIyctfut', 'pay_RXLnlRuXkRmfab', 'c04424aaa6aa0ba41e7bbef081c2996b98b04502596df2c8828ab836ebbae81b', '2025-10-24 14:55:32', '2025-10-24 14:55:53'),
('33', '58', '2025-10-25 06:26:39', '136.50', 'completed', NULL, 'order_RXbeY7hiWwAJJK', 'pay_RXbevsxRjFumh3', '58ba2ef3dd000beb4e17e54d3cfc948dd2a6130d8cb5260354307ad5de76d4fb', '2025-10-25 06:26:01', '2025-10-25 06:26:39'),
('34', '59', '2025-10-25 06:30:15', '126.00', 'completed', NULL, 'order_RXbiZPU3u2i48x', 'pay_RXbihPYglMshJc', '247a7855ef5bea1fec0ceff653d4c9e6d43426bb98c08a55b3c84c88337b8679', '2025-10-25 06:29:50', '2025-10-25 06:30:15'),
('35', '59', NULL, '126.00', 'pending', NULL, 'order_RXbizDuTKBWXAv', NULL, NULL, '2025-10-25 06:30:14', '2025-10-25 06:30:15'),
('36', '60', '2025-10-25 07:09:25', '451.50', 'completed', NULL, 'order_RXcNpG4FzZt3w6', 'pay_RXcO2QUK3Vaicu', '6607741d668bac6aba2680935e6135a3698208e912998271a8bc238108a5cbd0', '2025-10-25 07:08:53', '2025-10-25 07:09:25'),
('37', '61', '2025-10-25 13:05:35', '215.25', 'completed', NULL, 'order_RXiSF3FS6svoJe', 'pay_RXiSNL3KI554tj', '189f87e1b6e1aebbb406c67dbfe548ea1230c9f4c1fd2ff2f2c321d195ddbe17', '2025-10-25 13:05:13', '2025-10-25 13:05:35'),
('38', '62', NULL, '420.00', 'pending', NULL, 'order_RXiTnagcOa85kR', NULL, NULL, '2025-10-25 13:06:43', '2025-10-25 13:06:44'),
('39', '65', '2025-10-27 08:34:14', '420.00', 'completed', NULL, 'order_RYQtheU6Vzhk9c', 'pay_RYQtycnNPA3QC8', '33e3162f4b2721afd96da96a9227107bce34a94ce9fa7fcc8fb5bba9f07120d4', '2025-10-27 08:33:44', '2025-10-27 08:34:14'),
('40', '66', '2025-10-27 09:44:37', '136.50', 'completed', NULL, 'order_RYS65xUEvFXZLz', 'pay_RYS6Im4PwH5Ms3', '0ef28361bf1a834964f56177ebc934169c01e14ff727d13017f9db3b491abda4', '2025-10-27 09:44:10', '2025-10-27 09:44:37'),
('41', '67', '2025-10-31 14:52:43', '262.50', 'completed', NULL, 'order_Ra7U11LtBWtAri', 'pay_Ra7UGYjSkQuBI1', 'fe3d0be68e2104cd916509b14998ef0ece0b6c983108875ac17eb6bbafdeae4a', '2025-10-31 14:52:15', '2025-10-31 14:52:43'),
('42', '68', '2025-11-06 14:26:59', '136.50', 'completed', NULL, 'order_RcUFOOLzjdiIXx', 'pay_RcUFltzY11hRkG', '94df31a53e0205e41dd6d973ceb9220e7f97c83be03aab7e01e15f867033c5c8', '2025-11-06 14:26:21', '2025-11-06 14:26:59'),
('43', '69', '2025-11-08 08:15:20', '126.00', 'completed', NULL, 'order_RdAzGZUHLcfCc3', 'pay_RdAzRsFf5QdQv9', '60c37a8c08a283b5160dc2b7d178a9880dc64f986ca5954c018d82c531e266f2', '2025-11-08 08:14:55', '2025-11-08 08:15:20'),
('44', '70', '2025-11-25 09:28:04', '126.00', 'completed', NULL, 'order_RjvIzl9fO5dvt4', 'pay_RjvJLBitbRBmUL', '627890cb01b3713cea8f489519eaf99e51476dc4faf3af49f4e34a4ddd11bd61', '2025-11-25 09:27:31', '2025-11-25 09:28:04');


-- Table structure for table `receipt_settings`
CREATE TABLE `receipt_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  `show_customer_name` tinyint(1) NOT NULL DEFAULT 0,
  `show_customer_address` tinyint(1) NOT NULL DEFAULT 0,
  `show_customer_phone` tinyint(1) NOT NULL DEFAULT 0,
  `show_table_number` tinyint(1) NOT NULL DEFAULT 0,
  `payment_qr_code` varchar(191) DEFAULT NULL,
  `show_payment_qr_code` tinyint(1) NOT NULL DEFAULT 0,
  `show_waiter` tinyint(1) NOT NULL DEFAULT 0,
  `show_total_guest` tinyint(1) NOT NULL DEFAULT 0,
  `show_restaurant_logo` tinyint(1) NOT NULL DEFAULT 0,
  `show_tax` tinyint(1) NOT NULL DEFAULT 0,
  `show_payment_details` tinyint(1) NOT NULL DEFAULT 1,
  `show_payment_status` tinyint(1) NOT NULL DEFAULT 0,
  `show_order_type` tinyint(1) DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `receipt_settings_restaurant_id_foreign` (`restaurant_id`),
  CONSTRAINT `receipt_settings_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `receipt_settings`
INSERT INTO `receipt_settings` VALUES
('1', '1', '0', '0', '0', '0', NULL, '0', '0', '0', '0', '0', '1', '0', '0', '2025-09-17 05:36:43', '2025-09-17 05:36:43'),
('2', '2', '0', '0', '0', '0', NULL, '0', '0', '0', '0', '0', '1', '0', '0', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('3', '3', '0', '0', '0', '0', NULL, '0', '0', '0', '0', '1', '1', '0', '0', '2025-09-20 12:56:44', '2025-09-20 13:01:44'),
('4', '4', '1', '1', '0', '1', NULL, '0', '1', '1', '1', '1', '1', '0', '1', '2025-10-07 15:00:09', '2025-10-18 17:38:44'),
('26', '26', '0', '0', '0', '0', NULL, '0', '0', '0', '0', '0', '1', '0', '0', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('27', '27', '0', '0', '0', '0', NULL, '0', '0', '0', '0', '0', '1', '0', '0', '2025-11-08 10:32:26', '2025-11-08 10:32:26'),
('28', '28', '0', '0', '0', '0', NULL, '0', '0', '0', '0', '0', '1', '0', '0', '2025-11-12 14:15:50', '2025-11-12 14:15:50'),
('29', '29', '0', '0', '0', '0', NULL, '0', '0', '0', '0', '0', '1', '0', '0', '2025-11-13 15:41:43', '2025-11-13 15:41:43'),
('30', '30', '0', '0', '0', '0', NULL, '0', '0', '0', '0', '0', '1', '0', '0', '2025-11-15 07:46:25', '2025-11-15 07:46:25');


-- Table structure for table `recipes`
CREATE TABLE `recipes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `menu_item_id` bigint(20) unsigned DEFAULT NULL,
  `menu_item_variation_id` bigint(20) unsigned DEFAULT NULL,
  `modifier_option_id` bigint(20) unsigned DEFAULT NULL,
  `inventory_item_id` bigint(20) unsigned NOT NULL,
  `quantity` decimal(16,2) NOT NULL DEFAULT 0.00,
  `unit_id` bigint(20) unsigned NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `recipes_menu_item_id_foreign` (`menu_item_id`),
  KEY `recipes_inventory_item_id_foreign` (`inventory_item_id`),
  KEY `recipes_unit_id_foreign` (`unit_id`),
  KEY `recipes_menu_item_variation_id_foreign` (`menu_item_variation_id`),
  KEY `recipes_modifier_option_id_foreign` (`modifier_option_id`),
  CONSTRAINT `recipes_inventory_item_id_foreign` FOREIGN KEY (`inventory_item_id`) REFERENCES `inventory_items` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recipes_menu_item_id_foreign` FOREIGN KEY (`menu_item_id`) REFERENCES `menu_items` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recipes_menu_item_variation_id_foreign` FOREIGN KEY (`menu_item_variation_id`) REFERENCES `menu_item_variations` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recipes_modifier_option_id_foreign` FOREIGN KEY (`modifier_option_id`) REFERENCES `modifier_options` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `recipes_unit_id_foreign` FOREIGN KEY (`unit_id`) REFERENCES `units` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `recipes`
INSERT INTO `recipes` VALUES
('3', '503', '1', NULL, '1', '1.00', '41', '2025-10-18 17:42:32', '2025-10-18 17:42:32'),
('4', '503', '1', NULL, '2', '5.00', '45', '2025-10-18 17:42:32', '2025-10-18 17:42:32'),
('5', '503', '2', NULL, '1', '2.00', '41', '2025-10-18 17:43:01', '2025-10-18 17:43:01'),
('6', '503', '2', NULL, '2', '7.00', '45', '2025-10-18 17:43:01', '2025-10-18 17:43:01'),
('7', '503', '3', NULL, '2', '15.00', '45', '2025-10-18 17:43:27', '2025-10-18 17:43:27'),
('8', '503', '3', NULL, '1', '3.00', '41', '2025-10-18 17:43:27', '2025-10-18 17:43:27');


-- Table structure for table `reservation_settings`
CREATE TABLE `reservation_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `day_of_week` enum('Monday','Tuesday','Wednesday','Thursday','Friday','Saturday','Sunday') NOT NULL,
  `time_slot_start` time NOT NULL,
  `time_slot_end` time NOT NULL,
  `time_slot_difference` int(11) NOT NULL,
  `slot_type` enum('Breakfast','Lunch','Dinner') NOT NULL,
  `available` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `reservation_settings_branch_id_foreign` (`branch_id`),
  CONSTRAINT `reservation_settings_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=673 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `reservation_settings`
INSERT INTO `reservation_settings` VALUES
('1', '1', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('2', '1', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('3', '1', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('4', '1', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('5', '1', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('6', '1', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('7', '1', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('8', '1', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('9', '1', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('10', '1', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('11', '1', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('12', '1', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('13', '1', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('14', '1', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('15', '1', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('16', '1', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('17', '1', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('18', '1', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('19', '1', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('20', '1', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('21', '1', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('22', '2', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('23', '2', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('24', '2', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('25', '2', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('26', '2', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('27', '2', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('28', '2', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('29', '2', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('30', '2', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('31', '2', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('32', '2', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('33', '2', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('34', '2', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('35', '2', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('36', '2', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('37', '2', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('38', '2', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('39', '2', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('40', '2', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('41', '2', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('42', '2', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('43', '1', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('44', '1', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('45', '1', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('46', '1', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('47', '1', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('48', '1', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('49', '1', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('50', '1', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('51', '1', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('52', '1', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('53', '1', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('54', '1', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('55', '1', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('56', '1', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('57', '1', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('58', '1', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('59', '1', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('60', '1', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('61', '1', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('62', '1', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('63', '1', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 05:36:44', '2025-09-17 05:36:44'),
('64', '3', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('65', '3', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('66', '3', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('67', '3', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('68', '3', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('69', '3', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('70', '3', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('71', '3', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('72', '3', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('73', '3', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('74', '3', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('75', '3', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('76', '3', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('77', '3', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('78', '3', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('79', '3', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('80', '3', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('81', '3', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('82', '3', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('83', '3', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('84', '3', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-17 10:02:45', '2025-09-17 10:02:45'),
('85', '4', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('86', '4', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('87', '4', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('88', '4', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('89', '4', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('90', '4', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('91', '4', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('92', '4', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('93', '4', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('94', '4', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('95', '4', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('96', '4', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('97', '4', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('98', '4', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('99', '4', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('100', '4', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('101', '4', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('102', '4', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('103', '4', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('104', '4', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('105', '4', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-09-20 12:56:44', '2025-09-20 12:56:44'),
('106', '5', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('107', '5', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('108', '5', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('109', '5', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('110', '5', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('111', '5', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('112', '5', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('113', '5', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('114', '5', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('115', '5', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('116', '5', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('117', '5', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('118', '5', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('119', '5', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('120', '5', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('121', '5', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('122', '5', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('123', '5', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('124', '5', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('125', '5', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('126', '5', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-10-07 15:00:09', '2025-10-07 15:00:09'),
('568', '27', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('569', '27', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('570', '27', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('571', '27', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('572', '27', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('573', '27', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('574', '27', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('575', '27', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('576', '27', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('577', '27', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('578', '27', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('579', '27', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('580', '27', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('581', '27', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('582', '27', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('583', '27', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('584', '27', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('585', '27', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('586', '27', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('587', '27', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('588', '27', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-07 17:23:03', '2025-11-07 17:23:03'),
('589', '28', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('590', '28', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('591', '28', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('592', '28', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('593', '28', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('594', '28', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('595', '28', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('596', '28', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('597', '28', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('598', '28', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('599', '28', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('600', '28', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('601', '28', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('602', '28', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('603', '28', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('604', '28', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('605', '28', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('606', '28', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('607', '28', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('608', '28', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('609', '28', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-08 10:32:27', '2025-11-08 10:32:27'),
('610', '29', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('611', '29', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('612', '29', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('613', '29', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('614', '29', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('615', '29', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('616', '29', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('617', '29', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('618', '29', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('619', '29', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('620', '29', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('621', '29', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('622', '29', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('623', '29', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('624', '29', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('625', '29', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('626', '29', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('627', '29', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('628', '29', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('629', '29', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('630', '29', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-12 14:15:51', '2025-11-12 14:15:51'),
('631', '30', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('632', '30', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('633', '30', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('634', '30', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('635', '30', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('636', '30', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('637', '30', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('638', '30', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('639', '30', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('640', '30', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('641', '30', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('642', '30', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('643', '30', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('644', '30', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('645', '30', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('646', '30', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('647', '30', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('648', '30', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('649', '30', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('650', '30', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('651', '30', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-13 15:41:44', '2025-11-13 15:41:44'),
('652', '31', 'Monday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('653', '31', 'Monday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('654', '31', 'Monday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('655', '31', 'Tuesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('656', '31', 'Tuesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('657', '31', 'Tuesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('658', '31', 'Wednesday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('659', '31', 'Wednesday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('660', '31', 'Wednesday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('661', '31', 'Thursday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('662', '31', 'Thursday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('663', '31', 'Thursday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('664', '31', 'Friday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('665', '31', 'Friday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('666', '31', 'Friday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('667', '31', 'Saturday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('668', '31', 'Saturday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('669', '31', 'Saturday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('670', '31', 'Sunday', '08:00:00', '11:00:00', '30', 'Breakfast', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('671', '31', 'Sunday', '12:00:00', '17:00:00', '60', 'Lunch', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25'),
('672', '31', 'Sunday', '18:00:00', '22:00:00', '60', 'Dinner', '1', '2025-11-15 07:46:25', '2025-11-15 07:46:25');


-- Table structure for table `reservations`
CREATE TABLE `reservations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `table_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `reservation_date_time` datetime NOT NULL,
  `party_size` int(11) NOT NULL,
  `special_requests` text DEFAULT NULL,
  `reservation_status` enum('Pending','Confirmed','Checked_In','Cancelled','No_Show') NOT NULL DEFAULT 'Confirmed',
  `reservation_slot_type` enum('Breakfast','Lunch','Dinner') NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `slot_time_difference` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `reservations_table_id_foreign` (`table_id`),
  KEY `reservations_customer_id_foreign` (`customer_id`),
  KEY `reservations_branch_id_foreign` (`branch_id`),
  CONSTRAINT `reservations_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
  CONSTRAINT `reservations_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `reservations_table_id_foreign` FOREIGN KEY (`table_id`) REFERENCES `tables` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `reservations`
INSERT INTO `reservations` VALUES
('1', '5', NULL, '1', '2025-10-19 18:00:00', '4', NULL, 'Confirmed', 'Dinner', '2025-10-18 18:29:22', '2025-10-18 18:29:22', NULL),
('2', '5', NULL, '1', '2025-10-19 08:00:00', '1', NULL, 'Confirmed', 'Breakfast', '2025-10-18 18:57:06', '2025-10-18 18:57:06', NULL),
('3', '5', '8', '1', '2025-10-24 20:00:00', '4', 'Candle Light Dinner', 'Checked_In', 'Dinner', '2025-10-24 15:00:11', '2025-10-24 15:00:44', NULL);


-- Table structure for table `restaurant_charges`
CREATE TABLE `restaurant_charges` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  `charge_name` varchar(191) NOT NULL,
  `charge_type` enum('percent','fixed') NOT NULL DEFAULT 'fixed',
  `charge_value` decimal(16,2) DEFAULT NULL,
  `order_types` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT 'Supported order types: DineIn, Delivery, PickUp' CHECK (json_valid(`order_types`)),
  `is_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `restaurant_charges_restaurant_id_foreign` (`restaurant_id`),
  KEY `restaurant_charges_charge_name_index` (`charge_name`),
  CONSTRAINT `restaurant_charges_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;


-- Table structure for table `restaurant_payments`
CREATE TABLE `restaurant_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(16,2) NOT NULL,
  `status` enum('pending','paid','failed') NOT NULL DEFAULT 'pending',
  `payment_source` enum('official_site','app_sumo') NOT NULL DEFAULT 'official_site',
  `razorpay_order_id` varchar(191) DEFAULT NULL,
  `razorpay_payment_id` varchar(191) DEFAULT NULL,
  `razorpay_signature` varchar(191) DEFAULT NULL,
  `transaction_id` varchar(191) DEFAULT NULL,
  `reference_id` varchar(191) DEFAULT NULL,
  `payment_date_time` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `stripe_payment_intent` varchar(191) DEFAULT NULL,
  `stripe_session_id` text DEFAULT NULL,
  `package_id` bigint(20) unsigned DEFAULT NULL,
  `package_type` varchar(191) DEFAULT NULL,
  `currency_id` varchar(191) DEFAULT NULL,
  `flutterwave_transaction_id` varchar(191) DEFAULT NULL,
  `flutterwave_payment_ref` varchar(191) DEFAULT NULL,
  `paypal_payment_id` varchar(191) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `restaurant_payments_restaurant_id_foreign` (`restaurant_id`),
  KEY `restaurant_payments_package_id_foreign` (`package_id`),
  CONSTRAINT `restaurant_payments_package_id_foreign` FOREIGN KEY (`package_id`) REFERENCES `packages` (`id`) ON DELETE CASCADE,
  CONSTRAINT `restaurant_payments_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `restaurant_payments`
INSERT INTO `restaurant_payments` VALUES
('1', '26', '49.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-11-07 17:30:56', '2025-11-07 17:30:56', NULL, NULL, '6', 'monthly', '5', NULL, NULL, NULL),
('2', '26', '49.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-11-07 17:31:19', '2025-11-07 17:31:19', NULL, NULL, '6', 'monthly', '5', NULL, NULL, NULL),
('3', '26', '49.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-11-08 07:40:02', '2025-11-08 07:40:02', NULL, NULL, '6', 'monthly', '5', NULL, NULL, NULL),
('4', '26', '49.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-11-08 07:40:04', '2025-11-08 07:40:04', NULL, NULL, '6', 'monthly', '5', NULL, NULL, NULL),
('5', '27', '49.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-11-08 10:33:13', '2025-11-08 10:33:13', NULL, NULL, '6', 'monthly', '5', NULL, NULL, NULL),
('6', '28', '199.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:11:22', '2025-12-02 11:11:22', NULL, NULL, '10', 'monthly', '5', NULL, NULL, NULL),
('7', '28', '49.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:11:45', '2025-12-02 11:11:45', NULL, NULL, '6', 'monthly', '5', NULL, NULL, NULL),
('8', '28', '1990.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:12:26', '2025-12-02 11:12:26', NULL, NULL, '10', 'annual', '5', NULL, NULL, NULL),
('9', '30', '99.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:22:04', '2025-12-02 11:22:04', NULL, NULL, '8', 'monthly', '5', NULL, NULL, NULL),
('10', '30', '1990.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:22:37', '2025-12-02 11:22:37', NULL, NULL, '10', 'annual', '5', NULL, NULL, NULL),
('11', '30', '199.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:28:34', '2025-12-02 11:28:34', NULL, NULL, '10', 'monthly', '5', NULL, NULL, NULL),
('12', '2', '199.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:31:50', '2025-12-02 11:31:50', NULL, NULL, '10', 'monthly', '5', NULL, NULL, NULL),
('13', '2', '199.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:32:31', '2025-12-02 11:32:31', NULL, NULL, '10', 'monthly', '5', NULL, NULL, NULL),
('14', '30', '199.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:38:21', '2025-12-02 11:38:21', NULL, NULL, '10', 'monthly', '5', NULL, NULL, NULL),
('15', '30', '1990.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:41:41', '2025-12-02 11:41:43', NULL, 'cs_live_a1josShXBAS2EeXWJbJgyU8EraTX1ggHCWdS7DfZ1sfbhWHBAl1igKOz36', '10', 'annual', '5', NULL, NULL, NULL),
('16', '30', '199.00', 'pending', 'official_site', NULL, NULL, NULL, NULL, NULL, NULL, '2025-12-02 11:48:42', '2025-12-02 11:48:43', NULL, 'cs_live_a1LVInwmOgKBO0dxS0CSrwwrUZnP1DyIL2Tbm4ttqd7jdXSagcELvkCrTc', '10', 'monthly', '5', NULL, NULL, NULL);


-- Table structure for table `restaurant_taxes`
CREATE TABLE `restaurant_taxes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `restaurant_id` bigint(20) unsigned NOT NULL,
  `tax_id` varchar(191) DEFAULT NULL,
  `tax_name` varchar(191) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `restaurant_taxes_restaurant_id_foreign` (`restaurant_id`),
  CONSTRAINT `restaurant_taxes_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `restaurant_taxes`
INSERT INTO `restaurant_taxes` VALUES
('1', '3', '1234', 'HST', '2025-09-20 13:01:44', '2025-09-20 13:01:44');


-- Table structure for table `restaurants`
CREATE TABLE `restaurants` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `sub_domain` varchar(191) DEFAULT NULL,
  `name` varchar(191) NOT NULL,
  `hash` varchar(191) DEFAULT NULL,
  `address` varchar(191) DEFAULT NULL,
  `phone_number` varchar(191) DEFAULT NULL,
  `phone_code` varchar(191) DEFAULT NULL,
  `email` varchar(191) DEFAULT NULL,
  `timezone` varchar(191) NOT NULL,
  `theme_hex` varchar(191) NOT NULL,
  `theme_rgb` varchar(191) NOT NULL,
  `logo` varchar(191) DEFAULT NULL,
  `country_id` bigint(20) unsigned NOT NULL,
  `hide_new_orders` tinyint(1) NOT NULL DEFAULT 0,
  `hide_new_reservations` tinyint(1) NOT NULL DEFAULT 0,
  `hide_new_waiter_request` tinyint(1) NOT NULL DEFAULT 0,
  `currency_id` bigint(20) unsigned DEFAULT NULL,
  `license_type` enum('free','paid') NOT NULL DEFAULT 'free',
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `customer_login_required` tinyint(1) NOT NULL DEFAULT 0,
  `about_us` longtext DEFAULT NULL,
  `allow_customer_delivery_orders` tinyint(1) NOT NULL DEFAULT 1,
  `allow_customer_pickup_orders` tinyint(1) NOT NULL DEFAULT 1,
  `pickup_days_range` int(11) DEFAULT 7,
  `allow_customer_orders` tinyint(1) NOT NULL DEFAULT 1,
  `allow_dine_in_orders` tinyint(1) NOT NULL DEFAULT 1,
  `show_veg` tinyint(1) NOT NULL DEFAULT 1,
  `show_halal` tinyint(1) NOT NULL DEFAULT 0,
  `package_id` bigint(20) unsigned DEFAULT NULL,
  `package_type` varchar(191) DEFAULT NULL,
  `status` enum('active','inactive','license_expired') NOT NULL DEFAULT 'active',
  `license_expire_on` datetime DEFAULT NULL,
  `count_sms` int(11) NOT NULL DEFAULT 0,
  `total_sms` int(11) NOT NULL DEFAULT -1,
  `trial_ends_at` datetime DEFAULT NULL,
  `license_updated_at` datetime DEFAULT NULL,
  `subscription_updated_at` datetime DEFAULT NULL,
  `stripe_id` varchar(191) DEFAULT NULL,
  `pm_type` varchar(191) DEFAULT NULL,
  `pm_last_four` varchar(4) DEFAULT NULL,
  `is_waiter_request_enabled` tinyint(1) NOT NULL DEFAULT 1,
  `default_table_reservation_status` varchar(191) NOT NULL DEFAULT 'Confirmed',
  `disable_slot_minutes` int(11) NOT NULL DEFAULT 30,
  `approval_status` enum('Pending','Approved','Rejected') NOT NULL DEFAULT 'Approved',
  `rejection_reason` text DEFAULT NULL,
  `facebook_link` varchar(255) DEFAULT NULL,
  `instagram_link` varchar(255) DEFAULT NULL,
  `twitter_link` varchar(255) DEFAULT NULL,
  `yelp_link` varchar(255) DEFAULT NULL,
  `table_required` tinyint(1) NOT NULL DEFAULT 0,
  `show_logo_text` tinyint(1) NOT NULL DEFAULT 1,
  `meta_keyword` text DEFAULT NULL,
  `meta_description` longtext DEFAULT NULL,
  `upload_fav_icon_android_chrome_192` varchar(191) DEFAULT NULL,
  `upload_fav_icon_android_chrome_512` varchar(191) DEFAULT NULL,
  `upload_fav_icon_apple_touch_icon` varchar(191) DEFAULT NULL,
  `upload_favicon_16` varchar(191) DEFAULT NULL,
  `upload_favicon_32` varchar(191) DEFAULT NULL,
  `favicon` varchar(191) DEFAULT NULL,
  `is_waiter_request_enabled_on_desktop` tinyint(1) NOT NULL DEFAULT 1,
  `is_waiter_request_enabled_on_mobile` tinyint(1) NOT NULL DEFAULT 1,
  `is_waiter_request_enabled_open_by_qr` tinyint(1) NOT NULL DEFAULT 0,
  `webmanifest` varchar(191) DEFAULT NULL,
  `enable_tip_shop` tinyint(1) NOT NULL DEFAULT 1,
  `enable_tip_pos` tinyint(1) NOT NULL DEFAULT 1,
  `is_pwa_install_alert_show` tinyint(1) NOT NULL DEFAULT 0,
  `auto_confirm_orders` tinyint(1) NOT NULL DEFAULT 0,
  `restrict_qr_order_by_location` tinyint(1) NOT NULL DEFAULT 0,
  `qr_order_radius_meters` int(10) unsigned DEFAULT NULL,
  `show_order_type_options` tinyint(1) NOT NULL DEFAULT 1,
  `disable_order_type_popup` tinyint(1) NOT NULL DEFAULT 0,
  `default_order_type_id` bigint(20) unsigned DEFAULT NULL,
  `hide_menu_item_image_on_pos` tinyint(1) NOT NULL DEFAULT 0,
  `hide_menu_item_image_on_customer_site` tinyint(1) NOT NULL DEFAULT 0,
  `tax_mode` enum('order','item') NOT NULL DEFAULT 'order',
  `tax_inclusive` tinyint(1) NOT NULL DEFAULT 0,
  `customer_site_language` varchar(191) DEFAULT NULL,
  `enable_admin_reservation` tinyint(1) NOT NULL DEFAULT 1,
  `enable_customer_reservation` tinyint(1) NOT NULL DEFAULT 1,
  `minimum_party_size` int(11) NOT NULL DEFAULT 1,
  `table_lock_timeout_minutes` int(11) NOT NULL DEFAULT 10,
  PRIMARY KEY (`id`),
  KEY `restaurant_settings_country_id_foreign` (`country_id`),
  KEY `restaurant_settings_currency_id_foreign` (`currency_id`),
  KEY `restaurants_package_id_foreign` (`package_id`),
  KEY `restaurants_default_order_type_id_foreign` (`default_order_type_id`),
  CONSTRAINT `restaurant_settings_country_id_foreign` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`) ON DELETE CASCADE,
  CONSTRAINT `restaurant_settings_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `restaurants_default_order_type_id_foreign` FOREIGN KEY (`default_order_type_id`) REFERENCES `order_types` (`id`) ON DELETE SET NULL ON UPDATE CASCADE,
  CONSTRAINT `restaurants_package_id_foreign` FOREIGN KEY (`package_id`) REFERENCES `packages` (`id`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `restaurants`
INSERT INTO `restaurants` VALUES
('1', 'demo.ewiidine.ca', 'Demo Restaurant', 'demo-restaurant', '56355 Matilde Hollow Apt. 268\nEast Novella, ID 87158', '+12158702241', NULL, 'demo.restaurant@example.com', 'America/New_York', '#4F46E5', '79, 70, 229', NULL, '40', '0', '0', '0', '1', 'free', '1', '2025-09-17 05:36:43', '2025-10-17 00:00:03', '0', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '1', '1', 'monthly', 'license_expired', '2025-11-17 00:00:00', '0', '-1', '2025-10-17 05:36:43', '2025-09-17 05:36:43', '2025-09-17 05:36:43', NULL, NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, 'https://www.facebook.com/', 'https://www.instagram.com/', 'https://www.twitter.com/', NULL, '1', '1', NULL, NULL, 'android-chrome-192x192.png', 'android-chrome-512x512.png', 'apple-touch-icon.png', 'favicon-16x16.png', 'favicon-32x32.png', 'favicon.ico', '1', '1', '1', NULL, '1', '1', '1', '0', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10'),
('2', 'shaan-e-punjab.ewiidine.ca', 'Shaan-E-Punjab', 'shaan-e-punjab', 'Kosi Road', '8077708564', '91', 'agarwalanmol301@gmail.com', 'America/Toronto', '#4F46E5', '79, 70, 229', NULL, '40', '0', '0', '0', '9', 'free', '1', '2025-09-17 10:02:45', '2025-12-02 11:31:52', '0', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '0', '8', 'annual', 'active', '2027-01-02 00:00:00', '0', '-1', NULL, '2025-09-17 10:02:45', '2025-09-17 10:02:45', 'cus_TWvfsDs8vVXcfa', NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, NULL, NULL, NULL, NULL, '0', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '0', NULL, '1', '1', '0', '0', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10'),
('3', 'louisiana.ewiidine.ca', 'Louisiana Restaurant', 'louisiana-restaurant', '1250 Boul René Lévesque O Bur 2200 Montreal,Québec H3B 4W8Canada\n', '5148158188', '1', 'mario.nicolas1210@gmail.com', 'Asia/Kolkata', '#4F46E5', '79, 70, 229', NULL, '40', '0', '0', '0', '14', 'free', '1', '2025-09-20 12:56:44', '2025-10-20 00:00:03', '0', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '0', '1', 'monthly', 'license_expired', '2025-11-20 00:00:00', '0', '-1', '2025-10-20 12:56:44', '2025-09-20 12:56:44', '2025-09-20 12:56:44', NULL, NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, NULL, NULL, NULL, NULL, '0', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '0', NULL, '1', '1', '0', '0', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10'),
('4', 'iim-lucknow.ewiidine.ca', 'IIML MESS', 'iiml-mess', 'IIM L MESS', '8840974810', '91', 'madh321@gmail.com', 'Asia/Kolkata', '#059669', '5, 150, 105', 'fe8a6d219504148863cf356c9b23c71a.jpeg', '103', '0', '0', '0', '16', 'free', '1', '2025-10-07 15:00:09', '2025-12-02 11:00:53', '1', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '1', '8', 'monthly', 'active', '2026-02-02 00:00:00', '0', '-1', NULL, '2025-10-07 15:00:09', '2025-10-07 15:00:09', NULL, NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, NULL, NULL, NULL, NULL, '1', '1', NULL, NULL, 'android-chrome-192x192.png', 'android-chrome-512x512.png', 'apple-touch-icon.png', 'favicon-16x16.png', 'favicon-32x32.png', 'favicon.ico', '1', '1', '1', NULL, '1', '1', '1', '1', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10'),
('26', 'sweet.ewiidine.ca', 'sindi sweet', 'sindi-sweet', 'sector 7', '7018146782', '91', 'singhdrivingchd@gmail.com', 'Asia/Kolkata', '#4F46E5', '79, 70, 229', NULL, '103', '0', '0', '0', '126', 'free', '1', '2025-11-07 17:23:03', '2025-11-15 17:53:44', '0', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '0', '6', 'monthly', 'active', '2025-12-08 00:00:00', '0', '-1', '2025-12-07 17:23:03', '2025-11-08 07:45:45', '2025-11-08 07:45:45', 'cus_TNeoYpoQw3ldbQ', NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, NULL, NULL, NULL, NULL, '0', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '0', NULL, '1', '1', '0', '0', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10'),
('27', 'anmoldhaba.ewiidine.ca', 'Anmol Da Dhaba', 'anmol-da-dhaba', 'ssss', '7017844175', '91', 'agarwalanmol01@gmail.com', 'Asia/Kolkata', '#4F46E5', '79, 70, 229', NULL, '103', '0', '0', '0', '134', 'free', '1', '2025-11-08 10:32:26', '2025-11-08 10:35:55', '0', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '0', '6', 'monthly', 'active', '2025-12-08 10:35:53', '0', '-1', '2025-12-08 10:32:26', '2025-11-08 10:35:55', '2025-11-08 10:35:55', 'cus_TNvIKTw26JwFxU', NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, NULL, NULL, NULL, NULL, '0', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '0', NULL, '1', '1', '0', '0', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10'),
('28', 'sagar121.ewiidine.ca', 'Sagar Da Dhaba', 'sagar-da-dhaba', 'ssss', '9917382214', '91', 'dfq121@gmail.com', 'Asia/Kolkata', '#4F46E5', '79, 70, 229', NULL, '40', '0', '0', '0', '139', 'free', '1', '2025-11-12 14:15:50', '2025-12-02 11:11:24', '0', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '0', '2', 'trial', 'active', '2025-12-12 14:15:50', '0', '-1', '2025-12-12 14:15:50', '2025-11-12 14:15:50', '2025-11-12 14:15:50', 'cus_TWvLKpyp20iEwE', NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, NULL, NULL, NULL, NULL, '0', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '0', NULL, '1', '1', '0', '0', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10'),
('29', 'gopal.ewiidine.ca', 'Gopal Sweets', 'gopal-sweets', 'as', '5656565665', '91', 'golpalsweet@gmail.com', 'Asia/Kolkata', '#4F46E5', '79, 70, 229', NULL, '103', '0', '0', '0', '144', 'free', '1', '2025-11-13 15:41:43', '2025-11-13 15:43:17', '0', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '0', '6', 'monthly', 'active', '2025-12-13 00:00:00', '0', '-1', '2025-12-13 15:41:43', '2025-11-13 15:43:17', '2025-11-13 15:43:17', NULL, NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, NULL, NULL, NULL, NULL, '0', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '0', NULL, '1', '1', '0', '0', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10'),
('30', 'testing.ewiidine.ca', 'Testing E Dhaba', 'testing-e-dhaba', 'tttttt', '1233333232', '91', 'testing@gmail.com', 'Asia/Kolkata', '#4F46E5', '79, 70, 229', NULL, '40', '0', '0', '0', '149', 'free', '1', '2025-11-15 07:46:25', '2025-12-02 11:22:06', '0', '<p class=\"text-lg text-gray-600 mb-6\">\n          Welcome to our restaurant, where great food and good vibes come together! We\'re a local, family-owned spot that loves bringing people together over delicious meals and unforgettable moments. Whether you\'re here for a quick bite, a family dinner, or a celebration, we\'re all about making your time with us special.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          Our menu is packed with dishes made from fresh, quality ingredients because we believe food should taste as\n          good as it makes you feel. From our signature dishes to seasonal specials, there\'s always something to excite\n          your taste buds.\n        </p>\n        <p class=\"text-lg text-gray-600 mb-6\">\n          But we\'re not just about the food—we\'re about community. We love seeing familiar faces and welcoming new ones.\n          Our team is a fun, friendly bunch dedicated to serving you with a smile and making sure every visit feels like\n          coming home.\n        </p>\n        <p class=\"text-lg text-gray-600\">\n          So, come on in, grab a seat, and let us take care of the rest. We can\'t wait to share our love of food with\n          you!\n        </p>\n        <p class=\"text-lg text-gray-800 font-semibold mt-6\">See you soon! 🍽️✨</p>', '1', '1', '7', '1', '1', '1', '0', '6', 'monthly', 'active', '2025-12-15 07:50:26', '0', '-1', '2025-12-15 07:46:25', '2025-11-15 07:50:28', '2025-11-15 07:50:28', 'cus_TWvVLALedwBh6G', NULL, NULL, '1', 'Confirmed', '30', 'Approved', NULL, NULL, NULL, NULL, NULL, '0', '1', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1', '1', '0', NULL, '1', '1', '0', '0', '0', NULL, '1', '0', NULL, '0', '0', 'order', '0', 'en', '1', '1', '1', '10');


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

-- Dumping data for table `role_has_permissions`
INSERT INTO `role_has_permissions` VALUES
('1', '2'),
('1', '3'),
('1', '6'),
('1', '7'),
('1', '10'),
('1', '11'),
('1', '14'),
('1', '15'),
('1', '22'),
('1', '23'),
('1', '26'),
('1', '27'),
('1', '30'),
('1', '31'),
('1', '34'),
('1', '35'),
('1', '38'),
('1', '39'),
('2', '2'),
('2', '3'),
('2', '6'),
('2', '7'),
('2', '10'),
('2', '11'),
('2', '14'),
('2', '15'),
('2', '22'),
('2', '23'),
('2', '26'),
('2', '27'),
('2', '30'),
('2', '31'),
('2', '34'),
('2', '35'),
('2', '38'),
('2', '39'),
('3', '2'),
('3', '3'),
('3', '6'),
('3', '7'),
('3', '10'),
('3', '11'),
('3', '14'),
('3', '15'),
('3', '22'),
('3', '23'),
('3', '26'),
('3', '27'),
('3', '30'),
('3', '31'),
('3', '34'),
('3', '35'),
('3', '38'),
('3', '39'),
('4', '2'),
('4', '3'),
('4', '6'),
('4', '7'),
('4', '10'),
('4', '11'),
('4', '14'),
('4', '15'),
('4', '22'),
('4', '23'),
('4', '26'),
('4', '27'),
('4', '30'),
('4', '31'),
('4', '34'),
('4', '35'),
('4', '38'),
('4', '39'),
('5', '2'),
('5', '3'),
('5', '6'),
('5', '7'),
('5', '10'),
('5', '11'),
('5', '14'),
('5', '15'),
('5', '22'),
('5', '23'),
('5', '26'),
('5', '27'),
('5', '30'),
('5', '31'),
('5', '34'),
('5', '35'),
('5', '38'),
('5', '39'),
('6', '2'),
('6', '3'),
('6', '6'),
('6', '7'),
('6', '10'),
('6', '11'),
('6', '14'),
('6', '15'),
('6', '22'),
('6', '23'),
('6', '26'),
('6', '27'),
('6', '30'),
('6', '31'),
('6', '34'),
('6', '35'),
('6', '38'),
('6', '39'),
('7', '2'),
('7', '3'),
('7', '6'),
('7', '7'),
('7', '10'),
('7', '11'),
('7', '14'),
('7', '15'),
('7', '22'),
('7', '23'),
('7', '26'),
('7', '27'),
('7', '30'),
('7', '31'),
('7', '34'),
('7', '35'),
('7', '38'),
('7', '39'),
('8', '2'),
('8', '3'),
('8', '6'),
('8', '7'),
('8', '10'),
('8', '11'),
('8', '14'),
('8', '15'),
('8', '22'),
('8', '23'),
('8', '26'),
('8', '27'),
('8', '30'),
('8', '31'),
('8', '34'),
('8', '35'),
('8', '38'),
('8', '39'),
('9', '2'),
('9', '3'),
('9', '6'),
('9', '7'),
('9', '10'),
('9', '11'),
('9', '14'),
('9', '15'),
('9', '22'),
('9', '23'),
('9', '26'),
('9', '27'),
('9', '30'),
('9', '31'),
('9', '34'),
('9', '35'),
('9', '38'),
('9', '39'),
('10', '2'),
('10', '3'),
('10', '6'),
('10', '7'),
('10', '10'),
('10', '11'),
('10', '14'),
('10', '15'),
('10', '22'),
('10', '23'),
('10', '26'),
('10', '27'),
('10', '30'),
('10', '31'),
('10', '34'),
('10', '35'),
('10', '38'),
('10', '39'),
('11', '2'),
('11', '3'),
('11', '6'),
('11', '7'),
('11', '10'),
('11', '11'),
('11', '14'),
('11', '15'),
('11', '22'),
('11', '23'),
('11', '26'),
('11', '27'),
('11', '30'),
('11', '31'),
('11', '34'),
('11', '35'),
('11', '38'),
('11', '39'),
('12', '2'),
('12', '3'),
('12', '6'),
('12', '7'),
('12', '10'),
('12', '11'),
('12', '14'),
('12', '15'),
('12', '22'),
('12', '23'),
('12', '26'),
('12', '27'),
('12', '30'),
('12', '31'),
('12', '34'),
('12', '35'),
('12', '38'),
('12', '39'),
('13', '2'),
('13', '3'),
('13', '6'),
('13', '7'),
('13', '10'),
('13', '11'),
('13', '14'),
('13', '15'),
('13', '22'),
('13', '23'),
('13', '26'),
('13', '27'),
('13', '30'),
('13', '31'),
('13', '34'),
('13', '35'),
('13', '38'),
('13', '39'),
('14', '2'),
('14', '3'),
('14', '6'),
('14', '7'),
('14', '10'),
('14', '11'),
('14', '14'),
('14', '15'),
('14', '22'),
('14', '23'),
('14', '26'),
('14', '27'),
('14', '30'),
('14', '31'),
('14', '34'),
('14', '35'),
('14', '38'),
('14', '39'),
('15', '2'),
('15', '3'),
('15', '6'),
('15', '7'),
('15', '10'),
('15', '11'),
('15', '14'),
('15', '15'),
('15', '22'),
('15', '23'),
('15', '26'),
('15', '27'),
('15', '30'),
('15', '31'),
('15', '34'),
('15', '35'),
('15', '38'),
('15', '39'),
('16', '2'),
('16', '3'),
('16', '6'),
('16', '7'),
('16', '10'),
('16', '11'),
('16', '14'),
('16', '15'),
('16', '22'),
('16', '23'),
('16', '26'),
('16', '27'),
('16', '30'),
('16', '31'),
('16', '34'),
('16', '35'),
('16', '38'),
('16', '39'),
('17', '2'),
('17', '3'),
('17', '6'),
('17', '7'),
('17', '10'),
('17', '11'),
('17', '14'),
('17', '15'),
('17', '22'),
('17', '23'),
('17', '26'),
('17', '27'),
('17', '30'),
('17', '31'),
('17', '34'),
('17', '35'),
('17', '38'),
('17', '39'),
('18', '2'),
('18', '3'),
('18', '6'),
('18', '7'),
('18', '10'),
('18', '11'),
('18', '14'),
('18', '15'),
('18', '22'),
('18', '23'),
('18', '26'),
('18', '27'),
('18', '30'),
('18', '31'),
('18', '34'),
('18', '35'),
('18', '38'),
('18', '39'),
('19', '2'),
('19', '3'),
('19', '6'),
('19', '7'),
('19', '10'),
('19', '11'),
('19', '14'),
('19', '15'),
('19', '22'),
('19', '23'),
('19', '26'),
('19', '27'),
('19', '30'),
('19', '31'),
('19', '34'),
('19', '35'),
('19', '38'),
('19', '39'),
('20', '2'),
('20', '3'),
('20', '6'),
('20', '7'),
('20', '10'),
('20', '11'),
('20', '14'),
('20', '15'),
('20', '22'),
('20', '23'),
('20', '26'),
('20', '27'),
('20', '30'),
('20', '31'),
('20', '34'),
('20', '35'),
('20', '38'),
('20', '39'),
('21', '2'),
('21', '3'),
('21', '6'),
('21', '7'),
('21', '10'),
('21', '11'),
('21', '14'),
('21', '15'),
('21', '22'),
('21', '23'),
('21', '26'),
('21', '27'),
('21', '30'),
('21', '31'),
('21', '34'),
('21', '35'),
('21', '38'),
('21', '39'),
('22', '2'),
('22', '3'),
('22', '6'),
('22', '7'),
('22', '10'),
('22', '11'),
('22', '14'),
('22', '15'),
('22', '22'),
('22', '23'),
('22', '26'),
('22', '27'),
('22', '30'),
('22', '31'),
('22', '34'),
('22', '35'),
('22', '38'),
('22', '39'),
('23', '2'),
('23', '3'),
('23', '6'),
('23', '7'),
('23', '10'),
('23', '11'),
('23', '14'),
('23', '15'),
('23', '22'),
('23', '23'),
('23', '26'),
('23', '27'),
('23', '30'),
('23', '31'),
('23', '34'),
('23', '35'),
('23', '38'),
('23', '39'),
('24', '2'),
('24', '3'),
('24', '6'),
('24', '7'),
('24', '10'),
('24', '11'),
('24', '14'),
('24', '15'),
('24', '22'),
('24', '23'),
('24', '26'),
('24', '27'),
('24', '30'),
('24', '31'),
('24', '34'),
('24', '35'),
('24', '38'),
('24', '39'),
('25', '2'),
('25', '3'),
('25', '6'),
('25', '7'),
('25', '10'),
('25', '11'),
('25', '14'),
('25', '15'),
('25', '16'),
('25', '17'),
('25', '22'),
('25', '23'),
('25', '26'),
('25', '27'),
('25', '30'),
('25', '31'),
('25', '34'),
('25', '35'),
('25', '38'),
('25', '39'),
('26', '2'),
('26', '3'),
('26', '6'),
('26', '7'),
('26', '10'),
('26', '11'),
('26', '14'),
('26', '15'),
('26', '22'),
('26', '23'),
('26', '26'),
('26', '27'),
('26', '30'),
('26', '31'),
('26', '34'),
('26', '35'),
('26', '38'),
('26', '39'),
('27', '2'),
('27', '3'),
('27', '6'),
('27', '7'),
('27', '10'),
('27', '11'),
('27', '14'),
('27', '15'),
('27', '16'),
('27', '17'),
('27', '22'),
('27', '23'),
('27', '26'),
('27', '27'),
('27', '30'),
('27', '31'),
('27', '34'),
('27', '35'),
('27', '38'),
('27', '39'),
('28', '2'),
('28', '3'),
('28', '6'),
('28', '7'),
('28', '10'),
('28', '11'),
('28', '14'),
('28', '15'),
('28', '16'),
('28', '22'),
('28', '23'),
('28', '26'),
('28', '27'),
('28', '30'),
('28', '31'),
('28', '34'),
('28', '35'),
('28', '38'),
('28', '39'),
('29', '2'),
('29', '3'),
('29', '6'),
('29', '7'),
('29', '10'),
('29', '11'),
('29', '14'),
('29', '15'),
('29', '22'),
('29', '23'),
('29', '26'),
('29', '27'),
('29', '30'),
('29', '31'),
('29', '34'),
('29', '35'),
('29', '38'),
('29', '39'),
('30', '2'),
('30', '3'),
('30', '6'),
('30', '7'),
('30', '10'),
('30', '11'),
('30', '14'),
('30', '15'),
('30', '22'),
('30', '23'),
('30', '26'),
('30', '27'),
('30', '30'),
('30', '31'),
('30', '34'),
('30', '35'),
('30', '38'),
('30', '39'),
('31', '2'),
('31', '3'),
('31', '6'),
('31', '7'),
('31', '10'),
('31', '11'),
('31', '14'),
('31', '15'),
('31', '22'),
('31', '23'),
('31', '26'),
('31', '27'),
('31', '30'),
('31', '31'),
('31', '34'),
('31', '35'),
('31', '38'),
('31', '39'),
('32', '2'),
('32', '3'),
('32', '6'),
('32', '7'),
('32', '10'),
('32', '11'),
('32', '14'),
('32', '15'),
('32', '22'),
('32', '23'),
('32', '26'),
('32', '27'),
('32', '30'),
('32', '31'),
('32', '34'),
('32', '35'),
('32', '38'),
('32', '39'),
('33', '2'),
('33', '3'),
('33', '6'),
('33', '7'),
('33', '10'),
('33', '11'),
('33', '14'),
('33', '15'),
('33', '22'),
('33', '23'),
('33', '26'),
('33', '27'),
('33', '30'),
('33', '31'),
('33', '34'),
('33', '35'),
('33', '38'),
('33', '39'),
('34', '2'),
('34', '3'),
('34', '6'),
('34', '7'),
('34', '10'),
('34', '11'),
('34', '14'),
('34', '15'),
('34', '22'),
('34', '23'),
('34', '26'),
('34', '27'),
('34', '30'),
('34', '31'),
('34', '34'),
('34', '35'),
('34', '38'),
('34', '39'),
('35', '2'),
('35', '3'),
('35', '6'),
('35', '7'),
('35', '10'),
('35', '11'),
('35', '14'),
('35', '15'),
('35', '22'),
('35', '23'),
('35', '26'),
('35', '27'),
('35', '30'),
('35', '31'),
('35', '34'),
('35', '35'),
('35', '38'),
('35', '39'),
('36', '2'),
('36', '3'),
('36', '6'),
('36', '7'),
('36', '10'),
('36', '11'),
('36', '14'),
('36', '15'),
('36', '22'),
('36', '23'),
('36', '26'),
('36', '27'),
('36', '30'),
('36', '31'),
('36', '34'),
('36', '35'),
('36', '38'),
('36', '39'),
('37', '2'),
('37', '3'),
('37', '6'),
('37', '7'),
('37', '10'),
('37', '11'),
('37', '14'),
('37', '15'),
('37', '22'),
('37', '23'),
('37', '26'),
('37', '27'),
('37', '30'),
('37', '31'),
('37', '34'),
('37', '35'),
('37', '38'),
('37', '39'),
('38', '2'),
('38', '3'),
('38', '6'),
('38', '7'),
('38', '10'),
('38', '11'),
('38', '14'),
('38', '15'),
('38', '22'),
('38', '23'),
('38', '26'),
('38', '27'),
('38', '30'),
('38', '31'),
('38', '34'),
('38', '35'),
('38', '38'),
('38', '39'),
('39', '2'),
('39', '3'),
('39', '6'),
('39', '7'),
('39', '10'),
('39', '11'),
('39', '14'),
('39', '15'),
('39', '22'),
('39', '23'),
('39', '26'),
('39', '27'),
('39', '30'),
('39', '31'),
('39', '34'),
('39', '35'),
('39', '38'),
('39', '39'),
('40', '2'),
('40', '3'),
('40', '6'),
('40', '7'),
('40', '10'),
('40', '11'),
('40', '14'),
('40', '15'),
('40', '22'),
('40', '23'),
('40', '26'),
('40', '27'),
('40', '30'),
('40', '31'),
('40', '34'),
('40', '35'),
('40', '38'),
('40', '39'),
('41', '2'),
('41', '3'),
('41', '6'),
('41', '7'),
('41', '10'),
('41', '11'),
('41', '14'),
('41', '15'),
('41', '22'),
('41', '23'),
('41', '26'),
('41', '27'),
('41', '30'),
('41', '31'),
('41', '34'),
('41', '35'),
('41', '38'),
('41', '39'),
('42', '2'),
('42', '3'),
('42', '6'),
('42', '7'),
('42', '10'),
('42', '11'),
('42', '14'),
('42', '15'),
('42', '22'),
('42', '23'),
('42', '26'),
('42', '27'),
('42', '30'),
('42', '31'),
('42', '34'),
('42', '35'),
('42', '38'),
('42', '39'),
('43', '2'),
('43', '3'),
('43', '6'),
('43', '7'),
('43', '10'),
('43', '11'),
('43', '14'),
('43', '15'),
('43', '22'),
('43', '23'),
('43', '26'),
('43', '27'),
('43', '30'),
('43', '31'),
('43', '34'),
('43', '35'),
('43', '38'),
('43', '39'),
('44', '2'),
('44', '3'),
('44', '6'),
('44', '7'),
('44', '10'),
('44', '11'),
('44', '14'),
('44', '15'),
('44', '22'),
('44', '23'),
('44', '26'),
('44', '27'),
('44', '30'),
('44', '31'),
('44', '34'),
('44', '35'),
('44', '38'),
('44', '39'),
('45', '2'),
('45', '3'),
('45', '6'),
('45', '7'),
('45', '10'),
('45', '11'),
('45', '14'),
('45', '15'),
('45', '22'),
('45', '23'),
('45', '26'),
('45', '27'),
('45', '30'),
('45', '31'),
('45', '34'),
('45', '35'),
('45', '38'),
('45', '39'),
('46', '2'),
('46', '3'),
('46', '6'),
('46', '7'),
('46', '10'),
('46', '11'),
('46', '14'),
('46', '15'),
('46', '22'),
('46', '23'),
('46', '26'),
('46', '27'),
('46', '30'),
('46', '31'),
('46', '34'),
('46', '35'),
('46', '38'),
('46', '39'),
('47', '2'),
('47', '3'),
('47', '6'),
('47', '7'),
('47', '10'),
('47', '11'),
('47', '14'),
('47', '15'),
('47', '22'),
('47', '23'),
('47', '26'),
('47', '27'),
('47', '30'),
('47', '31'),
('47', '34'),
('47', '35'),
('47', '38'),
('47', '39'),
('48', '2'),
('48', '3'),
('48', '6'),
('48', '7'),
('48', '10'),
('48', '11'),
('48', '14'),
('48', '15'),
('48', '22'),
('48', '23'),
('48', '26'),
('48', '27'),
('48', '30'),
('48', '31'),
('48', '34'),
('48', '35'),
('48', '38'),
('48', '39'),
('49', '2'),
('49', '3'),
('49', '6'),
('49', '7'),
('49', '10'),
('49', '11'),
('49', '14'),
('49', '15'),
('49', '22'),
('49', '23'),
('49', '26'),
('49', '27'),
('49', '30'),
('49', '31'),
('49', '34'),
('49', '35'),
('49', '38'),
('49', '39'),
('50', '2'),
('50', '3'),
('50', '6'),
('50', '7'),
('50', '10'),
('50', '11'),
('50', '14'),
('50', '15'),
('50', '22'),
('50', '23'),
('50', '26'),
('50', '27'),
('50', '30'),
('50', '31'),
('50', '34'),
('50', '35'),
('50', '38'),
('50', '39'),
('51', '2'),
('51', '3'),
('51', '6'),
('51', '7'),
('51', '10'),
('51', '11'),
('51', '14'),
('51', '15'),
('51', '22'),
('51', '23'),
('51', '26'),
('51', '27'),
('51', '30'),
('51', '31'),
('51', '34'),
('51', '35'),
('51', '38'),
('51', '39'),
('52', '2'),
('52', '3'),
('52', '6'),
('52', '7'),
('52', '10'),
('52', '11'),
('52', '14'),
('52', '15'),
('52', '22'),
('52', '23'),
('52', '26'),
('52', '27'),
('52', '30'),
('52', '31'),
('52', '34'),
('52', '35'),
('52', '38'),
('52', '39'),
('53', '2'),
('53', '3'),
('53', '6'),
('53', '7'),
('53', '10'),
('53', '11'),
('53', '14'),
('53', '15'),
('53', '22'),
('53', '23'),
('53', '26'),
('53', '27'),
('53', '30'),
('53', '31'),
('53', '34'),
('53', '35'),
('53', '38'),
('53', '39'),
('54', '2'),
('54', '3'),
('54', '6'),
('54', '7'),
('54', '10'),
('54', '11'),
('54', '14'),
('54', '15'),
('54', '22'),
('54', '23'),
('54', '26'),
('54', '27'),
('54', '30'),
('54', '31'),
('54', '34'),
('54', '35'),
('54', '38'),
('54', '39'),
('55', '2'),
('55', '3'),
('55', '6'),
('55', '7'),
('55', '10'),
('55', '11'),
('55', '14'),
('55', '15'),
('55', '22'),
('55', '23'),
('55', '26'),
('55', '27'),
('55', '30'),
('55', '31'),
('55', '34'),
('55', '35'),
('55', '38'),
('55', '39'),
('56', '2'),
('56', '3'),
('56', '6'),
('56', '7'),
('56', '10');

INSERT INTO `role_has_permissions` VALUES
('56', '11'),
('56', '14'),
('56', '15'),
('56', '22'),
('56', '23'),
('56', '26'),
('56', '27'),
('56', '30'),
('56', '31'),
('56', '34'),
('56', '35'),
('56', '38'),
('56', '39'),
('57', '2'),
('57', '3'),
('57', '6'),
('57', '7'),
('57', '10'),
('57', '11'),
('57', '14'),
('57', '15'),
('57', '22'),
('57', '23'),
('57', '26'),
('57', '27'),
('57', '30'),
('57', '31'),
('57', '34'),
('57', '35'),
('57', '38'),
('57', '39'),
('58', '2'),
('58', '3'),
('58', '6'),
('58', '7'),
('58', '10'),
('58', '11'),
('58', '14'),
('58', '15'),
('58', '22'),
('58', '23'),
('58', '26'),
('58', '27'),
('58', '30'),
('58', '31'),
('58', '34'),
('58', '35'),
('58', '38'),
('58', '39'),
('59', '2'),
('59', '3'),
('59', '6'),
('59', '7'),
('59', '10'),
('59', '11'),
('59', '14'),
('59', '15'),
('59', '22'),
('59', '23'),
('59', '26'),
('59', '27'),
('59', '30'),
('59', '31'),
('59', '34'),
('59', '35'),
('59', '38'),
('59', '39'),
('60', '2'),
('60', '3'),
('60', '6'),
('60', '7'),
('60', '10'),
('60', '11'),
('60', '14'),
('60', '15'),
('60', '22'),
('60', '23'),
('60', '26'),
('60', '27'),
('60', '30'),
('60', '31'),
('60', '34'),
('60', '35'),
('60', '38'),
('60', '39'),
('61', '2'),
('61', '3'),
('61', '6'),
('61', '7'),
('61', '10'),
('61', '11'),
('61', '14'),
('61', '15'),
('61', '22'),
('61', '23'),
('61', '26'),
('61', '27'),
('61', '30'),
('61', '31'),
('61', '34'),
('61', '35'),
('61', '38'),
('61', '39'),
('62', '2'),
('62', '3'),
('62', '6'),
('62', '7'),
('62', '10'),
('62', '11'),
('62', '14'),
('62', '15'),
('62', '22'),
('62', '23'),
('62', '26'),
('62', '27'),
('62', '30'),
('62', '31'),
('62', '34'),
('62', '35'),
('62', '38'),
('62', '39'),
('63', '2'),
('63', '3'),
('63', '6'),
('63', '7'),
('63', '10'),
('63', '11'),
('63', '14'),
('63', '15'),
('63', '22'),
('63', '23'),
('63', '26'),
('63', '27'),
('63', '30'),
('63', '31'),
('63', '34'),
('63', '35'),
('63', '38'),
('63', '39'),
('64', '2'),
('64', '3'),
('64', '6'),
('64', '7'),
('64', '10'),
('64', '11'),
('64', '14'),
('64', '15'),
('64', '22'),
('64', '23'),
('64', '26'),
('64', '27'),
('64', '30'),
('64', '31'),
('64', '34'),
('64', '35'),
('64', '38'),
('64', '39'),
('65', '2'),
('65', '3'),
('65', '6'),
('65', '7'),
('65', '10'),
('65', '11'),
('65', '14'),
('65', '15'),
('65', '22'),
('65', '23'),
('65', '26'),
('65', '27'),
('65', '30'),
('65', '31'),
('65', '34'),
('65', '35'),
('65', '38'),
('65', '39'),
('66', '2'),
('66', '3'),
('66', '6'),
('66', '7'),
('66', '10'),
('66', '11'),
('66', '14'),
('66', '15'),
('66', '22'),
('66', '23'),
('66', '26'),
('66', '27'),
('66', '30'),
('66', '31'),
('66', '34'),
('66', '35'),
('66', '38'),
('66', '39'),
('67', '2'),
('67', '3'),
('67', '6'),
('67', '7'),
('67', '10'),
('67', '11'),
('67', '14'),
('67', '15'),
('67', '22'),
('67', '23'),
('67', '26'),
('67', '27'),
('67', '30'),
('67', '31'),
('67', '34'),
('67', '35'),
('67', '38'),
('67', '39'),
('68', '2'),
('68', '3'),
('68', '6'),
('68', '7'),
('68', '10'),
('68', '11'),
('68', '14'),
('68', '15'),
('68', '22'),
('68', '23'),
('68', '26'),
('68', '27'),
('68', '30'),
('68', '31'),
('68', '34'),
('68', '35'),
('68', '38'),
('68', '39'),
('69', '2'),
('69', '3'),
('69', '6'),
('69', '7'),
('69', '10'),
('69', '11'),
('69', '14'),
('69', '15'),
('69', '22'),
('69', '23'),
('69', '26'),
('69', '27'),
('69', '30'),
('69', '31'),
('69', '34'),
('69', '35'),
('69', '38'),
('69', '39'),
('70', '2'),
('70', '3'),
('70', '6'),
('70', '7'),
('70', '10'),
('70', '11'),
('70', '14'),
('70', '15'),
('70', '22'),
('70', '23'),
('70', '26'),
('70', '27'),
('70', '30'),
('70', '31'),
('70', '34'),
('70', '35'),
('70', '38'),
('70', '39'),
('71', '2'),
('71', '3'),
('71', '6'),
('71', '7'),
('71', '10'),
('71', '11'),
('71', '14'),
('71', '15'),
('71', '22'),
('71', '23'),
('71', '26'),
('71', '27'),
('71', '30'),
('71', '31'),
('71', '34'),
('71', '35'),
('71', '38'),
('71', '39'),
('72', '2'),
('72', '3'),
('72', '6'),
('72', '7'),
('72', '10'),
('72', '11'),
('72', '14'),
('72', '15'),
('72', '22'),
('72', '23'),
('72', '26'),
('72', '27'),
('72', '30'),
('72', '31'),
('72', '34'),
('72', '35'),
('72', '38'),
('72', '39'),
('73', '2'),
('73', '3'),
('73', '6'),
('73', '7'),
('73', '10'),
('73', '11'),
('73', '14'),
('73', '15'),
('73', '22'),
('73', '23'),
('73', '26'),
('73', '27'),
('73', '30'),
('73', '31'),
('73', '34'),
('73', '35'),
('73', '38'),
('73', '39'),
('74', '2'),
('74', '3'),
('74', '6'),
('74', '7'),
('74', '10'),
('74', '11'),
('74', '14'),
('74', '15'),
('74', '22'),
('74', '23'),
('74', '26'),
('74', '27'),
('74', '30'),
('74', '31'),
('74', '34'),
('74', '35'),
('74', '38'),
('74', '39'),
('75', '2'),
('75', '3'),
('75', '6'),
('75', '7'),
('75', '10'),
('75', '11'),
('75', '14'),
('75', '15'),
('75', '22'),
('75', '23'),
('75', '26'),
('75', '27'),
('75', '30'),
('75', '31'),
('75', '34'),
('75', '35'),
('75', '38'),
('75', '39'),
('76', '2'),
('76', '3'),
('76', '6'),
('76', '7'),
('76', '10'),
('76', '11'),
('76', '14'),
('76', '15'),
('76', '22'),
('76', '23'),
('76', '26'),
('76', '27'),
('76', '30'),
('76', '31'),
('76', '34'),
('76', '35'),
('76', '38'),
('76', '39'),
('77', '2'),
('77', '3'),
('77', '6'),
('77', '7'),
('77', '10'),
('77', '11'),
('77', '14'),
('77', '15'),
('77', '22'),
('77', '23'),
('77', '26'),
('77', '27'),
('77', '30'),
('77', '31'),
('77', '34'),
('77', '35'),
('77', '38'),
('77', '39'),
('78', '2'),
('78', '3'),
('78', '6'),
('78', '7'),
('78', '10'),
('78', '11'),
('78', '14'),
('78', '15'),
('78', '22'),
('78', '23'),
('78', '26'),
('78', '27'),
('78', '30'),
('78', '31'),
('78', '34'),
('78', '35'),
('78', '38'),
('78', '39'),
('79', '2'),
('79', '3'),
('79', '6'),
('79', '7'),
('79', '10'),
('79', '11'),
('79', '14'),
('79', '15'),
('79', '22'),
('79', '23'),
('79', '26'),
('79', '27'),
('79', '30'),
('79', '31'),
('79', '34'),
('79', '35'),
('79', '38'),
('79', '39'),
('80', '2'),
('80', '3'),
('80', '6'),
('80', '7'),
('80', '10'),
('80', '11'),
('80', '14'),
('80', '15'),
('80', '22'),
('80', '23'),
('80', '26'),
('80', '27'),
('80', '30'),
('80', '31'),
('80', '34'),
('80', '35'),
('80', '38'),
('80', '39'),
('81', '2'),
('81', '3'),
('81', '6'),
('81', '7'),
('81', '10'),
('81', '11'),
('81', '14'),
('81', '15'),
('81', '22'),
('81', '23'),
('81', '26'),
('81', '27'),
('81', '30'),
('81', '31'),
('81', '34'),
('81', '35'),
('81', '38'),
('81', '39'),
('82', '2'),
('82', '3'),
('82', '6'),
('82', '7'),
('82', '10'),
('82', '11'),
('82', '14'),
('82', '15'),
('82', '22'),
('82', '23'),
('82', '26'),
('82', '27'),
('82', '30'),
('82', '31'),
('82', '34'),
('82', '35'),
('82', '38'),
('82', '39'),
('83', '2'),
('83', '3'),
('83', '6'),
('83', '7'),
('83', '10'),
('83', '11'),
('83', '14'),
('83', '15'),
('83', '22'),
('83', '23'),
('83', '26'),
('83', '27'),
('83', '30'),
('83', '31'),
('83', '34'),
('83', '35'),
('83', '38'),
('83', '39'),
('84', '2'),
('84', '3'),
('84', '6'),
('84', '7'),
('84', '10'),
('84', '11'),
('84', '14'),
('84', '15'),
('84', '22'),
('84', '23'),
('84', '26'),
('84', '27'),
('84', '30'),
('84', '31'),
('84', '34'),
('84', '35'),
('84', '38'),
('84', '39'),
('85', '2'),
('85', '3'),
('85', '6'),
('85', '7'),
('85', '10'),
('85', '11'),
('85', '14'),
('85', '15'),
('85', '22'),
('85', '23'),
('85', '26'),
('85', '27'),
('85', '30'),
('85', '31'),
('85', '34'),
('85', '35'),
('85', '38'),
('85', '39'),
('86', '2'),
('86', '3'),
('86', '6'),
('86', '7'),
('86', '10'),
('86', '11'),
('86', '14'),
('86', '15'),
('86', '22'),
('86', '23'),
('86', '26'),
('86', '27'),
('86', '30'),
('86', '31'),
('86', '34'),
('86', '35'),
('86', '38'),
('86', '39'),
('87', '2'),
('87', '3'),
('87', '6'),
('87', '7'),
('87', '10'),
('87', '11'),
('87', '14'),
('87', '15'),
('87', '22'),
('87', '23'),
('87', '26'),
('87', '27'),
('87', '30'),
('87', '31'),
('87', '34'),
('87', '35'),
('87', '38'),
('87', '39'),
('88', '2'),
('88', '3'),
('88', '6'),
('88', '7'),
('88', '10'),
('88', '11'),
('88', '14'),
('88', '15'),
('88', '22'),
('88', '23'),
('88', '26'),
('88', '27'),
('88', '30'),
('88', '31'),
('88', '34'),
('88', '35'),
('88', '38'),
('88', '39'),
('89', '2'),
('89', '3'),
('89', '6'),
('89', '7'),
('89', '10'),
('89', '11'),
('89', '14'),
('89', '15'),
('89', '22'),
('89', '23'),
('89', '26'),
('89', '27'),
('89', '30'),
('89', '31'),
('89', '34'),
('89', '35'),
('89', '38'),
('89', '39'),
('90', '2'),
('90', '3'),
('90', '6'),
('90', '7'),
('90', '10'),
('90', '11'),
('90', '14'),
('90', '15'),
('90', '22'),
('90', '23'),
('90', '26'),
('90', '27'),
('90', '30'),
('90', '31'),
('90', '34'),
('90', '35'),
('90', '38'),
('90', '39'),
('91', '2'),
('91', '3'),
('91', '6'),
('91', '7'),
('91', '10'),
('91', '11'),
('91', '14'),
('91', '15'),
('91', '22'),
('91', '23'),
('91', '26'),
('91', '27'),
('91', '30'),
('91', '31'),
('91', '34'),
('91', '35'),
('91', '38'),
('91', '39'),
('92', '2'),
('92', '3'),
('92', '6'),
('92', '7'),
('92', '10'),
('92', '11'),
('92', '14'),
('92', '15'),
('92', '22'),
('92', '23'),
('92', '26'),
('92', '27'),
('92', '30'),
('92', '31'),
('92', '34'),
('92', '35'),
('92', '38'),
('92', '39');


-- Table structure for table `roles`
CREATE TABLE `roles` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(191) NOT NULL,
  `display_name` varchar(191) DEFAULT NULL,
  `guard_name` varchar(191) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `restaurant_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `roles_name_guard_name_unique` (`name`,`guard_name`),
  KEY `roles_restaurant_id_foreign` (`restaurant_id`),
  CONSTRAINT `roles_restaurant_id_foreign` FOREIGN KEY (`restaurant_id`) REFERENCES `restaurants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=42 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

-- Dumping data for table `roles`
INSERT INTO `roles` VALUES
('1', 'Super Admin', 'Super Admin', 'web', '2025-09-17 05:36:43', '2025-09-17 05:36:43', NULL),
('2', 'Admin_1', 'Admin', 'web', '2025-09-17 05:36:44', '2025-09-17 05:36:44', '1'),
('3', 'Branch Head_1', 'Branch Head', 'web', '2025-09-17 05:36:44', '2025-09-17 05:36:44', '1'),
('4', 'Waiter_1', 'Waiter', 'web', '2025-09-17 05:36:44', '2025-09-17 05:36:44', '1'),
('5', 'Chef_1', 'Chef', 'web', '2025-09-17 05:36:44', '2025-09-17 05:36:44', '1'),
('6', 'Admin_2', 'Admin', 'web', '2025-09-17 10:02:45', '2025-09-17 10:02:45', '2'),
('7', 'Branch Head_2', 'Branch Head', 'web', '2025-09-17 10:02:45', '2025-09-17 10:02:45', '2'),
('8', 'Waiter_2', 'Waiter', 'web', '2025-09-17 10:02:45', '2025-09-17 10:02:45', '2'),
('9', 'Chef_2', 'Chef', 'web', '2025-09-17 10:02:45', '2025-09-17 10:02:45', '2'),
('10', 'Admin_3', 'Admin', 'web', '2025-09-20 12:56:45', '2025-09-20 12:56:45', '3'),
('11', 'Branch Head_3', 'Branch Head', 'web', '2025-09-20 12:56:45', '2025-09-20 12:56:45', '3'),
('12', 'Waiter_3', 'Waiter', 'web', '2025-09-20 12:56:45', '2025-09-20 12:56:45', '3'),
('13', 'Chef_3', 'Chef', 'web', '2025-09-20 12:56:45', '2025-09-20 12:56:45', '3'),
('14', 'Admin_4', 'Admin', 'web', '2025-10-07 15:00:09', '2025-10-07 15:00:09', '4'),
('15', 'Branch Head_4', 'Branch Head', 'web', '2025-10-07 15:00:09', '2025-10-07 15:00:09', '4'),
('16', 'Waiter_4', 'Waiter', 'web', '2025-10-07 15:00:09', '2025-10-07 15:00:09', '4'),
('17', 'Chef_4', 'Chef', 'web', '2025-10-07 15:00:09', '2025-10-07 15:00:09', '4'),
('22', 'Admin_26', 'Admin', 'web', '2025-11-07 17:23:04', '2025-11-07 17:23:04', '26'),
('23', 'Branch Head_26', 'Branch Head', 'web', '2025-11-07 17:23:04', '2025-11-07 17:23:04', '26'),
('24', 'Waiter_26', 'Waiter', 'web', '2025-11-07 17:23:04', '2025-11-07 17:23:04', '26'),
('25', 'Chef_26', 'Chef', 'web', '2025-11-07 17:23:04', '2025-11-07 17:23:04', '26'),
('26', 'Admin_27', 'Admin', 'web', '2025-11-08 10:32:27', '2025-11-08 10:32:27', '27'),
('27', 'Branch Head_27', 'Branch Head', 'web', '2025-11-08 10:32:27', '2025-11-08 10:32:27', '27'),
('28', 'Waiter_27', 'Waiter', 'web', '2025-11-08 10:32:27', '2025-11-08 10:32:27', '27'),
('29', 'Chef_27', 'Chef', 'web', '2025-11-08 10:32:27', '2025-11-08 10:32:27', '27'),
('30', 'Admin_28', 'Admin', 'web', '2025-11-12 14:15:51', '2025-11-12 14:15:51', '28'),
('31', 'Branch Head_28', 'Branch Head', 'web', '2025-11-12 14:15:51', '2025-11-12 14:15:51', '28'),
('32', 'Waiter_28', 'Waiter', 'web', '2025-11-12 14:15:51', '2025-11-12 14:15:51', '28'),
('33', 'Chef_28', 'Chef', 'web', '2025-11-12 14:15:51', '2025-11-12 14:15:51', '28'),
('34', 'Admin_29', 'Admin', 'web', '2025-11-13 15:41:44', '2025-11-13 15:41:44', '29'),
('35', 'Branch Head_29', 'Branch Head', 'web', '2025-11-13 15:41:44', '2025-11-13 15:41:44', '29'),
('36', 'Waiter_29', 'Waiter', 'web', '2025-11-13 15:41:44', '2025-11-13 15:41:44', '29'),
('37', 'Chef_29', 'Chef', 'web', '2025-11-13 15:41:44', '2025-11-13 15:41:44', '29'),
('38', 'Admin_30', 'Admin', 'web', '2025-11-15 07:46:25', '2025-11-15 07:46:25', '30'),
('39', 'Branch Head_30', 'Branch Head', 'web', '2025-11-15 07:46:25', '2025-11-15 07:46:25', '30'),
('40', 'Waiter_30', 'Waiter', 'web', '2025-11-15 07:46:25', '2025-11-15 07:46:25', '30'),
('41', 'Chef_30', 'Chef', 'web', '2025-11-15 07:46:25', '2025-11-15 07:46:25', '30');


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

-- Dumping data for table `sessions`
INSERT INTO `sessions` VALUES
('agETnhjzgiMmxyYNh20arZyfdisufLlwDGDnbLO1', NULL, '34.222.126.127', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoieDFFOWVYejd3aVI4QUdKMFBPZGVRdjNuaWpJYm9aMDlmNmxWRFlIRyI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MzE6Imh0dHA6Ly9hdXRvZGlzY292ZXIuZXdpaWRpbmUuY2EiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', '1764788996'),
('bkFXgnijXALuTWmG1yrSmYgERwEAGVvxF8XDBxBc', NULL, '194.180.49.169', 'python-httpx/0.28.1', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiVHl4T3F4bHFvMVV2dDBqbTQzMzhsM2I5VnQ0OU5sbFhXdVA5UG11UyI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjY6Imh0dHA6Ly93ZWJkaXNrLmV3aWlkaW5lLmNhIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==', '1764805814'),
('cDZj6kQW4YO3nAdSAb6vfieUpijhoq4xU7Q3lntA', NULL, '34.150.165.147', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoiN2lFOWc3eXF5NklOTE1WVHF0Smdja05HaUY2UnQ4cW1HRUhSaG55VyI7czoyMDoiY2hlY2tfbWlncmF0ZV9zdGF0dXMiO3M6NDoiR29vZCI7czoxNToiY3VzdG9tZXJfaXNfcnRsIjtiOjA7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6Mjg6Imh0dHA6Ly9ld2lpZGluZS5jYS8/YXV0aG9yPTIiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', '1764787460'),
('DfZWiZyN6CJewn3tTOae4Dt4z9U0LEFW6bIcZRix', NULL, '195.178.110.242', 'Mozilla/5.0 (Mac OS X 13_2) AppleWebKit/537.36 (KHTML, like Gecko) Safari/120.0 Safari/537.36', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoiZ3hXTXBHbHZXekt6OVFaeVFjRFhlZEw5V2xZODhiVjBMTG1ubUFzZyI7czoyMDoiY2hlY2tfbWlncmF0ZV9zdGF0dXMiO3M6NDoiR29vZCI7czoxNToiY3VzdG9tZXJfaXNfcnRsIjtiOjA7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MTk6Imh0dHBzOi8vZXdpaWRpbmUuY2EiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', '1764802619'),
('dleyfDXYf2VA5e6WK13H7CxeZekt9CKcwJUU9D6L', NULL, '43.155.157.239', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoicUZGT3NzWEZtS0dNQmozRlptQVRKMWdSa2NyWXVnTUhKdUZRbVRIaiI7czoyMDoiY2hlY2tfbWlncmF0ZV9zdGF0dXMiO3M6NDoiR29vZCI7czoxNToiY3VzdG9tZXJfaXNfcnRsIjtiOjA7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjI6Imh0dHA6Ly93d3cuZXdpaWRpbmUuY2EiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', '1764800879'),
('eFzScC5RPsdCq0Y8hF4mjpbevGYnPjTiqgtynFBK', '7', '106.219.146.98', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', '[encoded data, 81752 characters]', '1764791566'),
('eQe2y0sXCKtSMecfytShBCeFPj02fglfnH1jHEea', NULL, '43.131.36.84', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoiNWFjNlBIRHpwVkcwYkZhY3pzMWF0Skw1ZkZXVFVsSEIxaXJ5am5aNiI7czoyMDoiY2hlY2tfbWlncmF0ZV9zdGF0dXMiO3M6NDoiR29vZCI7czoxNToiY3VzdG9tZXJfaXNfcnRsIjtiOjA7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjI6Imh0dHA6Ly93d3cuZXdpaWRpbmUuY2EiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', '1764801376'),
('Fab6N8E4VLkEe7PE54b1gIk9if9nvXUc8HiFR8Se', NULL, '141.94.78.40', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.0.0.0 Safari/537.36', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoiWDVJbXNQUzVFT2dkdzR4cGZYbkpubTVtSnBvQ2RtT1pVOExCbVJhdyI7czoyMDoiY2hlY2tfbWlncmF0ZV9zdGF0dXMiO3M6NDoiR29vZCI7czoxNToiY3VzdG9tZXJfaXNfcnRsIjtiOjA7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MTk6Imh0dHBzOi8vZXdpaWRpbmUuY2EiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', '1764790932'),
('fKaWo1R0zFr3kph1UbXTU3fvjdeI3PaN8MmdKs5T', NULL, '125.94.144.102', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoiT0o4QkFUR0w2Nm5vN0hKTTRQRXBEMmVwZ0lMdnpRck4wdVNEWWxqNiI7czoyMDoiY2hlY2tfbWlncmF0ZV9zdGF0dXMiO3M6NDoiR29vZCI7czoxNToiY3VzdG9tZXJfaXNfcnRsIjtiOjA7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MTg6Imh0dHA6Ly9ld2lpZGluZS5jYSI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=', '1764801474'),
('FYG6AB4H3nuYLF0fBlaXBfJ6fQQug6AmEyuggorJ', NULL, '106.219.147.205', 'WhatsApp/2.23.20.0', 'YToyOntzOjk6Il9wcmV2aW91cyI7YToxOntzOjM6InVybCI7czozMToiaHR0cHM6Ly9ld2lpZGluZS5jYS9jbGVhci1jYWNoZSI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=', '1764786357'),
('FYqd2Ma5IciLpJxPGQi7bvIp8ocyl5Ya2igbYSMa', NULL, '43.159.152.184', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiUmw4eW1uZFNPZU9qTVRFdUx1V2M4cVdDWUJzSENtc3RyWDRRc1o1RCI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjA6Imh0dHA6Ly9tLmV3aWlkaW5lLmNhIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==', '1764804370'),
('gAsnDLYcJFWsCMflxT3obw6qClZmIAArxxitvJu9', NULL, '195.178.110.54', 'Mozilla/4.0 (compatible; Linux 2.6.22) NetFront/3.4 Kindle/2.0 (screen 600x800)', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoibkZsNGlpYnU3cTRvMjV1YU5ZNW0yS3lFT0hLY25GTExuM3FBVWlxZyI7czoyMDoiY2hlY2tfbWlncmF0ZV9zdGF0dXMiO3M6NDoiR29vZCI7czoxNToiY3VzdG9tZXJfaXNfcnRsIjtiOjA7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MTk6Imh0dHBzOi8vZXdpaWRpbmUuY2EiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', '1764794978'),
('GCs8qhA6Z5HPUb3BijZLyz9yeMeINNiWifo0i6Zi', NULL, '34.74.205.204', 'Mozilla/5.0 (compatible; CMS-Checker/1.0; +https://example.com)', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiejByU2puY2RXdkVnTmhMRXNGZkxnVkJMdnY1VFZsUzV6Umg4MlJVTSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjY6Imh0dHA6Ly93ZWJkaXNrLmV3aWlkaW5lLmNhIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==', '1764785450'),
('gDlZ6o6Fr5u8ikKAGjpCrO7JGVrVf4UyWZPkOhwi', NULL, '195.178.110.54', 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:20.0) Gecko/20100101 Firefox/20.0', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoicTRjb3FZZDhiY2ppR05vREN1WXpmbUpFVW92NW1kS2Z4NVo5N204NiI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjQ6Imh0dHBzOi8vbWFpbC5ld2lpZGluZS5jYSI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=', '1764793794'),
('GP2BXkAj3yVX9CBXJDlm9Y9PEE55hrk9Vw3O5j76', NULL, '152.59.83.177', 'WhatsApp/2.2546.3 W', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoiVEFBM3V6RDRhODlNeTZQT2NpZWZVUWg5WnNEMzhQWGU1T0MweGNVayI7czoyMDoiY2hlY2tfbWlncmF0ZV9zdGF0dXMiO3M6NDoiR29vZCI7czo0OiJ1c2VyIjtOO3M6OToiX3ByZXZpb3VzIjthOjE6e3M6MzoidXJsIjtzOjMxOiJodHRwczovL2lpbS1sdWNrbm93LmV3aWlkaW5lLmNhIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==', '1764786626'),
('hfqD4bkidMvkxZNHOV44nbfp6lsQAeLAryoDHLod', NULL, '34.222.126.127', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiaVdDUzA4N05ySEJFR2FzNUxaaXB1T2J1NlE2bnhpZTZzVzhoZ3NWUSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6Mjk6Imh0dHA6Ly9jcGNvbnRhY3RzLmV3aWlkaW5lLmNhIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==', '1764789420'),
('HhPqPdLfGc3o1Ct88n6ViKqR8W5lcHRYsii9wWMB', NULL, '106.219.147.205', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.1 Safari/605.1.15', '[encoded data, 15812 characters]', '1764787239'),
('HvLO8qM3WD7jlDXLEKdqAedAR5KkupLx0W3UavFC', NULL, '13.158.86.209', 'python-httpx/0.28.1', 'YTo0OntzOjY6Il90b2tlbiI7czo0MDoiYUtzOXBjZlFQYzhKUFZIcDJoYzgzdFI0MG00RHZwYjlucjJpaWN4SyI7czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czozMjoiaHR0cHM6Ly93d3cuZXdpaWRpbmUuY2Evc2V0dGluZ3MiO31zOjk6Il9wcmV2aW91cyI7YToxOntzOjM6InVybCI7czozMjoiaHR0cHM6Ly93d3cuZXdpaWRpbmUuY2Evc2V0dGluZ3MiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', '1764785116'),
('hZKSip9bIcTiWvNWP06yWpq0so9fS86YRkULLqcB', NULL, '43.130.12.43', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoia1d3WDlkaUxZdVlmSWtlcm1idUJvNTJCQWp1ZW0yTUdWbUJWUk5lVyI7czoyMDoiY2hlY2tfbWlncmF0ZV9zdGF0dXMiO3M6NDoiR29vZCI7czoxNToiY3VzdG9tZXJfaXNfcnRsIjtiOjA7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MTg6Imh0dHA6Ly9ld2lpZGluZS5jYSI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=', '1764789866'),
('JoOyzCnAJS2zDknI09p87WKmVYZ2nYfhmv4YfQxI', NULL, '47.15.220.55', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', '[encoded data, 15912 characters]', '1764787386'),
('Jy2ZDmM9qSm4D1h6Kj3zApllK66knNL4xwvHqiCY', NULL, '34.150.165.147', 'Mozilla/5.0 (compatible; CMS-Checker/1.0; +https://example.com)', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoialV6aHliSEptMFUzOHF6S25rUnlaa2FHV3U5bUtvbnREaTdqMkZ6SiI7czoyMDoiY2hlY2tfbWlncmF0ZV9zdGF0dXMiO3M6NDoiR29vZCI7czoxNToiY3VzdG9tZXJfaXNfcnRsIjtiOjA7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjI6Imh0dHA6Ly93d3cuZXdpaWRpbmUuY2EiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', '1764784790'),
('oHb8FXXgWahfP6oO6bLnuROqQ1tBOuYvtb76UPsd', NULL, '34.61.207.185', 'Mozilla/5.0 (compatible; CMS-Checker/1.0; +https://example.com)', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoibzBVTW9hU2ZRd1piajVhT2x4MjVzUnc5VlBnZHFyUXMyeHRxcDhzbSI7czoyMDoiY2hlY2tfbWlncmF0ZV9zdGF0dXMiO3M6NDoiR29vZCI7czoxNToiY3VzdG9tZXJfaXNfcnRsIjtiOjA7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MTg6Imh0dHA6Ly9ld2lpZGluZS5jYSI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=', '1764783784'),
('owGL5oYX6khNGdL0qTNmkoFjYPFYCYdQJQakYHeE', NULL, '13.158.86.209', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) Chrome/91.0.4472.124', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoid3poS1ZGNFBOOEM3MVBvMEJ1djUydmNROFJWdERmT2JTTm1kYUQ4aCI7czoyMDoiY2hlY2tfbWlncmF0ZV9zdGF0dXMiO3M6NDoiR29vZCI7czoxNToiY3VzdG9tZXJfaXNfcnRsIjtiOjA7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjM6Imh0dHBzOi8vd3d3LmV3aWlkaW5lLmNhIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==', '1764785210'),
('oWVJXqc64Y9DK9v0JCRnYGxUzYMyGSpTCTD8va8O', NULL, '34.123.88.37', 'Mozilla/5.0 (compatible; CMS-Checker/1.0; +https://example.com)', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiRUs3SlVZeFB2eGRxQXR2VkgzcTl3cnZsSjgwajVHTzRhWjB1Y1FPYyI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjY6Imh0dHA6Ly93ZWJtYWlsLmV3aWlkaW5lLmNhIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==', '1764786176'),
('ox2tqkbCYQz8hNIySqje9sk4sI55hBeG97mwQPZN', NULL, '194.180.49.169', 'python-httpx/0.28.1', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiNmRvQXo0NEhWNlpITTcxSWdEZ0RXbDJMTG5kbkdwSUNOaHRTVW91ZSI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjY6Imh0dHA6Ly93ZWJkaXNrLmV3aWlkaW5lLmNhIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==', '1764805804'),
('qRV501YLidHhKOwIB8MgzSqX5JFZ2m77EwHCcXMV', '10', '47.15.220.55', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36', '[encoded data, 13572 characters]', '1764787522'),
('twq3kHUcOKSvvLfCjhPJpJCvLUk5f0LDZIhYhQ9u', NULL, '195.178.110.242', 'Mozilla/5.0 (Windows NT 10.0) AppleWebKit/537.36 (KHTML, like Gecko) Safari/110.0 Safari/537.36', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoiVXZYTWttc010d0VnMzlFY0hGOEhpbEtmNkV3dUhXV0VlUUFZbEVnZyI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjQ6Imh0dHBzOi8vbWFpbC5ld2lpZGluZS5jYSI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fX0=', '1764791251'),
('vS5jUvn0vuwSTij7pdMOLktzEANHgnQRBiHwQKBY', NULL, '119.28.140.106', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoiVXl2czVQMDlTVTU3SGxUdlFUU3lpaUw2c05VZDdOVzQ2R3E5VkRxQyI7czoyMDoiY2hlY2tfbWlncmF0ZV9zdGF0dXMiO3M6NDoiR29vZCI7czoxNToiY3VzdG9tZXJfaXNfcnRsIjtiOjA7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjI6Imh0dHA6Ly93d3cuZXdpaWRpbmUuY2EiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', '1764802111'),
('wBrpQgyqApmEkO2aPfHTYspY6SXnZX99Fvpyq65x', NULL, '34.169.11.222', 'Mozilla/5.0 (compatible; CMS-Checker/1.0; +https://example.com)', 'YTozOntzOjY6Il90b2tlbiI7czo0MDoidVZqYUNPTFhMYjhLSEV6Nzk4MElac2g1RkdYV041NmZpTHRxTzUwWCI7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjM6Imh0dHA6Ly9tYWlsLmV3aWlkaW5lLmNhIjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==', '1764783723'),
('XoC9YQEgpQiej0sCYzEWmrm9IOkRZ14yInghttSO', NULL, '34.61.207.185', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoiUlBMZ1J2SWExTDYyTjNlMENqeW9IM2FKUGdsQnBudElXVW4xNzdjRiI7czoyMDoiY2hlY2tfbWlncmF0ZV9zdGF0dXMiO3M6NDoiR29vZCI7czoxNToiY3VzdG9tZXJfaXNfcnRsIjtiOjA7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6Mjg6Imh0dHA6Ly9ld2lpZGluZS5jYS8/YXV0aG9yPTIiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', '1764786609'),
('xOEFvjbR5TEvsBoqBJeDfGYuxoLUownW3ZCQDKYm', NULL, '3.138.185.30', 'cypex.ai/scanning Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) Chrome/126.0.0.0 Safari/537.36', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoiMW1pRVRwY1FWekpRUkRoNWJxbkZXN3NRdTRFdnVpVFNYUHZjTnBZeCI7czoyMDoiY2hlY2tfbWlncmF0ZV9zdGF0dXMiO3M6NDoiR29vZCI7czoxNToiY3VzdG9tZXJfaXNfcnRsIjtiOjA7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MTk6Imh0dHBzOi8vZXdpaWRpbmUuY2EiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', '1764786811'),
('XVa6eUWXvIZwZK2KoCy6iF0r2SnPOVTJXuAkk9I9', NULL, '43.131.26.226', 'Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1', 'YTo1OntzOjY6Il90b2tlbiI7czo0MDoiMlNIb1hRcXNjZXFvSzJzRDd0aHgxTnhKV3hQZGliRjlua3V2cURXWCI7czoyMDoiY2hlY2tfbWlncmF0ZV9zdGF0dXMiO3M6NDoiR29vZCI7czoxNToiY3VzdG9tZXJfaXNfcnRsIjtiOjA7czo5OiJfcHJldmlvdXMiO2E6MTp7czozOiJ1cmwiO3M6MjI6Imh0dHA6Ly93d3cuZXdpaWRpbmUuY2EiO31zOjY6Il9mbGFzaCI7YToyOntzOjM6Im9sZCI7YTowOnt9czozOiJuZXciO2E6MDp7fX19', '1764799983'),
('YxiA08kAq06ujwd84nA1v88C6smeS8QNDjGYmvTt', NULL, '47.15.220.55', 'WhatsApp/2.2546.3 W', 'YTo3OntzOjY6Il90b2tlbiI7czo0MDoieGM3dWtLYTZsbTJyaGowVUZtWUExaWNrOFV0NjBBZHdEM09JUEVWdSI7czozOiJ1cmwiO2E6MTp7czo4OiJpbnRlbmRlZCI7czozNDoiaHR0cHM6Ly9ld2lpZGluZS5jYS9jdXN0b20tbW9kdWxlcyI7fXM6OToiX3ByZXZpb3VzIjthOjE6e3M6MzoidXJsIjtzOjI2OiJodHRwczovL2V3aWlkaW5lLmNhL3NpZ25pbiI7fXM6NjoiX2ZsYXNoIjthOjI6e3M6Mzoib2xkIjthOjA6e31zOjM6Im5ldyI7YTowOnt9fXM6MjA6ImNoZWNrX21pZ3JhdGVfc3RhdHVzIjtzOjQ6Ikdvb2QiO3M6MTU6ImN1c3RvbWVyX2lzX3J0bCI7aTowO3M6NDoidXNlciI7Tjt9', '1764787501');


