-- Table structure for time_calculation_methods
-- ----------------------------
CREATE TABLE `time_calculation_methods`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `time_calculation_methods_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `time_calculation_methods_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `time_calculation_methods_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `time_calculation_methods_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `time_calculation_methods_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `time_calculation_methods_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `time_calculation_methods_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `time_calculation_methods_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of time_calculation_methods
-- ----------------------------
INSERT INTO `time_calculation_methods` VALUES (1, 'حسب وقت الدوام', '1', 'By Shift', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:52', '2025-06-12 14:05:52', NULL);
INSERT INTO `time_calculation_methods` VALUES (2, 'حسب ساعات العمل في اليوم', '1', 'By Number of hours', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:52', '2025-06-12 14:05:52', NULL);

-- ----------------------------
-- Table structure for transfer_product_between_branches
-- ----------------------------
CREATE TABLE `transfer_product_between_branches`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `product_id` int UNSIGNED NOT NULL,
  `pos_id` int UNSIGNED NOT NULL,
  `branch_id` int UNSIGNED NOT NULL,
  `is_it_delete` int UNSIGNED NULL DEFAULT NULL,
  `is_it_new` int UNSIGNED NULL DEFAULT NULL,
  `is_it_update` int UNSIGNED NULL DEFAULT NULL,
  `is_it_restore` int UNSIGNED NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `transfer_product_between_branches_pos_id_foreign`(`pos_id` ASC) USING BTREE,
  INDEX `transfer_product_between_branches_branch_id_foreign`(`branch_id` ASC) USING BTREE,
  INDEX `transfer_product_between_branches_is_it_delete_foreign`(`is_it_delete` ASC) USING BTREE,
  INDEX `transfer_product_between_branches_is_it_new_foreign`(`is_it_new` ASC) USING BTREE,
  INDEX `transfer_product_between_branches_is_it_update_foreign`(`is_it_update` ASC) USING BTREE,
  INDEX `transfer_product_between_branches_is_it_restore_foreign`(`is_it_restore` ASC) USING BTREE,
  INDEX `transfer_product_between_branches_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `transfer_product_between_branches_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `transfer_product_between_branches_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `transfer_product_between_branches_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `transfer_product_between_branches_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `transfer_product_between_branches_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `transfer_product_between_branches_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `transfer_product_between_branches_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `transfer_product_between_branches_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `transfer_product_between_branches_is_it_delete_foreign` FOREIGN KEY (`is_it_delete`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `transfer_product_between_branches_is_it_new_foreign` FOREIGN KEY (`is_it_new`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `transfer_product_between_branches_is_it_restore_foreign` FOREIGN KEY (`is_it_restore`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `transfer_product_between_branches_is_it_update_foreign` FOREIGN KEY (`is_it_update`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `transfer_product_between_branches_pos_id_foreign` FOREIGN KEY (`pos_id`) REFERENCES `poss` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of transfer_product_between_branches
-- ----------------------------

-- ----------------------------
-- Table structure for transfer_types
-- ----------------------------
CREATE TABLE `transfer_types`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `transfer_types_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `transfer_types_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `transfer_types_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `transfer_types_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of transfer_types
-- ----------------------------
INSERT INTO `transfer_types` VALUES (1, 'ادخال', 'input', '1', 1, NULL, NULL, '2025-06-12 14:05:49', '2025-06-12 14:05:49', NULL);
INSERT INTO `transfer_types` VALUES (2, 'اخراج', 'output', '1', 1, NULL, NULL, '2025-06-12 14:05:49', '2025-06-12 14:05:49', NULL);
INSERT INTO `transfer_types` VALUES (3, 'تحويل', 'transfer', '1', 1, NULL, NULL, '2025-06-12 14:05:49', '2025-06-12 14:05:49', NULL);

-- ----------------------------
-- Table structure for transport_types
-- ----------------------------
CREATE TABLE `transport_types`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `transport_types_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `transport_types_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `transport_types_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `transport_types_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `transport_types_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `transport_types_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `transport_types_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `transport_types_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of transport_types
-- ----------------------------
INSERT INTO `transport_types` VALUES (1, 'بحري', '1', 'Sea', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:58', '2025-06-12 14:05:58', NULL);
INSERT INTO `transport_types` VALUES (2, 'جوي', '2', 'Air', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:58', '2025-06-12 14:05:58', NULL);
INSERT INTO `transport_types` VALUES (3, 'بري', '3', 'Land', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:58', '2025-06-12 14:05:58', NULL);

-- ----------------------------
-- Table structure for ultramsgs
-- ----------------------------
CREATE TABLE `ultramsgs`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `url` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `state_id` int UNSIGNED NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `ultramsgs_state_id_foreign`(`state_id` ASC) USING BTREE,
  INDEX `ultramsgs_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `ultramsgs_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `ultramsgs_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `ultramsgs_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `ultramsgs_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `ultramsgs_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `ultramsgs_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `ultramsgs_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `ultramsgs_state_id_foreign` FOREIGN KEY (`state_id`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of ultramsgs
-- ----------------------------

-- ----------------------------
-- Table structure for units
-- ----------------------------
CREATE TABLE `units`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `can_be_splited` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `units_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `units_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `units_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `units_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `units_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `units_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of units
-- ----------------------------
INSERT INTO `units` VALUES (1, 'تاجير', 'unit', '1', '1', 1, NULL, NULL, NULL, NULL, NULL, '2025-06-12 14:05:49', '2025-07-08 15:18:05', NULL);

-- ----------------------------
-- Table structure for updated_products
-- ----------------------------
CREATE TABLE `updated_products`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `product_id` int UNSIGNED NOT NULL,
  `old_value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `new_value` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `updated_products_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `updated_products_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `updated_products_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `updated_products_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `updated_products_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `updated_products_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `updated_products_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `updated_products_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 72 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of updated_products
-- ----------------------------
INSERT INTO `updated_products` VALUES (1, 1, '{\"name\":\"\\u0633\\u0644\\u0639\\u0629 \\u0645\\u0644\\u0645\\u0648\\u0633\\u0629\",\"number\":\"1001\",\"discount_value\":10,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":null,\"smallest_unit_selling_price\":10,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":16,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 1 + 2\",\"number\":\"1001\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":null,\"smallest_unit_selling_price\":11.5999999999999996447286321199499070644378662109375,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":\"1\",\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-08 15:14:11', '2025-07-08 15:14:11', NULL);
INSERT INTO `updated_products` VALUES (2, 1, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 1 + 2\",\"number\":\"1001\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":null,\"smallest_unit_selling_price\":11.5999999999999996447286321199499070644378662109375,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 1 + 2\",\"number\":\"1001\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":null,\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-08 15:17:19', '2025-07-08 15:17:19', NULL);
INSERT INTO `updated_products` VALUES (3, 7, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 10\",\"number\":\"1007\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1007\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 9\",\"number\":\"1007\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1007\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-08 15:23:53', '2025-07-08 15:23:53', NULL);
INSERT INTO `updated_products` VALUES (4, 8, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 11\",\"number\":\"1008\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1008\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 10\",\"number\":\"1008\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1008\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-08 15:24:29', '2025-07-08 15:24:29', NULL);
INSERT INTO `updated_products` VALUES (5, 35, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 7 \\/ \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"3007\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3007\",\"smallest_unit_selling_price\":85,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 7 \\/ \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"3007\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3007\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:13:22', '2025-07-09 13:13:22', NULL);
INSERT INTO `updated_products` VALUES (6, 29, '{\"name\":\"\\u0633\\u0643\\u0646 \\u062e\\u0644\\u0641 \\u0627\\u0644\\u0645\\u0643\\u062a\\u0628\",\"number\":\"3001\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3001\",\"smallest_unit_selling_price\":80,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 1 \\/ \\u062e\\u0644\\u0641 \\u0627\\u0644\\u0645\\u0643\\u062a\\u0628\",\"number\":\"3001\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3001\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:14:00', '2025-07-09 13:14:00', NULL);
INSERT INTO `updated_products` VALUES (7, 30, '{\"name\":\"\\u0633\\u0643\\u0646 \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 1+2\",\"number\":\"3002\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3002\",\"smallest_unit_selling_price\":175,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 2 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 1+2\",\"number\":\"3002\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3002\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:14:35', '2025-07-09 13:14:35', NULL);
INSERT INTO `updated_products` VALUES (8, 31, '{\"name\":\"\\u0633\\u0643\\u0646 \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 4\",\"number\":\"3003\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3003\",\"smallest_unit_selling_price\":70,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 3 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 4\",\"number\":\"3003\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3003\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:15:06', '2025-07-09 13:15:06', NULL);
INSERT INTO `updated_products` VALUES (9, 32, '{\"name\":\"\\u0633\\u0643\\u0646 \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 3+4\",\"number\":\"3004\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3004\",\"smallest_unit_selling_price\":150,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 4 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 3+4\",\"number\":\"3004\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3004\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:16:31', '2025-07-09 13:16:31', NULL);
INSERT INTO `updated_products` VALUES (10, 35, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 7 \\/ \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"3007\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3007\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 7 \\/ \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"3007\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3007\",\"smallest_unit_selling_price\":85,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:17:01', '2025-07-09 13:17:01', NULL);
INSERT INTO `updated_products` VALUES (11, 32, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 4 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 3+4\",\"number\":\"3004\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3004\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 4 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 3+4\",\"number\":\"3004\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3004\",\"smallest_unit_selling_price\":70,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:17:45', '2025-07-09 13:17:45', NULL);
INSERT INTO `updated_products` VALUES (12, 39, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 11 \\/ \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"3011\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3011\",\"smallest_unit_selling_price\":70,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 11 \\/ \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"3011\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3011\",\"smallest_unit_selling_price\":840,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:26:45', '2025-07-09 13:26:45', NULL);
INSERT INTO `updated_products` VALUES (13, 38, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 10 \\/ \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"3010\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3010\",\"smallest_unit_selling_price\":70,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 10 \\/ \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"3010\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3010\",\"smallest_unit_selling_price\":840,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:27:06', '2025-07-09 13:27:06', NULL);
INSERT INTO `updated_products` VALUES (14, 37, '{\"name\":\"\\u0633\\u0643\\u0646 \\u0641\\u0631\\u063a\\u0629 \\u0631\\u0642\\u0645 9 \\/ \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"3009\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3009\",\"smallest_unit_selling_price\":70,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u0641\\u0631\\u063a\\u0629 \\u0631\\u0642\\u0645 9 \\/ \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"3009\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3009\",\"smallest_unit_selling_price\":840,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:27:26', '2025-07-09 13:27:26', NULL);
INSERT INTO `updated_products` VALUES (15, 36, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 8 \\/ \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"3008\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3008\",\"smallest_unit_selling_price\":70,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 8 \\/ \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"3008\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3008\",\"smallest_unit_selling_price\":840,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:27:43', '2025-07-09 13:27:43', NULL);
INSERT INTO `updated_products` VALUES (16, 35, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 7 \\/ \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"3007\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3007\",\"smallest_unit_selling_price\":85,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 7 \\/ \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"3007\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3007\",\"smallest_unit_selling_price\":1020,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:28:08', '2025-07-09 13:28:08', NULL);
INSERT INTO `updated_products` VALUES (17, 34, '{\"name\":\"\\u0633\\u0643\\u0646 \\u0641\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 6 \\/ \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"3006\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3006\",\"smallest_unit_selling_price\":80,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u0641\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 6 \\/ \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"3006\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3006\",\"smallest_unit_selling_price\":960,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:28:32', '2025-07-09 13:28:32', NULL);
INSERT INTO `updated_products` VALUES (18, 33, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 5 \\/ \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"3005\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3005\",\"smallest_unit_selling_price\":80,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 5 \\/ \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"3005\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3005\",\"smallest_unit_selling_price\":960,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:28:52', '2025-07-09 13:28:52', NULL);
INSERT INTO `updated_products` VALUES (19, 32, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 4 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 3+4\",\"number\":\"3004\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3004\",\"smallest_unit_selling_price\":70,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 4 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 3+4\",\"number\":\"3004\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3004\",\"smallest_unit_selling_price\":840,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:29:10', '2025-07-09 13:29:10', NULL);
INSERT INTO `updated_products` VALUES (20, 31, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 3 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 4\",\"number\":\"3003\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3003\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 3 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 4\",\"number\":\"3003\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3003\",\"smallest_unit_selling_price\":840,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:29:40', '2025-07-09 13:29:40', NULL);
INSERT INTO `updated_products` VALUES (21, 29, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 1 \\/ \\u062e\\u0644\\u0641 \\u0627\\u0644\\u0645\\u0643\\u062a\\u0628\",\"number\":\"3001\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3001\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 1 \\/ \\u062e\\u0644\\u0641 \\u0627\\u0644\\u0645\\u0643\\u062a\\u0628\",\"number\":\"3001\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3001\",\"smallest_unit_selling_price\":960,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:30:06', '2025-07-09 13:30:06', NULL);
INSERT INTO `updated_products` VALUES (22, 30, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 2 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 1+2\",\"number\":\"3002\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3002\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 2 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 1+2\",\"number\":\"3002\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3002\",\"smallest_unit_selling_price\":2100,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:30:39', '2025-07-09 13:30:39', NULL);
INSERT INTO `updated_products` VALUES (23, 32, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 4 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 3+4\",\"number\":\"3004\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3004\",\"smallest_unit_selling_price\":840,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 4 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 3+4\",\"number\":\"3004\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3004\",\"smallest_unit_selling_price\":1800,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-09 13:31:07', '2025-07-09 13:31:07', NULL);
INSERT INTO `updated_products` VALUES (24, 1, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 1 + 2\",\"number\":\"1001\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":null,\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 1 + 2\",\"number\":\"1001\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":null,\"smallest_unit_selling_price\":6000,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-14 09:23:32', '2025-07-14 09:23:32', NULL);
INSERT INTO `updated_products` VALUES (25, 45, '{\"name\":\"\\u0627\\u0644\\u0627\\u0631\\u0636 \\u0627\\u0644\\u0641\\u0627\\u0631\\u063a\\u0629\",\"number\":\"4001\",\"discount_value\":null,\"product_category_id\":4,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"4001\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0627\\u0644\\u0627\\u0631\\u0636 \\u0627\\u0644\\u0641\\u0627\\u0631\\u063a\\u0629\",\"number\":\"4001\",\"discount_value\":null,\"product_category_id\":\"4\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"4001\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-18 22:24:28', '2025-07-18 22:24:28', NULL);
INSERT INTO `updated_products` VALUES (26, 45, '{\"name\":\"\\u0627\\u0644\\u0627\\u0631\\u0636 \\u0627\\u0644\\u0641\\u0627\\u0631\\u063a\\u0629\",\"number\":\"4001\",\"discount_value\":null,\"product_category_id\":4,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"4001\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0627\\u0644\\u0627\\u0631\\u0636 \\u0627\\u0644\\u0641\\u0627\\u0631\\u063a\\u0629\",\"number\":\"4001\",\"discount_value\":null,\"product_category_id\":\"4\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"4001\",\"smallest_unit_selling_price\":300,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 10:57:44', '2025-07-20 10:57:44', NULL);
INSERT INTO `updated_products` VALUES (27, 44, '{\"name\":\"\\u0645\\u0634\\u063a\\u0644 \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0644\\u062b \\u0634\\u0645\\u0627\\u0644 \\/ \\u0647\\u0646\\u062c\\u0631\",\"number\":\"2005\",\"discount_value\":null,\"product_category_id\":2,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"2005\",\"smallest_unit_selling_price\":3600,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u0634\\u063a\\u0644 \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0644\\u062b \\u0634\\u0645\\u0627\\u0644 \\/ \\u0647\\u0646\\u062c\\u0631\",\"number\":\"2005\",\"discount_value\":null,\"product_category_id\":\"2\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"2005\",\"smallest_unit_selling_price\":300,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:01:08', '2025-07-20 11:01:08', NULL);
INSERT INTO `updated_products` VALUES (28, 43, '{\"name\":\"\\u0645\\u0634\\u063a\\u0644 \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"2004\",\"discount_value\":null,\"product_category_id\":2,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"2004\",\"smallest_unit_selling_price\":2000,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u0634\\u063a\\u0644 \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"2004\",\"discount_value\":null,\"product_category_id\":\"2\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"2004\",\"smallest_unit_selling_price\":166.667000000000001591615728102624416351318359375,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:01:36', '2025-07-20 11:01:36', NULL);
INSERT INTO `updated_products` VALUES (29, 42, '{\"name\":\"\\u0645\\u0634\\u063a\\u0644 \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u064a\\u0645\\u064a\\u0646\",\"number\":\"2003\",\"discount_value\":null,\"product_category_id\":2,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"2003\",\"smallest_unit_selling_price\":4000,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u0634\\u063a\\u0644 \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u064a\\u0645\\u064a\\u0646\",\"number\":\"2003\",\"discount_value\":null,\"product_category_id\":\"2\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"2003\",\"smallest_unit_selling_price\":333.33400000000000318323145620524883270263671875,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:02:02', '2025-07-20 11:02:02', NULL);
INSERT INTO `updated_products` VALUES (30, 41, '{\"name\":\"\\u0645\\u0634\\u063a\\u0644 \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u0634\\u0645\\u0627\\u0644\",\"number\":\"2002\",\"discount_value\":null,\"product_category_id\":2,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"2002\",\"smallest_unit_selling_price\":4000,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u0634\\u063a\\u0644 \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u0634\\u0645\\u0627\\u0644\",\"number\":\"2002\",\"discount_value\":null,\"product_category_id\":\"2\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"2002\",\"smallest_unit_selling_price\":333.33400000000000318323145620524883270263671875,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:02:35', '2025-07-20 11:02:35', NULL);
INSERT INTO `updated_products` VALUES (31, 40, '{\"name\":\"\\u0645\\u0634\\u063a\\u0644 \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"2001\",\"discount_value\":null,\"product_category_id\":2,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"2001\",\"smallest_unit_selling_price\":2000,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u0634\\u063a\\u0644 \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"2001\",\"discount_value\":null,\"product_category_id\":\"2\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"2001\",\"smallest_unit_selling_price\":166.667000000000001591615728102624416351318359375,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:02:57', '2025-07-20 11:02:57', NULL);
INSERT INTO `updated_products` VALUES (32, 39, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 11 \\/ \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"3011\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3011\",\"smallest_unit_selling_price\":840,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 11 \\/ \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"3011\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3011\",\"smallest_unit_selling_price\":70,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:03:19', '2025-07-20 11:03:19', NULL);
INSERT INTO `updated_products` VALUES (33, 38, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 10 \\/ \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"3010\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3010\",\"smallest_unit_selling_price\":840,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 10 \\/ \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"3010\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3010\",\"smallest_unit_selling_price\":70,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:03:31', '2025-07-20 11:03:31', NULL);
INSERT INTO `updated_products` VALUES (34, 37, '{\"name\":\"\\u0633\\u0643\\u0646 \\u0641\\u0631\\u063a\\u0629 \\u0631\\u0642\\u0645 9 \\/ \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"3009\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3009\",\"smallest_unit_selling_price\":840,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u0641\\u0631\\u063a\\u0629 \\u0631\\u0642\\u0645 9 \\/ \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"3009\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3009\",\"smallest_unit_selling_price\":70,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:03:46', '2025-07-20 11:03:46', NULL);
INSERT INTO `updated_products` VALUES (35, 36, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 8 \\/ \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"3008\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3008\",\"smallest_unit_selling_price\":840,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 8 \\/ \\u0637\\u0627\\u0628\\u0642 \\u062b\\u0627\\u0646\\u064a \\u0634\\u0645\\u0627\\u0644\",\"number\":\"3008\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3008\",\"smallest_unit_selling_price\":70,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:04:00', '2025-07-20 11:04:00', NULL);
INSERT INTO `updated_products` VALUES (36, 35, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 7 \\/ \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"3007\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3007\",\"smallest_unit_selling_price\":1020,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 7 \\/ \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"3007\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3007\",\"smallest_unit_selling_price\":85,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:04:31', '2025-07-20 11:04:31', NULL);
INSERT INTO `updated_products` VALUES (37, 34, '{\"name\":\"\\u0633\\u0643\\u0646 \\u0641\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 6 \\/ \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"3006\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3006\",\"smallest_unit_selling_price\":960,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u0641\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 6 \\/ \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"3006\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3006\",\"smallest_unit_selling_price\":80,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:04:44', '2025-07-20 11:04:44', NULL);
INSERT INTO `updated_products` VALUES (38, 33, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 5 \\/ \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"3005\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3005\",\"smallest_unit_selling_price\":960,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 5 \\/ \\u0637\\u0627\\u0628\\u0642 \\u0627\\u0648\\u0644 \\u064a\\u0645\\u064a\\u0646\",\"number\":\"3005\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3005\",\"smallest_unit_selling_price\":80,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:04:57', '2025-07-20 11:04:57', NULL);
INSERT INTO `updated_products` VALUES (39, 32, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 4 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 3+4\",\"number\":\"3004\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3004\",\"smallest_unit_selling_price\":1800,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 4 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 3+4\",\"number\":\"3004\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3004\",\"smallest_unit_selling_price\":125,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:05:17', '2025-07-20 11:05:17', NULL);
INSERT INTO `updated_products` VALUES (40, 31, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 3 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 4\",\"number\":\"3003\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3003\",\"smallest_unit_selling_price\":840,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 3 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 4\",\"number\":\"3003\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3003\",\"smallest_unit_selling_price\":70,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:05:30', '2025-07-20 11:05:30', NULL);
INSERT INTO `updated_products` VALUES (41, 30, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 2 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 1+2\",\"number\":\"3002\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3002\",\"smallest_unit_selling_price\":2100,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 2 \\/ \\u0641\\u0648\\u0642 \\u0645\\u062d\\u0644 1+2\",\"number\":\"3002\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3002\",\"smallest_unit_selling_price\":175,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:05:45', '2025-07-20 11:05:45', NULL);
INSERT INTO `updated_products` VALUES (42, 29, '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 1 \\/ \\u062e\\u0644\\u0641 \\u0627\\u0644\\u0645\\u0643\\u062a\\u0628\",\"number\":\"3001\",\"discount_value\":null,\"product_category_id\":3,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"3001\",\"smallest_unit_selling_price\":960,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0633\\u0643\\u0646 \\u063a\\u0631\\u0641\\u0629 \\u0631\\u0642\\u0645 1 \\/ \\u062e\\u0644\\u0641 \\u0627\\u0644\\u0645\\u0643\\u062a\\u0628\",\"number\":\"3001\",\"discount_value\":null,\"product_category_id\":\"3\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"3001\",\"smallest_unit_selling_price\":80,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:05:58', '2025-07-20 11:05:58', NULL);
INSERT INTO `updated_products` VALUES (43, 28, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 32+33\",\"number\":\"1028\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1028\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 32+33\",\"number\":\"1028\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1028\",\"smallest_unit_selling_price\":300,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:06:12', '2025-07-20 11:06:12', NULL);
INSERT INTO `updated_products` VALUES (44, 27, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 31\",\"number\":\"1027\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1027\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 31\",\"number\":\"1027\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1027\",\"smallest_unit_selling_price\":150,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:06:25', '2025-07-20 11:06:25', NULL);
INSERT INTO `updated_products` VALUES (45, 26, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 30\",\"number\":\"1026\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1026\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 30\",\"number\":\"1026\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1026\",\"smallest_unit_selling_price\":150,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:06:39', '2025-07-20 11:06:39', NULL);
INSERT INTO `updated_products` VALUES (46, 25, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 29\",\"number\":\"1025\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1025\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 29\",\"number\":\"1025\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1025\",\"smallest_unit_selling_price\":150,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:06:55', '2025-07-20 11:06:55', NULL);
INSERT INTO `updated_products` VALUES (47, 24, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 28\",\"number\":\"1024\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1024\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 28\",\"number\":\"1024\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1024\",\"smallest_unit_selling_price\":150,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:07:12', '2025-07-20 11:07:12', NULL);
INSERT INTO `updated_products` VALUES (48, 23, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 27\",\"number\":\"1023\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1023\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 27\",\"number\":\"1023\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1023\",\"smallest_unit_selling_price\":150,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:07:25', '2025-07-20 11:07:25', NULL);
INSERT INTO `updated_products` VALUES (49, 22, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 26\",\"number\":\"1022\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1022\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 26\",\"number\":\"1022\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1022\",\"smallest_unit_selling_price\":150,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:07:54', '2025-07-20 11:07:54', NULL);
INSERT INTO `updated_products` VALUES (50, 21, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 25\",\"number\":\"1021\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1021\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 25\",\"number\":\"1021\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1021\",\"smallest_unit_selling_price\":80,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:08:12', '2025-07-20 11:08:12', NULL);
INSERT INTO `updated_products` VALUES (51, 20, '{\"name\":\"\\u0645\\u062d\\u0644 23+24\",\"number\":\"1020\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1020\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 23+24\",\"number\":\"1020\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1020\",\"smallest_unit_selling_price\":300,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:08:33', '2025-07-20 11:08:33', NULL);
INSERT INTO `updated_products` VALUES (52, 19, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 21+22\",\"number\":\"1019\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1019\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 21+22\",\"number\":\"1019\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1019\",\"smallest_unit_selling_price\":250,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:08:55', '2025-07-20 11:08:55', NULL);
INSERT INTO `updated_products` VALUES (53, 20, '{\"name\":\"\\u0645\\u062d\\u0644 23+24\",\"number\":\"1020\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1020\",\"smallest_unit_selling_price\":300,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 23+24\",\"number\":\"1020\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1020\",\"smallest_unit_selling_price\":250,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:09:13', '2025-07-20 11:09:13', NULL);
INSERT INTO `updated_products` VALUES (54, 18, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 20\",\"number\":\"1018\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1018\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 20\",\"number\":\"1018\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1018\",\"smallest_unit_selling_price\":175,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:09:28', '2025-07-20 11:09:28', NULL);
INSERT INTO `updated_products` VALUES (55, 17, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 19\",\"number\":\"1017\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1017\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 19\",\"number\":\"1017\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1017\",\"smallest_unit_selling_price\":175,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:09:44', '2025-07-20 11:09:44', NULL);
INSERT INTO `updated_products` VALUES (56, 16, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 18\",\"number\":\"1016\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1016\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 18\",\"number\":\"1016\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1016\",\"smallest_unit_selling_price\":175,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:09:57', '2025-07-20 11:09:57', NULL);
INSERT INTO `updated_products` VALUES (57, 15, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 17\",\"number\":\"1015\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1015\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 17\",\"number\":\"1015\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1015\",\"smallest_unit_selling_price\":350,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:10:19', '2025-07-20 11:10:19', NULL);
INSERT INTO `updated_products` VALUES (58, 14, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 16\",\"number\":\"1014\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1014\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 16\",\"number\":\"1014\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1014\",\"smallest_unit_selling_price\":225,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:10:34', '2025-07-20 11:10:34', NULL);
INSERT INTO `updated_products` VALUES (59, 13, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 15\",\"number\":\"1013\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1013\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 15\",\"number\":\"1013\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1013\",\"smallest_unit_selling_price\":225,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:10:49', '2025-07-20 11:10:49', NULL);
INSERT INTO `updated_products` VALUES (60, 12, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 14\",\"number\":\"1012\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1012\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 14\",\"number\":\"1012\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1012\",\"smallest_unit_selling_price\":210,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:11:05', '2025-07-20 11:11:05', NULL);
INSERT INTO `updated_products` VALUES (61, 11, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 13\",\"number\":\"1011\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1011\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 13\",\"number\":\"1011\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1011\",\"smallest_unit_selling_price\":225,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:11:24', '2025-07-20 11:11:24', NULL);
INSERT INTO `updated_products` VALUES (62, 10, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 12\",\"number\":\"1010\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1010\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 12\",\"number\":\"1010\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1010\",\"smallest_unit_selling_price\":170,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:11:38', '2025-07-20 11:11:38', NULL);
INSERT INTO `updated_products` VALUES (63, 9, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 11\",\"number\":\"1009\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1009\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 11\",\"number\":\"1009\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1009\",\"smallest_unit_selling_price\":225,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:13:08', '2025-07-20 11:13:08', NULL);
INSERT INTO `updated_products` VALUES (64, 8, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 10\",\"number\":\"1008\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1008\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 10\",\"number\":\"1008\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1008\",\"smallest_unit_selling_price\":225,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:13:26', '2025-07-20 11:13:26', NULL);
INSERT INTO `updated_products` VALUES (65, 7, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 9\",\"number\":\"1007\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1007\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 9\",\"number\":\"1007\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1007\",\"smallest_unit_selling_price\":225,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:13:43', '2025-07-20 11:13:43', NULL);
INSERT INTO `updated_products` VALUES (66, 6, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 8\",\"number\":\"1006\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1006\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 8\",\"number\":\"1006\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1006\",\"smallest_unit_selling_price\":125,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:14:05', '2025-07-20 11:14:05', NULL);
INSERT INTO `updated_products` VALUES (67, 5, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 6+7\",\"number\":\"1005\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1005\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 6+7\",\"number\":\"1005\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1005\",\"smallest_unit_selling_price\":300,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:14:28', '2025-07-20 11:14:28', NULL);
INSERT INTO `updated_products` VALUES (68, 4, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 5\",\"number\":\"1004\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1004\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 5\",\"number\":\"1004\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1004\",\"smallest_unit_selling_price\":125,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:14:47', '2025-07-20 11:14:47', NULL);
INSERT INTO `updated_products` VALUES (69, 3, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 4\",\"number\":\"1003\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1003\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 4\",\"number\":\"1003\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1003\",\"smallest_unit_selling_price\":300,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:15:04', '2025-07-20 11:15:04', NULL);
INSERT INTO `updated_products` VALUES (70, 2, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 3\",\"number\":\"1002\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":\"1002\",\"smallest_unit_selling_price\":0,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":null,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 3\",\"number\":\"1002\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":\"1002\",\"smallest_unit_selling_price\":300,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:15:25', '2025-07-20 11:15:25', NULL);
INSERT INTO `updated_products` VALUES (71, 1, '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 1 + 2\",\"number\":\"1001\",\"discount_value\":null,\"product_category_id\":1,\"smallest_unit_id\":1,\"smallest_unit_barcode\":null,\"smallest_unit_selling_price\":6000,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', '{\"name\":\"\\u0645\\u062d\\u0644 \\u0631\\u0642\\u0645 1 + 2\",\"number\":\"1001\",\"discount_value\":null,\"product_category_id\":\"1\",\"smallest_unit_id\":\"1\",\"smallest_unit_barcode\":null,\"smallest_unit_selling_price\":500,\"smallest_unit_selling_price_above\":null,\"smallest_unit_selling_price_above_price\":0,\"tax_value\":null,\"product_type_id\":1,\"offer_end_date\":null,\"offer_start_date\":null}', NULL, 71, NULL, NULL, NULL, NULL, '2025-07-20 11:15:40', '2025-07-20 11:15:40', NULL);

-- ----------------------------
-- Table structure for uploaded_file_paths
-- ----------------------------
CREATE TABLE `uploaded_file_paths`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `model_id` int UNSIGNED NOT NULL,
  `sub_id` int NOT NULL,
  `policy` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `uploaded_file_paths_model_id_foreign`(`model_id` ASC) USING BTREE,
  INDEX `uploaded_file_paths_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `uploaded_file_paths_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `uploaded_file_paths_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `uploaded_file_paths_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `uploaded_file_paths_model_id_foreign` FOREIGN KEY (`model_id`) REFERENCES `models` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of uploaded_file_paths
-- ----------------------------
INSERT INTO `uploaded_file_paths` VALUES (1, 28, 1, NULL, 'Screenshot 2025-07-09 103333.png', 1, NULL, '2025-07-09 10:34:44', '2025-07-09 10:34:44', NULL);

-- ----------------------------
-- Table structure for user_account_statment_permissions
-- ----------------------------
CREATE TABLE `user_account_statment_permissions`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `first_user_id` int UNSIGNED NOT NULL,
  `second_user_id` int UNSIGNED NOT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `user_account_statment_permissions_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `user_account_statment_permissions_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `user_account_statment_permissions_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `user_account_statment_permissions_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `user_account_statment_permissions_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_account_statment_permissions_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_account_statment_permissions_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_account_statment_permissions_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of user_account_statment_permissions
-- ----------------------------

-- ----------------------------
-- Table structure for user_addresses
-- ----------------------------
CREATE TABLE `user_addresses`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int UNSIGNED NOT NULL,
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `user_addresses_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `user_addresses_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `user_addresses_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `user_addresses_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `user_addresses_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `user_addresses_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_addresses_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_addresses_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_addresses_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_addresses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of user_addresses
-- ----------------------------

-- ----------------------------
-- Table structure for user_bank_transfer_requests
-- ----------------------------
CREATE TABLE `user_bank_transfer_requests`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `date` date NULL DEFAULT NULL,
  `journal_entry_id` int UNSIGNED NULL DEFAULT NULL,
  `to_account_id` int UNSIGNED NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `user_bank_transfer_requests_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `user_bank_transfer_requests_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `user_bank_transfer_requests_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `user_bank_transfer_requests_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `user_bank_transfer_requests_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_bank_transfer_requests_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_bank_transfer_requests_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_bank_transfer_requests_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of user_bank_transfer_requests
-- ----------------------------

-- ----------------------------
-- Table structure for user_banks
-- ----------------------------
CREATE TABLE `user_banks`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int UNSIGNED NOT NULL,
  `bank_user_id` int UNSIGNED NOT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `user_banks_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `user_banks_bank_user_id_foreign`(`bank_user_id` ASC) USING BTREE,
  INDEX `user_banks_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `user_banks_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `user_banks_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `user_banks_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `user_banks_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_banks_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_banks_bank_user_id_foreign` FOREIGN KEY (`bank_user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_banks_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_banks_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_banks_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of user_banks
-- ----------------------------

-- ----------------------------
-- Table structure for user_clinic_rooms
-- ----------------------------
CREATE TABLE `user_clinic_rooms`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `clinic_room_id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `from_date` date NOT NULL,
  `to_date` date NOT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `user_clinic_rooms_clinic_room_id_foreign`(`clinic_room_id` ASC) USING BTREE,
  INDEX `user_clinic_rooms_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `user_clinic_rooms_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `user_clinic_rooms_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `user_clinic_rooms_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `user_clinic_rooms_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `user_clinic_rooms_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_clinic_rooms_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_clinic_rooms_clinic_room_id_foreign` FOREIGN KEY (`clinic_room_id`) REFERENCES `clinic_rooms` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_clinic_rooms_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_clinic_rooms_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_clinic_rooms_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of user_clinic_rooms
-- ----------------------------

-- ----------------------------
-- Table structure for user_pos_printers
-- ----------------------------
CREATE TABLE `user_pos_printers`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int UNSIGNED NOT NULL,
  `pos_printer_id` int UNSIGNED NOT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `user_pos_printers_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `user_pos_printers_pos_printer_id_foreign`(`pos_printer_id` ASC) USING BTREE,
  INDEX `user_pos_printers_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `user_pos_printers_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `user_pos_printers_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `user_pos_printers_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `user_pos_printers_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_pos_printers_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_pos_printers_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_pos_printers_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_pos_printers_pos_printer_id_foreign` FOREIGN KEY (`pos_printer_id`) REFERENCES `pos_printers` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_pos_printers_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of user_pos_printers
-- ----------------------------

-- ----------------------------
-- Table structure for user_specification_relations
-- ----------------------------
CREATE TABLE `user_specification_relations`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int UNSIGNED NOT NULL,
  `user_specification_id` int UNSIGNED NOT NULL,
  `user_specification_value_id` int UNSIGNED NULL DEFAULT NULL,
  `value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `user_specification_relations_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `user_specification_relations_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `user_specification_relations_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `user_specification_relations_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `user_specification_relations_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_specification_relations_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_specification_relations_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_specification_relations_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of user_specification_relations
-- ----------------------------

-- ----------------------------
-- Table structure for user_specification_values
-- ----------------------------
CREATE TABLE `user_specification_values`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `user_specification_id` int UNSIGNED NOT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `user_specification_values_user_specification_id_foreign`(`user_specification_id` ASC) USING BTREE,
  INDEX `user_specification_values_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `user_specification_values_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `user_specification_values_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `user_specification_values_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `user_specification_values_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_specification_values_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_specification_values_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_specification_values_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_specification_values_user_specification_id_foreign` FOREIGN KEY (`user_specification_id`) REFERENCES `user_specifications` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of user_specification_values
-- ----------------------------

-- ----------------------------
-- Table structure for user_specifications
-- ----------------------------
CREATE TABLE `user_specifications`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `validation` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `product_specification_type_id` int UNSIGNED NOT NULL,
  `user_type_id` int UNSIGNED NOT NULL,
  `available_on_reports` int UNSIGNED NOT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `user_specifications_product_specification_type_id_foreign`(`product_specification_type_id` ASC) USING BTREE,
  INDEX `user_specifications_user_type_id_foreign`(`user_type_id` ASC) USING BTREE,
  INDEX `user_specifications_available_on_reports_foreign`(`available_on_reports` ASC) USING BTREE,
  INDEX `user_specifications_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `user_specifications_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `user_specifications_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `user_specifications_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `user_specifications_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_specifications_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_specifications_available_on_reports_foreign` FOREIGN KEY (`available_on_reports`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_specifications_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_specifications_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_specifications_product_specification_type_id_foreign` FOREIGN KEY (`product_specification_type_id`) REFERENCES `product_specification_types` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_specifications_user_type_id_foreign` FOREIGN KEY (`user_type_id`) REFERENCES `user_types` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of user_specifications
-- ----------------------------

-- ----------------------------
-- Table structure for user_status
-- ----------------------------
CREATE TABLE `user_status`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of user_status
-- ----------------------------
INSERT INTO `user_status` VALUES (1, 'فعال', NULL, 'active', 1, NULL, '2025-06-12 14:05:47', '2025-06-12 14:05:47', NULL);
INSERT INTO `user_status` VALUES (2, 'غير فعال', NULL, 'deactivate', 1, NULL, '2025-06-12 14:05:47', '2025-06-12 14:05:47', NULL);

-- ----------------------------
-- Table structure for user_subscriptions
-- ----------------------------
CREATE TABLE `user_subscriptions`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `subscription_id` int UNSIGNED NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `journal_entry_id` int UNSIGNED NULL DEFAULT NULL,
  `remain_visits` int UNSIGNED NULL DEFAULT NULL,
  `subscription_group_id` int UNSIGNED NULL DEFAULT NULL,
  `from_date` date NULL DEFAULT NULL,
  `to_date` date NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `amount` double NULL DEFAULT NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `user_subscriptions_subscription_group_id_foreign`(`subscription_group_id` ASC) USING BTREE,
  INDEX `user_subscriptions_subscription_id_foreign`(`subscription_id` ASC) USING BTREE,
  INDEX `user_subscriptions_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `user_subscriptions_journal_entry_id_foreign`(`journal_entry_id` ASC) USING BTREE,
  INDEX `user_subscriptions_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `user_subscriptions_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `user_subscriptions_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `user_subscriptions_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `user_subscriptions_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_subscriptions_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_subscriptions_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_subscriptions_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_subscriptions_journal_entry_id_foreign` FOREIGN KEY (`journal_entry_id`) REFERENCES `journal_entries` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_subscriptions_subscription_group_id_foreign` FOREIGN KEY (`subscription_group_id`) REFERENCES `subscription_groups` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_subscriptions_subscription_id_foreign` FOREIGN KEY (`subscription_id`) REFERENCES `subscriptions` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_subscriptions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of user_subscriptions
-- ----------------------------

-- ----------------------------
-- Table structure for user_types
-- ----------------------------
CREATE TABLE `user_types`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 10 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of user_types
-- ----------------------------
INSERT INTO `user_types` VALUES (1, 'مستخدم', '1', 'user', 1, NULL, '2025-06-12 14:05:47', '2025-06-12 14:05:47', NULL);
INSERT INTO `user_types` VALUES (2, 'عميل', '2', 'customer', 1, NULL, '2025-06-12 14:05:47', '2025-06-12 14:05:47', NULL);
INSERT INTO `user_types` VALUES (3, 'مورد', '3', 'vendor', 1, NULL, '2025-06-12 14:05:47', '2025-06-12 14:05:47', NULL);
INSERT INTO `user_types` VALUES (4, 'حساب', '4', 'account', 1, NULL, '2025-06-12 14:05:47', '2025-06-12 14:05:47', NULL);
INSERT INTO `user_types` VALUES (5, 'موظف', '5', 'employee', 1, NULL, '2025-06-12 14:05:47', '2025-06-12 14:05:47', NULL);
INSERT INTO `user_types` VALUES (6, 'طالب', '6', 'student', 1, NULL, '2025-06-12 14:05:47', '2025-06-12 14:05:47', NULL);
INSERT INTO `user_types` VALUES (7, 'طلبية خارجية', '7', 'Foreign order', 1, NULL, '2025-06-12 14:05:47', '2025-06-12 14:05:47', NULL);
INSERT INTO `user_types` VALUES (8, 'فرق مبيعات', '8', 'Sales Persons', 1, NULL, '2025-06-12 14:05:47', '2025-06-12 14:05:47', NULL);
INSERT INTO `user_types` VALUES (9, 'سائقين توصيل', '9', 'Order drivers', 1, NULL, '2025-06-12 14:05:47', '2025-06-12 14:05:47', NULL);

-- ----------------------------
-- Table structure for user_warehouses
-- ----------------------------
CREATE TABLE `user_warehouses`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int UNSIGNED NOT NULL,
  `warehouse_id` int UNSIGNED NOT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `user_warehouses_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `user_warehouses_warehouse_id_foreign`(`warehouse_id` ASC) USING BTREE,
  INDEX `user_warehouses_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `user_warehouses_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `user_warehouses_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `user_warehouses_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `user_warehouses_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_warehouses_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_warehouses_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_warehouses_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_warehouses_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `user_warehouses_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of user_warehouses
-- ----------------------------

-- ----------------------------
-- Table structure for users
-- ----------------------------
CREATE TABLE `users`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int NULL DEFAULT NULL,
  `user_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `password` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `remember_token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `api_token` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `user_state_id` int UNSIGNED NULL DEFAULT NULL,
  `user_type_id` int UNSIGNED NULL DEFAULT NULL,
  `branch_id` int UNSIGNED NULL DEFAULT NULL,
  `currency_id` int UNSIGNED NULL DEFAULT NULL,
  `warehouse_id` int UNSIGNED NULL DEFAULT NULL,
  `gender_id` int UNSIGNED NULL DEFAULT NULL,
  `barcode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `cash_account_user_id` int UNSIGNED NULL DEFAULT NULL,
  `bank_account_user_id` int UNSIGNED NULL DEFAULT NULL,
  `permission_id` int UNSIGNED NULL DEFAULT NULL,
  `is_he_in_black_list` int UNSIGNED NULL DEFAULT NULL,
  `is_master` int NULL DEFAULT NULL,
  `partner_user_id` int UNSIGNED NULL DEFAULT NULL,
  `required_discount` int UNSIGNED NULL DEFAULT NULL,
  `temp_balance_limit_state_id` int UNSIGNED NULL DEFAULT NULL,
  `required_discount_value` double NULL DEFAULT NULL,
  `check_portfolio_id` int UNSIGNED NULL DEFAULT NULL,
  `manager_user_id` int UNSIGNED NULL DEFAULT NULL,
  `available_on_pos` int UNSIGNED NULL DEFAULT NULL,
  `payment_method_id` int UNSIGNED NULL DEFAULT NULL,
  `sell_under_cost` int UNSIGNED NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `multiple_branches` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `active_status` tinyint(1) NOT NULL DEFAULT 0,
  `avatar` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT 'avatar.png',
  `dark_mode` tinyint(1) NOT NULL DEFAULT 0,
  `messenger_color` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `users_user_state_id_foreign`(`user_state_id` ASC) USING BTREE,
  INDEX `users_user_type_id_foreign`(`user_type_id` ASC) USING BTREE,
  INDEX `users_gender_id_foreign`(`gender_id` ASC) USING BTREE,
  INDEX `users_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `users_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `users_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `users_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `users_gender_id_foreign` FOREIGN KEY (`gender_id`) REFERENCES `genders` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `users_user_state_id_foreign` FOREIGN KEY (`user_state_id`) REFERENCES `user_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `users_user_type_id_foreign` FOREIGN KEY (`user_type_id`) REFERENCES `user_types` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 269 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of users
-- ----------------------------
INSERT INTO `users` VALUES (1, 1, 'admin', 'admin', '1', NULL, '$2y$10$rRWt9KV6uchPK9h6YMXbLOBIphaIw6ffY1m6d0ztqWrByl7hP/H.u', 'support@softya.com', NULL, NULL, '3e14aa08c5ef7790d9ea95f7e2c7b686118d1ca7bd16d03d702fcece5551', 'ec516b63f7d0f49d503cd60dd15521bdb643a46e3dc31cf8f4750beb8bb3', 1, 1, 1, NULL, 1, 1, '123456', 2, 4, 1, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-06-12 14:05:47', '2025-06-12 14:05:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (71, NULL, 'awni', 'awni', '2', 'super', '$2y$10$ubg0Y6ouz/1DSmxZeA7OQ.NLSLP0/DkxJc1mn..iGPxT5hZCT4Jgm', NULL, NULL, NULL, '2e4f94b6aeb8c89a23f991be7f83ae308b3cf3b889516856b19571755896', NULL, 1, 1, 1, NULL, NULL, 1, NULL, 72, NULL, 1, NULL, 1, NULL, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 14:59:36', '2025-07-18 22:53:29', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (72, NULL, NULL, 'النقدية في الصندوق', '1111', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (73, NULL, NULL, 'صندوق الشيكات الاجلة', '1112', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (74, NULL, NULL, 'بنك المؤسسة المصرفية ', '1121', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (75, NULL, NULL, 'ذمم ساعة فرعية محل 3', '113201', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (76, NULL, NULL, 'ذمم ساعة فرعية محل 6+7', '113202', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (77, NULL, NULL, 'ذمم ساعة فرعية محل 8', '113203', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (78, NULL, NULL, 'ذمم ساعة فرعية محل 9', '113204', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (79, NULL, NULL, 'ذمم ساعة فرعية محل 10', '113205', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (80, NULL, NULL, 'ذمم ساعة فرعية محل 11', '113206', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (81, NULL, NULL, 'ذمم ساعة فرعية محل 12', '113207', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (82, NULL, NULL, 'ذمم ساعة فرعية محل 13', '113208', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (83, NULL, NULL, 'ذمم ساعة فرعية محل 14', '113209', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (84, NULL, NULL, 'ذمم ساعة فرعية محل 15', '113210', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (85, NULL, NULL, 'ذمم ساعة فرعية محل 16', '113211', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (86, NULL, NULL, 'ذمم ساعة فرعية محل 17', '113212', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (87, NULL, NULL, 'ذمم ساعة فرعية محل 18', '113213', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (88, NULL, NULL, 'ذمم ساعة فرعية محل 19', '113214', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (89, NULL, NULL, 'ذمم ساعة فرعية محل 20', '113215', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (90, NULL, NULL, 'ذمم ساعة فرعية محل 18+19+20', '113216', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (91, NULL, NULL, 'ذمم ساعة فرعية محل 21+22', '113217', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (92, NULL, NULL, 'ذمم ساعة فرعية 23+24', '113218', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (93, NULL, NULL, 'ذمم ساعة فرعية محل 25', '113219', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (94, NULL, NULL, 'ذمم ساعة فرعية محل 26', '113220', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (95, NULL, NULL, 'ذمم ساعة فرعية محل 27', '113221', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (96, NULL, NULL, 'ذمم ساعة فرعية محل 28', '113222', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (97, NULL, NULL, 'ذمم ساعة فرعية محل 29', '113223', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (98, NULL, NULL, 'ذمم ساعة فرعية محل 30', '113224', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (99, NULL, NULL, 'ذمم ساعة فرعية محل 31', '113225', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (100, NULL, NULL, 'ذمم ساعة فرعية محل 32+33', '113226', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (101, NULL, NULL, 'ذمم ساعة فرعية الارض ', '113227', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (102, NULL, NULL, 'ذمم ساعة فرعية مشغل طابق اول شمال ', '113228', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (103, NULL, NULL, 'ذمم ساعة فرعية سكن الشركة العربية ', '113229', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (104, NULL, NULL, 'ذمم ساعة فرعية مشغل النعيمي ', '113230', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (105, NULL, NULL, 'ذمم ساعة فرعية سكن  غرفة مخابز الايمان ', '113231', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (106, NULL, NULL, 'ذمم الشريك عيسى الطباخي', '11301', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (107, NULL, NULL, 'ذمم الشريك نزار القريوتي ', '11302', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (108, NULL, NULL, 'ذمم الشريك جمال الشلبي', '11303', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:03', '2025-07-08 18:48:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (109, NULL, NULL, 'ذمم عوني الطباخي ', '113401', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (111, NULL, NULL, 'المبنى ', '121001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (112, NULL, NULL, 'الاجهزة و المعدات', '121002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (113, NULL, NULL, 'المحاسب ابو مالك ', '211001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (114, NULL, NULL, 'شركة الكهرباء الاردنية ', '211002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (115, NULL, NULL, 'ساعة كهرباء عيسى الطباخي', '211003', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (116, NULL, NULL, 'ساعة كهرباء العلمي ', '211004', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (117, NULL, NULL, 'ساعة كهرباء السويطي', '211005', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (118, NULL, NULL, 'ساعة كهرباء المناصره', '211006', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (119, NULL, NULL, 'ساعة كهرباء فارس داود', '211007', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (120, NULL, NULL, 'ساعة كهرباء شمس', '211008', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (121, NULL, NULL, 'احمد القصير ', '211009', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (122, NULL, NULL, 'زياد / الطوب ', '211010', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (123, NULL, NULL, 'مصاريف مستحقة وغير مدفوعة', '221001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (124, NULL, NULL, 'تأمينات  ساعات فرعية ', '221002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (125, NULL, NULL, 'رأس مال الشريك عيسى الطباخي', '311001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (126, NULL, NULL, 'رأس مال الشريك نزار القريوتي', '311002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (127, NULL, NULL, 'رأس مال الشريك جمال الشلبي', '311003', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (128, NULL, NULL, 'جاري الشريك عيسى الطباخي', '321001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (129, NULL, NULL, 'جاري الشريك  نزار القريوتي', '321002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (130, NULL, NULL, 'جاري الشريك جمال الشلبي', '321003', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (131, NULL, NULL, 'ارباح السنة الحالية', '331001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (132, NULL, NULL, 'ارباح السنوات السابقة', '331002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (133, NULL, NULL, 'ايراد محل 1+2', '411001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (134, NULL, NULL, 'ايراد محل 3', '411002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (135, NULL, NULL, 'ايراد محل 4', '411003', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (136, NULL, NULL, 'ايراد محل 5', '411004', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (137, NULL, NULL, 'ايراد محل 6+7', '411005', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (138, NULL, NULL, 'ايراد محل 8', '411006', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (139, NULL, NULL, 'ايراد محل 9', '411007', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (140, NULL, NULL, 'ايراد محل 10', '411008', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (141, NULL, NULL, 'ايراد محل 11', '411009', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (142, NULL, NULL, 'ايراد محل 12', '411010', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (143, NULL, NULL, 'ايراد محل 13', '411011', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (144, NULL, NULL, 'ايراد محل 14', '411012', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (145, NULL, NULL, 'ايراد محل 15', '411013', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (146, NULL, NULL, 'ايراد محل 16', '411014', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (147, NULL, NULL, 'ايراد محل 17', '411015', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (148, NULL, NULL, 'ايراد محل 18', '411016', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (149, NULL, NULL, 'ايراد محل 19', '411017', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (150, NULL, NULL, 'ايراد محل 20', '411018', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (151, NULL, NULL, 'ايراد محل 18+19+20', '411019', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (152, NULL, NULL, 'ايراد  محل 21+22', '411020', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (153, NULL, NULL, 'ايراد محل 23+24', '411021', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (154, NULL, NULL, 'ايراد محل 25', '411022', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (155, NULL, NULL, 'ايراد محل 26', '411023', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (156, NULL, NULL, 'ايراد محل 27', '411024', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (157, NULL, NULL, 'ايراد محل 28', '411025', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (158, NULL, NULL, 'ايراد محل 29', '411026', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (159, NULL, NULL, 'ايراد محل 30', '411027', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (160, NULL, NULL, 'ايراد محل 31', '411028', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:04', '2025-07-08 18:48:04', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (161, NULL, NULL, 'ايراد محل 32+33', '411029', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (162, NULL, NULL, 'ايراد الارض الفارغة  34', '411030', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (163, NULL, NULL, 'ايراد سكن غرفة 35 خلف المكتب ', '411031', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (164, NULL, NULL, 'ايراد سكن غرفة 36 / فوق محل 1+2', '411032', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (165, NULL, NULL, 'ايراد سكن غرفة 37 / فوق محل 4', '411033', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (166, NULL, NULL, 'ايراد مشغل 38/ فوق  محل 3+4', '411034', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (167, NULL, NULL, 'ايراد سكن غرفة 39  / طابق اول يمين', '411035', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (168, NULL, NULL, 'ايراد سكن غرفة 40 / طابق اول يمين', '411036', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (169, NULL, NULL, 'ايراد سكن غرفة 41  / طابق اول يمين', '411037', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (170, NULL, NULL, 'ايراد مشغل 42 / طابق اول يمين ', '411038', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (171, NULL, NULL, 'ايراد مشغل 43 / طابق اول شمال ', '411039', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (172, NULL, NULL, 'ايراد مشغل 44 / طابق ثاني يمين ', '411040', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (173, NULL, NULL, 'ايراد مشغل 45  / طابق ثاني شمال', '411041', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (174, NULL, NULL, 'ايراد سكن غرفة 46 / طابق ثاني شمال', '411042', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (175, NULL, NULL, 'ايراد سكن غرفة 47 / طابق ثاني شمال', '411043', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (176, NULL, NULL, 'ايراد سكن غرفة 48 / طابق ثاني شمال', '411044', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (177, NULL, NULL, 'ايراد سكن غرفة 49 / طابق ثاني شمال', '411045', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (178, NULL, NULL, 'ايراد مشغل هنجر على السطح', '411046', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (179, NULL, NULL, 'ايرادات الخدمات', '412001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (180, NULL, NULL, 'خصم مكتسب', '413001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (181, NULL, NULL, 'ايرادات بيع اصول', '413002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (182, NULL, NULL, 'ايرادات اخرى', '413003', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (183, NULL, NULL, 'مثقفات', '511001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (184, NULL, NULL, 'رسوم مجاري ', '511002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (185, NULL, NULL, 'رسوم قضايا', '511003', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (186, NULL, NULL, 'رواتب ', '511004', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (187, NULL, NULL, 'صيانة ', '511005', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (188, NULL, NULL, 'م. كهرباء', '511006', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (189, NULL, NULL, 'م. عامة ', '511007', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (190, NULL, NULL, 'م. مياه', '511008', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (191, NULL, NULL, 'اتعاب محامي', '511009', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (192, NULL, NULL, 'مصاريف اخرى ', '511010', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:48:05', '2025-07-08 18:48:05', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (193, NULL, NULL, 'اسامة مصطفى خالد حسين', '1131001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:46', '2025-07-08 18:53:46', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (194, NULL, NULL, 'محمد يزيد اسماعيل ابو عواد', '1131002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:46', '2025-07-08 18:53:46', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (195, NULL, NULL, 'احمد عمر مصطفى رمان ', '1131003', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:46', '2025-07-08 18:53:46', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (196, NULL, NULL, 'لؤي محمد مسلم العزة', '1131004', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:46', '2025-07-08 18:53:46', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (197, NULL, NULL, 'عز الدين محمد حسين الخوالدة ', '1131005', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:46', '2025-07-08 18:53:46', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (198, NULL, NULL, 'صالح ابراهيم عبد صدقه', '1131006', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:46', '2025-07-08 18:53:46', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (199, NULL, NULL, 'هيثم حنون ', '1131007', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:46', '2025-07-08 18:53:46', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (200, NULL, 'صالح علي صالح القريناوي', 'صالح علي صالح القريناوي', '1131008', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-08 18:53:46', '2025-07-31 12:56:24', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (201, NULL, NULL, 'محمد سعدات الكور ', '1131009', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:46', '2025-07-08 18:53:46', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (202, NULL, NULL, 'هشام ابو عواد ', '1131010', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:46', '2025-07-08 18:53:46', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (203, NULL, NULL, 'هاني محمد حسن موسى ', '1131011', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:46', '2025-07-08 18:53:46', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (204, NULL, NULL, 'عمر هارون', '1131012', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:46', '2025-07-08 18:53:46', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (205, NULL, 'اسماعيل داوود / محل 15', 'اسماعيل داوود / محل 15', '1131013', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-08 18:53:46', '2025-07-30 12:39:02', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (206, NULL, NULL, 'يزن ابو صالح ', '1131014', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:46', '2025-07-08 18:53:46', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (207, NULL, 'ايمن مناع/ محل 21+22', 'ايمن مناع/ محل 21+22', '1131015', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-08 18:53:46', '2025-07-30 10:53:15', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (208, NULL, NULL, 'محمد رجب وزياد دوديين', '1131016', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:46', '2025-07-08 18:53:46', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (209, NULL, NULL, 'ناصر محمود السلاق', '1131017', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:46', '2025-07-08 18:53:46', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (210, NULL, 'حسين الغزاوي', 'حسين الغزاوي', '1131018', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-08 18:53:46', '2025-07-31 12:54:56', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (211, NULL, NULL, 'بلال عميره ', '1131019', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (212, NULL, NULL, 'يزن نضال فهمي عجاوي ', '1131020', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (213, NULL, NULL, 'محمد عصام يوسف ملحم', '1131021', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (214, NULL, NULL, 'محمد زاهي مصطفى الشلبي', '1131022', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (215, NULL, NULL, 'توفيق عبد قعدان', '1131023', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (216, NULL, NULL, 'خضر جميل ابو نجم ', '1131024', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (217, NULL, NULL, 'طابق ثاني يمين ', '1131025', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (218, NULL, NULL, 'مراد الشويكي مشغل طابق اول ', '1131026', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (219, NULL, NULL, 'مراد الشويكي مشغل طابق ثاني', '1131027', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (220, NULL, NULL, 'نبيل مناصره ', '1131028', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (221, NULL, NULL, 'سامي درويش ', '1131029', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (222, NULL, NULL, 'الشركة العربية للتجهيزات الغذائية ', '1131030', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (223, NULL, 'قهوة ابو عروب', 'قهوة ابو عروب', '1131031', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-08 18:53:47', '2025-07-29 12:24:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (224, NULL, 'عمرو / غرفة 10 ط/2ش', 'عمرو / غرفة 10 ط/2ش', '1131032', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-08 18:53:47', '2025-07-29 12:27:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (225, NULL, 'اسلام / غرفة 11 ط/2ش', 'اسلام / غرفة 11 ط/2ش', '1131033', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-08 18:53:47', '2025-07-29 12:29:39', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (226, NULL, 'مخابز الايمان / غرفة 5+6 / ط1 يمين', 'مخابز الايمان / غرفة 5+6 / ط1 يمين', '1131034', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-08 18:53:47', '2025-07-29 12:54:39', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (227, NULL, 'اليمنيين / غرفة 7 / ط1يمين', 'اليمنيين / غرفة 7 / ط1يمين', '1131035', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-08 18:53:47', '2025-07-29 12:53:34', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (228, NULL, 'مرشدي رزق النحراوي / غرفة 1', 'مرشدي رزق النحراوي / غرفة 1', '1131036', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-08 18:53:47', '2025-07-29 12:45:37', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (229, NULL, 'ابو احمد  / غرفة 3', 'ابو احمد  / غرفة 3', '1131037', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-08 18:53:47', '2025-07-29 12:49:37', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (230, NULL, NULL, 'مشغل موفق النعيمي ', '1131038', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (231, NULL, 'محمود محمد عبد الفتاح الكيالي/ محل رقم 28', 'محمود محمد عبد الفتاح الكيالي/ محل رقم 28', '1131039', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-08 18:53:47', '2025-07-30 12:41:37', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (232, NULL, 'محمد حبيب مؤيد خالد', 'محمد حبيب مؤيد خالد', '1131040', NULL, NULL, NULL, '0790063159', NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-08 18:53:47', '2025-08-04 11:06:02', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (233, NULL, NULL, 'عز الدين عماد الجنيدي ', '1131041', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (234, NULL, NULL, 'مجدي جلال موسى جمعه ', '1131042', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (235, NULL, NULL, ' زياد سليمان ', '1131043', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (236, NULL, NULL, 'محمد يوسف جميل الشرقاوي', '1131044', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (237, NULL, NULL, 'احمد فخر الدين زيادة', '1131045', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (238, NULL, NULL, 'محمد عادل حسين العتال ', '1131046', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (239, NULL, NULL, 'محمد ياسر احمد العوايشة ', '1131047', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (240, NULL, NULL, 'مجدي علي احمد الفروخ', '1131048', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, NULL, '2025-07-08 18:53:47', '2025-07-08 18:53:47', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (241, NULL, NULL, 'ذمم مدينة', '113001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-09 10:59:13', '2025-07-09 10:59:13', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (242, NULL, NULL, 'ذمم دائنة', '211011', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-09 11:00:10', '2025-07-09 11:00:10', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (243, NULL, NULL, 'ايرادات', '412002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-09 13:56:09', '2025-07-12 22:20:04', '2025-07-12 22:20:04', 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (244, NULL, NULL, 'الايراد المقبوض وغير مستحق', '412003', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-09 13:58:17', '2025-07-10 10:34:03', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (246, NULL, NULL, 'امانات ضريبة المعارف', '221003', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-10 10:52:22', '2025-07-10 10:52:22', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (247, NULL, NULL, 'شركة مياهنا', '211012', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-10 11:56:27', '2025-07-10 11:56:27', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (248, NULL, NULL, 'الايرادات', '411001', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, '2025-07-12 21:46:44', '2025-07-12 22:20:21', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (249, NULL, 'محمد وسيم علي ابو عيشة', 'محمد وسيم علي ابو عيشة', '1131049', NULL, NULL, NULL, '0779875212', NULL, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-13 17:59:00', '2025-07-13 17:59:00', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (250, NULL, NULL, 'المحامي ايهاب منصور', '113002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-14 10:02:20', '2025-07-14 10:02:20', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (251, NULL, NULL, 'شركة جمال الشلبي وعوني الطباخي', '1134002', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-16 10:33:20', '2025-07-16 10:33:20', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (252, NULL, NULL, 'حساب التوسعة الجديدة', '1134003', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-17 11:17:15', '2025-07-17 11:17:15', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (253, NULL, NULL, 'ابو وسام الموسرجي', '211013', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-18 13:18:36', '2025-07-18 13:18:36', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (254, NULL, 'محمد سلامة', 'محمد سلامة', '1131050', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-18 22:40:20', '2025-07-18 22:40:20', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (255, NULL, NULL, 'ذمم مشكوك في تحصيلها', '511011', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-21 16:49:23', '2025-07-23 15:27:31', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (256, NULL, NULL, 'مصاريف عمل مخططات هندسية للمجمع', '511012', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-24 11:55:56', '2025-07-24 11:55:56', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (257, NULL, 'ايمن مناع / محل 25', 'ايمن مناع / محل 25', '1131051', NULL, NULL, NULL, '0785067634', NULL, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-30 10:54:03', '2025-08-04 11:05:20', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (258, NULL, 'لؤي العزة / محل رقم 3', 'لؤي العزة / محل رقم 3', '1131052', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-30 12:21:17', '2025-07-30 12:21:17', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (259, NULL, 'لؤي العزة / محل رقم 15', 'لؤي العزة / محل رقم 15', '1131053', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-30 12:21:42', '2025-07-30 12:21:42', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (260, NULL, 'لؤي العزة / محل رقم 16', 'لؤي العزة / محل رقم 16', '1131054', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-30 12:21:58', '2025-07-30 12:21:58', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (261, NULL, 'لؤي العزة / محل رقم 18', 'لؤي العزة / محل رقم 18', '1131055', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-30 12:22:26', '2025-07-30 12:22:26', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (262, NULL, 'لؤي العزة / محل رقم 19', 'لؤي العزة / محل رقم 19', '1131056', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-30 12:22:42', '2025-07-30 12:22:42', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (263, NULL, 'لؤي العزة / محل رقم 20', 'لؤي العزة / محل رقم 20', '1131057', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-30 12:23:06', '2025-07-30 12:23:06', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (264, NULL, 'اسماعيل داوود / محل 17', 'اسماعيل داوود / محل 17', '1131058', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-30 12:26:34', '2025-07-30 12:26:34', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (265, NULL, 'محمود محمد عبد الفتاح الكيالي / محل 29', 'محمود محمد عبد الفتاح الكيالي / محل 29', '1131059', NULL, NULL, NULL, '0796922834', NULL, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-30 12:42:15', '2025-08-04 11:04:31', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (266, NULL, 'حسين الغزاوي \\ محل 29', 'حسين الغزاوي \\ محل 29', '1131060', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-07-31 10:46:15', '2025-07-31 10:46:15', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (267, NULL, 'محمد عدنان سليمان عبد الرازق و يزن اياد محمود العلي', 'محمد عدنان سليمان عبد الرازق و يزن اياد محمود العلي', '1131061', NULL, NULL, NULL, '0782299298', NULL, NULL, NULL, 1, 2, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-08-02 12:06:59', '2025-08-02 12:06:59', NULL, 0, 'avatar.png', 0, NULL);
INSERT INTO `users` VALUES (268, NULL, NULL, 'برنامج المحاسبة', '511013', NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 4, 1, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 71, NULL, NULL, 1, NULL, NULL, '2025-08-06 15:27:23', '2025-08-06 15:27:23', NULL, 0, 'avatar.png', 0, NULL);

-- ----------------------------
-- Table structure for vacation_allowances
-- ----------------------------
CREATE TABLE `vacation_allowances`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `employee_user_id` int UNSIGNED NOT NULL,
  `journal_entry_id` int UNSIGNED NOT NULL,
  `number_of_days` double UNSIGNED NOT NULL,
  `branch_id` int UNSIGNED NULL DEFAULT NULL,
  `date` date NOT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `vacation_allowances_employee_user_id_foreign`(`employee_user_id` ASC) USING BTREE,
  INDEX `vacation_allowances_journal_entry_id_foreign`(`journal_entry_id` ASC) USING BTREE,
  INDEX `vacation_allowances_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `vacation_allowances_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `vacation_allowances_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `vacation_allowances_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `vacation_allowances_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vacation_allowances_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vacation_allowances_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vacation_allowances_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vacation_allowances_employee_user_id_foreign` FOREIGN KEY (`employee_user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vacation_allowances_journal_entry_id_foreign` FOREIGN KEY (`journal_entry_id`) REFERENCES `journal_entries` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of vacation_allowances
-- ----------------------------

-- ----------------------------
-- Table structure for vendor_main_accounts
-- ----------------------------
CREATE TABLE `vendor_main_accounts`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `main_account_id` int UNSIGNED NULL DEFAULT NULL,
  `main_child_zeros` int NULL DEFAULT NULL,
  `main_child_counter` int NULL DEFAULT NULL,
  `sub_child_zeros` int NULL DEFAULT NULL,
  `sub_child_counter` int NULL DEFAULT NULL,
  `branch_id` int NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `vendor_main_accounts_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `vendor_main_accounts_main_account_id_foreign`(`main_account_id` ASC) USING BTREE,
  INDEX `vendor_main_accounts_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `vendor_main_accounts_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `vendor_main_accounts_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vendor_main_accounts_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vendor_main_accounts_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vendor_main_accounts_main_account_id_foreign` FOREIGN KEY (`main_account_id`) REFERENCES `vendor_main_accounts` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of vendor_main_accounts
-- ----------------------------
INSERT INTO `vendor_main_accounts` VALUES (1, 'الموردين', '1', 'Delegates', NULL, 10, NULL, 1000, 1, 1, NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:48', '2025-06-12 14:05:48', NULL);

-- ----------------------------
-- Table structure for vendors
-- ----------------------------
CREATE TABLE `vendors`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `address` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `tax_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `phone` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `mobile` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `email` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `country_id` int UNSIGNED NULL DEFAULT NULL,
  `city_id` int UNSIGNED NULL DEFAULT NULL,
  `vendor_main_account_id` int UNSIGNED NULL DEFAULT NULL,
  `branch_id` int UNSIGNED NULL DEFAULT NULL,
  `point_of_sale_barcode` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `e_invoice_data` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `sales_payment_term_id` int UNSIGNED NULL DEFAULT NULL,
  `purchase_payment_term_id` int UNSIGNED NULL DEFAULT NULL,
  `financial_account_type_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NULL DEFAULT NULL,
  `sales_person` int UNSIGNED NULL DEFAULT NULL,
  `bank_account` int UNSIGNED NULL DEFAULT NULL,
  `account_address_id` int UNSIGNED NULL DEFAULT NULL,
  `sales_account_user_id` int UNSIGNED NULL DEFAULT NULL,
  `longitude` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `latitudes` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `multiple_branches` int UNSIGNED NULL DEFAULT NULL,
  `bulding_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `street_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `district` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `city` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `country` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `postal_code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `additional_number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `other_id` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `balance_limit_exception` int UNSIGNED NULL DEFAULT NULL,
  `payment_method_id` int UNSIGNED NULL DEFAULT NULL,
  `selling_price_by_last_selling_price` int UNSIGNED NULL DEFAULT NULL,
  `balance_limit` double NULL DEFAULT NULL,
  `minimum_value_for_purchases` double NULL DEFAULT NULL,
  `minimum_value_for_sales` double NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `vendors_country_id_foreign`(`country_id` ASC) USING BTREE,
  INDEX `vendors_city_id_foreign`(`city_id` ASC) USING BTREE,
  INDEX `vendors_vendor_main_account_id_foreign`(`vendor_main_account_id` ASC) USING BTREE,
  INDEX `vendors_sales_payment_term_id_foreign`(`sales_payment_term_id` ASC) USING BTREE,
  INDEX `vendors_purchase_payment_term_id_foreign`(`purchase_payment_term_id` ASC) USING BTREE,
  INDEX `vendors_financial_account_type_id_foreign`(`financial_account_type_id` ASC) USING BTREE,
  INDEX `vendors_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `vendors_sales_person_foreign`(`sales_person` ASC) USING BTREE,
  INDEX `vendors_bank_account_foreign`(`bank_account` ASC) USING BTREE,
  INDEX `vendors_account_address_id_foreign`(`account_address_id` ASC) USING BTREE,
  INDEX `vendors_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `vendors_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `vendors_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `vendors_account_address_id_foreign` FOREIGN KEY (`account_address_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vendors_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vendors_bank_account_foreign` FOREIGN KEY (`bank_account`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vendors_city_id_foreign` FOREIGN KEY (`city_id`) REFERENCES `cities` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vendors_country_id_foreign` FOREIGN KEY (`country_id`) REFERENCES `countries` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vendors_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vendors_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vendors_financial_account_type_id_foreign` FOREIGN KEY (`financial_account_type_id`) REFERENCES `financial_account_types` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vendors_purchase_payment_term_id_foreign` FOREIGN KEY (`purchase_payment_term_id`) REFERENCES `payment_terms` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vendors_sales_payment_term_id_foreign` FOREIGN KEY (`sales_payment_term_id`) REFERENCES `payment_terms` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vendors_sales_person_foreign` FOREIGN KEY (`sales_person`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vendors_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `vendors_vendor_main_account_id_foreign` FOREIGN KEY (`vendor_main_account_id`) REFERENCES `vendor_main_accounts` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of vendors
-- ----------------------------

-- ----------------------------
-- Table structure for visited_models
-- ----------------------------
CREATE TABLE `visited_models`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int UNSIGNED NOT NULL,
  `model_id` int UNSIGNED NOT NULL,
  `number` int UNSIGNED NOT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `visited_models_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `visited_models_model_id_foreign`(`model_id` ASC) USING BTREE,
  INDEX `visited_models_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `visited_models_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `visited_models_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `visited_models_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `visited_models_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `visited_models_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `visited_models_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `visited_models_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `visited_models_model_id_foreign` FOREIGN KEY (`model_id`) REFERENCES `models` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `visited_models_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of visited_models
-- ----------------------------

-- ----------------------------
-- Table structure for voucher_posting_status
-- ----------------------------
CREATE TABLE `voucher_posting_status`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `voucher_posting_status_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `voucher_posting_status_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `voucher_posting_status_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `voucher_posting_status_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of voucher_posting_status
-- ----------------------------
INSERT INTO `voucher_posting_status` VALUES (1, 'يرحل تلقائيا', 'automatically_posting', NULL, 1, NULL, '2025-06-12 14:05:48', '2025-06-12 14:05:48', NULL);
INSERT INTO `voucher_posting_status` VALUES (2, 'يرحل يدويا', 'manual_posting', NULL, 1, NULL, '2025-06-12 14:05:48', '2025-06-12 14:05:48', NULL);

-- ----------------------------
-- Table structure for warehouses
-- ----------------------------
CREATE TABLE `warehouses`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `main_child_zeros` int NOT NULL,
  `main_child_counter` int NULL DEFAULT NULL,
  `sub_child_zeros` int NULL DEFAULT NULL,
  `sub_child_counter` int NULL DEFAULT NULL,
  `warehouse_id` int UNSIGNED NULL DEFAULT NULL,
  `account_user_id` int UNSIGNED NULL DEFAULT NULL,
  `branch_id` int UNSIGNED NULL DEFAULT NULL,
  `active_send_product_reorders_report` int UNSIGNED NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `warehouses_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `warehouses_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `warehouses_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `warehouses_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  INDEX `warehouses_warehouse_id_foreign`(`warehouse_id` ASC) USING BTREE,
  CONSTRAINT `warehouses_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `warehouses_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `warehouses_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `warehouses_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `warehouses_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of warehouses
-- ----------------------------
INSERT INTO `warehouses` VALUES (1, 'المستودع الرئيسي', '1', 'Main warehouse', 10, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:48', '2025-06-12 14:05:48', NULL);

-- ----------------------------
-- Table structure for wc_finshed_date_holidays
-- ----------------------------
CREATE TABLE `wc_finshed_date_holidays`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `date` date NOT NULL,
  `to_date` date NOT NULL,
  `product_category_id` int NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `wc_finshed_date_holidays_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `wc_finshed_date_holidays_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `wc_finshed_date_holidays_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `wc_finshed_date_holidays_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `wc_finshed_date_holidays_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `wc_finshed_date_holidays_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `wc_finshed_date_holidays_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `wc_finshed_date_holidays_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of wc_finshed_date_holidays
-- ----------------------------

-- ----------------------------
-- Table structure for weekly_plan_lines
-- ----------------------------
CREATE TABLE `weekly_plan_lines`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `weekly_plan_id` int UNSIGNED NOT NULL,
  `subject_id` int UNSIGNED NOT NULL,
  `day_id` int UNSIGNED NOT NULL,
  `subject` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `homework` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `weekly_plan_lines_weekly_plan_id_foreign`(`weekly_plan_id` ASC) USING BTREE,
  INDEX `weekly_plan_lines_subject_id_foreign`(`subject_id` ASC) USING BTREE,
  INDEX `weekly_plan_lines_day_id_foreign`(`day_id` ASC) USING BTREE,
  INDEX `weekly_plan_lines_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `weekly_plan_lines_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `weekly_plan_lines_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `weekly_plan_lines_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `weekly_plan_lines_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `weekly_plan_lines_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `weekly_plan_lines_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `weekly_plan_lines_day_id_foreign` FOREIGN KEY (`day_id`) REFERENCES `days` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `weekly_plan_lines_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `weekly_plan_lines_subject_id_foreign` FOREIGN KEY (`subject_id`) REFERENCES `subjects` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `weekly_plan_lines_weekly_plan_id_foreign` FOREIGN KEY (`weekly_plan_id`) REFERENCES `weekly_plans` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of weekly_plan_lines
-- ----------------------------

-- ----------------------------
-- Table structure for weekly_plans
-- ----------------------------
CREATE TABLE `weekly_plans`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `from_date` date NOT NULL,
  `to_date` date NOT NULL,
  `class_id` int UNSIGNED NOT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `weekly_plans_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `weekly_plans_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `weekly_plans_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `weekly_plans_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `weekly_plans_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `weekly_plans_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `weekly_plans_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `weekly_plans_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of weekly_plans
-- ----------------------------

-- ----------------------------
-- Table structure for winding_directions
-- ----------------------------
CREATE TABLE `winding_directions`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `winding_directions_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `winding_directions_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `winding_directions_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `winding_directions_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `winding_directions_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `winding_directions_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `winding_directions_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `winding_directions_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 11 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of winding_directions
-- ----------------------------
INSERT INTO `winding_directions` VALUES (1, '1', '1', '1', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:06:03', '2025-06-12 14:06:03', NULL);
INSERT INTO `winding_directions` VALUES (2, '2', '2', '2', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:06:03', '2025-06-12 14:06:03', NULL);
INSERT INTO `winding_directions` VALUES (3, '3', '3', '3', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:06:03', '2025-06-12 14:06:03', NULL);
INSERT INTO `winding_directions` VALUES (4, '4', '4', '4', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:06:03', '2025-06-12 14:06:03', NULL);
INSERT INTO `winding_directions` VALUES (5, '5', '5', '5', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:06:03', '2025-06-12 14:06:03', NULL);
INSERT INTO `winding_directions` VALUES (6, '6', '6', '6', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:06:03', '2025-06-12 14:06:03', NULL);
INSERT INTO `winding_directions` VALUES (7, '7', '7', '7', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:06:03', '2025-06-12 14:06:03', NULL);
INSERT INTO `winding_directions` VALUES (8, '8', '8', '8', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:06:03', '2025-06-12 14:06:03', NULL);
INSERT INTO `winding_directions` VALUES (9, '9', '9', '9', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:06:03', '2025-06-12 14:06:03', NULL);
INSERT INTO `winding_directions` VALUES (10, '10', '10', '10', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:06:03', '2025-06-12 14:06:03', NULL);

-- ----------------------------
-- Table structure for work_order_groups
-- ----------------------------
CREATE TABLE `work_order_groups`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `main_child_zeros` double NULL DEFAULT 10,
  `main_child_counter` double NULL DEFAULT NULL,
  `sub_child_zeros` double NULL DEFAULT 1000,
  `sub_child_counter` double NULL DEFAULT NULL,
  `work_order_group_id` int UNSIGNED NULL DEFAULT NULL,
  `branch_id` int UNSIGNED NULL DEFAULT NULL,
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `work_order_groups_work_order_group_id_foreign`(`work_order_group_id` ASC) USING BTREE,
  INDEX `work_order_groups_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `work_order_groups_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `work_order_groups_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `work_order_groups_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `work_order_groups_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_groups_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_groups_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_groups_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_groups_work_order_group_id_foreign` FOREIGN KEY (`work_order_group_id`) REFERENCES `work_order_groups` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of work_order_groups
-- ----------------------------
INSERT INTO `work_order_groups` VALUES (1, 'داخلي', '1', 'Internal', 10, NULL, 1000, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);
INSERT INTO `work_order_groups` VALUES (2, 'خارجي', '2', 'External', 10, NULL, 1000, NULL, NULL, 1, NULL, NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);

-- ----------------------------
-- Table structure for work_order_line_steps
-- ----------------------------
CREATE TABLE `work_order_line_steps`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `work_order_id` int UNSIGNED NOT NULL,
  `work_order_line_id` int UNSIGNED NOT NULL,
  `work_order_step_id` int UNSIGNED NOT NULL,
  `work_order_step_state_id` int UNSIGNED NOT NULL,
  `start_datetime` datetime NULL DEFAULT NULL,
  `end_datetime` datetime NULL DEFAULT NULL,
  `delivered_quantity` double UNSIGNED NULL DEFAULT NULL,
  `has_quantity` int UNSIGNED NULL DEFAULT NULL,
  `conversion_factor` double UNSIGNED NULL DEFAULT NULL,
  `asset_id` int UNSIGNED NULL DEFAULT NULL,
  `employee_user_id` int UNSIGNED NULL DEFAULT NULL,
  `partner_user_id` int UNSIGNED NULL DEFAULT NULL,
  `partner_cost_center_id` int UNSIGNED NULL DEFAULT NULL,
  `state_id` int UNSIGNED NULL DEFAULT NULL,
  `parent_step_quantity` int UNSIGNED NULL DEFAULT NULL,
  `produced_product` int UNSIGNED NULL DEFAULT NULL,
  `produced_product_warehouse` int UNSIGNED NULL DEFAULT NULL,
  `conversion_factor_parent_step` double UNSIGNED NULL DEFAULT NULL,
  `quality_is_required` int UNSIGNED NULL DEFAULT NULL,
  `quality_step_state_id` int UNSIGNED NULL DEFAULT NULL,
  `quantity` double UNSIGNED NULL DEFAULT NULL,
  `remain` double UNSIGNED NULL DEFAULT NULL,
  `losses` double UNSIGNED NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `work_order_line_steps_work_order_id_foreign`(`work_order_id` ASC) USING BTREE,
  INDEX `work_order_line_steps_has_quantity_foreign`(`has_quantity` ASC) USING BTREE,
  INDEX `work_order_line_steps_quality_is_required_foreign`(`quality_is_required` ASC) USING BTREE,
  INDEX `work_order_line_steps_work_order_line_id_foreign`(`work_order_line_id` ASC) USING BTREE,
  INDEX `work_order_line_steps_work_order_step_id_foreign`(`work_order_step_id` ASC) USING BTREE,
  INDEX `work_order_line_steps_work_order_step_state_id_foreign`(`work_order_step_state_id` ASC) USING BTREE,
  INDEX `work_order_line_steps_asset_id_foreign`(`asset_id` ASC) USING BTREE,
  INDEX `work_order_line_steps_employee_user_id_foreign`(`employee_user_id` ASC) USING BTREE,
  INDEX `work_order_line_steps_partner_user_id_foreign`(`partner_user_id` ASC) USING BTREE,
  INDEX `work_order_line_steps_partner_cost_center_id_foreign`(`partner_cost_center_id` ASC) USING BTREE,
  INDEX `work_order_line_steps_state_id_foreign`(`state_id` ASC) USING BTREE,
  INDEX `work_order_line_steps_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `work_order_line_steps_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `work_order_line_steps_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `work_order_line_steps_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `work_order_line_steps_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_line_steps_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_line_steps_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_line_steps_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_line_steps_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_line_steps_employee_user_id_foreign` FOREIGN KEY (`employee_user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_line_steps_has_quantity_foreign` FOREIGN KEY (`has_quantity`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_line_steps_partner_cost_center_id_foreign` FOREIGN KEY (`partner_cost_center_id`) REFERENCES `partner_cost_centers` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_line_steps_partner_user_id_foreign` FOREIGN KEY (`partner_user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_line_steps_quality_is_required_foreign` FOREIGN KEY (`quality_is_required`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_line_steps_state_id_foreign` FOREIGN KEY (`state_id`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_line_steps_work_order_id_foreign` FOREIGN KEY (`work_order_id`) REFERENCES `work_orders` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_line_steps_work_order_line_id_foreign` FOREIGN KEY (`work_order_line_id`) REFERENCES `work_order_lines` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_line_steps_work_order_step_id_foreign` FOREIGN KEY (`work_order_step_id`) REFERENCES `work_order_steps` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_line_steps_work_order_step_state_id_foreign` FOREIGN KEY (`work_order_step_state_id`) REFERENCES `work_order_step_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of work_order_line_steps
-- ----------------------------

-- ----------------------------
-- Table structure for work_order_lines
-- ----------------------------
CREATE TABLE `work_order_lines`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `work_order_id` int UNSIGNED NOT NULL,
  `working_contract_line_id` int UNSIGNED NULL DEFAULT NULL,
  `working_contract_id` int UNSIGNED NULL DEFAULT NULL,
  `work_order_state_id` int UNSIGNED NOT NULL,
  `work_order_group_id` int UNSIGNED NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `branch_id` int UNSIGNED NULL DEFAULT NULL,
  `product_id` int UNSIGNED NULL DEFAULT NULL,
  `unit_id` int UNSIGNED NULL DEFAULT NULL,
  `start_datetime` datetime NULL DEFAULT NULL,
  `end_datetime` datetime NULL DEFAULT NULL,
  `final_date` date NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `work_order_lines_branch_id_foreign`(`branch_id` ASC) USING BTREE,
  INDEX `work_order_lines_product_id_foreign`(`product_id` ASC) USING BTREE,
  INDEX `work_order_lines_unit_id_foreign`(`unit_id` ASC) USING BTREE,
  INDEX `work_order_lines_work_order_id_foreign`(`work_order_id` ASC) USING BTREE,
  INDEX `work_order_lines_working_contract_id_foreign`(`working_contract_id` ASC) USING BTREE,
  INDEX `work_order_lines_working_contract_line_id_foreign`(`working_contract_line_id` ASC) USING BTREE,
  INDEX `work_order_lines_work_order_state_id_foreign`(`work_order_state_id` ASC) USING BTREE,
  INDEX `work_order_lines_work_order_group_id_foreign`(`work_order_group_id` ASC) USING BTREE,
  INDEX `work_order_lines_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `work_order_lines_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `work_order_lines_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `work_order_lines_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `work_order_lines_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_lines_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_lines_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_lines_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_lines_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_lines_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_lines_unit_id_foreign` FOREIGN KEY (`unit_id`) REFERENCES `units` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_lines_work_order_group_id_foreign` FOREIGN KEY (`work_order_group_id`) REFERENCES `work_order_groups` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_lines_work_order_id_foreign` FOREIGN KEY (`work_order_id`) REFERENCES `work_orders` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_lines_work_order_state_id_foreign` FOREIGN KEY (`work_order_state_id`) REFERENCES `work_order_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_lines_working_contract_id_foreign` FOREIGN KEY (`working_contract_id`) REFERENCES `working_contracts` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_lines_working_contract_line_id_foreign` FOREIGN KEY (`working_contract_line_id`) REFERENCES `working_contract_lines` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of work_order_lines
-- ----------------------------

-- ----------------------------
-- Table structure for work_order_products
-- ----------------------------
CREATE TABLE `work_order_products`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `work_order_id` int UNSIGNED NOT NULL,
  `product_id` int UNSIGNED NOT NULL,
  `unit_id` int UNSIGNED NOT NULL,
  `quantity` int UNSIGNED NOT NULL,
  `state_id` int UNSIGNED NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `work_order_products_state_id_foreign`(`state_id` ASC) USING BTREE,
  INDEX `work_order_products_work_order_id_foreign`(`work_order_id` ASC) USING BTREE,
  INDEX `work_order_products_product_id_foreign`(`product_id` ASC) USING BTREE,
  INDEX `work_order_products_unit_id_foreign`(`unit_id` ASC) USING BTREE,
  INDEX `work_order_products_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `work_order_products_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `work_order_products_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `work_order_products_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `work_order_products_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_products_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_products_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_products_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_products_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_products_state_id_foreign` FOREIGN KEY (`state_id`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_products_unit_id_foreign` FOREIGN KEY (`unit_id`) REFERENCES `units` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_products_work_order_id_foreign` FOREIGN KEY (`work_order_id`) REFERENCES `work_orders` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of work_order_products
-- ----------------------------

-- ----------------------------
-- Table structure for work_order_status
-- ----------------------------
CREATE TABLE `work_order_status`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `work_order_status_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `work_order_status_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `work_order_status_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `work_order_status_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `work_order_status_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_status_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_status_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_status_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 5 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of work_order_status
-- ----------------------------
INSERT INTO `work_order_status` VALUES (1, 'قيد الانشاء', '1', 'Under constructions', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);
INSERT INTO `work_order_status` VALUES (2, 'في التشغيل', '2', 'Inside constructions', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);
INSERT INTO `work_order_status` VALUES (3, 'اكتمل', '3', 'Finshed', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);
INSERT INTO `work_order_status` VALUES (4, 'ملفي', '4', 'Canceled', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);

-- ----------------------------
-- Table structure for work_order_step_components
-- ----------------------------
CREATE TABLE `work_order_step_components`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `work_order_step_id` int UNSIGNED NOT NULL,
  `product_id` int UNSIGNED NOT NULL,
  `unit_id` int UNSIGNED NOT NULL,
  `quantity` double UNSIGNED NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `work_order_step_components_work_order_step_id_foreign`(`work_order_step_id` ASC) USING BTREE,
  INDEX `work_order_step_components_product_id_foreign`(`product_id` ASC) USING BTREE,
  INDEX `work_order_step_components_unit_id_foreign`(`unit_id` ASC) USING BTREE,
  INDEX `work_order_step_components_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `work_order_step_components_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `work_order_step_components_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `work_order_step_components_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `work_order_step_components_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_components_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_components_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_components_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_components_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_components_unit_id_foreign` FOREIGN KEY (`unit_id`) REFERENCES `units` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_components_work_order_step_id_foreign` FOREIGN KEY (`work_order_step_id`) REFERENCES `work_order_steps` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of work_order_step_components
-- ----------------------------

-- ----------------------------
-- Table structure for work_order_step_quality_types
-- ----------------------------
CREATE TABLE `work_order_step_quality_types`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `work_order_step_id` int UNSIGNED NOT NULL,
  `quality_type_id` int UNSIGNED NOT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `work_order_step_quality_types_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `work_order_step_quality_types_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `work_order_step_quality_types_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `work_order_step_quality_types_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `work_order_step_quality_types_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_quality_types_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_quality_types_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_quality_types_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of work_order_step_quality_types
-- ----------------------------

-- ----------------------------
-- Table structure for work_order_step_status
-- ----------------------------
CREATE TABLE `work_order_step_status`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `work_order_step_status_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `work_order_step_status_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `work_order_step_status_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `work_order_step_status_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `work_order_step_status_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_status_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_status_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_status_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 4 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of work_order_step_status
-- ----------------------------
INSERT INTO `work_order_step_status` VALUES (1, 'قيد الانشاء', '1', 'Under contsructions', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);
INSERT INTO `work_order_step_status` VALUES (2, 'تم بنجاح', '2', 'Finshed', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);
INSERT INTO `work_order_step_status` VALUES (3, 'ملغي', '3', 'Canceled', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);

-- ----------------------------
-- Table structure for work_order_step_template_lines
-- ----------------------------
CREATE TABLE `work_order_step_template_lines`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `work_order_step_template_id` int UNSIGNED NOT NULL,
  `work_order_step_id` int UNSIGNED NOT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `work_order_step_template_lines_work_order_step_id_foreign`(`work_order_step_id` ASC) USING BTREE,
  INDEX `work_order_step_template_lines_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `work_order_step_template_lines_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `work_order_step_template_lines_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `work_order_step_template_lines_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `work_order_step_template_lines_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_template_lines_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_template_lines_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_template_lines_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_template_lines_work_order_step_id_foreign` FOREIGN KEY (`work_order_step_id`) REFERENCES `work_order_steps` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of work_order_step_template_lines
-- ----------------------------

-- ----------------------------
-- Table structure for work_order_step_templates
-- ----------------------------
CREATE TABLE `work_order_step_templates`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `work_order_step_templates_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `work_order_step_templates_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `work_order_step_templates_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `work_order_step_templates_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `work_order_step_templates_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_templates_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_templates_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_templates_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of work_order_step_templates
-- ----------------------------

-- ----------------------------
-- Table structure for work_order_step_users
-- ----------------------------
CREATE TABLE `work_order_step_users`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `user_id` int UNSIGNED NOT NULL,
  `work_order_step_id` int UNSIGNED NOT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `work_order_step_users_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `work_order_step_users_work_order_step_id_foreign`(`work_order_step_id` ASC) USING BTREE,
  INDEX `work_order_step_users_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `work_order_step_users_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `work_order_step_users_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `work_order_step_users_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `work_order_step_users_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_users_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_users_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_users_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_users_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_step_users_work_order_step_id_foreign` FOREIGN KEY (`work_order_step_id`) REFERENCES `work_order_steps` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of work_order_step_users
-- ----------------------------

-- ----------------------------
-- Table structure for work_order_steps
-- ----------------------------
CREATE TABLE `work_order_steps`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `is_quality_is_required` int UNSIGNED NOT NULL,
  `number_of_quality_tests` int UNSIGNED NULL DEFAULT NULL,
  `unit_id` int UNSIGNED NULL DEFAULT NULL,
  `warehouse_id` int UNSIGNED NULL DEFAULT NULL,
  `check_box_step` int UNSIGNED NULL DEFAULT NULL,
  `check_box_step_component` int UNSIGNED NULL DEFAULT NULL,
  `has_reserve_material_order` int UNSIGNED NULL DEFAULT NULL,
  `asset_id` int UNSIGNED NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `work_order_steps_asset_id_foreign`(`asset_id` ASC) USING BTREE,
  INDEX `work_order_steps_check_box_step_foreign`(`check_box_step` ASC) USING BTREE,
  INDEX `work_order_steps_check_box_step_component_foreign`(`check_box_step_component` ASC) USING BTREE,
  INDEX `work_order_steps_is_quality_is_required_foreign`(`is_quality_is_required` ASC) USING BTREE,
  INDEX `work_order_steps_warehouse_id_foreign`(`warehouse_id` ASC) USING BTREE,
  INDEX `work_order_steps_unit_id_foreign`(`unit_id` ASC) USING BTREE,
  INDEX `work_order_steps_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `work_order_steps_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `work_order_steps_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `work_order_steps_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `work_order_steps_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_steps_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_steps_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_steps_check_box_step_component_foreign` FOREIGN KEY (`check_box_step_component`) REFERENCES `products` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_steps_check_box_step_foreign` FOREIGN KEY (`check_box_step`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_steps_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_steps_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_steps_is_quality_is_required_foreign` FOREIGN KEY (`is_quality_is_required`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_steps_unit_id_foreign` FOREIGN KEY (`unit_id`) REFERENCES `units` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_order_steps_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of work_order_steps
-- ----------------------------
INSERT INTO `work_order_steps` VALUES (1, 'اول مرحلة', '1', 'First step', 2, NULL, 1, 1, 2, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);
INSERT INTO `work_order_steps` VALUES (2, 'ثاني مرحلة', '2', 'Second step', 1, 2, 1, 1, 2, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);

-- ----------------------------
-- Table structure for work_orders
-- ----------------------------
CREATE TABLE `work_orders`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `working_contract_id` int UNSIGNED NULL DEFAULT NULL,
  `work_order_group_id` int UNSIGNED NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `branch_id` int UNSIGNED NULL DEFAULT NULL,
  `partner_user_id` int UNSIGNED NULL DEFAULT NULL,
  `partner_cost_center_id` int UNSIGNED NULL DEFAULT NULL,
  `work_order_state_id` int UNSIGNED NOT NULL,
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `work_orders_branch_id_foreign`(`branch_id` ASC) USING BTREE,
  INDEX `work_orders_working_contract_id_foreign`(`working_contract_id` ASC) USING BTREE,
  INDEX `work_orders_work_order_group_id_foreign`(`work_order_group_id` ASC) USING BTREE,
  INDEX `work_orders_partner_user_id_foreign`(`partner_user_id` ASC) USING BTREE,
  INDEX `work_orders_partner_cost_center_id_foreign`(`partner_cost_center_id` ASC) USING BTREE,
  INDEX `work_orders_work_order_state_id_foreign`(`work_order_state_id` ASC) USING BTREE,
  INDEX `work_orders_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `work_orders_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `work_orders_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `work_orders_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `work_orders_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_orders_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_orders_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_orders_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_orders_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_orders_partner_cost_center_id_foreign` FOREIGN KEY (`partner_cost_center_id`) REFERENCES `partner_cost_centers` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_orders_partner_user_id_foreign` FOREIGN KEY (`partner_user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_orders_work_order_group_id_foreign` FOREIGN KEY (`work_order_group_id`) REFERENCES `work_order_groups` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_orders_work_order_state_id_foreign` FOREIGN KEY (`work_order_state_id`) REFERENCES `work_order_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `work_orders_working_contract_id_foreign` FOREIGN KEY (`working_contract_id`) REFERENCES `working_contracts` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of work_orders
-- ----------------------------

-- ----------------------------
-- Table structure for working_contract_groups
-- ----------------------------
CREATE TABLE `working_contract_groups`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `main_child_zeros` double NULL DEFAULT 10,
  `main_child_counter` double NULL DEFAULT NULL,
  `sub_child_zeros` double NULL DEFAULT 1000,
  `sub_child_counter` double NULL DEFAULT NULL,
  `working_contract_group_id` int UNSIGNED NULL DEFAULT NULL,
  `product_category_id` int UNSIGNED NULL DEFAULT NULL,
  `max_produced_quantity_per_day` int UNSIGNED NULL DEFAULT NULL,
  `saparated_lines` int UNSIGNED NULL DEFAULT NULL,
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `waranty_days` int UNSIGNED NULL DEFAULT NULL,
  `automatic_number_of_days_to_finshed_date` int UNSIGNED NULL DEFAULT NULL,
  `automatic_number_of_days_to_delivery_date` int UNSIGNED NULL DEFAULT NULL,
  `terms` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `working_contract_groups_saparated_lines_foreign`(`saparated_lines` ASC) USING BTREE,
  INDEX `working_contract_groups_product_category_id_foreign`(`product_category_id` ASC) USING BTREE,
  INDEX `working_contract_groups_working_contract_group_id_foreign`(`working_contract_group_id` ASC) USING BTREE,
  INDEX `working_contract_groups_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `working_contract_groups_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `working_contract_groups_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `working_contract_groups_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `working_contract_groups_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_groups_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_groups_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_groups_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_groups_product_category_id_foreign` FOREIGN KEY (`product_category_id`) REFERENCES `product_categories` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_groups_saparated_lines_foreign` FOREIGN KEY (`saparated_lines`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_groups_working_contract_group_id_foreign` FOREIGN KEY (`working_contract_group_id`) REFERENCES `working_contract_groups` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of working_contract_groups
-- ----------------------------

-- ----------------------------
-- Table structure for working_contract_holidays
-- ----------------------------
CREATE TABLE `working_contract_holidays`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `from_date` date NULL DEFAULT NULL,
  `to_date` date NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `working_contract_holidays_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `working_contract_holidays_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `working_contract_holidays_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `working_contract_holidays_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `working_contract_holidays_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_holidays_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_holidays_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_holidays_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of working_contract_holidays
-- ----------------------------

-- ----------------------------
-- Table structure for working_contract_journal_entries
-- ----------------------------
CREATE TABLE `working_contract_journal_entries`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `working_contract_id` int UNSIGNED NOT NULL,
  `journal_entry_id` int UNSIGNED NOT NULL,
  `is_main` int UNSIGNED NULL DEFAULT NULL,
  `is_last` int UNSIGNED NULL DEFAULT NULL,
  `percentage` double UNSIGNED NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `working_contract_journal_entries_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `working_contract_journal_entries_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `working_contract_journal_entries_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `working_contract_journal_entries_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `working_contract_journal_entries_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_journal_entries_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_journal_entries_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_journal_entries_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of working_contract_journal_entries
-- ----------------------------

-- ----------------------------
-- Table structure for working_contract_line_components
-- ----------------------------
CREATE TABLE `working_contract_line_components`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `working_contract_line_id` int UNSIGNED NOT NULL,
  `product_id` int UNSIGNED NOT NULL,
  `unit_id` int UNSIGNED NOT NULL,
  `quantity` double UNSIGNED NOT NULL,
  `is_required` int UNSIGNED NULL DEFAULT NULL,
  `can_change_balance` int UNSIGNED NULL DEFAULT NULL,
  `balance_is_required` int UNSIGNED NULL DEFAULT NULL,
  `title` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `working_contract_line_components_is_required_foreign`(`is_required` ASC) USING BTREE,
  INDEX `working_contract_line_components_can_change_balance_foreign`(`can_change_balance` ASC) USING BTREE,
  INDEX `working_contract_line_components_balance_is_required_foreign`(`balance_is_required` ASC) USING BTREE,
  INDEX `working_contract_line_components_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `working_contract_line_components_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `working_contract_line_components_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `working_contract_line_components_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `working_contract_line_components_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_line_components_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_line_components_balance_is_required_foreign` FOREIGN KEY (`balance_is_required`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_line_components_can_change_balance_foreign` FOREIGN KEY (`can_change_balance`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_line_components_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_line_components_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_line_components_is_required_foreign` FOREIGN KEY (`is_required`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of working_contract_line_components
-- ----------------------------

-- ----------------------------
-- Table structure for working_contract_line_header
-- ----------------------------
CREATE TABLE `working_contract_line_header`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `working_contract_line_id` int UNSIGNED NOT NULL,
  `location` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `working_contract_line_header_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `working_contract_line_header_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `working_contract_line_header_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `working_contract_line_header_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `working_contract_line_header_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_line_header_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_line_header_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_line_header_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of working_contract_line_header
-- ----------------------------

-- ----------------------------
-- Table structure for working_contract_line_specifications
-- ----------------------------
CREATE TABLE `working_contract_line_specifications`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `working_contract_line_id` int UNSIGNED NULL DEFAULT NULL,
  `work_order_product_id` int UNSIGNED NULL DEFAULT NULL,
  `product_id` int UNSIGNED NOT NULL,
  `product_specification_id` int UNSIGNED NOT NULL,
  `product_specification_value_id` int UNSIGNED NULL DEFAULT NULL,
  `value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `working_contract_line_specifications_product_id_foreign`(`product_id` ASC) USING BTREE,
  INDEX `working_contract_line_specifications_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `working_contract_line_specifications_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `working_contract_line_specifications_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `working_contract_line_specifications_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `working_contract_line_specifications_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_line_specifications_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_line_specifications_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_line_specifications_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_line_specifications_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of working_contract_line_specifications
-- ----------------------------

-- ----------------------------
-- Table structure for working_contract_lines
-- ----------------------------
CREATE TABLE `working_contract_lines`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `working_contract_id` int UNSIGNED NOT NULL,
  `quantity` double UNSIGNED NOT NULL,
  `quantity_t` double UNSIGNED NULL DEFAULT NULL,
  `remain` double UNSIGNED NULL DEFAULT NULL,
  `date` date NOT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `delegate_user_id` int UNSIGNED NULL DEFAULT NULL,
  `product_id` int UNSIGNED NOT NULL,
  `unit_id` int UNSIGNED NOT NULL,
  `branch_id` int UNSIGNED NOT NULL,
  `currency_id` int UNSIGNED NOT NULL,
  `working_contract_group_id` int UNSIGNED NOT NULL,
  `working_contract_state_id` int UNSIGNED NOT NULL,
  `working_contract_type_id` int UNSIGNED NOT NULL,
  `in_date_unit_rate` double UNSIGNED NOT NULL,
  `price` double UNSIGNED NOT NULL,
  `price_t` double UNSIGNED NULL DEFAULT NULL,
  `price_with_cost` double UNSIGNED NULL DEFAULT NULL,
  `price_with_cost_t` double UNSIGNED NULL DEFAULT NULL,
  `in_date_tax` double UNSIGNED NULL DEFAULT NULL,
  `discount_percentage` double UNSIGNED NULL DEFAULT NULL,
  `discount_value` double UNSIGNED NULL DEFAULT NULL,
  `expire_date` date NULL DEFAULT NULL,
  `in_date_currency_rate` double UNSIGNED NOT NULL,
  `transformable` int UNSIGNED NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `finsh_production_date` date NULL DEFAULT NULL,
  `finshed_date` date NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `working_contract_lines_working_contract_id_foreign`(`working_contract_id` ASC) USING BTREE,
  INDEX `working_contract_lines_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `working_contract_lines_product_id_foreign`(`product_id` ASC) USING BTREE,
  INDEX `working_contract_lines_unit_id_foreign`(`unit_id` ASC) USING BTREE,
  INDEX `working_contract_lines_branch_id_foreign`(`branch_id` ASC) USING BTREE,
  INDEX `working_contract_lines_currency_id_foreign`(`currency_id` ASC) USING BTREE,
  INDEX `working_contract_lines_working_contract_group_id_foreign`(`working_contract_group_id` ASC) USING BTREE,
  INDEX `working_contract_lines_working_contract_state_id_foreign`(`working_contract_state_id` ASC) USING BTREE,
  INDEX `working_contract_lines_working_contract_type_id_foreign`(`working_contract_type_id` ASC) USING BTREE,
  INDEX `working_contract_lines_delegate_user_id_foreign`(`delegate_user_id` ASC) USING BTREE,
  INDEX `working_contract_lines_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `working_contract_lines_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `working_contract_lines_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `working_contract_lines_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `working_contract_lines_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_lines_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_lines_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_lines_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_lines_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_lines_delegate_user_id_foreign` FOREIGN KEY (`delegate_user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_lines_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_lines_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_lines_unit_id_foreign` FOREIGN KEY (`unit_id`) REFERENCES `units` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_lines_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_lines_working_contract_group_id_foreign` FOREIGN KEY (`working_contract_group_id`) REFERENCES `working_contract_groups` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_lines_working_contract_id_foreign` FOREIGN KEY (`working_contract_id`) REFERENCES `working_contracts` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_lines_working_contract_state_id_foreign` FOREIGN KEY (`working_contract_state_id`) REFERENCES `working_contract_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_lines_working_contract_type_id_foreign` FOREIGN KEY (`working_contract_type_id`) REFERENCES `working_contract_types` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of working_contract_lines
-- ----------------------------

-- ----------------------------
-- Table structure for working_contract_note_vouchers
-- ----------------------------
CREATE TABLE `working_contract_note_vouchers`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `working_contract_id` int UNSIGNED NULL DEFAULT NULL,
  `work_order_id` int UNSIGNED NULL DEFAULT NULL,
  `note_voucher_id` int UNSIGNED NOT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `working_contract_note_vouchers_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `working_contract_note_vouchers_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `working_contract_note_vouchers_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `working_contract_note_vouchers_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `working_contract_note_vouchers_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_note_vouchers_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_note_vouchers_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_note_vouchers_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of working_contract_note_vouchers
-- ----------------------------

-- ----------------------------
-- Table structure for working_contract_relations
-- ----------------------------
CREATE TABLE `working_contract_relations`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `first_id` int UNSIGNED NULL DEFAULT NULL,
  `second_id` int UNSIGNED NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `working_contract_relations_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `working_contract_relations_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `working_contract_relations_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `working_contract_relations_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `working_contract_relations_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_relations_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_relations_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_relations_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of working_contract_relations
-- ----------------------------

-- ----------------------------
-- Table structure for working_contract_schedules
-- ----------------------------
CREATE TABLE `working_contract_schedules`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `working_contract_id` int UNSIGNED NULL DEFAULT NULL,
  `working_contract_line_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id2` int UNSIGNED NULL DEFAULT NULL,
  `user_id3` int UNSIGNED NULL DEFAULT NULL,
  `approval_state_id` int UNSIGNED NULL DEFAULT NULL,
  `date` date NULL DEFAULT NULL,
  `remain` double NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `customer_note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `working_contract_schedules_working_contract_id_foreign`(`working_contract_id` ASC) USING BTREE,
  INDEX `working_contract_schedules_working_contract_line_id_foreign`(`working_contract_line_id` ASC) USING BTREE,
  INDEX `working_contract_schedules_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `working_contract_schedules_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `working_contract_schedules_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `working_contract_schedules_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `working_contract_schedules_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `working_contract_schedules_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_schedules_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_schedules_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_schedules_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_schedules_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_schedules_working_contract_id_foreign` FOREIGN KEY (`working_contract_id`) REFERENCES `working_contracts` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_schedules_working_contract_line_id_foreign` FOREIGN KEY (`working_contract_line_id`) REFERENCES `working_contract_lines` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of working_contract_schedules
-- ----------------------------

-- ----------------------------
-- Table structure for working_contract_settings
-- ----------------------------
CREATE TABLE `working_contract_settings`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `temp_sales_account_id` int UNSIGNED NULL DEFAULT NULL,
  `asset_machines_ids` int UNSIGNED NULL DEFAULT NULL,
  `simi_product_category_id` int UNSIGNED NULL DEFAULT NULL,
  `manufacturing_warehouse_id` int UNSIGNED NULL DEFAULT NULL,
  `allowed_discount_on_working_contract` int UNSIGNED NULL DEFAULT NULL,
  `type_of_journal_for_auto_wc` int UNSIGNED NULL DEFAULT NULL,
  `branch_id` int UNSIGNED NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `working_contract_settings_manufacturing_warehouse_id_foreign`(`manufacturing_warehouse_id` ASC) USING BTREE,
  INDEX `working_contract_settings_temp_sales_account_id_foreign`(`temp_sales_account_id` ASC) USING BTREE,
  INDEX `working_contract_settings_asset_machines_ids_foreign`(`asset_machines_ids` ASC) USING BTREE,
  INDEX `working_contract_settings_simi_product_category_id_foreign`(`simi_product_category_id` ASC) USING BTREE,
  INDEX `working_contract_settings_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `working_contract_settings_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `working_contract_settings_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `working_contract_settings_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `working_contract_settings_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_settings_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_settings_asset_machines_ids_foreign` FOREIGN KEY (`asset_machines_ids`) REFERENCES `asset_groups` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_settings_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_settings_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_settings_manufacturing_warehouse_id_foreign` FOREIGN KEY (`manufacturing_warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_settings_simi_product_category_id_foreign` FOREIGN KEY (`simi_product_category_id`) REFERENCES `product_categories` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_settings_temp_sales_account_id_foreign` FOREIGN KEY (`temp_sales_account_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of working_contract_settings
-- ----------------------------
INSERT INTO `working_contract_settings` VALUES (1, NULL, 1, NULL, 1, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);

-- ----------------------------
-- Table structure for working_contract_status
-- ----------------------------
CREATE TABLE `working_contract_status`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `working_contract_status_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `working_contract_status_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `working_contract_status_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `working_contract_status_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `working_contract_status_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_status_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_status_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_status_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 7 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of working_contract_status
-- ----------------------------
INSERT INTO `working_contract_status` VALUES (1, 'قيد الانشاء', '1', 'Under construction', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);
INSERT INTO `working_contract_status` VALUES (2, '	تم عمل عليه امر عمل وأغلق التعديل', '2', 'Closed editing', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);
INSERT INTO `working_contract_status` VALUES (3, 'اكتمل', '3', 'Finshed', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);
INSERT INTO `working_contract_status` VALUES (4, 'ملغي', '4', 'Canceled', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);
INSERT INTO `working_contract_status` VALUES (5, 'موقوف لوقت غير محدد', '5', 'Pending for sometime', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);
INSERT INTO `working_contract_status` VALUES (6, 'تم الانتهاء من الانتاج', '6', 'Done production', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);

-- ----------------------------
-- Table structure for working_contract_types
-- ----------------------------
CREATE TABLE `working_contract_types`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `numbering_type_id` int UNSIGNED NOT NULL,
  `in_out_type_id` int UNSIGNED NOT NULL,
  `next_number` int UNSIGNED NULL DEFAULT NULL,
  `branch_id` int UNSIGNED NULL DEFAULT NULL,
  `create_journal_entry` int UNSIGNED NULL DEFAULT NULL,
  `saparated_lines` int UNSIGNED NULL DEFAULT NULL,
  `header` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `footer` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `terms` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `code` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `working_contract_types_create_journal_entry_foreign`(`create_journal_entry` ASC) USING BTREE,
  INDEX `working_contract_types_numbering_type_id_foreign`(`numbering_type_id` ASC) USING BTREE,
  INDEX `working_contract_types_branch_id_foreign`(`branch_id` ASC) USING BTREE,
  INDEX `working_contract_types_in_out_type_id_foreign`(`in_out_type_id` ASC) USING BTREE,
  INDEX `working_contract_types_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `working_contract_types_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `working_contract_types_saparated_lines_foreign`(`saparated_lines` ASC) USING BTREE,
  INDEX `working_contract_types_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `working_contract_types_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `working_contract_types_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_types_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_types_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_types_create_journal_entry_foreign` FOREIGN KEY (`create_journal_entry`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_types_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_types_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_types_in_out_type_id_foreign` FOREIGN KEY (`in_out_type_id`) REFERENCES `in_out_types` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_types_numbering_type_id_foreign` FOREIGN KEY (`numbering_type_id`) REFERENCES `numbering_types` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contract_types_saparated_lines_foreign` FOREIGN KEY (`saparated_lines`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of working_contract_types
-- ----------------------------
INSERT INTO `working_contract_types` VALUES (1, 'عقد عمل', '1', 'Working contract', 1, 2, NULL, 1, 2, 2, '\r\n            <div class=\"row\">\r\n                <div class=\"col-5 center\">\r\n                    <div class=\"bold\" style=\"font-size:30px\">اسم الشركة</div>\r\n                </div>\r\n                <div class=\"col-2 center\">\r\n                    <img width=\"180px\" height=\"100px\" src=\"https://softya.com/demo/public/storage/logo.png\" />\r\n                </div>\r\n                <div class=\"col-5 center\">\r\n                    <div class=\"bold\" style=\"font-size:30px\">Company name</div>\r\n                </div>\r\n            </div>\r\n        ', NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);
INSERT INTO `working_contract_types` VALUES (2, 'مرتجع عقد عمل', '2', 'Working contract en', 1, 1, NULL, 1, 2, 2, '\r\n            <div class=\"row\">\r\n                <div class=\"col-5 center\">\r\n                    <div class=\"bold\" style=\"font-size:30px\">اسم الشركة</div>\r\n                </div>\r\n                <div class=\"col-2 center\">\r\n                    <img width=\"180px\" height=\"100px\" src=\"https://softya.com/demo/public/storage/logo.png\" />\r\n                </div>\r\n                <div class=\"col-5 center\">\r\n                    <div class=\"bold\" style=\"font-size:30px\">Company name</div>\r\n                </div>\r\n            </div>\r\n        ', NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:05:56', '2025-06-12 14:05:56', NULL);

-- ----------------------------
-- Table structure for working_contracts
-- ----------------------------
CREATE TABLE `working_contracts`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `date` date NOT NULL,
  `finshed_date` date NULL DEFAULT NULL,
  `delivery_date` date NULL DEFAULT NULL,
  `working_contract_group_id` int UNSIGNED NOT NULL,
  `working_contract_state_id` int UNSIGNED NOT NULL,
  `working_contract_type_id` int UNSIGNED NOT NULL,
  `partner_cost_center_id` int UNSIGNED NULL DEFAULT NULL,
  `sales_quotation_id` int UNSIGNED NULL DEFAULT NULL,
  `user_id` int UNSIGNED NOT NULL,
  `branch_id` int UNSIGNED NOT NULL,
  `warehouse_id` int UNSIGNED NULL DEFAULT NULL,
  `tax_state_id` int UNSIGNED NOT NULL,
  `delegate_user_id` int UNSIGNED NULL DEFAULT NULL,
  `currency_id` int UNSIGNED NULL DEFAULT NULL,
  `current_rate` double UNSIGNED NULL DEFAULT NULL,
  `lat_value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `long_value` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `checked` int UNSIGNED NULL DEFAULT NULL,
  `sales_person_id` int UNSIGNED NULL DEFAULT NULL,
  `total_net_price` double UNSIGNED NULL DEFAULT NULL,
  `total_net_price_t` double UNSIGNED NULL DEFAULT NULL,
  `total_tax` double UNSIGNED NULL DEFAULT NULL,
  `total_tax_t` double UNSIGNED NULL DEFAULT NULL,
  `total_discount` double UNSIGNED NULL DEFAULT NULL,
  `total_discount_t` double UNSIGNED NULL DEFAULT NULL,
  `payment_term_id` int UNSIGNED NULL DEFAULT NULL,
  `payment_term_percentages` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `payment_term_number_of_days` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `payment_term_payments` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `payment_term_payment_dates` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `payment_term_journal_entry` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `remain` double NULL DEFAULT NULL,
  `cost` double NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `working_contracts_checked_foreign`(`checked` ASC) USING BTREE,
  INDEX `working_contracts_sales_quotation_id_foreign`(`sales_quotation_id` ASC) USING BTREE,
  INDEX `working_contracts_sales_person_id_foreign`(`sales_person_id` ASC) USING BTREE,
  INDEX `working_contracts_payment_term_id_foreign`(`payment_term_id` ASC) USING BTREE,
  INDEX `working_contracts_working_contract_group_id_foreign`(`working_contract_group_id` ASC) USING BTREE,
  INDEX `working_contracts_working_contract_state_id_foreign`(`working_contract_state_id` ASC) USING BTREE,
  INDEX `working_contracts_working_contract_type_id_foreign`(`working_contract_type_id` ASC) USING BTREE,
  INDEX `working_contracts_user_id_foreign`(`user_id` ASC) USING BTREE,
  INDEX `working_contracts_branch_id_foreign`(`branch_id` ASC) USING BTREE,
  INDEX `working_contracts_warehouse_id_foreign`(`warehouse_id` ASC) USING BTREE,
  INDEX `working_contracts_tax_state_id_foreign`(`tax_state_id` ASC) USING BTREE,
  INDEX `working_contracts_delegate_user_id_foreign`(`delegate_user_id` ASC) USING BTREE,
  INDEX `working_contracts_currency_id_foreign`(`currency_id` ASC) USING BTREE,
  INDEX `working_contracts_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `working_contracts_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `working_contracts_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `working_contracts_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `working_contracts_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contracts_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contracts_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contracts_checked_foreign` FOREIGN KEY (`checked`) REFERENCES `status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contracts_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contracts_currency_id_foreign` FOREIGN KEY (`currency_id`) REFERENCES `currencies` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contracts_delegate_user_id_foreign` FOREIGN KEY (`delegate_user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contracts_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contracts_payment_term_id_foreign` FOREIGN KEY (`payment_term_id`) REFERENCES `payment_terms` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contracts_sales_person_id_foreign` FOREIGN KEY (`sales_person_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contracts_sales_quotation_id_foreign` FOREIGN KEY (`sales_quotation_id`) REFERENCES `sales_quotations` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contracts_tax_state_id_foreign` FOREIGN KEY (`tax_state_id`) REFERENCES `tax_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contracts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contracts_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contracts_working_contract_group_id_foreign` FOREIGN KEY (`working_contract_group_id`) REFERENCES `working_contract_groups` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contracts_working_contract_state_id_foreign` FOREIGN KEY (`working_contract_state_id`) REFERENCES `working_contract_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `working_contracts_working_contract_type_id_foreign` FOREIGN KEY (`working_contract_type_id`) REFERENCES `working_contract_types` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of working_contracts
-- ----------------------------

-- ----------------------------
-- Table structure for yes_or_nos
-- ----------------------------
CREATE TABLE `yes_or_nos`  (
  `id` int UNSIGNED NOT NULL AUTO_INCREMENT,
  `name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NOT NULL,
  `number` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `foreign_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT NULL,
  `note` text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL,
  `created_by` int UNSIGNED NULL DEFAULT NULL,
  `deleted_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_by` int UNSIGNED NULL DEFAULT NULL,
  `approved_date` date NULL DEFAULT NULL,
  `approved_state_id` int UNSIGNED NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `yes_or_nos_approved_by_foreign`(`approved_by` ASC) USING BTREE,
  INDEX `yes_or_nos_approved_state_id_foreign`(`approved_state_id` ASC) USING BTREE,
  INDEX `yes_or_nos_created_by_foreign`(`created_by` ASC) USING BTREE,
  INDEX `yes_or_nos_deleted_by_foreign`(`deleted_by` ASC) USING BTREE,
  CONSTRAINT `yes_or_nos_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `yes_or_nos_approved_state_id_foreign` FOREIGN KEY (`approved_state_id`) REFERENCES `approval_status` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `yes_or_nos_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT,
  CONSTRAINT `yes_or_nos_deleted_by_foreign` FOREIGN KEY (`deleted_by`) REFERENCES `users` (`id`) ON DELETE RESTRICT ON UPDATE RESTRICT
) ENGINE = InnoDB AUTO_INCREMENT = 3 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_unicode_ci ROW_FORMAT = DYNAMIC;

-- ----------------------------
-- Records of yes_or_nos
-- ----------------------------
INSERT INTO `yes_or_nos` VALUES (1, 'نعم', '1', 'Yes', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:06:07', '2025-06-12 14:06:07', NULL);
INSERT INTO `yes_or_nos` VALUES (2, 'لا', '2', 'no', NULL, 1, NULL, NULL, NULL, NULL, '2025-06-12 14:06:07', '2025-06-12 14:06:07', NULL);

