/*M!999999\- enable the sandbox mode */ 
-- MariaDB dump 10.19  Distrib 10.11.16-MariaDB, for Win64 (AMD64)
--
-- Host: 127.0.0.1    Database: erp
-- ------------------------------------------------------
-- Server version	10.11.16-MariaDB

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `activity_logs`
--

DROP TABLE IF EXISTS `activity_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `activity_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `action` varchar(255) NOT NULL,
  `subject_type` varchar(255) DEFAULT NULL,
  `subject_id` bigint(20) unsigned DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `properties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`properties`)),
  `ip_address` varchar(45) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `activity_logs_user_id_foreign` (`user_id`),
  KEY `activity_logs_subject_type_subject_id_index` (`subject_type`,`subject_id`),
  KEY `activity_logs_created_at_index` (`created_at`),
  KEY `activity_logs_action_index` (`action`),
  KEY `activity_logs_subject_type_index` (`subject_type`),
  CONSTRAINT `activity_logs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `activity_logs`
--

LOCK TABLES `activity_logs` WRITE;
/*!40000 ALTER TABLE `activity_logs` DISABLE KEYS */;
INSERT INTO `activity_logs` VALUES
(1,1,'crm.lead_generation.run','App\\Models\\Crm\\LeadGenerationRun',1,'Ran google_maps lead generation',NULL,'127.0.0.1','2026-10-30 06:27:28','2026-10-30 06:27:28'),
(2,1,'crm.lead_generation.settings',NULL,NULL,'Updated CRM lead generation settings',NULL,'127.0.0.1','2026-10-30 06:28:06','2026-10-30 06:28:06'),
(3,1,'crm.lead_generation.run','App\\Models\\Crm\\LeadGenerationRun',2,'Ran google_maps lead generation',NULL,'127.0.0.1','2026-10-30 06:28:07','2026-10-30 06:28:07'),
(4,1,'crm.lead_generation.settings',NULL,NULL,'Updated CRM lead generation settings',NULL,'127.0.0.1','2026-10-30 06:28:07','2026-10-30 06:28:07'),
(5,1,'crm.lead_generation.run','App\\Models\\Crm\\LeadGenerationRun',3,'Ran google_maps lead generation',NULL,'127.0.0.1','2026-10-30 08:55:07','2026-10-30 08:55:07'),
(6,1,'crm.lead_generation.verify','App\\Models\\Crm\\LeadGenerationRun',4,'Cross-checked candidate ABC Dental Clinic against Google Maps — places_error',NULL,'127.0.0.1','2026-10-30 09:29:35','2026-10-30 09:29:35');
/*!40000 ALTER TABLE `activity_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `advance_deductions`
--

DROP TABLE IF EXISTS `advance_deductions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `advance_deductions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `advance_id` bigint(20) unsigned NOT NULL,
  `employee_id` bigint(20) unsigned NOT NULL,
  `salary_id` bigint(20) unsigned DEFAULT NULL,
  `year` year(4) NOT NULL,
  `month` tinyint(3) unsigned NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `advance_deductions_advance_id_year_month_unique` (`advance_id`,`year`,`month`),
  KEY `advance_deductions_employee_id_foreign` (`employee_id`),
  KEY `advance_deductions_salary_id_foreign` (`salary_id`),
  CONSTRAINT `advance_deductions_advance_id_foreign` FOREIGN KEY (`advance_id`) REFERENCES `advances` (`id`) ON DELETE CASCADE,
  CONSTRAINT `advance_deductions_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `advance_deductions_salary_id_foreign` FOREIGN KEY (`salary_id`) REFERENCES `salaries` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `advance_deductions`
--

LOCK TABLES `advance_deductions` WRITE;
/*!40000 ALTER TABLE `advance_deductions` DISABLE KEYS */;
/*!40000 ALTER TABLE `advance_deductions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `advances`
--

DROP TABLE IF EXISTS `advances`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `advances` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned NOT NULL,
  `type` enum('advance','loan') NOT NULL DEFAULT 'advance',
  `amount` decimal(12,2) NOT NULL COMMENT 'Requested / approved principal amount',
  `reason` text DEFAULT NULL,
  `request_date` date NOT NULL,
  `installments` int(10) unsigned NOT NULL DEFAULT 1 COMMENT 'Number of monthly installments',
  `installment_amount` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'amount / installments, auto-deducted each payroll run',
  `amount_repaid` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'Total deducted from salary so far',
  `remaining_amount` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'amount - amount_repaid',
  `status` enum('pending','approved','rejected','disbursed','completed','cancelled') NOT NULL DEFAULT 'pending',
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` text DEFAULT NULL,
  `disbursed_at` timestamp NULL DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `advances_employee_id_foreign` (`employee_id`),
  KEY `advances_approved_by_foreign` (`approved_by`),
  CONSTRAINT `advances_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `advances_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `advances`
--

LOCK TABLES `advances` WRITE;
/*!40000 ALTER TABLE `advances` DISABLE KEYS */;
/*!40000 ALTER TABLE `advances` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `agent_trained_commands`
--

DROP TABLE IF EXISTS `agent_trained_commands`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `agent_trained_commands` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `phrase` varchar(255) NOT NULL,
  `canonical_command` varchar(255) NOT NULL,
  `language` varchar(5) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `agent_trained_commands_phrase_unique` (`phrase`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `agent_trained_commands`
--

LOCK TABLES `agent_trained_commands` WRITE;
/*!40000 ALTER TABLE `agent_trained_commands` DISABLE KEYS */;
/*!40000 ALTER TABLE `agent_trained_commands` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `apartments`
--

DROP TABLE IF EXISTS `apartments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `apartments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `building_id` bigint(20) unsigned NOT NULL,
  `unit_no` varchar(40) NOT NULL,
  `floor` int(10) unsigned DEFAULT NULL,
  `type` varchar(40) DEFAULT NULL,
  `monthly_rent` decimal(15,2) NOT NULL DEFAULT 0.00,
  `security_deposit` decimal(15,2) NOT NULL DEFAULT 0.00,
  `utility_charge` decimal(15,2) NOT NULL DEFAULT 0.00,
  `service_charge` decimal(15,2) NOT NULL DEFAULT 0.00,
  `status` varchar(30) NOT NULL DEFAULT 'vacant',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `apartments_building_id_status_index` (`building_id`,`status`),
  CONSTRAINT `apartments_building_id_foreign` FOREIGN KEY (`building_id`) REFERENCES `buildings` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `apartments`
--

LOCK TABLES `apartments` WRITE;
/*!40000 ALTER TABLE `apartments` DISABLE KEYS */;
/*!40000 ALTER TABLE `apartments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `application_answers`
--

DROP TABLE IF EXISTS `application_answers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `application_answers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `job_application_id` bigint(20) unsigned NOT NULL,
  `job_question_id` bigint(20) unsigned NOT NULL,
  `answer_text` text DEFAULT NULL,
  `is_correct` tinyint(1) DEFAULT NULL,
  `points_awarded` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `application_answers_job_application_id_foreign` (`job_application_id`),
  KEY `application_answers_job_question_id_foreign` (`job_question_id`),
  CONSTRAINT `application_answers_job_application_id_foreign` FOREIGN KEY (`job_application_id`) REFERENCES `job_applications` (`id`) ON DELETE CASCADE,
  CONSTRAINT `application_answers_job_question_id_foreign` FOREIGN KEY (`job_question_id`) REFERENCES `job_questions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `application_answers`
--

LOCK TABLES `application_answers` WRITE;
/*!40000 ALTER TABLE `application_answers` DISABLE KEYS */;
/*!40000 ALTER TABLE `application_answers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `application_interviews`
--

DROP TABLE IF EXISTS `application_interviews`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `application_interviews` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `job_application_id` bigint(20) unsigned NOT NULL,
  `interview_stage_id` bigint(20) unsigned NOT NULL,
  `interviewer_id` bigint(20) unsigned DEFAULT NULL,
  `scheduled_at` datetime DEFAULT NULL,
  `mode` enum('onsite','phone','video') NOT NULL DEFAULT 'video',
  `result` enum('pending','passed','failed') NOT NULL DEFAULT 'pending',
  `rating` decimal(3,2) DEFAULT NULL,
  `feedback` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `application_interviews_job_application_id_foreign` (`job_application_id`),
  KEY `application_interviews_interview_stage_id_foreign` (`interview_stage_id`),
  KEY `application_interviews_interviewer_id_foreign` (`interviewer_id`),
  CONSTRAINT `application_interviews_interview_stage_id_foreign` FOREIGN KEY (`interview_stage_id`) REFERENCES `interview_stages` (`id`) ON DELETE CASCADE,
  CONSTRAINT `application_interviews_interviewer_id_foreign` FOREIGN KEY (`interviewer_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `application_interviews_job_application_id_foreign` FOREIGN KEY (`job_application_id`) REFERENCES `job_applications` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `application_interviews`
--

LOCK TABLES `application_interviews` WRITE;
/*!40000 ALTER TABLE `application_interviews` DISABLE KEYS */;
/*!40000 ALTER TABLE `application_interviews` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `appointment_availabilities`
--

DROP TABLE IF EXISTS `appointment_availabilities`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `appointment_availabilities` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `role_id` bigint(20) unsigned DEFAULT NULL,
  `kind` varchar(10) NOT NULL DEFAULT 'window',
  `weekday` tinyint(3) unsigned DEFAULT NULL,
  `busy_date` date DEFAULT NULL,
  `start_time` time NOT NULL,
  `end_time` time NOT NULL,
  `recurr_weekly` tinyint(1) NOT NULL DEFAULT 0,
  `label` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `appointment_availabilities_kind_weekday_index` (`kind`,`weekday`),
  KEY `appointment_availabilities_kind_busy_date_index` (`kind`,`busy_date`),
  KEY `appointment_availabilities_user_id_index` (`user_id`),
  KEY `appointment_availabilities_employee_id_index` (`employee_id`),
  KEY `appointment_availabilities_role_id_index` (`role_id`),
  CONSTRAINT `appointment_availabilities_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `appointment_availabilities_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE SET NULL,
  CONSTRAINT `appointment_availabilities_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `appointment_availabilities`
--

LOCK TABLES `appointment_availabilities` WRITE;
/*!40000 ALTER TABLE `appointment_availabilities` DISABLE KEYS */;
/*!40000 ALTER TABLE `appointment_availabilities` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `appointment_participants`
--

DROP TABLE IF EXISTS `appointment_participants`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `appointment_participants` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `appointment_id` bigint(20) unsigned NOT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `response` enum('pending','accepted','declined') NOT NULL DEFAULT 'pending',
  `responded_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `appointment_participants_appointment_id_user_id_unique` (`appointment_id`,`user_id`),
  KEY `appointment_participants_user_id_foreign` (`user_id`),
  KEY `appointment_participants_employee_id_index` (`employee_id`),
  CONSTRAINT `appointment_participants_appointment_id_foreign` FOREIGN KEY (`appointment_id`) REFERENCES `appointments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `appointment_participants_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `appointment_participants_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `appointment_participants`
--

LOCK TABLES `appointment_participants` WRITE;
/*!40000 ALTER TABLE `appointment_participants` DISABLE KEYS */;
/*!40000 ALTER TABLE `appointment_participants` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `appointments`
--

DROP TABLE IF EXISTS `appointments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `appointments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `appointment_no` varchar(255) NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `location` varchar(255) DEFAULT NULL,
  `type` varchar(40) NOT NULL DEFAULT 'general',
  `starts_at` datetime NOT NULL,
  `ends_at` datetime DEFAULT NULL,
  `all_day` tinyint(1) NOT NULL DEFAULT 0,
  `color` varchar(20) NOT NULL DEFAULT 'blue',
  `role_id` bigint(20) unsigned DEFAULT NULL,
  `status` enum('scheduled','completed','cancelled','no_show') NOT NULL DEFAULT 'scheduled',
  `cancellation_reason` text DEFAULT NULL,
  `calendar_note_id` bigint(20) unsigned DEFAULT NULL,
  `reminder_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `appointments_appointment_no_unique` (`appointment_no`),
  KEY `appointments_created_by_foreign` (`created_by`),
  KEY `appointments_calendar_note_id_foreign` (`calendar_note_id`),
  KEY `appointments_reminder_id_foreign` (`reminder_id`),
  KEY `appointments_starts_at_status_index` (`starts_at`,`status`),
  KEY `appointments_branch_id_index` (`branch_id`),
  KEY `appointments_role_id_index` (`role_id`),
  CONSTRAINT `appointments_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `appointments_calendar_note_id_foreign` FOREIGN KEY (`calendar_note_id`) REFERENCES `calendar_notes` (`id`) ON DELETE SET NULL,
  CONSTRAINT `appointments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `appointments_reminder_id_foreign` FOREIGN KEY (`reminder_id`) REFERENCES `reminders` (`id`) ON DELETE SET NULL,
  CONSTRAINT `appointments_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `appointments`
--

LOCK TABLES `appointments` WRITE;
/*!40000 ALTER TABLE `appointments` DISABLE KEYS */;
/*!40000 ALTER TABLE `appointments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `asset_assignments`
--

DROP TABLE IF EXISTS `asset_assignments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `asset_assignments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `asset_id` bigint(20) unsigned NOT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `department_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'assign',
  `assigned_at` date DEFAULT NULL,
  `returned_at` date DEFAULT NULL,
  `condition_out` varchar(30) DEFAULT NULL,
  `condition_in` varchar(30) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `purpose` text DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'assigned',
  `handover_status` varchar(255) NOT NULL DEFAULT 'pending',
  `handover_document_path` varchar(255) DEFAULT NULL,
  `fine_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `fine_status` varchar(255) NOT NULL DEFAULT 'none',
  `released_by` bigint(20) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `asset_assignments_employee_id_foreign` (`employee_id`),
  KEY `asset_assignments_department_id_foreign` (`department_id`),
  KEY `asset_assignments_branch_id_foreign` (`branch_id`),
  KEY `asset_assignments_user_id_foreign` (`user_id`),
  KEY `asset_assignments_asset_id_index` (`asset_id`),
  CONSTRAINT `asset_assignments_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `asset_assignments_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `asset_assignments_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `asset_assignments_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `asset_assignments_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `asset_assignments`
--

LOCK TABLES `asset_assignments` WRITE;
/*!40000 ALTER TABLE `asset_assignments` DISABLE KEYS */;
/*!40000 ALTER TABLE `asset_assignments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `asset_categories`
--

DROP TABLE IF EXISTS `asset_categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `asset_categories` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(255) DEFAULT NULL,
  `parent_id` bigint(20) unsigned DEFAULT NULL,
  `default_depreciation_percent` decimal(5,2) NOT NULL DEFAULT 0.00,
  `default_life_months` int(10) unsigned NOT NULL DEFAULT 60,
  `depreciation_method` varchar(20) NOT NULL DEFAULT 'straight_line',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `asset_categories_parent_id_foreign` (`parent_id`),
  KEY `asset_categories_branch_id_index` (`branch_id`),
  CONSTRAINT `asset_categories_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `asset_categories` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `asset_categories`
--

LOCK TABLES `asset_categories` WRITE;
/*!40000 ALTER TABLE `asset_categories` DISABLE KEYS */;
/*!40000 ALTER TABLE `asset_categories` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `asset_condition_history`
--

DROP TABLE IF EXISTS `asset_condition_history`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `asset_condition_history` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `asset_id` bigint(20) unsigned NOT NULL,
  `from_condition` varchar(30) DEFAULT NULL,
  `to_condition` varchar(30) NOT NULL,
  `source` varchar(30) NOT NULL DEFAULT 'manual',
  `note` varchar(500) DEFAULT NULL,
  `recorded_by` bigint(20) unsigned DEFAULT NULL,
  `recorded_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `asset_condition_history_asset_id_index` (`asset_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `asset_condition_history`
--

LOCK TABLES `asset_condition_history` WRITE;
/*!40000 ALTER TABLE `asset_condition_history` DISABLE KEYS */;
/*!40000 ALTER TABLE `asset_condition_history` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `asset_depreciations`
--

DROP TABLE IF EXISTS `asset_depreciations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `asset_depreciations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `asset_id` bigint(20) unsigned NOT NULL,
  `period_date` date DEFAULT NULL,
  `amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `book_value_after` decimal(15,2) NOT NULL DEFAULT 0.00,
  `method` varchar(20) NOT NULL DEFAULT 'straight_line',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `asset_depreciations_asset_id_foreign` (`asset_id`),
  CONSTRAINT `asset_depreciations_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `asset_depreciations`
--

LOCK TABLES `asset_depreciations` WRITE;
/*!40000 ALTER TABLE `asset_depreciations` DISABLE KEYS */;
/*!40000 ALTER TABLE `asset_depreciations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `asset_documents`
--

DROP TABLE IF EXISTS `asset_documents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `asset_documents` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `asset_id` bigint(20) unsigned NOT NULL,
  `title` varchar(255) DEFAULT NULL,
  `file_path` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `asset_documents_asset_id_foreign` (`asset_id`),
  CONSTRAINT `asset_documents_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `asset_documents`
--

LOCK TABLES `asset_documents` WRITE;
/*!40000 ALTER TABLE `asset_documents` DISABLE KEYS */;
/*!40000 ALTER TABLE `asset_documents` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `asset_maintenances`
--

DROP TABLE IF EXISTS `asset_maintenances`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `asset_maintenances` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `asset_id` bigint(20) unsigned NOT NULL,
  `type` varchar(30) NOT NULL DEFAULT 'repair',
  `service_date` date DEFAULT NULL,
  `next_service_date` date DEFAULT NULL,
  `cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `vendor_name` varchar(150) DEFAULT NULL,
  `is_amc` tinyint(1) NOT NULL DEFAULT 0,
  `amc_start` date DEFAULT NULL,
  `amc_end` date DEFAULT NULL,
  `description` text DEFAULT NULL,
  `result` varchar(30) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'scheduled',
  `started_at` date DEFAULT NULL,
  `completed_at` date DEFAULT NULL,
  `condition_after` varchar(255) DEFAULT NULL,
  `next_service_at` date DEFAULT NULL,
  `vendor_id` bigint(20) unsigned DEFAULT NULL,
  `document_path` varchar(255) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `asset_maintenances_asset_id_foreign` (`asset_id`),
  CONSTRAINT `asset_maintenances_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `asset_maintenances`
--

LOCK TABLES `asset_maintenances` WRITE;
/*!40000 ALTER TABLE `asset_maintenances` DISABLE KEYS */;
/*!40000 ALTER TABLE `asset_maintenances` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `asset_movements`
--

DROP TABLE IF EXISTS `asset_movements`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `asset_movements` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `asset_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `type` varchar(255) NOT NULL,
  `from_employee_id` bigint(20) unsigned DEFAULT NULL,
  `to_employee_id` bigint(20) unsigned DEFAULT NULL,
  `from_department_id` bigint(20) unsigned DEFAULT NULL,
  `to_department_id` bigint(20) unsigned DEFAULT NULL,
  `location` varchar(255) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `performed_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `asset_movements_asset_id_foreign` (`asset_id`),
  KEY `asset_movements_branch_id_foreign` (`branch_id`),
  KEY `asset_movements_from_employee_id_foreign` (`from_employee_id`),
  KEY `asset_movements_to_employee_id_foreign` (`to_employee_id`),
  KEY `asset_movements_from_department_id_foreign` (`from_department_id`),
  KEY `asset_movements_to_department_id_foreign` (`to_department_id`),
  KEY `asset_movements_performed_by_foreign` (`performed_by`),
  CONSTRAINT `asset_movements_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `asset_movements_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `asset_movements_from_department_id_foreign` FOREIGN KEY (`from_department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `asset_movements_from_employee_id_foreign` FOREIGN KEY (`from_employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `asset_movements_performed_by_foreign` FOREIGN KEY (`performed_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `asset_movements_to_department_id_foreign` FOREIGN KEY (`to_department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `asset_movements_to_employee_id_foreign` FOREIGN KEY (`to_employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `asset_movements`
--

LOCK TABLES `asset_movements` WRITE;
/*!40000 ALTER TABLE `asset_movements` DISABLE KEYS */;
/*!40000 ALTER TABLE `asset_movements` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `asset_requests`
--

DROP TABLE IF EXISTS `asset_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `asset_requests` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `asset_category_id` bigint(20) unsigned DEFAULT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `department_id` bigint(20) unsigned DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `justification` text DEFAULT NULL,
  `estimated_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `budget_allocated` decimal(15,2) NOT NULL DEFAULT 0.00,
  `cost_center` varchar(100) DEFAULT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'pending',
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `decision_note` text DEFAULT NULL,
  `asset_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `asset_requests_branch_id_foreign` (`branch_id`),
  KEY `asset_requests_asset_category_id_foreign` (`asset_category_id`),
  KEY `asset_requests_employee_id_foreign` (`employee_id`),
  KEY `asset_requests_department_id_foreign` (`department_id`),
  KEY `asset_requests_approved_by_foreign` (`approved_by`),
  KEY `asset_requests_asset_id_foreign` (`asset_id`),
  CONSTRAINT `asset_requests_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `asset_requests_asset_category_id_foreign` FOREIGN KEY (`asset_category_id`) REFERENCES `asset_categories` (`id`) ON DELETE SET NULL,
  CONSTRAINT `asset_requests_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE SET NULL,
  CONSTRAINT `asset_requests_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `asset_requests_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `asset_requests_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `asset_requests`
--

LOCK TABLES `asset_requests` WRITE;
/*!40000 ALTER TABLE `asset_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `asset_requests` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `asset_requisitions`
--

DROP TABLE IF EXISTS `asset_requisitions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `asset_requisitions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned NOT NULL,
  `department_id` bigint(20) unsigned DEFAULT NULL,
  `asset_category_id` bigint(20) unsigned DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `justification` text DEFAULT NULL,
  `estimated_cost` decimal(14,2) NOT NULL DEFAULT 0.00,
  `budget_allocated` decimal(14,2) NOT NULL DEFAULT 0.00,
  `cost_center` varchar(255) DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'pending',
  `decided_by` bigint(20) unsigned DEFAULT NULL,
  `decided_at` timestamp NULL DEFAULT NULL,
  `decision_note` text DEFAULT NULL,
  `asset_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `asset_requisitions_employee_id_foreign` (`employee_id`),
  KEY `asset_requisitions_department_id_foreign` (`department_id`),
  KEY `asset_requisitions_asset_category_id_foreign` (`asset_category_id`),
  KEY `asset_requisitions_decided_by_foreign` (`decided_by`),
  CONSTRAINT `asset_requisitions_asset_category_id_foreign` FOREIGN KEY (`asset_category_id`) REFERENCES `asset_categories` (`id`) ON DELETE SET NULL,
  CONSTRAINT `asset_requisitions_decided_by_foreign` FOREIGN KEY (`decided_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `asset_requisitions_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `asset_requisitions_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `asset_requisitions`
--

LOCK TABLES `asset_requisitions` WRITE;
/*!40000 ALTER TABLE `asset_requisitions` DISABLE KEYS */;
/*!40000 ALTER TABLE `asset_requisitions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `assets`
--

DROP TABLE IF EXISTS `assets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `assets` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `asset_tag` varchar(60) NOT NULL,
  `asset_category_id` bigint(20) unsigned DEFAULT NULL,
  `sub_category_id` bigint(20) unsigned DEFAULT NULL,
  `asset_code` varchar(255) DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `serial_no` varchar(100) DEFAULT NULL,
  `purchase_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `purchase_date` date DEFAULT NULL,
  `warranty_end_date` date DEFAULT NULL,
  `condition` varchar(30) NOT NULL DEFAULT 'new',
  `status` varchar(30) NOT NULL DEFAULT 'in_stock',
  `location` varchar(150) DEFAULT NULL,
  `image_path` varchar(255) DEFAULT NULL,
  `current_value` decimal(15,2) NOT NULL DEFAULT 0.00,
  `accumulated_depreciation` decimal(15,2) NOT NULL DEFAULT 0.00,
  `depreciation_method` varchar(20) NOT NULL DEFAULT 'straight_line',
  `useful_life_months` int(10) unsigned NOT NULL DEFAULT 60,
  `disposed_at` date DEFAULT NULL,
  `disposal_value` decimal(15,2) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `model` varchar(255) DEFAULT NULL,
  `vendor_id` bigint(20) unsigned DEFAULT NULL,
  `warranty_until` date DEFAULT NULL,
  `location_type` varchar(255) DEFAULT NULL,
  `location_label` varchar(255) DEFAULT NULL,
  `department_id` bigint(20) unsigned DEFAULT NULL,
  `salvage_value` decimal(14,2) NOT NULL DEFAULT 0.00,
  `dispose_reason` varchar(255) DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `assets_asset_tag_unique` (`asset_tag`),
  UNIQUE KEY `assets_asset_code_unique` (`asset_code`),
  KEY `assets_asset_category_id_foreign` (`asset_category_id`),
  KEY `assets_branch_id_foreign` (`branch_id`),
  KEY `assets_status_branch_id_index` (`status`,`branch_id`),
  CONSTRAINT `assets_asset_category_id_foreign` FOREIGN KEY (`asset_category_id`) REFERENCES `asset_categories` (`id`) ON DELETE SET NULL,
  CONSTRAINT `assets_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `assets`
--

LOCK TABLES `assets` WRITE;
/*!40000 ALTER TABLE `assets` DISABLE KEYS */;
/*!40000 ALTER TABLE `assets` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `attendances`
--

DROP TABLE IF EXISTS `attendances`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `attendances` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned NOT NULL,
  `date` date NOT NULL,
  `check_in` time DEFAULT NULL,
  `check_out` time DEFAULT NULL,
  `total_hours` decimal(5,2) DEFAULT NULL,
  `is_leave` tinyint(1) NOT NULL DEFAULT 0,
  `leave_type` varchar(255) DEFAULT NULL COMMENT 'paid = free leave (salary kept); unpaid = deducts the day''s salary; null = legacy unpaid',
  `is_office_leave` tinyint(1) NOT NULL DEFAULT 0,
  `source` varchar(255) NOT NULL DEFAULT 'manual',
  `shift_id` bigint(20) unsigned DEFAULT NULL,
  `device_synced_at` timestamp NULL DEFAULT NULL,
  `leave_comment` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `attendances_employee_id_foreign` (`employee_id`),
  KEY `attendances_shift_id_foreign` (`shift_id`),
  CONSTRAINT `attendances_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `attendances_shift_id_foreign` FOREIGN KEY (`shift_id`) REFERENCES `shifts` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `attendances`
--

LOCK TABLES `attendances` WRITE;
/*!40000 ALTER TABLE `attendances` DISABLE KEYS */;
/*!40000 ALTER TABLE `attendances` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `batch_numbers`
--

DROP TABLE IF EXISTS `batch_numbers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `batch_numbers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `code` varchar(60) NOT NULL,
  `work_order_id` bigint(20) unsigned DEFAULT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'batch',
  `quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `production_date` date DEFAULT NULL,
  `expiry_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `batch_numbers_code_unique` (`code`),
  KEY `batch_numbers_work_order_id_foreign` (`work_order_id`),
  KEY `batch_numbers_product_id_foreign` (`product_id`),
  KEY `batch_numbers_branch_id_index` (`branch_id`),
  CONSTRAINT `batch_numbers_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `batch_numbers_work_order_id_foreign` FOREIGN KEY (`work_order_id`) REFERENCES `work_orders` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `batch_numbers`
--

LOCK TABLES `batch_numbers` WRITE;
/*!40000 ALTER TABLE `batch_numbers` DISABLE KEYS */;
/*!40000 ALTER TABLE `batch_numbers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `bom_lines`
--

DROP TABLE IF EXISTS `bom_lines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `bom_lines` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `bom_id` bigint(20) unsigned NOT NULL,
  `component_product_id` bigint(20) unsigned NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `wastage_percent` decimal(5,2) NOT NULL DEFAULT 0.00,
  `unit` varchar(30) DEFAULT NULL,
  `unit_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `bom_lines_bom_id_foreign` (`bom_id`),
  KEY `bom_lines_component_product_id_foreign` (`component_product_id`),
  CONSTRAINT `bom_lines_bom_id_foreign` FOREIGN KEY (`bom_id`) REFERENCES `boms` (`id`) ON DELETE CASCADE,
  CONSTRAINT `bom_lines_component_product_id_foreign` FOREIGN KEY (`component_product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `bom_lines`
--

LOCK TABLES `bom_lines` WRITE;
/*!40000 ALTER TABLE `bom_lines` DISABLE KEYS */;
/*!40000 ALTER TABLE `bom_lines` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `boms`
--

DROP TABLE IF EXISTS `boms`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `boms` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `version` varchar(20) NOT NULL DEFAULT 'v1',
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `labor_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `overhead_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `notes` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `boms_created_by_foreign` (`created_by`),
  KEY `boms_product_id_is_active_index` (`product_id`,`is_active`),
  KEY `boms_branch_id_index` (`branch_id`),
  CONSTRAINT `boms_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `boms_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `boms`
--

LOCK TABLES `boms` WRITE;
/*!40000 ALTER TABLE `boms` DISABLE KEYS */;
/*!40000 ALTER TABLE `boms` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_availabilities`
--

DROP TABLE IF EXISTS `booking_availabilities`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_availabilities` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `booking_company_id` bigint(20) unsigned NOT NULL,
  `booking_branch_id` bigint(20) unsigned DEFAULT NULL,
  `booking_slot_id` bigint(20) unsigned DEFAULT NULL,
  `weekday` tinyint(4) DEFAULT NULL,
  `date` date DEFAULT NULL,
  `start_time` time DEFAULT NULL,
  `end_time` time DEFAULT NULL,
  `kind` varchar(20) NOT NULL DEFAULT 'open',
  `is_recurring` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `booking_availabilities_booking_branch_id_foreign` (`booking_branch_id`),
  KEY `booking_availabilities_booking_slot_id_foreign` (`booking_slot_id`),
  KEY `booking_availabilities_booking_company_id_weekday_kind_index` (`booking_company_id`,`weekday`,`kind`),
  CONSTRAINT `booking_availabilities_booking_branch_id_foreign` FOREIGN KEY (`booking_branch_id`) REFERENCES `booking_branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_availabilities_booking_company_id_foreign` FOREIGN KEY (`booking_company_id`) REFERENCES `booking_companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_availabilities_booking_slot_id_foreign` FOREIGN KEY (`booking_slot_id`) REFERENCES `booking_slots` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=71 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_availabilities`
--

LOCK TABLES `booking_availabilities` WRITE;
/*!40000 ALTER TABLE `booking_availabilities` DISABLE KEYS */;
INSERT INTO `booking_availabilities` VALUES
(1,1,1,NULL,0,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(2,1,1,NULL,1,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(3,1,1,NULL,2,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(4,1,1,NULL,3,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(5,1,1,NULL,4,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(6,1,1,NULL,6,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(7,1,1,NULL,5,NULL,'14:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(8,2,2,NULL,0,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(9,2,2,NULL,1,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(10,2,2,NULL,2,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(11,2,2,NULL,3,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(12,2,2,NULL,4,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(13,2,2,NULL,6,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(14,2,2,NULL,5,NULL,'14:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(15,3,3,NULL,0,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(16,3,3,NULL,1,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(17,3,3,NULL,2,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(18,3,3,NULL,3,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(19,3,3,NULL,4,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(20,3,3,NULL,6,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(21,3,3,NULL,5,NULL,'14:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(22,4,4,NULL,0,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(23,4,4,NULL,1,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(24,4,4,NULL,2,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(25,4,4,NULL,3,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(26,4,4,NULL,4,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(27,4,4,NULL,6,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(28,4,4,NULL,5,NULL,'14:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(29,5,5,NULL,0,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(30,5,5,NULL,1,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(31,5,5,NULL,2,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(32,5,5,NULL,3,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(33,5,5,NULL,4,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(34,5,5,NULL,6,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(35,5,5,NULL,5,NULL,'14:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(36,6,6,NULL,0,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(37,6,6,NULL,1,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(38,6,6,NULL,2,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(39,6,6,NULL,3,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(40,6,6,NULL,4,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(41,6,6,NULL,6,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(42,6,6,NULL,5,NULL,'14:00:00','22:00:00','open',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(43,7,7,NULL,0,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(44,7,7,NULL,1,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(45,7,7,NULL,2,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(46,7,7,NULL,3,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(47,7,7,NULL,4,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(48,7,7,NULL,6,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(49,7,7,NULL,5,NULL,'14:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(50,8,8,NULL,0,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(51,8,8,NULL,1,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(52,8,8,NULL,2,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(53,8,8,NULL,3,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(54,8,8,NULL,4,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(55,8,8,NULL,6,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(56,8,8,NULL,5,NULL,'14:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(57,9,9,NULL,0,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(58,9,9,NULL,1,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(59,9,9,NULL,2,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(60,9,9,NULL,3,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(61,9,9,NULL,4,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(62,9,9,NULL,6,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(63,9,9,NULL,5,NULL,'14:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(64,10,10,NULL,0,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(65,10,10,NULL,1,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(66,10,10,NULL,2,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(67,10,10,NULL,3,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(68,10,10,NULL,4,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(69,10,10,NULL,6,NULL,'07:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(70,10,10,NULL,5,NULL,'14:00:00','22:00:00','open',1,'2026-10-27 18:05:03','2026-10-27 18:05:03');
/*!40000 ALTER TABLE `booking_availabilities` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_booking_histories`
--

DROP TABLE IF EXISTS `booking_booking_histories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_booking_histories` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `booking_booking_id` bigint(20) unsigned NOT NULL,
  `event` varchar(40) NOT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`payload`)),
  `created_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id`),
  KEY `booking_booking_histories_booking_booking_id_foreign` (`booking_booking_id`),
  KEY `booking_booking_histories_user_id_foreign` (`user_id`),
  CONSTRAINT `booking_booking_histories_booking_booking_id_foreign` FOREIGN KEY (`booking_booking_id`) REFERENCES `booking_bookings` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_booking_histories_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_booking_histories`
--

LOCK TABLES `booking_booking_histories` WRITE;
/*!40000 ALTER TABLE `booking_booking_histories` DISABLE KEYS */;
/*!40000 ALTER TABLE `booking_booking_histories` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_bookings`
--

DROP TABLE IF EXISTS `booking_bookings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_bookings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `booking_no` varchar(30) NOT NULL,
  `booking_company_id` bigint(20) unsigned NOT NULL,
  `booking_branch_id` bigint(20) unsigned DEFAULT NULL,
  `booking_slot_id` bigint(20) unsigned DEFAULT NULL,
  `booking_service_id` bigint(20) unsigned DEFAULT NULL,
  `series_id` bigint(20) unsigned DEFAULT NULL,
  `booking_staff_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `customer_name` varchar(120) NOT NULL,
  `customer_phone` varchar(40) DEFAULT NULL,
  `customer_email` varchar(120) DEFAULT NULL,
  `date` date NOT NULL,
  `start_time` time NOT NULL,
  `end_time` time NOT NULL,
  `duration_minutes` int(10) unsigned NOT NULL DEFAULT 0,
  `status` varchar(20) NOT NULL DEFAULT 'pending',
  `payment_status` varchar(20) NOT NULL DEFAULT 'unpaid',
  `source` varchar(20) NOT NULL DEFAULT 'public',
  `booking_type` varchar(20) NOT NULL DEFAULT 'one_time',
  `recurrence_rule` varchar(255) DEFAULT NULL,
  `occurrence_no` int(10) unsigned NOT NULL DEFAULT 1,
  `occurrence_total` int(10) unsigned NOT NULL DEFAULT 1,
  `invoice_mode` varchar(20) NOT NULL DEFAULT 'per_occurrence',
  `hold_token` varchar(64) DEFAULT NULL,
  `hold_expires_at` timestamp NULL DEFAULT NULL,
  `extension_minutes` int(10) unsigned NOT NULL DEFAULT 0,
  `amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `discount_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `tax_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `service_charge` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total` decimal(15,2) NOT NULL DEFAULT 0.00,
  `paid_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `notes` text DEFAULT NULL,
  `customer_notes` text DEFAULT NULL,
  `staff_notes` text DEFAULT NULL,
  `custom_field_values` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`custom_field_values`)),
  `cancel_reason` varchar(255) DEFAULT NULL,
  `cancelled_at` timestamp NULL DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `booking_bookings_booking_no_unique` (`booking_no`),
  UNIQUE KEY `booking_bookings_hold_token_unique` (`hold_token`),
  KEY `booking_bookings_booking_branch_id_foreign` (`booking_branch_id`),
  KEY `booking_bookings_booking_staff_id_foreign` (`booking_staff_id`),
  KEY `booking_bookings_customer_id_foreign` (`customer_id`),
  KEY `booking_bookings_user_id_foreign` (`user_id`),
  KEY `booking_bookings_booking_company_id_date_status_index` (`booking_company_id`,`date`,`status`),
  KEY `booking_bookings_booking_slot_id_date_index` (`booking_slot_id`,`date`),
  KEY `booking_bookings_hold_expires_at_index` (`hold_expires_at`),
  KEY `booking_bookings_series_id_index` (`series_id`),
  KEY `booking_bookings_booking_service_id_date_index` (`booking_service_id`,`date`),
  CONSTRAINT `booking_bookings_booking_branch_id_foreign` FOREIGN KEY (`booking_branch_id`) REFERENCES `booking_branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_bookings_booking_company_id_foreign` FOREIGN KEY (`booking_company_id`) REFERENCES `booking_companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_bookings_booking_service_id_foreign` FOREIGN KEY (`booking_service_id`) REFERENCES `booking_services` (`id`) ON DELETE SET NULL,
  CONSTRAINT `booking_bookings_booking_slot_id_foreign` FOREIGN KEY (`booking_slot_id`) REFERENCES `booking_slots` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_bookings_booking_staff_id_foreign` FOREIGN KEY (`booking_staff_id`) REFERENCES `booking_staff` (`id`) ON DELETE SET NULL,
  CONSTRAINT `booking_bookings_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `booking_bookings_series_id_foreign` FOREIGN KEY (`series_id`) REFERENCES `booking_bookings` (`id`) ON DELETE SET NULL,
  CONSTRAINT `booking_bookings_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_bookings`
--

LOCK TABLES `booking_bookings` WRITE;
/*!40000 ALTER TABLE `booking_bookings` DISABLE KEYS */;
/*!40000 ALTER TABLE `booking_bookings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_branches`
--

DROP TABLE IF EXISTS `booking_branches`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_branches` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `booking_company_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `address` varchar(255) DEFAULT NULL,
  `city` varchar(100) DEFAULT NULL,
  `area` varchar(100) DEFAULT NULL,
  `latitude` decimal(10,7) DEFAULT NULL,
  `longitude` decimal(10,7) DEFAULT NULL,
  `contact_phone` varchar(40) DEFAULT NULL,
  `booking_rules` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`booking_rules`)),
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `booking_branches_booking_company_id_slug_unique` (`booking_company_id`,`slug`),
  KEY `booking_branches_city_area_index` (`city`,`area`),
  CONSTRAINT `booking_branches_booking_company_id_foreign` FOREIGN KEY (`booking_company_id`) REFERENCES `booking_companies` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_branches`
--

LOCK TABLES `booking_branches` WRITE;
/*!40000 ALTER TABLE `booking_branches` DISABLE KEYS */;
INSERT INTO `booking_branches` VALUES
(1,1,'CityPark Gulshan — Main','main-DXvDDC','Road 11, Gulshan-2','Dhaka','Gulshan',NULL,NULL,'+8801700000001',NULL,1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(2,2,'GreenCare Clinic — Main','main-haQeX5','House 22, Road 5, Dhanmondi','Dhaka','Dhanmondi',NULL,NULL,'+8801700000002',NULL,1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(3,3,'Glow Studio — Main','main-j7t738','Road 34, Gulshan-1','Dhaka','Gulshan',NULL,NULL,'+8801700000003',NULL,1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(4,4,'Baseline Tennis Complex — Main','main-Nrgn7J','Sector 7, Uttara','Dhaka','Uttara',NULL,NULL,'+8801700000004',NULL,1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(5,5,'Grand Hall Events — Main','main-QFon5e','BIAM Foundation, Airport Road','Dhaka','Tejgaon',NULL,NULL,'+8801700000005',NULL,1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(6,6,'Zenith Meeting Spaces — Main','main-5BPPu3','Level 6, Awal Centre, Banani','Dhaka','Banani',NULL,NULL,'+8801700000006',NULL,1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(7,7,'FixHub Service Center — Main','main-nne3KI','Elephant Road, Dhaka','Dhaka','New Market',NULL,NULL,'+8801700000007',NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(8,8,'The Loft Coworking — Main','main-ogFxUy','House 10, Road 55, Gulshan-2','Dhaka','Gulshan',NULL,NULL,'+8801700000008',NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(9,9,'GearUp Rentals — Main','main-VrOaN5','New Eskaton Road, Dhaka','Dhaka','Eskaton',NULL,NULL,'+8801700000009',NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(10,10,'GreenField Sports Turf — Main','main-thVLQl','Field 3, Khagan, Ashulia','Dhaka','Ashulia',NULL,NULL,'+8801700000010',NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03');
/*!40000 ALTER TABLE `booking_branches` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_business_types`
--

DROP TABLE IF EXISTS `booking_business_types`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_business_types` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `booking_company_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `resource_noun` varchar(60) NOT NULL DEFAULT 'Slot',
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `booking_business_types_booking_company_id_foreign` (`booking_company_id`),
  CONSTRAINT `booking_business_types_booking_company_id_foreign` FOREIGN KEY (`booking_company_id`) REFERENCES `booking_companies` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_business_types`
--

LOCK TABLES `booking_business_types` WRITE;
/*!40000 ALTER TABLE `booking_business_types` DISABLE KEYS */;
INSERT INTO `booking_business_types` VALUES
(1,1,'parking','Slot',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(2,2,'clinic','Appointment',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(3,3,'salon','Chair',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(4,4,'court','Court',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(5,5,'event','Seat',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(6,6,'meeting room','Room',1,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(7,7,'service center','Slot',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(8,8,'workspace','Desk',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(9,9,'equipment','Unit',1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(10,10,'turf','Slot',1,'2026-10-27 18:05:03','2026-10-27 18:05:03');
/*!40000 ALTER TABLE `booking_business_types` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_check_ins`
--

DROP TABLE IF EXISTS `booking_check_ins`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_check_ins` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `booking_booking_id` bigint(20) unsigned NOT NULL,
  `channel` varchar(20) NOT NULL DEFAULT 'qrs',
  `checked_in_at` timestamp NOT NULL,
  `checked_out_at` timestamp NULL DEFAULT NULL,
  `early_or_late` varchar(10) DEFAULT NULL,
  `overstay_minutes` decimal(8,0) NOT NULL DEFAULT 0,
  `overstay_charge` decimal(15,2) NOT NULL DEFAULT 0.00,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `booking_check_ins_booking_booking_id_foreign` (`booking_booking_id`),
  KEY `booking_check_ins_user_id_foreign` (`user_id`),
  CONSTRAINT `booking_check_ins_booking_booking_id_foreign` FOREIGN KEY (`booking_booking_id`) REFERENCES `booking_bookings` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_check_ins_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_check_ins`
--

LOCK TABLES `booking_check_ins` WRITE;
/*!40000 ALTER TABLE `booking_check_ins` DISABLE KEYS */;
/*!40000 ALTER TABLE `booking_check_ins` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_companies`
--

DROP TABLE IF EXISTS `booking_companies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_companies` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `company_code` varchar(20) DEFAULT NULL,
  `slug` varchar(255) NOT NULL,
  `business_type` varchar(60) NOT NULL,
  `business_category` varchar(60) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `logo_path` varchar(255) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `city` varchar(100) DEFAULT NULL,
  `area` varchar(100) DEFAULT NULL,
  `latitude` decimal(10,7) DEFAULT NULL,
  `longitude` decimal(10,7) DEFAULT NULL,
  `contact_name` varchar(100) DEFAULT NULL,
  `contact_phone` varchar(40) DEFAULT NULL,
  `contact_email` varchar(120) DEFAULT NULL,
  `website` varchar(200) DEFAULT NULL,
  `owner_user_id` bigint(20) unsigned DEFAULT NULL,
  `settings` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`settings`)),
  `booking_rules` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`booking_rules`)),
  `booking_page_slug` varchar(120) DEFAULT NULL,
  `brand_primary_color` varchar(20) DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `booking_companies_slug_unique` (`slug`),
  UNIQUE KEY `booking_companies_company_code_unique` (`company_code`),
  KEY `booking_companies_owner_user_id_foreign` (`owner_user_id`),
  KEY `booking_companies_status_city_area_index` (`status`,`city`,`area`),
  KEY `booking_companies_business_type_index` (`business_type`),
  CONSTRAINT `booking_companies_owner_user_id_foreign` FOREIGN KEY (`owner_user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_companies`
--

LOCK TABLES `booking_companies` WRITE;
/*!40000 ALTER TABLE `booking_companies` DISABLE KEYS */;
INSERT INTO `booking_companies` VALUES
(1,'CityPark Gulshan','BC-2P7EOR','citypark-gulshan','parking',NULL,'Multi-level covered parking in the heart of Gulshan.',NULL,'Road 11, Gulshan-2','Dhaka','Gulshan',NULL,NULL,NULL,'+8801700000001',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','2026-10-27 18:05:02','2026-10-27 18:05:02'),
(2,'GreenCare Clinic','BC-Y0CWQP','greencare-clinic','clinic',NULL,'General practitioner and specialist consultations.',NULL,'House 22, Road 5, Dhanmondi','Dhaka','Dhanmondi',NULL,NULL,NULL,'+8801700000002',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','2026-10-27 18:05:02','2026-10-27 18:05:02'),
(3,'Glow Studio','BC-62Y3WN','glow-studio','salon',NULL,'Hair, skin and grooming services for everyone.',NULL,'Road 34, Gulshan-1','Dhaka','Gulshan',NULL,NULL,NULL,'+8801700000003',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','2026-10-27 18:05:02','2026-10-27 18:05:02'),
(4,'Baseline Tennis Complex','BC-Z7GZI4','baseline-tennis','court',NULL,'Synthetic tennis and badminton courts, floodlit till late.',NULL,'Sector 7, Uttara','Dhaka','Uttara',NULL,NULL,NULL,'+8801700000004',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','2026-10-27 18:05:02','2026-10-27 18:05:02'),
(5,'Grand Hall Events','BC-LYBH07','grand-hall-events','event',NULL,'Conference and wedding events with tiered seating.',NULL,'BIAM Foundation, Airport Road','Dhaka','Tejgaon',NULL,NULL,NULL,'+8801700000005',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','2026-10-27 18:05:02','2026-10-27 18:05:02'),
(6,'Zenith Meeting Spaces','BC-PGB0TO','zenith-meeting-spaces','meeting room',NULL,'Projector-ready meeting rooms by the hour.',NULL,'Level 6, Awal Centre, Banani','Dhaka','Banani',NULL,NULL,NULL,'+8801700000006',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','2026-10-27 18:05:02','2026-10-27 18:05:02'),
(7,'FixHub Service Center','BC-GUA5BV','fixhub-service-center','service center',NULL,'Phone and laptop repairs with express slots.',NULL,'Elephant Road, Dhaka','Dhaka','New Market',NULL,NULL,NULL,'+8801700000007',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','2026-10-27 18:05:03','2026-10-27 18:05:03'),
(8,'The Loft Coworking','BC-INTV83','the-loft-coworking','workspace',NULL,'Hot desks and dedicated desks in a quiet loft space.',NULL,'House 10, Road 55, Gulshan-2','Dhaka','Gulshan',NULL,NULL,NULL,'+8801700000008',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','2026-10-27 18:05:03','2026-10-27 18:05:03'),
(9,'GearUp Rentals','BC-K21SXN','gearup-rentals','equipment',NULL,'Cameras, projectors and sound gear by the day.',NULL,'New Eskaton Road, Dhaka','Dhaka','Eskaton',NULL,NULL,NULL,'+8801700000009',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'active','2026-10-27 18:05:03','2026-10-27 18:05:03'),
(10,'GreenField Sports Turf','BC-S9IXZI','greenfield-sports-turf','turf',NULL,'Floodlit football and cricket turf slots — book by the hour, 1,500 per slot.',NULL,'Field 3, Khagan, Ashulia','Dhaka','Ashulia',NULL,NULL,NULL,'+8801700000010',NULL,NULL,NULL,NULL,NULL,NULL,'#16a34a','active','2026-10-27 18:05:03','2026-10-27 18:05:03');
/*!40000 ALTER TABLE `booking_companies` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_invoices`
--

DROP TABLE IF EXISTS `booking_invoices`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_invoices` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `invoice_no` varchar(30) NOT NULL,
  `booking_booking_id` bigint(20) unsigned NOT NULL,
  `booking_company_id` bigint(20) unsigned NOT NULL,
  `issued_at` date NOT NULL,
  `due_date` date DEFAULT NULL,
  `subtotal` decimal(15,2) NOT NULL,
  `discount_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `tax_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `service_charge` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total` decimal(15,2) NOT NULL,
  `paid_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `status` varchar(20) NOT NULL DEFAULT 'unpaid',
  `payment_mode` varchar(20) NOT NULL DEFAULT 'full',
  `paid_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `booking_invoices_invoice_no_unique` (`invoice_no`),
  KEY `booking_invoices_booking_booking_id_foreign` (`booking_booking_id`),
  KEY `booking_invoices_booking_company_id_status_index` (`booking_company_id`,`status`),
  CONSTRAINT `booking_invoices_booking_booking_id_foreign` FOREIGN KEY (`booking_booking_id`) REFERENCES `booking_bookings` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_invoices_booking_company_id_foreign` FOREIGN KEY (`booking_company_id`) REFERENCES `booking_companies` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_invoices`
--

LOCK TABLES `booking_invoices` WRITE;
/*!40000 ALTER TABLE `booking_invoices` DISABLE KEYS */;
/*!40000 ALTER TABLE `booking_invoices` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_payments`
--

DROP TABLE IF EXISTS `booking_payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `reference` varchar(30) NOT NULL,
  `booking_invoice_id` bigint(20) unsigned NOT NULL,
  `booking_booking_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `method` varchar(40) NOT NULL DEFAULT 'cash',
  `transaction_id` varchar(120) DEFAULT NULL,
  `is_verified` tinyint(1) NOT NULL DEFAULT 0,
  `verified_at` timestamp NULL DEFAULT NULL,
  `is_refund` tinyint(1) NOT NULL DEFAULT 0,
  `refund_reason` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `booking_payments_reference_unique` (`reference`),
  KEY `booking_payments_booking_booking_id_foreign` (`booking_booking_id`),
  KEY `booking_payments_created_by_foreign` (`created_by`),
  KEY `booking_payments_booking_invoice_id_index` (`booking_invoice_id`),
  CONSTRAINT `booking_payments_booking_booking_id_foreign` FOREIGN KEY (`booking_booking_id`) REFERENCES `booking_bookings` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_payments_booking_invoice_id_foreign` FOREIGN KEY (`booking_invoice_id`) REFERENCES `booking_invoices` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_payments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_payments`
--

LOCK TABLES `booking_payments` WRITE;
/*!40000 ALTER TABLE `booking_payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `booking_payments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_series`
--

DROP TABLE IF EXISTS `booking_series`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_series` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `series_no` varchar(30) NOT NULL,
  `booking_company_id` bigint(20) unsigned NOT NULL,
  `booking_branch_id` bigint(20) unsigned DEFAULT NULL,
  `booking_slot_id` bigint(20) unsigned DEFAULT NULL,
  `booking_service_id` bigint(20) unsigned DEFAULT NULL,
  `title` varchar(120) DEFAULT NULL,
  `frequency` varchar(20) NOT NULL,
  `interval` int(10) unsigned NOT NULL DEFAULT 1,
  `weekdays` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`weekdays`)),
  `monthly_by_day` int(10) unsigned DEFAULT NULL,
  `start_date` date NOT NULL,
  `end_date` date DEFAULT NULL,
  `max_occurrences` int(10) unsigned DEFAULT NULL,
  `unlimited` tinyint(1) NOT NULL DEFAULT 0,
  `start_time` time NOT NULL,
  `end_time` time NOT NULL,
  `paused` tinyint(1) NOT NULL DEFAULT 0,
  `generated_count` int(10) unsigned NOT NULL DEFAULT 0,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `customer_name` varchar(120) NOT NULL,
  `customer_phone` varchar(40) DEFAULT NULL,
  `customer_email` varchar(120) DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `booking_series_series_no_unique` (`series_no`),
  KEY `booking_series_booking_branch_id_foreign` (`booking_branch_id`),
  KEY `booking_series_booking_slot_id_foreign` (`booking_slot_id`),
  KEY `booking_series_booking_service_id_foreign` (`booking_service_id`),
  KEY `booking_series_customer_id_foreign` (`customer_id`),
  KEY `booking_series_created_by_foreign` (`created_by`),
  KEY `booking_series_booking_company_id_status_index` (`booking_company_id`,`status`),
  CONSTRAINT `booking_series_booking_branch_id_foreign` FOREIGN KEY (`booking_branch_id`) REFERENCES `booking_branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `booking_series_booking_company_id_foreign` FOREIGN KEY (`booking_company_id`) REFERENCES `booking_companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_series_booking_service_id_foreign` FOREIGN KEY (`booking_service_id`) REFERENCES `booking_services` (`id`) ON DELETE SET NULL,
  CONSTRAINT `booking_series_booking_slot_id_foreign` FOREIGN KEY (`booking_slot_id`) REFERENCES `booking_slots` (`id`) ON DELETE SET NULL,
  CONSTRAINT `booking_series_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `booking_series_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_series`
--

LOCK TABLES `booking_series` WRITE;
/*!40000 ALTER TABLE `booking_series` DISABLE KEYS */;
/*!40000 ALTER TABLE `booking_series` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_service_staff`
--

DROP TABLE IF EXISTS `booking_service_staff`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_service_staff` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `booking_service_id` bigint(20) unsigned NOT NULL,
  `booking_staff_id` bigint(20) unsigned NOT NULL,
  `price` decimal(15,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `booking_service_staff_booking_service_id_booking_staff_id_unique` (`booking_service_id`,`booking_staff_id`),
  KEY `booking_service_staff_booking_staff_id_foreign` (`booking_staff_id`),
  CONSTRAINT `booking_service_staff_booking_service_id_foreign` FOREIGN KEY (`booking_service_id`) REFERENCES `booking_services` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_service_staff_booking_staff_id_foreign` FOREIGN KEY (`booking_staff_id`) REFERENCES `booking_staff` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_service_staff`
--

LOCK TABLES `booking_service_staff` WRITE;
/*!40000 ALTER TABLE `booking_service_staff` DISABLE KEYS */;
/*!40000 ALTER TABLE `booking_service_staff` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_services`
--

DROP TABLE IF EXISTS `booking_services`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_services` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `service_code` varchar(30) NOT NULL,
  `booking_company_id` bigint(20) unsigned NOT NULL,
  `booking_branch_id` bigint(20) unsigned DEFAULT NULL,
  `booking_slot_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `category` varchar(60) DEFAULT NULL,
  `subcategory` varchar(60) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `image_path` varchar(255) DEFAULT NULL,
  `gallery` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`gallery`)),
  `duration_minutes` int(10) unsigned NOT NULL DEFAULT 60,
  `slot_interval_minutes` int(10) unsigned NOT NULL DEFAULT 30,
  `price` decimal(15,2) NOT NULL DEFAULT 0.00,
  `discount_price` decimal(15,2) DEFAULT NULL,
  `price_basis` varchar(20) NOT NULL DEFAULT 'fixed',
  `tax_rate` decimal(5,2) NOT NULL DEFAULT 0.00,
  `capacity` int(10) unsigned NOT NULL DEFAULT 1,
  `min_quantity` int(10) unsigned NOT NULL DEFAULT 1,
  `max_quantity` int(10) unsigned NOT NULL DEFAULT 1,
  `custom_fields` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`custom_fields`)),
  `terms_conditions` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`terms_conditions`)),
  `instructions` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`instructions`)),
  `cancellation_policy` text DEFAULT NULL,
  `refund_policy` text DEFAULT NULL,
  `location` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`location`)),
  `allow_one_time` tinyint(1) NOT NULL DEFAULT 1,
  `scheduled_enabled` tinyint(1) NOT NULL DEFAULT 0,
  `booking_mode` varchar(20) NOT NULL DEFAULT 'both',
  `default_booking_type` varchar(20) NOT NULL DEFAULT 'one_time',
  `recurrence_options` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`recurrence_options`)),
  `min_advance_minutes` int(10) unsigned NOT NULL DEFAULT 0,
  `max_advance_days` int(10) unsigned NOT NULL DEFAULT 90,
  `same_day_allowed` tinyint(1) NOT NULL DEFAULT 1,
  `booking_cutoff_time` time DEFAULT NULL,
  `auto_confirm` tinyint(1) NOT NULL DEFAULT 0,
  `cancellation_allowed` tinyint(1) NOT NULL DEFAULT 1,
  `cancellation_cutoff_minutes` int(10) unsigned NOT NULL DEFAULT 120,
  `booking_staff_id` bigint(20) unsigned DEFAULT NULL,
  `staff_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`staff_ids`)),
  `required_resource_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`required_resource_ids`)),
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `is_public` tinyint(1) NOT NULL DEFAULT 1,
  `views` bigint(20) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `booking_services_service_code_unique` (`service_code`),
  KEY `booking_services_booking_branch_id_foreign` (`booking_branch_id`),
  KEY `booking_services_booking_slot_id_foreign` (`booking_slot_id`),
  KEY `booking_services_booking_staff_id_foreign` (`booking_staff_id`),
  KEY `booking_services_booking_company_id_is_active_index` (`booking_company_id`,`is_active`),
  KEY `booking_services_is_public_is_active_index` (`is_public`,`is_active`),
  CONSTRAINT `booking_services_booking_branch_id_foreign` FOREIGN KEY (`booking_branch_id`) REFERENCES `booking_branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `booking_services_booking_company_id_foreign` FOREIGN KEY (`booking_company_id`) REFERENCES `booking_companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_services_booking_slot_id_foreign` FOREIGN KEY (`booking_slot_id`) REFERENCES `booking_slots` (`id`) ON DELETE SET NULL,
  CONSTRAINT `booking_services_booking_staff_id_foreign` FOREIGN KEY (`booking_staff_id`) REFERENCES `booking_staff` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_services`
--

LOCK TABLES `booking_services` WRITE;
/*!40000 ALTER TABLE `booking_services` DISABLE KEYS */;
INSERT INTO `booking_services` VALUES
(1,'SVC-20261028-0001',1,1,NULL,'Hourly parking','Parking',NULL,'Secure covered parking, billed per hour at 150 per slot.',NULL,NULL,60,30,150.00,NULL,'fixed',0.00,1,1,1,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'both','one_time',NULL,0,30,1,NULL,1,1,120,NULL,NULL,NULL,1,1,0,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(2,'SVC-20261028-0002',2,2,NULL,'General consultation','Consultation',NULL,'30-minute appointment with a GP.',NULL,NULL,30,15,500.00,NULL,'fixed',0.00,1,1,1,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'both','one_time',NULL,0,30,1,NULL,1,1,120,NULL,NULL,NULL,1,1,0,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(3,'SVC-20261028-0003',2,2,NULL,'Follow-up visit','Consultation',NULL,'30-minute appointment with a GP.',NULL,NULL,30,15,300.00,NULL,'fixed',0.00,1,1,1,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'both','one_time',NULL,0,30,1,NULL,1,1,120,NULL,NULL,NULL,1,1,0,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(4,'SVC-20261028-0004',3,3,NULL,'Haircut & styling','Hair',NULL,'Walk-in ready appointment at our studio.',NULL,NULL,45,15,800.00,NULL,'fixed',0.00,1,1,1,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'both','one_time',NULL,0,30,1,NULL,1,1,120,NULL,NULL,NULL,1,1,0,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(5,'SVC-20261028-0005',3,3,NULL,'Beard trim','Grooming',NULL,'Walk-in ready appointment at our studio.',NULL,NULL,30,15,300.00,NULL,'fixed',0.00,1,1,1,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'both','one_time',NULL,0,30,1,NULL,1,1,120,NULL,NULL,NULL,1,1,0,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(6,'SVC-20261028-0006',4,4,NULL,'Tennis court — hourly','Tennis',NULL,'One court, one hour, floodlights included.',NULL,NULL,60,30,800.00,NULL,'fixed',0.00,1,1,1,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'both','one_time',NULL,0,30,1,NULL,1,1,120,NULL,NULL,NULL,1,1,0,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(7,'SVC-20261028-0007',5,5,NULL,'Seminar seat','Seminar',NULL,'One seat at our business seminar events.',NULL,NULL,240,30,2000.00,NULL,'fixed',0.00,20,1,1,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'both','one_time',NULL,0,30,1,NULL,1,1,120,NULL,NULL,NULL,1,1,0,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(8,'SVC-20261028-0008',6,6,NULL,'Meeting room — hourly','Meeting',NULL,'8-seat room with projector, whiteboard and AC.',NULL,NULL,60,30,1200.00,NULL,'fixed',0.00,1,1,1,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'both','one_time',NULL,0,30,1,NULL,1,1,120,NULL,NULL,NULL,1,1,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(9,'SVC-20261028-0009',7,7,NULL,'Device diagnosis & repair slot','Repair',NULL,'One bench hour with a technician for diagnosis and repair.',NULL,NULL,60,30,600.00,NULL,'fixed',0.00,1,1,1,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'both','one_time',NULL,0,30,1,NULL,1,1,120,NULL,NULL,NULL,1,1,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(10,'SVC-20261028-0010',8,8,NULL,'Hot desk — day pass','Coworking',NULL,'One desk for one day, high-speed internet and coffee included.',NULL,NULL,480,30,900.00,NULL,'fixed',0.00,10,1,1,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'both','one_time',NULL,0,30,1,NULL,1,1,120,NULL,NULL,NULL,1,1,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(11,'SVC-20261028-0011',9,9,NULL,'DSLR kit — daily rental','Camera',NULL,'DSLR body + 2 lenses + tripod, one calendar day.',NULL,NULL,1440,30,1500.00,NULL,'fixed',0.00,1,1,1,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'both','one_time',NULL,0,30,1,NULL,1,1,120,NULL,NULL,NULL,1,1,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(12,'SVC-20261028-0012',10,10,66,'Football turf — 1 hour','Turf · Football',NULL,'Half-slot 5-a-side football on floodlit artificial turf. Exactly 1 hour per booking, 1,500 per slot.',NULL,NULL,60,60,1500.00,NULL,'fixed',0.00,1,1,1,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'both','one_time',NULL,0,30,1,NULL,1,1,120,NULL,NULL,NULL,1,1,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(13,'SVC-20261028-0013',10,10,67,'Cricket turf — 1 hour','Turf · Cricket',NULL,'Full-slot cricket pitch booking. Exactly 1 hour per booking, 1,500 per slot.',NULL,NULL,60,60,1500.00,NULL,'fixed',0.00,1,1,1,NULL,NULL,NULL,NULL,NULL,NULL,1,0,'both','one_time',NULL,0,30,1,NULL,1,1,120,NULL,NULL,NULL,1,1,0,'2026-10-27 18:05:03','2026-10-27 18:05:03');
/*!40000 ALTER TABLE `booking_services` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_slots`
--

DROP TABLE IF EXISTS `booking_slots`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_slots` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `booking_company_id` bigint(20) unsigned NOT NULL,
  `booking_branch_id` bigint(20) unsigned DEFAULT NULL,
  `booking_business_type_id` bigint(20) unsigned DEFAULT NULL,
  `booking_staff_id` bigint(20) unsigned DEFAULT NULL,
  `parking_zone_id` bigint(20) unsigned DEFAULT NULL,
  `code` varchar(60) NOT NULL,
  `name` varchar(120) DEFAULT NULL,
  `category` varchar(60) DEFAULT NULL,
  `resource_type` varchar(60) DEFAULT NULL,
  `location` varchar(120) DEFAULT NULL,
  `floor` varchar(60) DEFAULT NULL,
  `zone` varchar(60) DEFAULT NULL,
  `image_path` varchar(255) DEFAULT NULL,
  `qr_token` varchar(64) DEFAULT NULL,
  `capacity` int(10) unsigned NOT NULL DEFAULT 1,
  `max_concurrent_bookings` int(10) unsigned NOT NULL DEFAULT 1,
  `min_minutes` smallint(5) unsigned NOT NULL DEFAULT 0,
  `max_minutes` smallint(5) unsigned NOT NULL DEFAULT 0,
  `buffer_minutes` smallint(5) unsigned NOT NULL DEFAULT 0,
  `grace_minutes` smallint(5) unsigned NOT NULL DEFAULT 0,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attributes`)),
  `custom_fields` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`custom_fields`)),
  `pricing` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`pricing`)),
  `price` decimal(15,2) NOT NULL DEFAULT 0.00,
  `advance_limit_days` smallint(5) unsigned NOT NULL DEFAULT 30,
  `hold_minutes` smallint(5) unsigned NOT NULL DEFAULT 10,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `blocked_until` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `booking_slots_qr_token_unique` (`qr_token`),
  KEY `booking_slots_booking_business_type_id_foreign` (`booking_business_type_id`),
  KEY `booking_slots_booking_staff_id_foreign` (`booking_staff_id`),
  KEY `booking_slots_parking_zone_id_foreign` (`parking_zone_id`),
  KEY `booking_slots_booking_company_id_status_index` (`booking_company_id`,`status`),
  KEY `booking_slots_booking_branch_id_status_index` (`booking_branch_id`,`status`),
  CONSTRAINT `booking_slots_booking_branch_id_foreign` FOREIGN KEY (`booking_branch_id`) REFERENCES `booking_branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_slots_booking_business_type_id_foreign` FOREIGN KEY (`booking_business_type_id`) REFERENCES `booking_business_types` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_slots_booking_company_id_foreign` FOREIGN KEY (`booking_company_id`) REFERENCES `booking_companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_slots_booking_staff_id_foreign` FOREIGN KEY (`booking_staff_id`) REFERENCES `booking_staff` (`id`) ON DELETE SET NULL,
  CONSTRAINT `booking_slots_parking_zone_id_foreign` FOREIGN KEY (`parking_zone_id`) REFERENCES `parking_zones` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=68 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_slots`
--

LOCK TABLES `booking_slots` WRITE;
/*!40000 ALTER TABLE `booking_slots` DISABLE KEYS */;
INSERT INTO `booking_slots` VALUES
(1,1,1,1,NULL,NULL,'PK-01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'KCTBswipHZwPoiLwVctNh72ptDAjybTFvwFhEGpPVZHgGj6X',1,1,0,0,0,0,NULL,NULL,NULL,150.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(2,1,1,1,NULL,NULL,'PK-02',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'giJ6rTqSGHl3ZTU9eEWKwArR6NYzofciN1QZD3NjMSPJvwSV',1,1,0,0,0,0,NULL,NULL,NULL,150.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(3,1,1,1,NULL,NULL,'PK-03',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'9xYtK7CDOhJ8hzOufKv3sBBwyU7chjrPs76zKoOVPKITzdBd',1,1,0,0,0,0,NULL,NULL,NULL,150.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(4,1,1,1,NULL,NULL,'PK-04',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'aFkEpEEgnABHvYG0EScYQz4ggQ9jKKxiDkxoiixkV72RcMkc',1,1,0,0,0,0,NULL,NULL,NULL,150.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(5,1,1,1,NULL,NULL,'PK-05',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'LBzyafrkZxOya8Ge2AL9um0tYe13XJZfYfCAwyOfUKEJUSWd',1,1,0,0,0,0,NULL,NULL,NULL,150.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(6,1,1,1,NULL,NULL,'PK-06',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'CmBzSUVEMg1boE96lLvhPaCwvRKkJNnqMZpVY1QIfjauqsTL',1,1,0,0,0,0,NULL,NULL,NULL,150.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(7,1,1,1,NULL,NULL,'PK-07',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'hEI2gZ4eWqTueUEF9q2O3GWRT7HOpi6dsT7C4sOqtSV2CLSS',1,1,0,0,0,0,NULL,NULL,NULL,150.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(8,1,1,1,NULL,NULL,'PK-08',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'a0FBT8BEf6tWddqkq6G1NPcCnG01HP1K6sONlecBcZYEl0nH',1,1,0,0,0,0,NULL,NULL,NULL,150.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(9,1,1,1,NULL,NULL,'PK-09',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'4qi0PqJvrGLh7l8tvwvogode5vXhp7nXeqxUhvGd4thXhC9f',1,1,0,0,0,0,NULL,NULL,NULL,150.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(10,1,1,1,NULL,NULL,'PK-10',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'u1bJJ5FqYEoMX3X6KiCh87OX0BoBqS57UiaaANsAO8j8KWUw',1,1,0,0,0,0,NULL,NULL,NULL,150.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(11,1,1,1,NULL,NULL,'PK-11',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Yf30v1s8GvUmPjNOnSuIvTn3WluWKbf4rvhSGq2Z0W0xv5Qf',1,1,0,0,0,0,NULL,NULL,NULL,150.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(12,1,1,1,NULL,NULL,'PK-12',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'w1SyPcXP6VBNvQDCULM3YiRSk30KFfuLMdz2ooMk6DuHSbWh',1,1,0,0,0,0,NULL,NULL,NULL,150.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(13,2,2,2,NULL,NULL,'CH-01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'mRlLDCUf4yNx2i1WmvbaBlpNoND2j5CP6PrdxfxIES2aqbwN',1,1,0,0,0,0,NULL,NULL,NULL,0.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(14,2,2,2,NULL,NULL,'CH-02',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'6CGbFQXgZ4xsCImYRHyH7TgGsCfcHvShGE5lacyeS2Se09NA',1,1,0,0,0,0,NULL,NULL,NULL,0.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(15,2,2,2,NULL,NULL,'CH-03',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'A3Y8olCPDa0bA4pTj6f8LJfWpfwSe2BtQD3Vl6VbGDsA0tNR',1,1,0,0,0,0,NULL,NULL,NULL,0.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(16,2,2,2,NULL,NULL,'CH-04',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'LFPyurDjN9gQ1dUjQepL2pMOe0AKkbyFOR9yUfdRJg4P0uB3',1,1,0,0,0,0,NULL,NULL,NULL,0.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(17,3,3,3,NULL,NULL,'CH-01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'z66obFmKcYUK7ICGvzNAHSPylPOPGuMfz4N6D1lhRxFQJECP',1,1,0,0,0,0,NULL,NULL,NULL,0.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(18,3,3,3,NULL,NULL,'CH-02',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Z10NWZqJM9EelGzAwopyOUFUopVYgw4HO2koEDNaX7rkxeks',1,1,0,0,0,0,NULL,NULL,NULL,0.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(19,3,3,3,NULL,NULL,'CH-03',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'uObiloO9gA2Sjlw4h77gUUuonpcTXQ8QWVBlkS8MtGZLjICH',1,1,0,0,0,0,NULL,NULL,NULL,0.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(20,4,4,4,NULL,NULL,'CT-01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'fFjHDur2XmhThSVGBxIgxEytTJYZ39TZrUOF9oHr1siJfm5N',1,1,0,0,0,0,NULL,NULL,NULL,800.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(21,4,4,4,NULL,NULL,'CT-02',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'hlcacoF3vGuT3Dkz4uiXw110fOGwyi6tBW5dwScpgOQZRB7x',1,1,0,0,0,0,NULL,NULL,NULL,800.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(22,4,4,4,NULL,NULL,'CT-03',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'yflVYlz2cL8wHJp4ETr4utqckJRyKNS5gb1CNim0IGvJzo02',1,1,0,0,0,0,NULL,NULL,NULL,800.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(23,5,5,5,NULL,NULL,'SEAT-01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'V9zukpBMSxZPgLiYIe11nRnZNOGNmIZ6ZdhNTx8IebzWT101',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(24,5,5,5,NULL,NULL,'SEAT-02',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'VUBmYhrLZC6DrYoin3dX3K1QbB1PYzt2g5Ki7qGTxd9eIgVM',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(25,5,5,5,NULL,NULL,'SEAT-03',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'yLlCYlpGXXaHc3mzKowTaZ9Ya1nsRBMyfuQUH0pZWQDxne7i',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(26,5,5,5,NULL,NULL,'SEAT-04',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'qHNznFrJlGiNhwrsfcuOfhfO58sax8n8a5SwhOBTThtscYMS',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(27,5,5,5,NULL,NULL,'SEAT-05',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'s4b1wIMoz60sPzhZ7VS2mINeQgoXqdCe9pr7OneMbtWFW4e4',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(28,5,5,5,NULL,NULL,'SEAT-06',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Etd63lJhjN3LtaIj8U8fKtpAs0kbfe16zHAtoc4vLfl4iTBG',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(29,5,5,5,NULL,NULL,'SEAT-07',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'btjrQyZdwFYXAZ27GwZyB0FfyeOpUuIjeh8fmUQ5X9vdkpeH',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(30,5,5,5,NULL,NULL,'SEAT-08',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'zf5209NUBtY8k8N8jH0TX1fz0pOApUYBHirBROLlpJuDyxT6',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(31,5,5,5,NULL,NULL,'SEAT-09',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ou1vYUJHU8kCWoGCRVLS6G9aDdDfH61FsQFpShiFqqLbvt1f',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(32,5,5,5,NULL,NULL,'SEAT-10',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'v1tXsuJYYFXwtt2ddstylh69clmHgw2ENy4HBS8jtJpNoQX6',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(33,5,5,5,NULL,NULL,'SEAT-11',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'hzW7wWU2vs7RC4GfmpqrY90YaHdRIf7bWyzIAmhx2pCuoppa',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(34,5,5,5,NULL,NULL,'SEAT-12',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'yxG4xhRb8XDtRK81jibvnlt30awo4qLjMbLxMhF6ad2bj5kb',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(35,5,5,5,NULL,NULL,'SEAT-13',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'nl9rJ3hYnD2py6QF5Vj2MymgvvuWa9cbjyEOLlIXStm4DgrC',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(36,5,5,5,NULL,NULL,'SEAT-14',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'oMRuZazJcRHI0BpRctRt8T3LQUpq2zWuVm3Jz0dAjgw17lzl',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(37,5,5,5,NULL,NULL,'SEAT-15',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'5dDcXcDDaWp6GrBwOo0pn54Ue6gdOWk0XRWPfTHPL8OTRSe7',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(38,5,5,5,NULL,NULL,'SEAT-16',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'XO2bbYQf3Oa5TRh5BPJcFoTcKzstzOltetutIksCj9sultfM',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(39,5,5,5,NULL,NULL,'SEAT-17',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'P7yUJVINHgYRO9VqSWceRRoak1ejYWXg5butPJizAS0MKV4g',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(40,5,5,5,NULL,NULL,'SEAT-18',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'0WeylKiugd7HvF0tuwlX2z97jG9RnMX965duM9ehunDztJqJ',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(41,5,5,5,NULL,NULL,'SEAT-19',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'dQnx9kD05HtpQ0aOZEKpDxxqGtREFieeija969h3BSs0qB41',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(42,5,5,5,NULL,NULL,'SEAT-20',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'1qAQPgBTIKiWurAHFQdCRQ6LRPZcazWbe6urKBCuEynOwVNC',1,1,0,0,0,0,NULL,NULL,NULL,2000.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(43,6,6,6,NULL,NULL,'ROOM-01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'vM8hiEvgMqtkm2lVqTZsoECoYBpWxAEkDbLuevjMS2SBAi02',1,1,0,0,0,0,NULL,NULL,NULL,1200.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(44,6,6,6,NULL,NULL,'ROOM-02',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Lfh07OC8WLeXrSkSlukf28HtAZQap50cqBbTCRMVH6GnoQ6d',1,1,0,0,0,0,NULL,NULL,NULL,1200.00,30,10,'active',NULL,'2026-10-27 18:05:02','2026-10-27 18:05:02'),
(45,6,6,6,NULL,NULL,'ROOM-03',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'fMT3jRgNxjWTGOlCCtIvpZJz9cLK1mZdFSywJYkEdvpDYjfC',1,1,0,0,0,0,NULL,NULL,NULL,1200.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(46,7,7,7,NULL,NULL,'BN-01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Q0XrcNjKA7ehedbOAUBBpEWdkyxKuN30gvjy8sVQkEMZ8T2R',1,1,0,0,0,0,NULL,NULL,NULL,0.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(47,7,7,7,NULL,NULL,'BN-02',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'RuPeCpZ60mXpSOPZqt9T9vR7D5SKRuLpULyhzGcGLOs5RvIZ',1,1,0,0,0,0,NULL,NULL,NULL,0.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(48,7,7,7,NULL,NULL,'BN-03',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'3eiLumPTQ9QvlnSFDs1Y1yqP66TLQKcPgjdpGfeu0lqyzq9q',1,1,0,0,0,0,NULL,NULL,NULL,0.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(49,7,7,7,NULL,NULL,'BN-04',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'4A8ymQapPmbBuOyx1TrYSru6AHoMmn7JYbseNXHdpk1Farh6',1,1,0,0,0,0,NULL,NULL,NULL,0.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(50,8,8,8,NULL,NULL,'DESK-01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'6qt6PcdgiO3IWolvQduUl65l2GphXhCufauMF6hM52vEXN1j',1,1,0,0,0,0,NULL,NULL,NULL,400.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(51,8,8,8,NULL,NULL,'DESK-02',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'ZFnUedxvzXAmN2CMucMINPXLQtLwze31sgWJWfq0l3Nnaf1b',1,1,0,0,0,0,NULL,NULL,NULL,400.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(52,8,8,8,NULL,NULL,'DESK-03',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Zrfrxz6fiHENCUfz44lVLPCRmFL557El9dc3fife0vNeKurq',1,1,0,0,0,0,NULL,NULL,NULL,400.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(53,8,8,8,NULL,NULL,'DESK-04',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'oXtWV8sEVYoXjKq8awZ83IGHKT32Tx71HsyJld364YRoI2U8',1,1,0,0,0,0,NULL,NULL,NULL,400.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(54,8,8,8,NULL,NULL,'DESK-05',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'zfASf7xF6XzEqgzYl5suptYDMJ47OCIvZTU8bvfN9QVLvTtt',1,1,0,0,0,0,NULL,NULL,NULL,400.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(55,8,8,8,NULL,NULL,'DESK-06',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'UqvoIrl7mbXeyvwwf9a2ySqu7q5uTyUjMbkHmStjm0zXXYHW',1,1,0,0,0,0,NULL,NULL,NULL,400.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(56,8,8,8,NULL,NULL,'DESK-07',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'N0XlC02bd2gxnbHKnWQYwUPr8w7knOwbJ45bprb8mCaOzuBW',1,1,0,0,0,0,NULL,NULL,NULL,400.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(57,8,8,8,NULL,NULL,'DESK-08',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'WXz4lf7kvlC2mddMzDSb2JsrmjX1iWgZ9j13IzfSQBqepyZz',1,1,0,0,0,0,NULL,NULL,NULL,400.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(58,8,8,8,NULL,NULL,'DESK-09',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'9fbr6Hxq4rlpnUB46O9R58rybprCqgfccvGKv85wPHrlViPv',1,1,0,0,0,0,NULL,NULL,NULL,400.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(59,8,8,8,NULL,NULL,'DESK-10',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'uTBj80KSgPcWLliPthvX01iGlSdHieZLv8NAAj5PWHGwNO46',1,1,0,0,0,0,NULL,NULL,NULL,400.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(60,9,9,9,NULL,NULL,'UNIT-01',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'MZKRHUjN1QlPXVTTOyUt1hK1zjUhv2K4Ul9AEYZ9bYKHW9co',1,1,0,0,0,0,NULL,NULL,NULL,1500.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(61,9,9,9,NULL,NULL,'UNIT-02',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'Bah9BVouaMAfdhxjWAYfICoQgX5ExXeT2MGdwgrp0ekHpaYZ',1,1,0,0,0,0,NULL,NULL,NULL,1500.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(62,9,9,9,NULL,NULL,'UNIT-03',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'YRnNPQAtEIl0DLKmYFqGlB4CfSGqAVnuQOar0Wlu8V2AMzTI',1,1,0,0,0,0,NULL,NULL,NULL,1500.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(63,9,9,9,NULL,NULL,'UNIT-04',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'oWnntenLn14Am8tOvWHNIBbaZXRs29Fj345WEnutwf7qxFvL',1,1,0,0,0,0,NULL,NULL,NULL,1500.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(64,9,9,9,NULL,NULL,'UNIT-05',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'sqOLumB7Us9fixEvxodvLBzuqra4GADfrchWxV0mhm8f6NXm',1,1,0,0,0,0,NULL,NULL,NULL,1500.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(65,9,9,9,NULL,NULL,'UNIT-06',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'tP7icPU9j41Qki8FnuNfTHM5pEKkfFDv3SZzC3DC8tHJ0X4N',1,1,0,0,0,0,NULL,NULL,NULL,1500.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(66,10,10,10,NULL,NULL,'TURF-FB-01','Football turf','football','half_slot','West field',NULL,NULL,NULL,'uI6rrHUuK24BrBlQXwTH80WY4UQS7bwjyyEEOPRBquKjfmWo',14,2,60,60,0,0,NULL,NULL,NULL,1500.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(67,10,10,10,NULL,NULL,'TURF-CR-01','Cricket turf','cricket','full_slot','East field',NULL,NULL,NULL,'fhLkR5HY75J8shwxfDHbRLSk3DISW21cmgVebJbLNp1T3lOS',22,1,60,60,0,0,NULL,NULL,NULL,1500.00,30,10,'active',NULL,'2026-10-27 18:05:03','2026-10-27 18:05:03');
/*!40000 ALTER TABLE `booking_slots` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_staff`
--

DROP TABLE IF EXISTS `booking_staff`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_staff` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `booking_company_id` bigint(20) unsigned NOT NULL,
  `booking_branch_id` bigint(20) unsigned DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `phone` varchar(40) DEFAULT NULL,
  `role` varchar(40) DEFAULT NULL,
  `can_accept_bookings` tinyint(1) NOT NULL DEFAULT 1,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `booking_staff_booking_company_id_foreign` (`booking_company_id`),
  KEY `booking_staff_booking_branch_id_foreign` (`booking_branch_id`),
  KEY `booking_staff_user_id_foreign` (`user_id`),
  CONSTRAINT `booking_staff_booking_branch_id_foreign` FOREIGN KEY (`booking_branch_id`) REFERENCES `booking_branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_staff_booking_company_id_foreign` FOREIGN KEY (`booking_company_id`) REFERENCES `booking_companies` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_staff_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_staff`
--

LOCK TABLES `booking_staff` WRITE;
/*!40000 ALTER TABLE `booking_staff` DISABLE KEYS */;
/*!40000 ALTER TABLE `booking_staff` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_tickets`
--

DROP TABLE IF EXISTS `booking_tickets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_tickets` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ticket_no` varchar(30) NOT NULL,
  `booking_booking_id` bigint(20) unsigned NOT NULL,
  `template` varchar(60) DEFAULT NULL,
  `design` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`design`)),
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `booking_tickets_ticket_no_unique` (`ticket_no`),
  KEY `booking_tickets_user_id_foreign` (`user_id`),
  KEY `booking_tickets_booking_booking_id_index` (`booking_booking_id`),
  CONSTRAINT `booking_tickets_booking_booking_id_foreign` FOREIGN KEY (`booking_booking_id`) REFERENCES `booking_bookings` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_tickets_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_tickets`
--

LOCK TABLES `booking_tickets` WRITE;
/*!40000 ALTER TABLE `booking_tickets` DISABLE KEYS */;
/*!40000 ALTER TABLE `booking_tickets` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_tickets_verifications`
--

DROP TABLE IF EXISTS `booking_tickets_verifications`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_tickets_verifications` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `booking_ticket_id` bigint(20) unsigned NOT NULL,
  `result` varchar(30) NOT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `device` varchar(120) DEFAULT NULL,
  `snapshot` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`snapshot`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `booking_tickets_verifications_booking_ticket_id_foreign` (`booking_ticket_id`),
  KEY `booking_tickets_verifications_user_id_foreign` (`user_id`),
  CONSTRAINT `booking_tickets_verifications_booking_ticket_id_foreign` FOREIGN KEY (`booking_ticket_id`) REFERENCES `booking_tickets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_tickets_verifications_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_tickets_verifications`
--

LOCK TABLES `booking_tickets_verifications` WRITE;
/*!40000 ALTER TABLE `booking_tickets_verifications` DISABLE KEYS */;
/*!40000 ALTER TABLE `booking_tickets_verifications` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `booking_timeout_logs`
--

DROP TABLE IF EXISTS `booking_timeout_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `booking_timeout_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `booking_booking_id` bigint(20) unsigned NOT NULL,
  `kind` varchar(30) NOT NULL,
  `booking_slot_id` bigint(20) unsigned DEFAULT NULL,
  `logged_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `note` text DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `booking_timeout_logs_booking_booking_id_foreign` (`booking_booking_id`),
  KEY `booking_timeout_logs_booking_slot_id_foreign` (`booking_slot_id`),
  CONSTRAINT `booking_timeout_logs_booking_booking_id_foreign` FOREIGN KEY (`booking_booking_id`) REFERENCES `booking_bookings` (`id`) ON DELETE CASCADE,
  CONSTRAINT `booking_timeout_logs_booking_slot_id_foreign` FOREIGN KEY (`booking_slot_id`) REFERENCES `booking_slots` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `booking_timeout_logs`
--

LOCK TABLES `booking_timeout_logs` WRITE;
/*!40000 ALTER TABLE `booking_timeout_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `booking_timeout_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `branch_department`
--

DROP TABLE IF EXISTS `branch_department`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `branch_department` (
  `branch_id` bigint(20) unsigned NOT NULL,
  `department_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`branch_id`,`department_id`),
  KEY `branch_department_department_id_foreign` (`department_id`),
  CONSTRAINT `branch_department_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `branch_department_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `branch_department`
--

LOCK TABLES `branch_department` WRITE;
/*!40000 ALTER TABLE `branch_department` DISABLE KEYS */;
/*!40000 ALTER TABLE `branch_department` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `branch_transfer_request_items`
--

DROP TABLE IF EXISTS `branch_transfer_request_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `branch_transfer_request_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_transfer_request_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `variant_id` bigint(20) unsigned DEFAULT NULL,
  `quantity` decimal(14,2) NOT NULL,
  `sent_quantity` decimal(14,2) NOT NULL DEFAULT 0.00,
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `branch_transfer_request_items_branch_transfer_request_id_foreign` (`branch_transfer_request_id`),
  KEY `branch_transfer_request_items_product_id_foreign` (`product_id`),
  KEY `branch_transfer_request_items_variant_id_foreign` (`variant_id`),
  CONSTRAINT `branch_transfer_request_items_branch_transfer_request_id_foreign` FOREIGN KEY (`branch_transfer_request_id`) REFERENCES `branch_transfer_requests` (`id`) ON DELETE CASCADE,
  CONSTRAINT `branch_transfer_request_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `branch_transfer_request_items_variant_id_foreign` FOREIGN KEY (`variant_id`) REFERENCES `product_variants` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `branch_transfer_request_items`
--

LOCK TABLES `branch_transfer_request_items` WRITE;
/*!40000 ALTER TABLE `branch_transfer_request_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `branch_transfer_request_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `branch_transfer_requests`
--

DROP TABLE IF EXISTS `branch_transfer_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `branch_transfer_requests` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `request_no` varchar(255) NOT NULL,
  `branch_id` bigint(20) unsigned NOT NULL,
  `from_branch_id` bigint(20) unsigned NOT NULL,
  `to_branch_id` bigint(20) unsigned NOT NULL,
  `from_warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `to_warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `request_date` date NOT NULL,
  `expected_date` date DEFAULT NULL,
  `priority` enum('low','normal','high','urgent') NOT NULL DEFAULT 'normal',
  `status` enum('pending','approved','in_transit','received','rejected','cancelled') NOT NULL DEFAULT 'pending',
  `note` text DEFAULT NULL,
  `rejection_reason` text DEFAULT NULL,
  `stock_transfer_id` bigint(20) unsigned DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `branch_transfer_requests_request_no_unique` (`request_no`),
  KEY `branch_transfer_requests_branch_id_foreign` (`branch_id`),
  KEY `branch_transfer_requests_to_branch_id_foreign` (`to_branch_id`),
  KEY `branch_transfer_requests_from_warehouse_id_foreign` (`from_warehouse_id`),
  KEY `branch_transfer_requests_to_warehouse_id_foreign` (`to_warehouse_id`),
  KEY `branch_transfer_requests_stock_transfer_id_foreign` (`stock_transfer_id`),
  KEY `branch_transfer_requests_created_by_foreign` (`created_by`),
  KEY `branch_transfer_requests_approved_by_foreign` (`approved_by`),
  KEY `branch_transfer_requests_status_request_date_index` (`status`,`request_date`),
  KEY `branch_transfer_requests_from_branch_id_to_branch_id_index` (`from_branch_id`,`to_branch_id`),
  CONSTRAINT `branch_transfer_requests_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `branch_transfer_requests_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`),
  CONSTRAINT `branch_transfer_requests_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `branch_transfer_requests_from_branch_id_foreign` FOREIGN KEY (`from_branch_id`) REFERENCES `branches` (`id`),
  CONSTRAINT `branch_transfer_requests_from_warehouse_id_foreign` FOREIGN KEY (`from_warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE SET NULL,
  CONSTRAINT `branch_transfer_requests_stock_transfer_id_foreign` FOREIGN KEY (`stock_transfer_id`) REFERENCES `stock_transfers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `branch_transfer_requests_to_branch_id_foreign` FOREIGN KEY (`to_branch_id`) REFERENCES `branches` (`id`),
  CONSTRAINT `branch_transfer_requests_to_warehouse_id_foreign` FOREIGN KEY (`to_warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `branch_transfer_requests`
--

LOCK TABLES `branch_transfer_requests` WRITE;
/*!40000 ALTER TABLE `branch_transfer_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `branch_transfer_requests` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `branches`
--

DROP TABLE IF EXISTS `branches`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `branches` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `code` varchar(255) NOT NULL,
  `type` varchar(255) NOT NULL DEFAULT 'branch',
  `phone` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `city` varchar(255) DEFAULT NULL,
  `country` varchar(255) DEFAULT NULL,
  `is_main` tinyint(1) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `branches_code_unique` (`code`),
  KEY `branches_created_by_foreign` (`created_by`),
  KEY `branches_is_main_index` (`is_main`),
  CONSTRAINT `branches_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `branches`
--

LOCK TABLES `branches` WRITE;
/*!40000 ALTER TABLE `branches` DISABLE KEYS */;
INSERT INTO `branches` VALUES
(1,'Main Branch','MAIN','main',NULL,NULL,NULL,NULL,NULL,1,1,NULL,'2026-10-27 17:44:27','2026-10-27 17:44:27');
/*!40000 ALTER TABLE `branches` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `brands`
--

DROP TABLE IF EXISTS `brands`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `brands` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `logo` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `brands_slug_unique` (`slug`),
  KEY `brands_branch_id_index` (`branch_id`),
  CONSTRAINT `brands_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `brands`
--

LOCK TABLES `brands` WRITE;
/*!40000 ALTER TABLE `brands` DISABLE KEYS */;
/*!40000 ALTER TABLE `brands` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `buildings`
--

DROP TABLE IF EXISTS `buildings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `buildings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(40) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `owner_id` bigint(20) unsigned DEFAULT NULL,
  `owner_name` varchar(255) DEFAULT NULL,
  `total_floors` int(10) unsigned NOT NULL DEFAULT 0,
  `total_units` int(10) unsigned NOT NULL DEFAULT 0,
  `property_type` varchar(40) NOT NULL DEFAULT 'residential',
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `buildings_branch_id_foreign` (`branch_id`),
  KEY `buildings_owner_id_foreign` (`owner_id`),
  CONSTRAINT `buildings_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `buildings_owner_id_foreign` FOREIGN KEY (`owner_id`) REFERENCES `vendors` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `buildings`
--

LOCK TABLES `buildings` WRITE;
/*!40000 ALTER TABLE `buildings` DISABLE KEYS */;
/*!40000 ALTER TABLE `buildings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `cache`
--

DROP TABLE IF EXISTS `cache`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `cache` (
  `key` varchar(255) NOT NULL,
  `value` mediumtext NOT NULL,
  `expiration` int(11) NOT NULL,
  PRIMARY KEY (`key`),
  KEY `cache_expiration_index` (`expiration`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cache`
--

LOCK TABLES `cache` WRITE;
/*!40000 ALTER TABLE `cache` DISABLE KEYS */;
INSERT INTO `cache` VALUES
('laravel-cache-5c785c036466adea360111aa28563bfd556b5fba','i:8;',1793544176),
('laravel-cache-5c785c036466adea360111aa28563bfd556b5fba:timer','i:1793544176;',1793544176),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890689','i:1;',1793441474),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890691','i:7;',1793441636),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890692','i:3;',1793441699),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890695','i:3;',1793441871),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890700','i:25;',1793442179),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890701','i:19;',1793442235),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890702','i:13;',1793442289),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890703','i:4;',1793442339),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890704','i:1;',1793442413),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890705','i:0;',1793442430),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890706','i:0;',1793442490),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890707','i:1;',1793442581),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890708','i:0;',1793442610),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890709','i:5;',1793442685),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890713','i:4;',1793442959),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890714','i:19;',1793442991),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890715','i:5;',1793443051),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890716','i:1;',1793443111),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890717','i:0;',1793443141),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890718','i:0;',1793443207),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890719','i:1;',1793443315),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890720','i:0;',1793443330),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890721','i:0;',1793443390),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890722','i:0;',1793443450),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890723','i:0;',1793443510),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890724','i:1;',1793443616),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890725','i:0;',1793443630),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890726','i:0;',1793443690),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890727','i:0;',1793443750),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890728','i:0;',1793443810),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890729','i:1;',1793443909),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890730','i:1;',1793443966),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890731','i:0;',1793443990),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890732','i:0;',1793444050),
('laravel-cache-api_reqs_token:faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971:29890733','i:1;',1793444102),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892394','i:0;',1793543812),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892395','i:18;',1793543877),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892396','i:1;',1793543937),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892397','i:1;',1793543997),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892398','i:0;',1793544053),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892399','i:0;',1793544077),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892400','i:1;',1793544178),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892401','i:1;',1793544238),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892403','i:0;',1793544317),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892404','i:0;',1793544377),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892405','i:0;',1793544437),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892406','i:0;',1793544497),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892407','i:0;',1793544557),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892408','i:0;',1793544617),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892409','i:0;',1793544677),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892410','i:0;',1793544737),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892411','i:0;',1793544797),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892412','i:0;',1793544857),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892413','i:0;',1793544917),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892414','i:0;',1793544977),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892415','i:0;',1793545037),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892416','i:0;',1793545098),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892417','i:0;',1793545157),
('laravel-cache-api_reqs_token:fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8:29892418','i:0;',1793545217),
('laravel-cache-api_reqs:127.0.0.1:29885414','i:0;',1793125002),
('laravel-cache-api_reqs:127.0.0.1:29885415','i:3;',1793125036),
('laravel-cache-api_reqs:127.0.0.1:29885416','i:3;',1793125138),
('laravel-cache-api_reqs:127.0.0.1:29885417','i:2;',1793125155),
('laravel-cache-api_reqs:127.0.0.1:29885419','i:2;',1793125288),
('laravel-cache-api_reqs:127.0.0.1:29885423','i:27;',1793125550),
('laravel-cache-api_reqs:127.0.0.1:29885424','i:25;',1793125619),
('laravel-cache-api_reqs:127.0.0.1:29885425','i:21;',1793125640),
('laravel-cache-api_reqs:127.0.0.1:29885426','i:12;',1793125739),
('laravel-cache-api_reqs:127.0.0.1:29885427','i:11;',1793125769),
('laravel-cache-api_reqs:127.0.0.1:29885428','i:6;',1793125820),
('laravel-cache-api_reqs:127.0.0.1:29885430','i:28;',1793125959),
('laravel-cache-api_reqs:127.0.0.1:29885431','i:19;',1793126023),
('laravel-cache-api_reqs:127.0.0.1:29885432','i:23;',1793126081),
('laravel-cache-api_reqs:127.0.0.1:29885434','i:4;',1793126203),
('laravel-cache-api_reqs:127.0.0.1:29885435','i:1;',1793126229),
('laravel-cache-api_reqs:127.0.0.1:29885436','i:2;',1793126339),
('laravel-cache-api_reqs:127.0.0.1:29885437','i:39;',1793126367),
('laravel-cache-api_reqs:127.0.0.1:29885438','i:14;',1793126457),
('laravel-cache-api_reqs:127.0.0.1:29885439','i:11;',1793126498),
('laravel-cache-api_reqs:127.0.0.1:29885444','i:1;',1793126806),
('laravel-cache-api_reqs:127.0.0.1:29885445','i:3;',1793126861),
('laravel-cache-api_reqs:127.0.0.1:29885446','i:15;',1793126920),
('laravel-cache-api_reqs:127.0.0.1:29885447','i:20;',1793126995),
('laravel-cache-api_reqs:127.0.0.1:29885448','i:12;',1793127046),
('laravel-cache-api_reqs:127.0.0.1:29885449','i:24;',1793127100),
('laravel-cache-api_reqs:127.0.0.1:29885450','i:12;',1793127175),
('laravel-cache-api_reqs:127.0.0.1:29885451','i:15;',1793127233),
('laravel-cache-api_reqs:127.0.0.1:29885452','i:0;',1793127265),
('laravel-cache-api_reqs:127.0.0.1:29885454','i:22;',1793127414),
('laravel-cache-api_reqs:127.0.0.1:29885455','i:4;',1793127431),
('laravel-cache-api_reqs:127.0.0.1:29885456','i:1;',1793127493),
('laravel-cache-api_reqs:127.0.0.1:29885457','i:15;',1793127580),
('laravel-cache-api_reqs:127.0.0.1:29885458','i:30;',1793127650),
('laravel-cache-api_reqs:127.0.0.1:29885459','i:6;',1793127700),
('laravel-cache-api_reqs:127.0.0.1:29885460','i:20;',1793127774),
('laravel-cache-api_reqs:127.0.0.1:29885461','i:3;',1793127839),
('laravel-cache-api_reqs:127.0.0.1:29885462','i:23;',1793127886),
('laravel-cache-api_reqs:127.0.0.1:29885463','i:16;',1793127951),
('laravel-cache-api_reqs:127.0.0.1:29885467','i:17;',1793128196),
('laravel-cache-api_reqs:127.0.0.1:29885468','i:42;',1793128259),
('laravel-cache-api_reqs:127.0.0.1:29885469','i:10;',1793128270),
('laravel-cache-api_reqs:127.0.0.1:29885470','i:1;',1793128344),
('laravel-cache-api_reqs:127.0.0.1:29885471','i:1;',1793128430),
('laravel-cache-api_reqs:127.0.0.1:29885473','i:0;',1793128508),
('laravel-cache-api_reqs:127.0.0.1:29888095','i:2;',1793285876),
('laravel-cache-api_reqs:127.0.0.1:29888096','i:17;',1793285912),
('laravel-cache-api_reqs:127.0.0.1:29888097','i:7;',1793285972),
('laravel-cache-api_reqs:127.0.0.1:29888098','i:23;',1793286046),
('laravel-cache-api_reqs:127.0.0.1:29888105','i:43;',1793286470),
('laravel-cache-api_reqs:127.0.0.1:29888113','i:21;',1793286958),
('laravel-cache-api_reqs:127.0.0.1:29888115','i:21;',1793287072),
('laravel-cache-api_reqs:127.0.0.1:29888118','i:34;',1793287251),
('laravel-cache-api_reqs:127.0.0.1:29888119','i:8;',1793287292),
('laravel-cache-api_reqs:127.0.0.1:29888120','i:14;',1793287365),
('laravel-cache-api_reqs:127.0.0.1:29888121','i:28;',1793287440),
('laravel-cache-api_reqs:127.0.0.1:29888122','i:8;',1793287444),
('laravel-cache-api_reqs:127.0.0.1:29888123','i:2;',1793287515),
('laravel-cache-api_reqs:127.0.0.1:29888124','i:21;',1793287619),
('laravel-cache-api_reqs:127.0.0.1:29888125','i:25;',1793287664),
('laravel-cache-api_reqs:127.0.0.1:29888127','i:13;',1793287783),
('laravel-cache-api_reqs:127.0.0.1:29888128','i:27;',1793287859),
('laravel-cache-api_reqs:127.0.0.1:29888129','i:19;',1793287917),
('laravel-cache-api_reqs:127.0.0.1:29888130','i:52;',1793287979),
('laravel-cache-api_reqs:127.0.0.1:29888131','i:29;',1793288000),
('laravel-cache-api_reqs:127.0.0.1:29888133','i:7;',1793288159),
('laravel-cache-api_reqs:127.0.0.1:29888134','i:14;',1793288203),
('laravel-cache-api_reqs:127.0.0.1:29888135','i:2;',1793288270),
('laravel-cache-api_reqs:127.0.0.1:29888137','i:11;',1793288399),
('laravel-cache-api_reqs:127.0.0.1:29888138','i:7;',1793288441),
('laravel-cache-api_reqs:127.0.0.1:29888139','i:15;',1793288494),
('laravel-cache-api_reqs:127.0.0.1:29888140','i:3;',1793288568),
('laravel-cache-api_reqs:127.0.0.1:29888141','i:3;',1793288582),
('laravel-cache-api_reqs:127.0.0.1:29888142','i:2;',1793288657),
('laravel-cache-api_reqs:127.0.0.1:29888143','i:20;',1793288745),
('laravel-cache-api_reqs:127.0.0.1:29888144','i:7;',1793288795),
('laravel-cache-api_reqs:127.0.0.1:29888145','i:11;',1793288848),
('laravel-cache-api_reqs:127.0.0.1:29888146','i:13;',1793288921),
('laravel-cache-api_reqs:127.0.0.1:29888147','i:9;',1793288981),
('laravel-cache-api_reqs:127.0.0.1:29888148','i:17;',1793289025),
('laravel-cache-api_reqs:127.0.0.1:29888149','i:11;',1793289089),
('laravel-cache-api_reqs:127.0.0.1:29888150','i:2;',1793289122),
('laravel-cache-api_reqs:127.0.0.1:29888152','i:3;',1793289253),
('laravel-cache-api_reqs:127.0.0.1:29888153','i:9;',1793289306),
('laravel-cache-api_reqs:127.0.0.1:29888206','i:0;',1793292537),
('laravel-cache-api_reqs:127.0.0.1:29888207','i:20;',1793292595),
('laravel-cache-api_reqs:127.0.0.1:29888208','i:10;',1793292618),
('laravel-cache-api_reqs:127.0.0.1:29888271','i:10;',1793296439),
('laravel-cache-api_reqs:127.0.0.1:29888272','i:0;',1793296441),
('laravel-cache-api_reqs:127.0.0.1:29888974','i:10;',1793338598),
('laravel-cache-api_reqs:127.0.0.1:29888976','i:7;',1793338736),
('laravel-cache-api_reqs:127.0.0.1:29888977','i:6;',1793338778),
('laravel-cache-api_reqs:127.0.0.1:29888978','i:30;',1793338859),
('laravel-cache-api_reqs:127.0.0.1:29888979','i:6;',1793338919),
('laravel-cache-api_reqs:127.0.0.1:29888980','i:38;',1793338979),
('laravel-cache-api_reqs:127.0.0.1:29888981','i:14;',1793339039),
('laravel-cache-api_reqs:127.0.0.1:29888982','i:11;',1793339098),
('laravel-cache-api_reqs:127.0.0.1:29888983','i:8;',1793339158),
('laravel-cache-api_reqs:127.0.0.1:29888984','i:8;',1793339218),
('laravel-cache-api_reqs:127.0.0.1:29888985','i:8;',1793339278),
('laravel-cache-api_reqs:127.0.0.1:29888986','i:55;',1793339339),
('laravel-cache-api_reqs:127.0.0.1:29888987','i:53;',1793339394),
('laravel-cache-api_reqs:127.0.0.1:29888988','i:11;',1793339455),
('laravel-cache-api_reqs:127.0.0.1:29888989','i:1;',1793339516),
('laravel-cache-api_reqs:127.0.0.1:29888990','i:1;',1793339547),
('laravel-cache-api_reqs:127.0.0.1:29888991','i:0;',1793339586),
('laravel-cache-api_reqs:127.0.0.1:29888992','i:0;',1793339646),
('laravel-cache-api_reqs:127.0.0.1:29888993','i:0;',1793339706),
('laravel-cache-api_reqs:127.0.0.1:29888994','i:0;',1793339766),
('laravel-cache-api_reqs:127.0.0.1:29888995','i:8;',1793339879),
('laravel-cache-api_reqs:127.0.0.1:29888996','i:17;',1793339939),
('laravel-cache-api_reqs:127.0.0.1:29888997','i:0;',1793339969),
('laravel-cache-api_reqs:127.0.0.1:29888998','i:0;',1793340006),
('laravel-cache-api_reqs:127.0.0.1:29888999','i:0;',1793340066),
('laravel-cache-api_reqs:127.0.0.1:29889000','i:0;',1793340126),
('laravel-cache-api_reqs:127.0.0.1:29889001','i:0;',1793340187),
('laravel-cache-api_reqs:127.0.0.1:29889002','i:0;',1793340246),
('laravel-cache-api_reqs:127.0.0.1:29889003','i:0;',1793340306),
('laravel-cache-api_reqs:127.0.0.1:29889004','i:0;',1793340366),
('laravel-cache-api_reqs:127.0.0.1:29889005','i:0;',1793340426),
('laravel-cache-api_reqs:127.0.0.1:29889006','i:0;',1793340486),
('laravel-cache-api_reqs:127.0.0.1:29889007','i:0;',1793340546),
('laravel-cache-api_reqs:127.0.0.1:29889008','i:0;',1793340606),
('laravel-cache-api_reqs:127.0.0.1:29889009','i:0;',1793340666),
('laravel-cache-api_reqs:127.0.0.1:29889010','i:0;',1793340726),
('laravel-cache-api_reqs:127.0.0.1:29889011','i:0;',1793340786),
('laravel-cache-api_reqs:127.0.0.1:29889012','i:0;',1793340847),
('laravel-cache-api_reqs:127.0.0.1:29889013','i:0;',1793340906),
('laravel-cache-api_reqs:127.0.0.1:29889014','i:0;',1793340966),
('laravel-cache-api_reqs:127.0.0.1:29889015','i:0;',1793341026),
('laravel-cache-api_reqs:127.0.0.1:29889016','i:0;',1793341086),
('laravel-cache-api_reqs:127.0.0.1:29889017','i:0;',1793341146),
('laravel-cache-api_reqs:127.0.0.1:29889018','i:0;',1793341206),
('laravel-cache-api_reqs:127.0.0.1:29889019','i:0;',1793341266),
('laravel-cache-api_reqs:127.0.0.1:29889020','i:0;',1793341326),
('laravel-cache-api_reqs:127.0.0.1:29889021','i:1;',1793341412),
('laravel-cache-api_reqs:127.0.0.1:29889022','i:0;',1793341446),
('laravel-cache-api_reqs:127.0.0.1:29889023','i:0;',1793341505),
('laravel-cache-api_reqs:127.0.0.1:29889024','i:0;',1793341566),
('laravel-cache-api_reqs:127.0.0.1:29889025','i:0;',1793341625),
('laravel-cache-api_reqs:127.0.0.1:29889026','i:0;',1793341686),
('laravel-cache-api_reqs:127.0.0.1:29889027','i:0;',1793341746),
('laravel-cache-api_reqs:127.0.0.1:29889028','i:0;',1793341806),
('laravel-cache-api_reqs:127.0.0.1:29889029','i:0;',1793341866),
('laravel-cache-api_reqs:127.0.0.1:29889030','i:0;',1793341926),
('laravel-cache-api_reqs:127.0.0.1:29889031','i:0;',1793341986),
('laravel-cache-api_reqs:127.0.0.1:29889032','i:29;',1793342099),
('laravel-cache-api_reqs:127.0.0.1:29889034','i:0;',1793342167),
('laravel-cache-api_reqs:127.0.0.1:29889035','i:0;',1793342227),
('laravel-cache-api_reqs:127.0.0.1:29889036','i:0;',1793342286),
('laravel-cache-api_reqs:127.0.0.1:29889037','i:0;',1793342346),
('laravel-cache-api_reqs:127.0.0.1:29889038','i:0;',1793342406),
('laravel-cache-api_reqs:127.0.0.1:29889144','i:42;',1793348819),
('laravel-cache-api_reqs:127.0.0.1:29889145','i:9;',1793348828),
('laravel-cache-api_reqs:127.0.0.1:29889149','i:13;',1793349095),
('laravel-cache-api_reqs:127.0.0.1:29889153','i:16;',1793349359),
('laravel-cache-api_reqs:127.0.0.1:29889154','i:3;',1793349361),
('laravel-cache-api_reqs:127.0.0.1:29889155','i:16;',1793349479),
('laravel-cache-api_reqs:127.0.0.1:29889156','i:32;',1793349517),
('laravel-cache-api_reqs:127.0.0.1:29889157','i:2;',1793349576),
('laravel-cache-api_reqs:127.0.0.1:29889158','i:1;',1793349630),
('laravel-cache-api_reqs:127.0.0.1:29889159','i:1;',1793349697),
('laravel-cache-api_reqs:127.0.0.1:29889160','i:1;',1793349752),
('laravel-cache-api_reqs:127.0.0.1:29889161','i:0;',1793349795),
('laravel-cache-api_reqs:127.0.0.1:29889162','i:31;',1793349897),
('laravel-cache-api_reqs:127.0.0.1:29889163','i:36;',1793349954),
('laravel-cache-api_reqs:127.0.0.1:29889164','i:1;',1793350014),
('laravel-cache-api_reqs:127.0.0.1:29889165','i:1;',1793350074),
('laravel-cache-api_reqs:127.0.0.1:29889166','i:0;',1793350104),
('laravel-cache-api_reqs:127.0.0.1:29889167','i:0;',1793350155),
('laravel-cache-api_reqs:127.0.0.1:29889168','i:20;',1793350254),
('laravel-cache-api_reqs:127.0.0.1:29889169','i:0;',1793350284),
('laravel-cache-api_reqs:127.0.0.1:29889170','i:34;',1793350374),
('laravel-cache-api_reqs:127.0.0.1:29889171','i:9;',1793350432),
('laravel-cache-api_reqs:127.0.0.1:29889172','i:1;',1793350492),
('laravel-cache-api_reqs:127.0.0.1:29889173','i:0;',1793350522),
('laravel-cache-api_reqs:127.0.0.1:29889174','i:0;',1793350575),
('laravel-cache-api_reqs:127.0.0.1:29889175','i:12;',1793350679),
('laravel-cache-api_reqs:127.0.0.1:29889176','i:72;',1793350739),
('laravel-cache-api_reqs:127.0.0.1:29889177','i:8;',1793350798),
('laravel-cache-api_reqs:127.0.0.1:29889178','i:10;',1793350858),
('laravel-cache-api_reqs:127.0.0.1:29889179','i:12;',1793350917),
('laravel-cache-api_reqs:127.0.0.1:29889180','i:34;',1793350978),
('laravel-cache-api_reqs:127.0.0.1:29889181','i:1;',1793351038),
('laravel-cache-api_reqs:127.0.0.1:29889182','i:5;',1793351098),
('laravel-cache-api_reqs:127.0.0.1:29889183','i:50;',1793351158),
('laravel-cache-api_reqs:127.0.0.1:29889184','i:4;',1793351218),
('laravel-cache-api_reqs:127.0.0.1:29889186','i:10;',1793351339),
('laravel-cache-api_reqs:127.0.0.1:29889187','i:12;',1793351375),
('laravel-cache-api_reqs:127.0.0.1:29889188','i:9;',1793351429),
('laravel-cache-api_reqs:127.0.0.1:29889189','i:4;',1793351485),
('laravel-cache-api_reqs:127.0.0.1:29889190','i:0;',1793351535),
('laravel-cache-api_reqs:127.0.0.1:29889191','i:9;',1793351609),
('laravel-cache-api_reqs:127.0.0.1:29889192','i:5;',1793351676),
('laravel-cache-api_reqs:127.0.0.1:29889193','i:0;',1793351715),
('laravel-cache-api_reqs:127.0.0.1:29889194','i:12;',1793351798),
('laravel-cache-api_reqs:127.0.0.1:29889195','i:5;',1793351858),
('laravel-cache-api_reqs:127.0.0.1:29889196','i:1;',1793351918),
('laravel-cache-api_reqs:127.0.0.1:29889197','i:0;',1793351948),
('laravel-cache-api_reqs:127.0.0.1:29889198','i:0;',1793352015),
('laravel-cache-api_reqs:127.0.0.1:29889199','i:0;',1793352075),
('laravel-cache-api_reqs:127.0.0.1:29889200','i:0;',1793352135),
('laravel-cache-api_reqs:127.0.0.1:29889201','i:0;',1793352195),
('laravel-cache-api_reqs:127.0.0.1:29889202','i:0;',1793352255),
('laravel-cache-api_reqs:127.0.0.1:29889203','i:0;',1793352315),
('laravel-cache-api_reqs:127.0.0.1:29889204','i:0;',1793352375),
('laravel-cache-api_reqs:127.0.0.1:29889205','i:56;',1793352475),
('laravel-cache-api_reqs:127.0.0.1:29889206','i:5;',1793352535),
('laravel-cache-api_reqs:127.0.0.1:29889207','i:5;',1793352595),
('laravel-cache-api_reqs:127.0.0.1:29889208','i:4;',1793352630),
('laravel-cache-api_reqs:127.0.0.1:29889209','i:0;',1793352675),
('laravel-cache-api_reqs:127.0.0.1:29889210','i:0;',1793352735),
('laravel-cache-api_reqs:127.0.0.1:29889211','i:0;',1793352795),
('laravel-cache-api_reqs:127.0.0.1:29889212','i:0;',1793352855),
('laravel-cache-api_reqs:127.0.0.1:29889213','i:0;',1793352915),
('laravel-cache-api_reqs:127.0.0.1:29889214','i:0;',1793352975),
('laravel-cache-api_reqs:127.0.0.1:29889215','i:0;',1793353035),
('laravel-cache-api_reqs:127.0.0.1:29889216','i:5;',1793353099),
('laravel-cache-api_reqs:127.0.0.1:29889222','i:39;',1793353490),
('laravel-cache-api_reqs:127.0.0.1:29889223','i:1;',1793353533),
('laravel-cache-api_reqs:127.0.0.1:29889224','i:1;',1793353593),
('laravel-cache-api_reqs:127.0.0.1:29889225','i:1;',1793353653),
('laravel-cache-api_reqs:127.0.0.1:29889226','i:0;',1793353695),
('laravel-cache-api_reqs:127.0.0.1:29889227','i:0;',1793353755),
('laravel-cache-api_reqs:127.0.0.1:29889228','i:0;',1793353815),
('laravel-cache-api_reqs:127.0.0.1:29889229','i:0;',1793353875),
('laravel-cache-api_reqs:127.0.0.1:29889230','i:0;',1793353935),
('laravel-cache-api_reqs:127.0.0.1:29889231','i:0;',1793353995),
('laravel-cache-api_reqs:127.0.0.1:29889232','i:0;',1793354055),
('laravel-cache-api_reqs:127.0.0.1:29889233','i:0;',1793354115),
('laravel-cache-api_reqs:127.0.0.1:29889298','i:7;',1793358042),
('laravel-cache-api_reqs:127.0.0.1:29889370','i:42;',1793362379),
('laravel-cache-api_reqs:127.0.0.1:29889371','i:33;',1793362438),
('laravel-cache-api_reqs:127.0.0.1:29889372','i:9;',1793362499),
('laravel-cache-api_reqs:127.0.0.1:29889373','i:8;',1793362546),
('laravel-cache-api_reqs:127.0.0.1:29889374','i:9;',1793362607),
('laravel-cache-api_reqs:127.0.0.1:29889375','i:1;',1793362658),
('laravel-cache-api_reqs:127.0.0.1:29889376','i:0;',1793362713),
('laravel-cache-api_reqs:127.0.0.1:29889377','i:0;',1793362773),
('laravel-cache-api_reqs:127.0.0.1:29889378','i:0;',1793362833),
('laravel-cache-api_reqs:127.0.0.1:29889379','i:6;',1793362898),
('laravel-cache-api_reqs:127.0.0.1:29889380','i:0;',1793362953),
('laravel-cache-api_reqs:127.0.0.1:29889381','i:0;',1793363013),
('laravel-cache-api_reqs:127.0.0.1:29889382','i:0;',1793363073),
('laravel-cache-api_reqs:127.0.0.1:29889383','i:0;',1793363133),
('laravel-cache-api_reqs:127.0.0.1:29889384','i:0;',1793363193),
('laravel-cache-api_reqs:127.0.0.1:29889385','i:0;',1793363253),
('laravel-cache-api_reqs:127.0.0.1:29889386','i:0;',1793363313),
('laravel-cache-api_reqs:127.0.0.1:29889387','i:0;',1793363373),
('laravel-cache-api_reqs:127.0.0.1:29889388','i:0;',1793363433),
('laravel-cache-api_reqs:127.0.0.1:29889389','i:0;',1793363493),
('laravel-cache-api_reqs:127.0.0.1:29889390','i:0;',1793363553),
('laravel-cache-api_reqs:127.0.0.1:29889391','i:0;',1793363613),
('laravel-cache-api_reqs:127.0.0.1:29889392','i:0;',1793363673),
('laravel-cache-api_reqs:127.0.0.1:29889393','i:0;',1793363733),
('laravel-cache-api_reqs:127.0.0.1:29889394','i:0;',1793363793),
('laravel-cache-api_reqs:127.0.0.1:29889395','i:0;',1793363853),
('laravel-cache-api_reqs:127.0.0.1:29889396','i:0;',1793363913),
('laravel-cache-api_reqs:127.0.0.1:29889397','i:0;',1793363973),
('laravel-cache-api_reqs:127.0.0.1:29889398','i:0;',1793364033),
('laravel-cache-api_reqs:127.0.0.1:29889399','i:0;',1793364093),
('laravel-cache-api_reqs:127.0.0.1:29889400','i:0;',1793364153),
('laravel-cache-api_reqs:127.0.0.1:29889401','i:0;',1793364213),
('laravel-cache-api_reqs:127.0.0.1:29889402','i:0;',1793364273),
('laravel-cache-api_reqs:127.0.0.1:29889403','i:0;',1793364333),
('laravel-cache-api_reqs:127.0.0.1:29889404','i:0;',1793364393),
('laravel-cache-api_reqs:127.0.0.1:29889405','i:0;',1793364453),
('laravel-cache-api_reqs:127.0.0.1:29889406','i:0;',1793364513),
('laravel-cache-api_reqs:127.0.0.1:29889407','i:0;',1793364573),
('laravel-cache-api_reqs:127.0.0.1:29889408','i:0;',1793364633),
('laravel-cache-api_reqs:127.0.0.1:29889409','i:0;',1793364693),
('laravel-cache-api_reqs:127.0.0.1:29889410','i:0;',1793364753),
('laravel-cache-api_reqs:127.0.0.1:29889411','i:0;',1793364813),
('laravel-cache-api_reqs:127.0.0.1:29889412','i:0;',1793364873),
('laravel-cache-api_reqs:127.0.0.1:29889413','i:0;',1793364933),
('laravel-cache-api_reqs:127.0.0.1:29889414','i:0;',1793364993),
('laravel-cache-api_reqs:127.0.0.1:29889415','i:0;',1793365053),
('laravel-cache-api_reqs:127.0.0.1:29889416','i:0;',1793365113),
('laravel-cache-api_reqs:127.0.0.1:29889417','i:0;',1793365173),
('laravel-cache-api_reqs:127.0.0.1:29889418','i:0;',1793365233),
('laravel-cache-api_reqs:127.0.0.1:29889419','i:0;',1793365293),
('laravel-cache-api_reqs:127.0.0.1:29889420','i:0;',1793365353),
('laravel-cache-api_reqs:127.0.0.1:29889421','i:0;',1793365413),
('laravel-cache-api_reqs:127.0.0.1:29889422','i:0;',1793365473),
('laravel-cache-api_reqs:127.0.0.1:29889423','i:0;',1793365533),
('laravel-cache-api_reqs:127.0.0.1:29889424','i:0;',1793365593),
('laravel-cache-api_reqs:127.0.0.1:29889425','i:0;',1793365653),
('laravel-cache-api_reqs:127.0.0.1:29889426','i:0;',1793365713),
('laravel-cache-api_reqs:127.0.0.1:29889427','i:0;',1793365773),
('laravel-cache-api_reqs:127.0.0.1:29889428','i:0;',1793365833),
('laravel-cache-api_reqs:127.0.0.1:29889429','i:0;',1793365893),
('laravel-cache-api_reqs:127.0.0.1:29889430','i:0;',1793365953),
('laravel-cache-api_reqs:127.0.0.1:29889431','i:5;',1793366016),
('laravel-cache-api_reqs:127.0.0.1:29889609','i:0;',1793376719),
('laravel-cache-api_reqs:127.0.0.1:29889610','i:16;',1793376738),
('laravel-cache-api_reqs:127.0.0.1:29889621','i:5;',1793377410),
('laravel-cache-api_reqs:127.0.0.1:29889747','i:1;',1793384999),
('laravel-cache-api_reqs:127.0.0.1:29889748','i:13;',1793385011),
('laravel-cache-api_reqs:127.0.0.1:29889767','i:3;',1793386152),
('laravel-cache-api_reqs:127.0.0.1:29889768','i:7;',1793386244),
('laravel-cache-api_reqs:127.0.0.1:29889769','i:7;',1793386293),
('laravel-cache-api_reqs:127.0.0.1:29889770','i:10;',1793386352),
('laravel-cache-api_reqs:127.0.0.1:29889771','i:1;',1793386427),
('laravel-cache-api_reqs:127.0.0.1:29889774','i:8;',1793386610),
('laravel-cache-api_reqs:127.0.0.1:29889775','i:3;',1793386628),
('laravel-cache-api_reqs:127.0.0.1:29889781','i:2;',1793387027),
('laravel-cache-api_reqs:127.0.0.1:29889784','i:19;',1793387215),
('laravel-cache-api_reqs:127.0.0.1:29889785','i:3;',1793387233),
('laravel-cache-api_reqs:127.0.0.1:29890408','i:23;',1793424647),
('laravel-cache-api_reqs:127.0.0.1:29890560','i:18;',1793433779),
('laravel-cache-api_reqs:127.0.0.1:29890561','i:14;',1793433797),
('laravel-cache-api_reqs:127.0.0.1:29890562','i:4;',1793433868),
('laravel-cache-api_reqs:127.0.0.1:29890635','i:4;',1793438279),
('laravel-cache-api_reqs:127.0.0.1:29890636','i:16;',1793438299),
('laravel-cache-api_reqs:127.0.0.1:29890643','i:15;',1793438753),
('laravel-cache-api_reqs:127.0.0.1:29890672','i:3;',1793440459),
('laravel-cache-api_reqs:127.0.0.1:29890689','i:9;',1793441474),
('laravel-cache-api_reqs:127.0.0.1:29890690','i:3;',1793441579),
('laravel-cache-api_reqs:127.0.0.1:29890691','i:23;',1793441636),
('laravel-cache-api_reqs:127.0.0.1:29890692','i:13;',1793441699),
('laravel-cache-api_reqs:127.0.0.1:29890695','i:12;',1793441871),
('laravel-cache-api_reqs:127.0.0.1:29890696','i:7;',1793441901),
('laravel-cache-api_reqs:127.0.0.1:29890697','i:7;',1793441989),
('laravel-cache-api_reqs:127.0.0.1:29890699','i:3;',1793442112),
('laravel-cache-api_reqs:127.0.0.1:29890700','i:33;',1793442179),
('laravel-cache-api_reqs:127.0.0.1:29890701','i:22;',1793442235),
('laravel-cache-api_reqs:127.0.0.1:29890702','i:13;',1793442289),
('laravel-cache-api_reqs:127.0.0.1:29890703','i:4;',1793442339),
('laravel-cache-api_reqs:127.0.0.1:29890704','i:9;',1793442415),
('laravel-cache-api_reqs:127.0.0.1:29890705','i:4;',1793442440),
('laravel-cache-api_reqs:127.0.0.1:29890706','i:0;',1793442490),
('laravel-cache-api_reqs:127.0.0.1:29890707','i:9;',1793442598),
('laravel-cache-api_reqs:127.0.0.1:29890708','i:4;',1793442628),
('laravel-cache-api_reqs:127.0.0.1:29890709','i:5;',1793442685),
('laravel-cache-api_reqs:127.0.0.1:29890713','i:14;',1793442959),
('laravel-cache-api_reqs:127.0.0.1:29890714','i:21;',1793442991),
('laravel-cache-api_reqs:127.0.0.1:29890715','i:10;',1793443051),
('laravel-cache-api_reqs:127.0.0.1:29890716','i:1;',1793443111),
('laravel-cache-api_reqs:127.0.0.1:29890717','i:0;',1793443141),
('laravel-cache-api_reqs:127.0.0.1:29890718','i:4;',1793443207),
('laravel-cache-api_reqs:127.0.0.1:29890719','i:9;',1793443315),
('laravel-cache-api_reqs:127.0.0.1:29890720','i:0;',1793443330),
('laravel-cache-api_reqs:127.0.0.1:29890721','i:0;',1793443390),
('laravel-cache-api_reqs:127.0.0.1:29890722','i:0;',1793443450),
('laravel-cache-api_reqs:127.0.0.1:29890723','i:0;',1793443510),
('laravel-cache-api_reqs:127.0.0.1:29890724','i:13;',1793443616),
('laravel-cache-api_reqs:127.0.0.1:29890725','i:0;',1793443630),
('laravel-cache-api_reqs:127.0.0.1:29890726','i:0;',1793443690),
('laravel-cache-api_reqs:127.0.0.1:29890727','i:0;',1793443750),
('laravel-cache-api_reqs:127.0.0.1:29890728','i:8;',1793443828),
('laravel-cache-api_reqs:127.0.0.1:29890729','i:5;',1793443909),
('laravel-cache-api_reqs:127.0.0.1:29890730','i:13;',1793443966),
('laravel-cache-api_reqs:127.0.0.1:29890731','i:0;',1793443990),
('laravel-cache-api_reqs:127.0.0.1:29890732','i:5;',1793444099),
('laravel-cache-api_reqs:127.0.0.1:29890733','i:15;',1793444121),
('laravel-cache-api_reqs:127.0.0.1:29890734','i:3;',1793444205),
('laravel-cache-api_reqs:127.0.0.1:29890803','i:24;',1793448355),
('laravel-cache-api_reqs:127.0.0.1:29892385','i:9;',1793543279),
('laravel-cache-api_reqs:127.0.0.1:29892386','i:4;',1793543283),
('laravel-cache-api_reqs:127.0.0.1:29892388','i:7;',1793543458),
('laravel-cache-api_reqs:127.0.0.1:29892389','i:15;',1793543478),
('laravel-cache-api_reqs:127.0.0.1:29892394','i:3;',1793543817),
('laravel-cache-api_reqs:127.0.0.1:29892395','i:19;',1793543877),
('laravel-cache-api_reqs:127.0.0.1:29892396','i:1;',1793543937),
('laravel-cache-api_reqs:127.0.0.1:29892397','i:1;',1793543997),
('laravel-cache-api_reqs:127.0.0.1:29892398','i:8;',1793544053),
('laravel-cache-api_reqs:127.0.0.1:29892399','i:0;',1793544077),
('laravel-cache-api_reqs:127.0.0.1:29892400','i:5;',1793544178),
('laravel-cache-api_reqs:127.0.0.1:29892401','i:9;',1793544238),
('laravel-cache-api_reqs:127.0.0.1:29892402','i:3;',1793544251),
('laravel-cache-api_reqs:127.0.0.1:29892403','i:0;',1793544317),
('laravel-cache-api_reqs:127.0.0.1:29892404','i:0;',1793544377),
('laravel-cache-api_reqs:127.0.0.1:29892405','i:0;',1793544437),
('laravel-cache-api_reqs:127.0.0.1:29892406','i:0;',1793544497),
('laravel-cache-api_reqs:127.0.0.1:29892407','i:0;',1793544557),
('laravel-cache-api_reqs:127.0.0.1:29892408','i:0;',1793544617),
('laravel-cache-api_reqs:127.0.0.1:29892409','i:0;',1793544677),
('laravel-cache-api_reqs:127.0.0.1:29892410','i:0;',1793544737),
('laravel-cache-api_reqs:127.0.0.1:29892411','i:0;',1793544797),
('laravel-cache-api_reqs:127.0.0.1:29892412','i:2;',1793544862),
('laravel-cache-api_reqs:127.0.0.1:29892413','i:0;',1793544917),
('laravel-cache-api_reqs:127.0.0.1:29892414','i:0;',1793544977),
('laravel-cache-api_reqs:127.0.0.1:29892415','i:0;',1793545037),
('laravel-cache-api_reqs:127.0.0.1:29892416','i:0;',1793545098),
('laravel-cache-api_reqs:127.0.0.1:29892417','i:0;',1793545157),
('laravel-cache-api_reqs:127.0.0.1:29892418','i:0;',1793545217),
('laravel-cache-dash_marketing:1','a:1:{s:4:\"data\";a:3:{s:18:\"upcoming_campaigns\";O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:0:{}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}s:9:\"last_send\";N;s:3:\"sms\";a:4:{s:2:\"ok\";b:0;s:7:\"balance\";N;s:7:\"message\";s:30:\"SMS gateway is not configured.\";s:10:\"configured\";b:0;}}}',1793543771),
('laravel-cache-dash_stats:1:month:2026:10:all','a:11:{s:7:\"summary\";a:15:{s:15:\"total_employees\";i:12;s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;s:11:\"total_hours\";d:0;s:12:\"total_salary\";i:0;s:14:\"total_overtime\";i:0;s:23:\"payroll_generated_count\";i:0;s:22:\"payroll_approved_count\";i:0;s:23:\"payroll_approved_amount\";d:0;s:18:\"payroll_paid_count\";i:0;s:19:\"payroll_paid_amount\";d:0;s:21:\"payroll_pending_count\";i:0;s:20:\"avg_daily_attendance\";d:0;s:15:\"attendance_rate\";d:0;}s:14:\"payroll_status\";a:9:{s:4:\"year\";i:2026;s:5:\"month\";i:10;s:15:\"total_employees\";i:0;s:7:\"pending\";a:2:{s:5:\"count\";i:0;s:6:\"amount\";d:0;}s:8:\"approved\";a:2:{s:5:\"count\";i:0;s:6:\"amount\";d:0;}s:4:\"paid\";a:2:{s:5:\"count\";i:0;s:6:\"amount\";d:0;}s:9:\"breakdown\";a:6:{s:4:\"base\";d:0;s:8:\"overtime\";d:0;s:5:\"bonus\";d:0;s:10:\"deductions\";d:0;s:3:\"net\";d:0;s:16:\"avg_per_employee\";i:0;}s:13:\"by_department\";O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:0:{}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}s:21:\"breakdown_vs_previous\";a:0:{}}s:8:\"overview\";a:8:{s:8:\"cashflow\";a:31:{i:0;a:4:{s:6:\"bucket\";s:6:\"01 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:1;a:4:{s:6:\"bucket\";s:6:\"02 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:2;a:4:{s:6:\"bucket\";s:6:\"03 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:3;a:4:{s:6:\"bucket\";s:6:\"04 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:4;a:4:{s:6:\"bucket\";s:6:\"05 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:5;a:4:{s:6:\"bucket\";s:6:\"06 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:6;a:4:{s:6:\"bucket\";s:6:\"07 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:7;a:4:{s:6:\"bucket\";s:6:\"08 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:8;a:4:{s:6:\"bucket\";s:6:\"09 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:9;a:4:{s:6:\"bucket\";s:6:\"10 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:10;a:4:{s:6:\"bucket\";s:6:\"11 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:11;a:4:{s:6:\"bucket\";s:6:\"12 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:12;a:4:{s:6:\"bucket\";s:6:\"13 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:13;a:4:{s:6:\"bucket\";s:6:\"14 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:14;a:4:{s:6:\"bucket\";s:6:\"15 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:15;a:4:{s:6:\"bucket\";s:6:\"16 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:16;a:4:{s:6:\"bucket\";s:6:\"17 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:17;a:4:{s:6:\"bucket\";s:6:\"18 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:18;a:4:{s:6:\"bucket\";s:6:\"19 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:19;a:4:{s:6:\"bucket\";s:6:\"20 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:20;a:4:{s:6:\"bucket\";s:6:\"21 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:21;a:4:{s:6:\"bucket\";s:6:\"22 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:22;a:4:{s:6:\"bucket\";s:6:\"23 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:23;a:4:{s:6:\"bucket\";s:6:\"24 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:24;a:4:{s:6:\"bucket\";s:6:\"25 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:25;a:4:{s:6:\"bucket\";s:6:\"26 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:26;a:4:{s:6:\"bucket\";s:6:\"27 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:27;a:4:{s:6:\"bucket\";s:6:\"28 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:28;a:4:{s:6:\"bucket\";s:6:\"29 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:29;a:4:{s:6:\"bucket\";s:6:\"30 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:30;a:4:{s:6:\"bucket\";s:6:\"31 Oct\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}}s:6:\"totals\";a:8:{s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;s:14:\"wallet_balance\";d:0;s:11:\"receivables\";d:0;s:8:\"payables\";d:0;s:20:\"customer_dues_unpaid\";d:0;s:17:\"expense_delta_pct\";N;}s:7:\"wallets\";O:29:\"Illuminate\\Support\\Collection\":2:{s:8:\"\0*\0items\";a:1:{i:0;a:3:{s:2:\"id\";i:1;s:4:\"name\";s:4:\"Cash\";s:7:\"balance\";d:0;}}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}s:10:\"operations\";a:9:{s:9:\"low_stock\";i:0;s:15:\"low_stock_items\";O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:0:{}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}s:19:\"pending_adjustments\";i:0;s:17:\"pending_transfers\";i:0;s:19:\"requested_transfers\";i:0;s:23:\"pending_purchase_orders\";i:0;s:17:\"active_warehouses\";i:0;s:14:\"on_shift_today\";i:0;s:12:\"active_loans\";i:0;}s:9:\"attention\";a:31:{i:0;a:4:{s:3:\"key\";s:17:\"expense_approvals\";s:5:\"label\";s:17:\"Expense approvals\";s:5:\"count\";i:0;s:4:\"href\";s:20:\"/inventory/approvals\";}i:1;a:4:{s:3:\"key\";s:15:\"vendor_payments\";s:5:\"label\";s:15:\"Vendor payments\";s:5:\"count\";i:0;s:4:\"href\";s:16:\"/vendor-payments\";}i:2;a:4:{s:3:\"key\";s:16:\"expense_payments\";s:5:\"label\";s:16:\"Expense payments\";s:5:\"count\";i:0;s:4:\"href\";s:16:\"/vendor-payments\";}i:3;a:4:{s:3:\"key\";s:15:\"stock_approvals\";s:5:\"label\";s:15:\"Stock approvals\";s:5:\"count\";i:0;s:4:\"href\";s:20:\"/inventory/approvals\";}i:4;a:4:{s:3:\"key\";s:15:\"purchase_orders\";s:5:\"label\";s:15:\"Purchase orders\";s:5:\"count\";i:0;s:4:\"href\";s:16:\"/purchase-orders\";}i:5;a:4:{s:3:\"key\";s:5:\"loans\";s:5:\"label\";s:12:\"Active loans\";s:5:\"count\";i:0;s:4:\"href\";s:15:\"/earnings/loans\";}i:6;a:4:{s:3:\"key\";s:13:\"customer_dues\";s:5:\"label\";s:20:\"Customer dues unpaid\";s:5:\"count\";i:0;s:4:\"href\";s:28:\"/customer-tasks?tab=payments\";}i:7;a:5:{s:3:\"key\";s:17:\"payroll_approvals\";s:5:\"label\";s:25:\"Payroll awaiting sign-off\";s:5:\"count\";i:0;s:4:\"href\";s:7:\"/salary\";s:7:\"urgency\";N;}i:8;a:5:{s:3:\"key\";s:12:\"cash_in_hand\";s:5:\"label\";s:18:\"Rider cash in hand\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:19:\"/deliveries?tab=men\";}i:9;a:5:{s:3:\"key\";s:18:\"bankable_handovers\";s:5:\"label\";s:17:\"Handovers to bank\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:24:\"/deliveries?tab=handover\";}i:10;a:4:{s:3:\"key\";s:24:\"branch_transfer_requests\";s:5:\"label\";s:24:\"Branch transfer requests\";s:5:\"count\";i:0;s:4:\"href\";s:37:\"/inventory/transfers?status=requested\";}i:11;a:4:{s:3:\"key\";s:16:\"stock_in_transit\";s:5:\"label\";s:16:\"Stock in transit\";s:5:\"count\";i:0;s:4:\"href\";s:34:\"/inventory/transfers?source=branch\";}i:12;a:4:{s:3:\"key\";s:25:\"stock_location_violations\";s:5:\"label\";s:25:\"Stock location violations\";s:5:\"count\";i:0;s:4:\"href\";s:44:\"/inventory/reports?type=stock_location_audit\";}i:13;a:5:{s:3:\"key\";s:13:\"asset_returns\";s:5:\"label\";s:21:\"Asset returns pending\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:25:\"/employees/exit-clearance\";}i:14;a:5:{s:3:\"key\";s:19:\"property_units_sold\";s:5:\"label\";s:21:\"Units sold this month\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:28:\"/property/property-inventory\";}i:15;a:5:{s:3:\"key\";s:29:\"property_bookings_pending_spa\";s:5:\"label\";s:20:\"Bookings pending SPA\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:41:\"/property/property-deals?tab=reservations\";}i:16;a:5:{s:3:\"key\";s:30:\"property_milestone_collections\";s:5:\"label\";s:25:\"Milestone collections due\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:41:\"/property/property-payments?status=unpaid\";}i:17;a:4:{s:3:\"key\";s:22:\"property_unsigned_spas\";s:5:\"label\";s:13:\"Unsigned SPAs\";s:5:\"count\";i:0;s:4:\"href\";s:32:\"/property/property-deals?tab=spa\";}i:18;a:5:{s:3:\"key\";s:28:\"construction_budget_breaches\";s:5:\"label\";s:23:\"Project budget breaches\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:32:\"/construction/construction-costs\";}i:19;a:4:{s:3:\"key\";s:25:\"construction_thin_margins\";s:5:\"label\";s:24:\"Projects below 5% margin\";s:5:\"count\";i:0;s:4:\"href\";s:34:\"/construction/construction-reports\";}i:20;a:4:{s:3:\"key\";s:31:\"construction_insurance_expiring\";s:5:\"label\";s:33:\"Expiring subcontractor insurances\";s:5:\"count\";i:0;s:4:\"href\";s:34:\"/construction/construction-billing\";}i:21;a:4:{s:3:\"key\";s:27:\"construction_critical_snags\";s:5:\"label\";s:19:\"Open critical snags\";s:5:\"count\";i:0;s:4:\"href\";s:31:\"/construction/construction-site\";}i:22;a:5:{s:3:\"key\";s:17:\"loan_overdue_emis\";s:5:\"label\";s:12:\"Overdue EMIs\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:31:\"/property-loans/loan-repayments\";}i:23;a:5:{s:3:\"key\";s:23:\"emi_planned_collections\";s:5:\"label\";s:27:\"Planned EMI collections due\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:12:\"/collections\";}i:24;a:5:{s:3:\"key\";s:29:\"sales_invoice_portal_payments\";s:5:\"label\";s:27:\"Invoice payments to confirm\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:61:\"/property/payment-links?kind=sales_invoice&submission=pending\";}i:25;a:5:{s:3:\"key\";s:22:\"loan_penalties_accrued\";s:5:\"label\";s:28:\"Penalties accrued this month\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:28:\"/property-loans/loan-reports\";}i:26;a:5:{s:3:\"key\";s:27:\"loan_pending_first_payments\";s:5:\"label\";s:35:\"Disbursements pending first payment\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:33:\"/property-loans/loan-applications\";}i:27;a:5:{s:3:\"key\";s:20:\"parking_unpaid_exits\";s:5:\"label\";s:20:\"Parking unpaid exits\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:41:\"/parking/parking-operations?status=unpaid\";}i:28;a:5:{s:3:\"key\";s:20:\"parking_overdue_rent\";s:5:\"label\";s:20:\"Overdue parking rent\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:45:\"/parking/parking-subscriptions?status=overdue\";}i:29;a:4:{s:3:\"key\";s:30:\"parking_expiring_subscriptions\";s:5:\"label\";s:30:\"Expiring parking subscriptions\";s:5:\"count\";i:0;s:4:\"href\";s:42:\"/parking/parking-subscriptions?expiring=30\";}i:30;a:5:{s:3:\"key\";s:27:\"parking_overstayed_vehicles\";s:5:\"label\";s:26:\"Overstayed vehicles (24h+)\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:45:\"/parking/parking-operations?status=overstayed\";}}s:8:\"my_today\";a:3:{s:18:\"appointments_today\";i:0;s:17:\"pending_responses\";i:0;s:4:\"next\";N;}s:8:\"upcoming\";O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:0:{}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}s:15:\"pipeline_funnel\";a:5:{s:7:\"viewing\";i:0;s:5:\"offer\";i:0;s:11:\"reservation\";i:0;s:6:\"signed\";i:0;s:8:\"upstream\";i:0;}}s:22:\"upcoming_office_leaves\";a:0:{}s:16:\"attendance_trend\";a:31:{i:0;a:4:{s:4:\"date\";s:10:\"2026-10-01\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:1;a:4:{s:4:\"date\";s:10:\"2026-10-02\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:2;a:4:{s:4:\"date\";s:10:\"2026-10-03\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:3;a:4:{s:4:\"date\";s:10:\"2026-10-04\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:4;a:4:{s:4:\"date\";s:10:\"2026-10-05\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:5;a:4:{s:4:\"date\";s:10:\"2026-10-06\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:6;a:4:{s:4:\"date\";s:10:\"2026-10-07\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:7;a:4:{s:4:\"date\";s:10:\"2026-10-08\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:8;a:4:{s:4:\"date\";s:10:\"2026-10-09\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:9;a:4:{s:4:\"date\";s:10:\"2026-10-10\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:10;a:4:{s:4:\"date\";s:10:\"2026-10-11\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:11;a:4:{s:4:\"date\";s:10:\"2026-10-12\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:12;a:4:{s:4:\"date\";s:10:\"2026-10-13\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:13;a:4:{s:4:\"date\";s:10:\"2026-10-14\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:14;a:4:{s:4:\"date\";s:10:\"2026-10-15\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:15;a:4:{s:4:\"date\";s:10:\"2026-10-16\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:16;a:4:{s:4:\"date\";s:10:\"2026-10-17\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:17;a:4:{s:4:\"date\";s:10:\"2026-10-18\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:18;a:4:{s:4:\"date\";s:10:\"2026-10-19\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:19;a:4:{s:4:\"date\";s:10:\"2026-10-20\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:20;a:4:{s:4:\"date\";s:10:\"2026-10-21\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:21;a:4:{s:4:\"date\";s:10:\"2026-10-22\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:22;a:4:{s:4:\"date\";s:10:\"2026-10-23\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:23;a:4:{s:4:\"date\";s:10:\"2026-10-24\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:24;a:4:{s:4:\"date\";s:10:\"2026-10-25\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:25;a:4:{s:4:\"date\";s:10:\"2026-10-26\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:26;a:4:{s:4:\"date\";s:10:\"2026-10-27\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:27;a:4:{s:4:\"date\";s:10:\"2026-10-28\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:28;a:4:{s:4:\"date\";s:10:\"2026-10-29\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:29;a:4:{s:4:\"date\";s:10:\"2026-10-30\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:30;a:4:{s:4:\"date\";s:10:\"2026-10-31\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}}s:12:\"salary_trend\";a:0:{}s:14:\"overtime_trend\";a:0:{}s:11:\"leave_trend\";a:0:{}s:13:\"top_employees\";O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:0:{}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}s:16:\"department_stats\";a:1:{i:0;a:3:{s:10:\"department\";s:7:\"General\";s:9:\"employees\";i:12;s:12:\"total_salary\";i:0;}}s:17:\"recent_activities\";a:0:{}}',1793442912),
('laravel-cache-dash_stats:1:month:2026:11:all','a:11:{s:7:\"summary\";a:15:{s:15:\"total_employees\";i:12;s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;s:11:\"total_hours\";d:0;s:12:\"total_salary\";i:0;s:14:\"total_overtime\";i:0;s:23:\"payroll_generated_count\";i:0;s:22:\"payroll_approved_count\";i:0;s:23:\"payroll_approved_amount\";d:0;s:18:\"payroll_paid_count\";i:0;s:19:\"payroll_paid_amount\";d:0;s:21:\"payroll_pending_count\";i:0;s:20:\"avg_daily_attendance\";d:0;s:15:\"attendance_rate\";d:0;}s:14:\"payroll_status\";a:9:{s:4:\"year\";i:2026;s:5:\"month\";i:11;s:15:\"total_employees\";i:0;s:7:\"pending\";a:2:{s:5:\"count\";i:0;s:6:\"amount\";d:0;}s:8:\"approved\";a:2:{s:5:\"count\";i:0;s:6:\"amount\";d:0;}s:4:\"paid\";a:2:{s:5:\"count\";i:0;s:6:\"amount\";d:0;}s:9:\"breakdown\";a:6:{s:4:\"base\";d:0;s:8:\"overtime\";d:0;s:5:\"bonus\";d:0;s:10:\"deductions\";d:0;s:3:\"net\";d:0;s:16:\"avg_per_employee\";i:0;}s:13:\"by_department\";O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:0:{}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}s:21:\"breakdown_vs_previous\";a:0:{}}s:8:\"overview\";a:8:{s:8:\"cashflow\";a:30:{i:0;a:4:{s:6:\"bucket\";s:6:\"01 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:1;a:4:{s:6:\"bucket\";s:6:\"02 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:2;a:4:{s:6:\"bucket\";s:6:\"03 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:3;a:4:{s:6:\"bucket\";s:6:\"04 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:4;a:4:{s:6:\"bucket\";s:6:\"05 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:5;a:4:{s:6:\"bucket\";s:6:\"06 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:6;a:4:{s:6:\"bucket\";s:6:\"07 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:7;a:4:{s:6:\"bucket\";s:6:\"08 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:8;a:4:{s:6:\"bucket\";s:6:\"09 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:9;a:4:{s:6:\"bucket\";s:6:\"10 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:10;a:4:{s:6:\"bucket\";s:6:\"11 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:11;a:4:{s:6:\"bucket\";s:6:\"12 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:12;a:4:{s:6:\"bucket\";s:6:\"13 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:13;a:4:{s:6:\"bucket\";s:6:\"14 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:14;a:4:{s:6:\"bucket\";s:6:\"15 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:15;a:4:{s:6:\"bucket\";s:6:\"16 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:16;a:4:{s:6:\"bucket\";s:6:\"17 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:17;a:4:{s:6:\"bucket\";s:6:\"18 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:18;a:4:{s:6:\"bucket\";s:6:\"19 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:19;a:4:{s:6:\"bucket\";s:6:\"20 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:20;a:4:{s:6:\"bucket\";s:6:\"21 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:21;a:4:{s:6:\"bucket\";s:6:\"22 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:22;a:4:{s:6:\"bucket\";s:6:\"23 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:23;a:4:{s:6:\"bucket\";s:6:\"24 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:24;a:4:{s:6:\"bucket\";s:6:\"25 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:25;a:4:{s:6:\"bucket\";s:6:\"26 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:26;a:4:{s:6:\"bucket\";s:6:\"27 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:27;a:4:{s:6:\"bucket\";s:6:\"28 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:28;a:4:{s:6:\"bucket\";s:6:\"29 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}i:29;a:4:{s:6:\"bucket\";s:6:\"30 Nov\";s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;}}s:6:\"totals\";a:8:{s:6:\"income\";d:0;s:7:\"expense\";d:0;s:3:\"net\";d:0;s:14:\"wallet_balance\";d:0;s:11:\"receivables\";d:0;s:8:\"payables\";d:0;s:20:\"customer_dues_unpaid\";d:0;s:17:\"expense_delta_pct\";N;}s:7:\"wallets\";O:29:\"Illuminate\\Support\\Collection\":2:{s:8:\"\0*\0items\";a:1:{i:0;a:3:{s:2:\"id\";i:1;s:4:\"name\";s:4:\"Cash\";s:7:\"balance\";d:0;}}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}s:10:\"operations\";a:9:{s:9:\"low_stock\";i:0;s:15:\"low_stock_items\";O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:0:{}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}s:19:\"pending_adjustments\";i:0;s:17:\"pending_transfers\";i:0;s:19:\"requested_transfers\";i:0;s:23:\"pending_purchase_orders\";i:0;s:17:\"active_warehouses\";i:0;s:14:\"on_shift_today\";i:0;s:12:\"active_loans\";i:0;}s:9:\"attention\";a:31:{i:0;a:4:{s:3:\"key\";s:17:\"expense_approvals\";s:5:\"label\";s:17:\"Expense approvals\";s:5:\"count\";i:0;s:4:\"href\";s:20:\"/inventory/approvals\";}i:1;a:4:{s:3:\"key\";s:15:\"vendor_payments\";s:5:\"label\";s:15:\"Vendor payments\";s:5:\"count\";i:0;s:4:\"href\";s:16:\"/vendor-payments\";}i:2;a:4:{s:3:\"key\";s:16:\"expense_payments\";s:5:\"label\";s:16:\"Expense payments\";s:5:\"count\";i:0;s:4:\"href\";s:16:\"/vendor-payments\";}i:3;a:4:{s:3:\"key\";s:15:\"stock_approvals\";s:5:\"label\";s:15:\"Stock approvals\";s:5:\"count\";i:0;s:4:\"href\";s:20:\"/inventory/approvals\";}i:4;a:4:{s:3:\"key\";s:15:\"purchase_orders\";s:5:\"label\";s:15:\"Purchase orders\";s:5:\"count\";i:0;s:4:\"href\";s:16:\"/purchase-orders\";}i:5;a:4:{s:3:\"key\";s:5:\"loans\";s:5:\"label\";s:12:\"Active loans\";s:5:\"count\";i:0;s:4:\"href\";s:15:\"/earnings/loans\";}i:6;a:4:{s:3:\"key\";s:13:\"customer_dues\";s:5:\"label\";s:20:\"Customer dues unpaid\";s:5:\"count\";i:0;s:4:\"href\";s:28:\"/customer-tasks?tab=payments\";}i:7;a:5:{s:3:\"key\";s:17:\"payroll_approvals\";s:5:\"label\";s:25:\"Payroll awaiting sign-off\";s:5:\"count\";i:0;s:4:\"href\";s:7:\"/salary\";s:7:\"urgency\";N;}i:8;a:5:{s:3:\"key\";s:12:\"cash_in_hand\";s:5:\"label\";s:18:\"Rider cash in hand\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:19:\"/deliveries?tab=men\";}i:9;a:5:{s:3:\"key\";s:18:\"bankable_handovers\";s:5:\"label\";s:17:\"Handovers to bank\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:24:\"/deliveries?tab=handover\";}i:10;a:4:{s:3:\"key\";s:24:\"branch_transfer_requests\";s:5:\"label\";s:24:\"Branch transfer requests\";s:5:\"count\";i:0;s:4:\"href\";s:37:\"/inventory/transfers?status=requested\";}i:11;a:4:{s:3:\"key\";s:16:\"stock_in_transit\";s:5:\"label\";s:16:\"Stock in transit\";s:5:\"count\";i:0;s:4:\"href\";s:34:\"/inventory/transfers?source=branch\";}i:12;a:4:{s:3:\"key\";s:25:\"stock_location_violations\";s:5:\"label\";s:25:\"Stock location violations\";s:5:\"count\";i:0;s:4:\"href\";s:44:\"/inventory/reports?type=stock_location_audit\";}i:13;a:5:{s:3:\"key\";s:13:\"asset_returns\";s:5:\"label\";s:21:\"Asset returns pending\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:25:\"/employees/exit-clearance\";}i:14;a:5:{s:3:\"key\";s:19:\"property_units_sold\";s:5:\"label\";s:21:\"Units sold this month\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:28:\"/property/property-inventory\";}i:15;a:5:{s:3:\"key\";s:29:\"property_bookings_pending_spa\";s:5:\"label\";s:20:\"Bookings pending SPA\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:41:\"/property/property-deals?tab=reservations\";}i:16;a:5:{s:3:\"key\";s:30:\"property_milestone_collections\";s:5:\"label\";s:25:\"Milestone collections due\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:41:\"/property/property-payments?status=unpaid\";}i:17;a:4:{s:3:\"key\";s:22:\"property_unsigned_spas\";s:5:\"label\";s:13:\"Unsigned SPAs\";s:5:\"count\";i:0;s:4:\"href\";s:32:\"/property/property-deals?tab=spa\";}i:18;a:5:{s:3:\"key\";s:28:\"construction_budget_breaches\";s:5:\"label\";s:23:\"Project budget breaches\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:32:\"/construction/construction-costs\";}i:19;a:4:{s:3:\"key\";s:25:\"construction_thin_margins\";s:5:\"label\";s:24:\"Projects below 5% margin\";s:5:\"count\";i:0;s:4:\"href\";s:34:\"/construction/construction-reports\";}i:20;a:4:{s:3:\"key\";s:31:\"construction_insurance_expiring\";s:5:\"label\";s:33:\"Expiring subcontractor insurances\";s:5:\"count\";i:0;s:4:\"href\";s:34:\"/construction/construction-billing\";}i:21;a:4:{s:3:\"key\";s:27:\"construction_critical_snags\";s:5:\"label\";s:19:\"Open critical snags\";s:5:\"count\";i:0;s:4:\"href\";s:31:\"/construction/construction-site\";}i:22;a:5:{s:3:\"key\";s:17:\"loan_overdue_emis\";s:5:\"label\";s:12:\"Overdue EMIs\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:31:\"/property-loans/loan-repayments\";}i:23;a:5:{s:3:\"key\";s:23:\"emi_planned_collections\";s:5:\"label\";s:27:\"Planned EMI collections due\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:12:\"/collections\";}i:24;a:5:{s:3:\"key\";s:29:\"sales_invoice_portal_payments\";s:5:\"label\";s:27:\"Invoice payments to confirm\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:61:\"/property/payment-links?kind=sales_invoice&submission=pending\";}i:25;a:5:{s:3:\"key\";s:22:\"loan_penalties_accrued\";s:5:\"label\";s:28:\"Penalties accrued this month\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:28:\"/property-loans/loan-reports\";}i:26;a:5:{s:3:\"key\";s:27:\"loan_pending_first_payments\";s:5:\"label\";s:35:\"Disbursements pending first payment\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:33:\"/property-loans/loan-applications\";}i:27;a:5:{s:3:\"key\";s:20:\"parking_unpaid_exits\";s:5:\"label\";s:20:\"Parking unpaid exits\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:41:\"/parking/parking-operations?status=unpaid\";}i:28;a:5:{s:3:\"key\";s:20:\"parking_overdue_rent\";s:5:\"label\";s:20:\"Overdue parking rent\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:45:\"/parking/parking-subscriptions?status=overdue\";}i:29;a:4:{s:3:\"key\";s:30:\"parking_expiring_subscriptions\";s:5:\"label\";s:30:\"Expiring parking subscriptions\";s:5:\"count\";i:0;s:4:\"href\";s:42:\"/parking/parking-subscriptions?expiring=30\";}i:30;a:5:{s:3:\"key\";s:27:\"parking_overstayed_vehicles\";s:5:\"label\";s:26:\"Overstayed vehicles (24h+)\";s:5:\"count\";i:0;s:6:\"amount\";d:0;s:4:\"href\";s:45:\"/parking/parking-operations?status=overstayed\";}}s:8:\"my_today\";a:3:{s:18:\"appointments_today\";i:0;s:17:\"pending_responses\";i:0;s:4:\"next\";N;}s:8:\"upcoming\";O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:0:{}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}s:15:\"pipeline_funnel\";a:5:{s:7:\"viewing\";i:0;s:5:\"offer\";i:0;s:11:\"reservation\";i:0;s:6:\"signed\";i:0;s:8:\"upstream\";i:0;}}s:22:\"upcoming_office_leaves\";a:0:{}s:16:\"attendance_trend\";a:30:{i:0;a:4:{s:4:\"date\";s:10:\"2026-11-01\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:1;a:4:{s:4:\"date\";s:10:\"2026-11-02\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:2;a:4:{s:4:\"date\";s:10:\"2026-11-03\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:3;a:4:{s:4:\"date\";s:10:\"2026-11-04\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:4;a:4:{s:4:\"date\";s:10:\"2026-11-05\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:5;a:4:{s:4:\"date\";s:10:\"2026-11-06\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:6;a:4:{s:4:\"date\";s:10:\"2026-11-07\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:7;a:4:{s:4:\"date\";s:10:\"2026-11-08\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:8;a:4:{s:4:\"date\";s:10:\"2026-11-09\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:9;a:4:{s:4:\"date\";s:10:\"2026-11-10\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:10;a:4:{s:4:\"date\";s:10:\"2026-11-11\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:11;a:4:{s:4:\"date\";s:10:\"2026-11-12\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:12;a:4:{s:4:\"date\";s:10:\"2026-11-13\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:13;a:4:{s:4:\"date\";s:10:\"2026-11-14\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:14;a:4:{s:4:\"date\";s:10:\"2026-11-15\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:15;a:4:{s:4:\"date\";s:10:\"2026-11-16\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:16;a:4:{s:4:\"date\";s:10:\"2026-11-17\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:17;a:4:{s:4:\"date\";s:10:\"2026-11-18\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:18;a:4:{s:4:\"date\";s:10:\"2026-11-19\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:19;a:4:{s:4:\"date\";s:10:\"2026-11-20\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:20;a:4:{s:4:\"date\";s:10:\"2026-11-21\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:21;a:4:{s:4:\"date\";s:10:\"2026-11-22\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:22;a:4:{s:4:\"date\";s:10:\"2026-11-23\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:23;a:4:{s:4:\"date\";s:10:\"2026-11-24\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:24;a:4:{s:4:\"date\";s:10:\"2026-11-25\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:25;a:4:{s:4:\"date\";s:10:\"2026-11-26\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:26;a:4:{s:4:\"date\";s:10:\"2026-11-27\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:27;a:4:{s:4:\"date\";s:10:\"2026-11-28\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:28;a:4:{s:4:\"date\";s:10:\"2026-11-29\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}i:29;a:4:{s:4:\"date\";s:10:\"2026-11-30\";s:7:\"present\";i:0;s:8:\"on_leave\";i:0;s:6:\"absent\";i:0;}}s:12:\"salary_trend\";a:0:{}s:14:\"overtime_trend\";a:0:{}s:11:\"leave_trend\";a:0:{}s:13:\"top_employees\";O:39:\"Illuminate\\Database\\Eloquent\\Collection\":2:{s:8:\"\0*\0items\";a:0:{}s:28:\"\0*\0escapeWhenCastingToString\";b:0;}s:16:\"department_stats\";a:1:{i:0;a:3:{s:10:\"department\";s:7:\"General\";s:9:\"employees\";i:12;s:12:\"total_salary\";i:0;}}s:17:\"recent_activities\";a:0:{}}',1793543768),
('laravel-cache-heartbeat:crm-journeys','b:1;',1793545217),
('laravel-cache-heartbeat:reminders-due-check','b:1;',1793545157),
('laravel-cache-license.state.v1','a:2:{s:10:\"checked_at\";i:1793545097;s:5:\"state\";a:2:{s:5:\"state\";s:5:\"valid\";s:6:\"reason\";N;}}',1793631497),
('laravel-cache-login5c785c036466adea360111aa28563bfd556b5fba','i:1;',1793544802),
('laravel-cache-login5c785c036466adea360111aa28563bfd556b5fba:timer','i:1793544802;',1793544802),
('laravel-cache-mod_dash:1:crm:month:2026-10','a:4:{s:4:\"meta\";a:9:{s:6:\"module\";s:3:\"crm\";s:4:\"name\";s:3:\"CRM\";s:6:\"period\";s:5:\"month\";s:4:\"year\";i:2026;s:5:\"month\";i:10;s:5:\"start\";s:19:\"2026-10-01 00:00:00\";s:3:\"end\";s:19:\"2026-10-30 23:59:59\";s:13:\"trend_a_label\";s:9:\"New leads\";s:13:\"trend_b_label\";s:14:\"Pipeline value\";}s:3:\"kpi\";a:4:{i:0;a:7:{s:3:\"key\";s:5:\"leads\";s:5:\"label\";s:11:\"Total leads\";s:5:\"value\";i:0;s:6:\"format\";s:6:\"number\";s:4:\"hint\";N;s:4:\"tone\";N;s:4:\"href\";s:8:\"/crm/crm\";}i:1;a:7:{s:3:\"key\";s:4:\"open\";s:5:\"label\";s:13:\"Open pipeline\";s:5:\"value\";i:0;s:6:\"format\";s:6:\"number\";s:4:\"hint\";s:1:\"0\";s:4:\"tone\";N;s:4:\"href\";s:8:\"/crm/crm\";}i:2;a:7:{s:3:\"key\";s:3:\"won\";s:5:\"label\";s:3:\"Won\";s:5:\"value\";i:0;s:6:\"format\";s:6:\"number\";s:4:\"hint\";N;s:4:\"tone\";s:7:\"success\";s:4:\"href\";s:8:\"/crm/crm\";}i:3;a:7:{s:3:\"key\";s:9:\"companies\";s:5:\"label\";s:9:\"Companies\";s:5:\"value\";i:0;s:6:\"format\";s:6:\"number\";s:4:\"hint\";N;s:4:\"tone\";N;s:4:\"href\";s:8:\"/crm/crm\";}}s:5:\"trend\";a:30:{i:0;a:3:{s:6:\"bucket\";s:6:\"01 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:1;a:3:{s:6:\"bucket\";s:6:\"02 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:2;a:3:{s:6:\"bucket\";s:6:\"03 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:3;a:3:{s:6:\"bucket\";s:6:\"04 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:4;a:3:{s:6:\"bucket\";s:6:\"05 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:5;a:3:{s:6:\"bucket\";s:6:\"06 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:6;a:3:{s:6:\"bucket\";s:6:\"07 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:7;a:3:{s:6:\"bucket\";s:6:\"08 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:8;a:3:{s:6:\"bucket\";s:6:\"09 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:9;a:3:{s:6:\"bucket\";s:6:\"10 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:10;a:3:{s:6:\"bucket\";s:6:\"11 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:11;a:3:{s:6:\"bucket\";s:6:\"12 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:12;a:3:{s:6:\"bucket\";s:6:\"13 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:13;a:3:{s:6:\"bucket\";s:6:\"14 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:14;a:3:{s:6:\"bucket\";s:6:\"15 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:15;a:3:{s:6:\"bucket\";s:6:\"16 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:16;a:3:{s:6:\"bucket\";s:6:\"17 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:17;a:3:{s:6:\"bucket\";s:6:\"18 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:18;a:3:{s:6:\"bucket\";s:6:\"19 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:19;a:3:{s:6:\"bucket\";s:6:\"20 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:20;a:3:{s:6:\"bucket\";s:6:\"21 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:21;a:3:{s:6:\"bucket\";s:6:\"22 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:22;a:3:{s:6:\"bucket\";s:6:\"23 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:23;a:3:{s:6:\"bucket\";s:6:\"24 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:24;a:3:{s:6:\"bucket\";s:6:\"25 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:25;a:3:{s:6:\"bucket\";s:6:\"26 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:26;a:3:{s:6:\"bucket\";s:6:\"27 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:27;a:3:{s:6:\"bucket\";s:6:\"28 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:28;a:3:{s:6:\"bucket\";s:6:\"29 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:29;a:3:{s:6:\"bucket\";s:6:\"30 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}}s:5:\"lists\";a:3:{i:0;a:4:{s:3:\"key\";s:6:\"stages\";s:5:\"title\";s:15:\"Pipeline stages\";s:4:\"href\";s:8:\"/crm/crm\";s:5:\"items\";a:0:{}}i:1;a:4:{s:3:\"key\";s:9:\"followups\";s:5:\"title\";s:14:\"Follow-ups due\";s:4:\"href\";s:8:\"/crm/crm\";s:5:\"items\";a:0:{}}i:2;a:4:{s:3:\"key\";s:6:\"recent\";s:5:\"title\";s:12:\"Recent leads\";s:4:\"href\";s:8:\"/crm/crm\";s:5:\"items\";a:0:{}}}}',1793351062),
('laravel-cache-mod_dash:1:workforce:month:2026-10','a:4:{s:4:\"meta\";a:9:{s:6:\"module\";s:9:\"workforce\";s:4:\"name\";s:9:\"Workforce\";s:6:\"period\";s:5:\"month\";s:4:\"year\";i:2026;s:5:\"month\";i:10;s:5:\"start\";s:19:\"2026-10-01 00:00:00\";s:3:\"end\";s:19:\"2026-10-31 23:59:59\";s:13:\"trend_a_label\";s:13:\"New employees\";s:13:\"trend_b_label\";s:0:\"\";}s:3:\"kpi\";a:4:{i:0;a:7:{s:3:\"key\";s:9:\"employees\";s:5:\"label\";s:15:\"Total employees\";s:5:\"value\";i:12;s:6:\"format\";s:6:\"number\";s:4:\"hint\";s:11:\"all records\";s:4:\"tone\";N;s:4:\"href\";s:10:\"/employees\";}i:1;a:7:{s:3:\"key\";s:7:\"present\";s:5:\"label\";s:13:\"Present today\";s:5:\"value\";i:0;s:6:\"format\";s:6:\"number\";s:4:\"hint\";s:10:\"checked in\";s:4:\"tone\";s:7:\"success\";s:4:\"href\";s:11:\"/attendance\";}i:2;a:7:{s:3:\"key\";s:5:\"leave\";s:5:\"label\";s:14:\"On leave today\";s:5:\"value\";i:0;s:6:\"format\";s:6:\"number\";s:4:\"hint\";N;s:4:\"tone\";N;s:4:\"href\";s:11:\"/attendance\";}i:3;a:7:{s:3:\"key\";s:3:\"new\";s:5:\"label\";s:11:\"New joiners\";s:5:\"value\";i:12;s:6:\"format\";s:6:\"number\";s:4:\"hint\";s:11:\"this period\";s:4:\"tone\";N;s:4:\"href\";s:10:\"/employees\";}}s:5:\"trend\";a:5:{i:0;a:3:{s:6:\"bucket\";s:6:\"01 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:1;a:3:{s:6:\"bucket\";s:6:\"08 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:2;a:3:{s:6:\"bucket\";s:6:\"15 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}i:3;a:3:{s:6:\"bucket\";s:6:\"22 Oct\";s:1:\"a\";d:12;s:1:\"b\";d:0;}i:4;a:3:{s:6:\"bucket\";s:6:\"29 Oct\";s:1:\"a\";d:0;s:1:\"b\";d:0;}}s:5:\"lists\";a:3:{i:0;a:4:{s:3:\"key\";s:11:\"departments\";s:5:\"title\";s:23:\"Headcount by department\";s:4:\"href\";s:12:\"/departments\";s:5:\"items\";a:0:{}}i:1;a:4:{s:3:\"key\";s:7:\"joiners\";s:5:\"title\";s:14:\"Recent joiners\";s:4:\"href\";s:10:\"/employees\";s:5:\"items\";a:5:{i:0;a:5:{s:5:\"label\";s:14:\"SEO Specialist\";s:5:\"value\";s:6:\"28 Oct\";s:4:\"meta\";N;s:4:\"href\";s:10:\"/employees\";s:4:\"tone\";N;}i:1;a:5:{s:5:\"label\";s:25:\"Investments & Funds Admin\";s:5:\"value\";s:6:\"28 Oct\";s:4:\"meta\";N;s:4:\"href\";s:10:\"/employees\";s:4:\"tone\";N;}i:2;a:5:{s:5:\"label\";s:13:\"Support Agent\";s:5:\"value\";s:6:\"28 Oct\";s:4:\"meta\";N;s:4:\"href\";s:10:\"/employees\";s:4:\"tone\";N;}i:3;a:5:{s:5:\"label\";s:12:\"Support Lead\";s:5:\"value\";s:6:\"28 Oct\";s:4:\"meta\";N;s:4:\"href\";s:10:\"/employees\";s:4:\"tone\";N;}i:4;a:5:{s:5:\"label\";s:20:\"Social Media Manager\";s:5:\"value\";s:6:\"28 Oct\";s:4:\"meta\";N;s:4:\"href\";s:10:\"/employees\";s:4:\"tone\";N;}}}i:2;a:4:{s:3:\"key\";s:5:\"shift\";s:5:\"title\";s:14:\"On shift today\";s:4:\"href\";s:7:\"/shifts\";s:5:\"items\";a:1:{i:0;a:3:{s:5:\"label\";s:14:\"Assigned today\";s:5:\"value\";i:0;s:4:\"href\";s:7:\"/shifts\";}}}}}',1793442131),
('laravel-cache-perm_catalog_synced_at','i:1793124308;',1793210708),
('laravel-cache-pharmacy-stock-alerts:2026-10-28','b:1;',1793210399),
('laravel-cache-pharmacy-stock-alerts:2026-10-29','b:1;',1793296799),
('laravel-cache-pharmacy-stock-alerts:2026-10-30','b:1;',1793383199),
('laravel-cache-pharmacy-stock-alerts:2026-10-31','b:1;',1793469599),
('laravel-cache-pharmacy-stock-alerts:2026-11-01','b:1;',1793555999),
('laravel-cache-setting_ai_api_key','s:0:\"\";',2108701685),
('laravel-cache-setting_ai_enabled','s:1:\"0\";',2108701685),
('laravel-cache-setting_finance_alert_email','N;',2108905136),
('laravel-cache-setting_lead_gen_google_places_key','s:13:\"FAKE-test-key\";',2108701686),
('laravel-cache-setting_pharmacy_low_stock_threshold','i:10;',2108484883),
('laravel-cache-setting_pharmacy_near_expiry_days','i:90;',2108484883),
('laravel-cache-setting_pharmacy_recipients','s:0:\"\";',2108484883),
('laravel-cache-setting_pos_refund_alert_threshold','N;',2108905136),
('laravel-cache-setting_scheduled_sweeps_via_cron','N;',2108905097),
('laravel-cache-setting_site_name','s:12:\"CoreFlow ERP\";',2108485519),
('laravel-cache-setting_sms_api_key','s:0:\"\";',2108698809),
('laravel-cache-settings:public:v1','a:12:{s:9:\"site_name\";s:12:\"CoreFlow ERP\";s:10:\"site_title\";s:25:\"CoreFlow ERP One Platform\";s:11:\"theme_color\";s:6:\"indigo\";s:13:\"sidebar_color\";s:8:\"coreflow\";s:12:\"layout_style\";s:8:\"floating\";s:9:\"dark_mode\";s:1:\"1\";s:15:\"currency_symbol\";s:3:\"৳\";s:20:\"seo_robots_directive\";s:12:\"index,follow\";s:9:\"site_logo\";s:36:\"http://127.0.0.1:8000/brand/logo.png\";s:7:\"favicon\";s:39:\"http://127.0.0.1:8000/brand/favicon.png\";s:11:\"app_version\";s:5:\"2.0.0\";s:16:\"broadcast_config\";a:3:{s:7:\"enabled\";b:1;s:3:\"key\";s:20:\"a27f1169081d8034117e\";s:7:\"cluster\";s:3:\"ap2\";}}',1793544802);
/*!40000 ALTER TABLE `cache` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `cache_locks`
--

DROP TABLE IF EXISTS `cache_locks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `cache_locks` (
  `key` varchar(255) NOT NULL,
  `owner` varchar(255) NOT NULL,
  `expiration` int(11) NOT NULL,
  PRIMARY KEY (`key`),
  KEY `cache_locks_expiration_index` (`expiration`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cache_locks`
--

LOCK TABLES `cache_locks` WRITE;
/*!40000 ALTER TABLE `cache_locks` DISABLE KEYS */;
/*!40000 ALTER TABLE `cache_locks` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `calculator_ai_generations`
--

DROP TABLE IF EXISTS `calculator_ai_generations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `calculator_ai_generations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `calculator_id` bigint(20) unsigned DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `provider` varchar(40) NOT NULL,
  `model` varchar(80) NOT NULL,
  `prompt` text NOT NULL,
  `generation` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`generation`)),
  `validation` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`validation`)),
  `test_cases` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`test_cases`)),
  `documentation` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`documentation`)),
  `token_usage` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`token_usage`)),
  `cost_estimate` decimal(10,4) NOT NULL DEFAULT 0.0000,
  `status` varchar(20) NOT NULL DEFAULT 'ok',
  `error` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `calculator_ai_generations_calculator_id_foreign` (`calculator_id`),
  KEY `calculator_ai_generations_user_id_created_at_index` (`user_id`,`created_at`),
  CONSTRAINT `calculator_ai_generations_calculator_id_foreign` FOREIGN KEY (`calculator_id`) REFERENCES `calculators` (`id`) ON DELETE SET NULL,
  CONSTRAINT `calculator_ai_generations_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `calculator_ai_generations`
--

LOCK TABLES `calculator_ai_generations` WRITE;
/*!40000 ALTER TABLE `calculator_ai_generations` DISABLE KEYS */;
/*!40000 ALTER TABLE `calculator_ai_generations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `calculator_events`
--

DROP TABLE IF EXISTS `calculator_events`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `calculator_events` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `calculator_id` bigint(20) unsigned NOT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `event` varchar(30) NOT NULL,
  `channel` varchar(20) NOT NULL DEFAULT 'admin',
  `properties` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`properties`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `calculator_events_user_id_foreign` (`user_id`),
  KEY `calculator_events_calculator_id_event_index` (`calculator_id`,`event`),
  KEY `calculator_events_created_at_index` (`created_at`),
  CONSTRAINT `calculator_events_calculator_id_foreign` FOREIGN KEY (`calculator_id`) REFERENCES `calculators` (`id`) ON DELETE CASCADE,
  CONSTRAINT `calculator_events_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `calculator_events`
--

LOCK TABLES `calculator_events` WRITE;
/*!40000 ALTER TABLE `calculator_events` DISABLE KEYS */;
/*!40000 ALTER TABLE `calculator_events` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `calculator_fields`
--

DROP TABLE IF EXISTS `calculator_fields`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `calculator_fields` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `calculator_id` bigint(20) unsigned NOT NULL,
  `key` varchar(80) NOT NULL,
  `label` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `kind` varchar(20) NOT NULL DEFAULT 'variable',
  `type` varchar(30) NOT NULL DEFAULT 'number',
  `input_widget` varchar(30) DEFAULT NULL,
  `options` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`options`)),
  `unit` varchar(30) DEFAULT NULL,
  `currency` varchar(10) DEFAULT NULL,
  `default_value` decimal(20,6) DEFAULT NULL,
  `default_text` varchar(255) DEFAULT NULL,
  `min_value` decimal(20,6) DEFAULT NULL,
  `max_value` decimal(20,6) DEFAULT NULL,
  `step` decimal(20,6) DEFAULT NULL,
  `precision` smallint(5) unsigned NOT NULL DEFAULT 2,
  `required` tinyint(1) NOT NULL DEFAULT 1,
  `hidden` tinyint(1) NOT NULL DEFAULT 0,
  `formula` varchar(2000) DEFAULT NULL,
  `sort_order` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `calculator_fields_calculator_id_key_unique` (`calculator_id`,`key`),
  KEY `calculator_fields_calculator_id_kind_index` (`calculator_id`,`kind`),
  CONSTRAINT `calculator_fields_calculator_id_foreign` FOREIGN KEY (`calculator_id`) REFERENCES `calculators` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=6293 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `calculator_fields`
--

LOCK TABLES `calculator_fields` WRITE;
/*!40000 ALTER TABLE `calculator_fields` DISABLE KEYS */;
INSERT INTO `calculator_fields` VALUES
(1,1,'amount','Loan amount',NULL,'variable','number',NULL,NULL,'currency',NULL,1000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(2,1,'rate','Annual interest rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(3,1,'months','Loan term (months)',NULL,'variable','number',NULL,NULL,'months',NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(4,1,'emi','Monthly payment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((amount * (rate/100/12) * pow(1+rate/100/12, months)) / (pow(1+rate/100/12, months)-1), 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(5,1,'total','Total repayment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(emi * months, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(6,1,'interest','Total interest',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(emi * months - amount, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(7,2,'income','Monthly net income',NULL,'variable','number',NULL,NULL,'currency',NULL,150000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(8,2,'obligations','Existing monthly debt payments',NULL,'variable','number',NULL,NULL,'currency',NULL,20000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(9,2,'share','Max installment share of income (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(10,2,'rate','Annual interest rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(11,2,'months','Loan term (months)',NULL,'variable','number',NULL,NULL,'months',NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(12,2,'capacity','Affordable monthly payment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, income * share/100 - obligations), 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(13,2,'loan','Affordable loan amount',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, income * share/100 - obligations) * (pow(1+rate/100/12, months)-1) / ((rate/100/12) * pow(1+rate/100/12, months)), 0)',6,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(14,3,'amount','Loan amount',NULL,'variable','number',NULL,NULL,'currency',NULL,1000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(15,3,'rate','Annual interest rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(16,3,'emi','Monthly payment',NULL,'variable','number',NULL,NULL,'currency',NULL,25000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(17,3,'first_interest','First month interest',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(amount * rate/100/12, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(18,3,'first_principal','First month principal',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, emi - amount * rate/100/12), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(19,3,'months_to_zero','Months to repay (approx.)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(emi <= amount * rate/100/12, 0, ceil(-ln(1 - (amount*rate/100/12)/emi) / ln(1 + rate/100/12)))',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(20,4,'principal','Principal',NULL,'variable','number',NULL,NULL,'currency',NULL,500000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(21,4,'rate','Annual rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(22,4,'years','Years',NULL,'variable','number',NULL,NULL,'years',NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(23,4,'per_year','Compounds per year',NULL,'variable','number',NULL,NULL,'/year',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(24,4,'future_value','Future value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(principal * pow(1 + rate/100/per_year, per_year * years), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(25,4,'interest_earned','Interest earned',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(principal * pow(1 + rate/100/per_year, per_year * years) - principal, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(26,5,'principal','Principal',NULL,'variable','number',NULL,NULL,'currency',NULL,500000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(27,5,'rate','Annual rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(28,5,'months','Duration (months)',NULL,'variable','number',NULL,NULL,'months',NULL,24.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(29,5,'interest','Interest',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(principal * rate/100 * months/12, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(30,5,'total','Total due',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(principal * (1 + rate/100 * months/12), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(31,6,'cost','Total investment cost',NULL,'variable','number',NULL,NULL,'currency',NULL,100000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(32,6,'gain','Total gain / return',NULL,'variable','number',NULL,NULL,'currency',NULL,165000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(33,6,'roi','ROI',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((gain - cost) / max(cost, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(34,6,'net','Net profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(gain - cost, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(35,7,'start','Starting value',NULL,'variable','number',NULL,NULL,'currency',NULL,100000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(36,7,'end','Ending value',NULL,'variable','number',NULL,NULL,'currency',NULL,260000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(37,7,'years','Years',NULL,'variable','number',NULL,NULL,'years',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(38,7,'cagr','CAGR',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(start > 0 and years > 0, round((pow(end/start, 1/years) - 1) * 100, 2), 0)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(39,8,'fixed','Fixed costs / month',NULL,'variable','number',NULL,NULL,'currency',NULL,400000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(40,8,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(41,8,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(42,8,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(43,8,'units','Break-even units/month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(44,8,'revenue','Break-even revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(45,9,'buy_price','Purchase price',NULL,'variable','number',NULL,NULL,'currency',NULL,2000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(46,9,'salvage','Resale value after years',NULL,'variable','number',NULL,NULL,'currency',NULL,400000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(47,9,'years','Ownership years',NULL,'variable','number',NULL,NULL,'years',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(48,9,'lease','Monthly lease payment',NULL,'variable','number',NULL,NULL,'currency',NULL,40000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(49,9,'maint','Monthly ownership running cost',NULL,'variable','number',NULL,NULL,'currency',NULL,5000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(50,9,'buy_cost','Net cost of buying',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(buy_price - salvage + maint * 12 * years, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(51,9,'lease_cost','Total cost of leasing',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lease * 12 * years, 2)',6,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(52,9,'verdict','Cheaper option cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(min(buy_price - salvage + maint * 12 * years, lease * 12 * years), 2)',7,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(53,10,'balance','Outstanding balance',NULL,'variable','number',NULL,NULL,'currency',NULL,500000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(54,10,'apr','Annual rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,18.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(55,10,'payment','Monthly payment',NULL,'variable','number',NULL,NULL,'currency',NULL,25000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(56,10,'months','Months to payoff',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(payment <= balance * apr/100/12, 0, ceil(-ln(1 - (balance*apr/100/12)/payment) / ln(1 + apr/100/12)))',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(57,10,'total_paid','Total paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(payment <= balance * apr/100/12, 0, round(payment * ceil(-ln(1 - (balance*apr/100/12)/payment) / ln(1 + apr/100/12)), 2))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(58,11,'revenue','Annual revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,12000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(59,11,'cogs_ratio','COGS as % of revenue',NULL,'variable','number',NULL,NULL,NULL,NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(60,11,'dso','Days sales outstanding',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(61,11,'dio','Days inventory outstanding',NULL,'variable','number',NULL,NULL,'days',NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(62,11,'dpo','Days payables outstanding',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(63,11,'ccc','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(dso + dio - dpo, 1)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(64,11,'working_capital','Working capital needed',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue/365 * (dso + dio - dpo), 2)',6,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(65,12,'invoice','Invoice amount',NULL,'variable','number',NULL,NULL,'currency',NULL,100000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(66,12,'rate','Monthly penalty (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(67,12,'days','Days overdue',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(68,12,'fee','Late fee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(invoice * rate/100 * days/30, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(69,12,'total','Total to collect',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(invoice + invoice * rate/100 * days/30, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(70,13,'revenue','Annual revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,10000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(71,13,'multiple','Revenue multiple (x)',NULL,'variable','number',NULL,NULL,'x',NULL,1.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(72,13,'valuation','Estimated valuation',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * multiple, 0)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(73,14,'ebitda','Annual EBITDA / net profit',NULL,'variable','number',NULL,NULL,'currency',NULL,2400000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(74,14,'multiple','Earnings multiple (x)',NULL,'variable','number',NULL,NULL,'x',NULL,4.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(75,14,'valuation','Estimated valuation',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ebitda * multiple, 0)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(76,15,'investment','Initial investment',NULL,'variable','number',NULL,NULL,'currency',NULL,1000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(77,15,'inflow','Annual net cash inflow',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(78,15,'rate','Discount rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(79,15,'years','Years',NULL,'variable','number',NULL,NULL,'years',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(80,15,'pv','PV of inflows',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inflow * (1 - pow(1 + rate/100, -years)) / (rate/100), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(81,15,'npv','NPV',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inflow * (1 - pow(1 + rate/100, -years)) / (rate/100) - investment, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(82,15,'viable','NPV positive (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(inflow * (1 - pow(1 + rate/100, -years)) / (rate/100) - investment > 0, 1, 0)',6,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(83,16,'investment','Initial investment',NULL,'variable','number',NULL,NULL,'currency',NULL,1000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(84,16,'inflow','Annual net cash inflow',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(85,16,'years','Payback period',NULL,'output','decimal',NULL,NULL,'years',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(investment / max(inflow, 1), 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(86,16,'months','Payback in months',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(investment / max(inflow, 1) * 12, 1)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(87,17,'investment','Initial investment',NULL,'variable','number',NULL,NULL,'currency',NULL,1000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(88,17,'salvage','Salvage value',NULL,'variable','number',NULL,NULL,'currency',NULL,100000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(89,17,'profit','Average annual profit',NULL,'variable','number',NULL,NULL,'currency',NULL,180000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(90,17,'arr','Accounting rate of return',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(profit / max((investment + salvage) / 2, 1) * 100, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(91,18,'principal','Initial amount',NULL,'variable','number',NULL,NULL,'currency',NULL,200000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(92,18,'monthly','Monthly contribution',NULL,'variable','number',NULL,NULL,'currency',NULL,10000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(93,18,'rate','Annual return (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(94,18,'years','Years',NULL,'variable','number',NULL,NULL,'years',NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(95,18,'fv_principal','FV of initial amount',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(principal * pow(1 + rate/100, years), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(96,18,'fv_contrib','FV of contributions',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(rate == 0, monthly * 12 * years, round(monthly * 12 * (pow(1 + rate/100, years) - 1) / (rate/100), 2))',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(97,18,'total','Total future value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(principal * pow(1 + rate/100, years) + (if(rate == 0, monthly * 12 * years, monthly * 12 * (pow(1 + rate/100, years) - 1) / (rate/100))), 2)',6,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(98,19,'future','Future value',NULL,'variable','number',NULL,NULL,'currency',NULL,1000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(99,19,'rate','Discount rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(100,19,'years','Years',NULL,'variable','number',NULL,NULL,'years',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(101,19,'pv','Present value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(future / pow(1 + rate/100, years), 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(102,20,'pre_money','Pre-money valuation',NULL,'variable','number',NULL,NULL,'currency',NULL,8000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(103,20,'raise','Investment amount',NULL,'variable','number',NULL,NULL,'currency',NULL,2000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(104,20,'founder_pct','Current founder ownership (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(105,20,'post_money','Post-money valuation',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(pre_money + raise, 0)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(106,20,'investor_pct','Investor ownership',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(raise / max(pre_money + raise, 1) * 100, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(107,20,'founder_after','Founder ownership after',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(founder_pct * (1 - raise/(pre_money + raise)), 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(108,21,'profit','Distributable net profit',NULL,'variable','number',NULL,NULL,'currency',NULL,5000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(109,21,'payout_pct','Payout ratio (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(110,21,'shares','Shares outstanding',NULL,'variable','number',NULL,NULL,'shares',NULL,1000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(111,21,'payout','Total dividend',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(profit * payout_pct/100, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(112,21,'per_share','Dividend per share',NULL,'output','decimal',NULL,NULL,'currency/share',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(profit * payout_pct/100 / max(shares, 1), 4)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(113,22,'cost','Unit cost',NULL,'variable','number',NULL,NULL,'currency',NULL,1000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(114,22,'markup','Markup (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(115,22,'price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup/100), 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(116,22,'profit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup/100, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(117,23,'price','Selling price',NULL,'variable','number',NULL,NULL,'currency',NULL,1500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(118,23,'cost','Unit cost',NULL,'variable','number',NULL,NULL,'currency',NULL,1000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(119,23,'profit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(120,23,'margin','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(121,24,'fixed','Fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(122,24,'units','Expected units sold',NULL,'variable','number',NULL,NULL,'units',NULL,1000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(123,24,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(124,24,'markup_pct','Safety markup (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(125,24,'breakeven_price','Break-even price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(fixed / max(units, 1) + variable, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(126,24,'safe_price','Price with safety markup',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((fixed / max(units, 1) + variable) * (1 + markup_pct/100), 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(127,25,'price','Original price',NULL,'variable','number',NULL,NULL,'currency',NULL,5000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(128,25,'discount','Discount (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(129,25,'final','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount/100), 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(130,25,'saved','You save',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * discount/100, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(131,26,'leads','Leads received',NULL,'variable','number',NULL,NULL,'leads',NULL,400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(132,26,'deals','Deals won',NULL,'variable','number',NULL,NULL,'deals',NULL,52.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(133,26,'rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(deals / max(leads, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(134,26,'leads_per_deal','Leads needed per deal',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(leads / max(deals, 1), 1)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(135,27,'revenue','Revenue in period',NULL,'variable','number',NULL,NULL,'currency',NULL,2000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(136,27,'deals','Deals closed',NULL,'variable','number',NULL,NULL,'deals',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(137,27,'avg_deal','Average deal size',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(deals, 1), 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(138,27,'commission','Commission at 5%',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(deals, 1) * 0.05, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(139,28,'won','Opportunities won',NULL,'variable','number',NULL,NULL,NULL,NULL,18.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(140,28,'lost','Opportunities lost',NULL,'variable','number',NULL,NULL,NULL,NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(141,28,'win_rate','Win rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(won / max(won + lost, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(142,29,'qty','Quantity',NULL,'variable','number',NULL,NULL,'units',NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(143,29,'unit','Unit price',NULL,'variable','number',NULL,NULL,'currency',NULL,2500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(144,29,'discount','Discount (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(145,29,'tax','Tax / VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(146,29,'gross','Gross amount',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(qty * unit, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(147,29,'after_disc','After discount',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(qty * unit * (1 - discount/100), 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(148,29,'total','Total with tax',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(qty * unit * (1 - discount/100) * (1 + tax/100), 2)',6,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(149,30,'sales','Sales amount',NULL,'variable','number',NULL,NULL,'currency',NULL,1500000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(150,30,'base','Base commission (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(151,30,'bonus','Bonus above quota (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(152,30,'quota','Sales quota',NULL,'variable','number',NULL,NULL,'currency',NULL,1000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(153,30,'base_comm','Base commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(sales * base/100, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(154,30,'bonus_comm','Bonus commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, sales - quota) * bonus/100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(155,30,'total_comm','Total commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(sales * base/100 + max(0, sales - quota) * bonus/100, 2)',6,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(156,31,'normal_price','Normal price',NULL,'variable','number',NULL,NULL,'currency',NULL,3000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(157,31,'markdown_pct','Markdown (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,20.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(158,31,'planned_units','Planned units at normal price',NULL,'variable','number',NULL,NULL,'units',NULL,500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(159,31,'new_price','Markdown price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(normal_price * (1 - markdown_pct/100), 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(160,31,'units_needed','Units needed for same revenue',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(planned_units * normal_price / max(normal_price * (1 - markdown_pct/100), 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(161,31,'extra_units','Extra units required',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'max(0, ceil(planned_units * normal_price / max(normal_price * (1 - markdown_pct/100), 0.01)) - planned_units)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(162,32,'before','Revenue, previous period',NULL,'variable','number',NULL,NULL,'currency',NULL,800000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(163,32,'after','Revenue, current period',NULL,'variable','number',NULL,NULL,'currency',NULL,960000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(164,32,'growth','Growth rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((after - before) / max(before, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(165,32,'delta','Revenue delta',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(after - before, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(166,33,'price','Selling price',NULL,'variable','number',NULL,NULL,'currency',NULL,2200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(167,33,'cost','Product cost',NULL,'variable','number',NULL,NULL,'currency',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(168,33,'fees','Platform/payment fees + tax (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(169,33,'shipping','Shipping & packaging',NULL,'variable','number',NULL,NULL,'currency',NULL,150.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(170,33,'fees_amount','Fees amount',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * fees/100, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(171,33,'profit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - price * fees/100 - cost - shipping, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(172,33,'margin','Margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - price*fees/100 - cost - shipping) / max(price, 0.01) * 100, 2)',6,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(173,34,'price','Customer pays',NULL,'variable','number',NULL,NULL,'currency',NULL,3500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(174,34,'supplier','Supplier cost + shipping',NULL,'variable','number',NULL,NULL,'currency',NULL,1800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(175,34,'ads','Ad cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,700.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(176,34,'fees_pct','Payment/platform fees (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(177,34,'profit','Profit per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - fees_pct/100) - supplier - ads, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(178,34,'margin','Profit margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price * (1 - fees_pct/100) - supplier - ads) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(179,35,'aov','Average order value',NULL,'variable','number',NULL,NULL,'currency',NULL,2500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(180,35,'orders_year','Orders per year',NULL,'variable','number',NULL,NULL,'orders',NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(181,35,'years','Customer lifespan (years)',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(182,35,'margin','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,55.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(183,35,'clv','Customer lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(aov * orders_year * years * margin/100, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(184,35,'clv_gross','CLV (gross revenue)',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(aov * orders_year * years, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(185,36,'spend','Total acquisition spend',NULL,'variable','number',NULL,NULL,'currency',NULL,500000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(186,36,'marketing','Sales & marketing overhead',NULL,'variable','number',NULL,NULL,'currency',NULL,100000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(187,36,'new_customers','New customers acquired',NULL,'variable','number',NULL,NULL,'customers',NULL,150.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(188,36,'cac','CAC',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((spend + marketing) / max(new_customers, 1), 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(189,37,'clv','Customer lifetime value',NULL,'variable','number',NULL,NULL,'currency',NULL,24000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(190,37,'cac','Customer acquisition cost',NULL,'variable','number',NULL,NULL,'currency',NULL,6000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(191,37,'ratio','LTV:CAC ratio',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(clv / max(cac, 1), 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(192,37,'verdict','Healthy (≥3) (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(clv / max(cac, 1) >= 3, 1, 0)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(193,38,'revenue','Attributed revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1200000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(194,38,'ad_spend','Ad spend',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(195,38,'roas','ROAS',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(ad_spend, 1), 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(196,38,'profit_pct','Effective return',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - ad_spend) / max(ad_spend, 1) * 100, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(197,39,'cogs','Annual COGS',NULL,'variable','number',NULL,NULL,'currency',NULL,8000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(198,39,'avg_inventory','Average inventory value',NULL,'variable','number',NULL,NULL,'currency',NULL,1500000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(199,39,'turnover','Inventory turnover',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(200,39,'days','Days of inventory',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(201,40,'sold','Units sold',NULL,'variable','number',NULL,NULL,'units',NULL,800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(202,40,'received','Units received',NULL,'variable','number',NULL,NULL,'units',NULL,1000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(203,40,'rate','Sell-through rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(sold / max(received, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(204,40,'remaining','Units remaining',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'max(0, received - sold)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(205,41,'sessions','Monthly sessions',NULL,'variable','number',NULL,NULL,NULL,NULL,50000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(206,41,'conv_with_cart','Sessions creating a cart (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(207,41,'abandon_pct','Cart abandonment (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,70.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(208,41,'aov','Average order value',NULL,'variable','number',NULL,NULL,'currency',NULL,2200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(209,41,'carts','Carts created/month',NULL,'output','decimal',NULL,NULL,'carts',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(sessions * conv_with_cart/100, 0)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(210,41,'lost_revenue','Lost revenue/month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(sessions * conv_with_cart/100 * abandon_pct/100 * aov, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(211,41,'at_recovered','Recovering 20% is worth',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(sessions * conv_with_cart/100 * abandon_pct/100 * aov * 0.2, 2)',6,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(212,42,'shipping','Average shipping cost',NULL,'variable','number',NULL,NULL,'currency',NULL,180.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(213,42,'aov','Average order value',NULL,'variable','number',NULL,NULL,'currency',NULL,2200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(214,42,'margin','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(215,42,'cap_pct','Max share of margin for shipping (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(216,42,'min_free_order','Minimum order for free shipping',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(shipping / max(margin/100, 0.01), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(217,42,'threshold','Threshold at margin-share cap',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(shipping * 100 / (max(margin, 0.1) * cap_pct/100 * 100) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(218,43,'spend','Campaign spend',NULL,'variable','number',NULL,NULL,'currency',NULL,150000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(219,43,'impressions','Impressions',NULL,'variable','number',NULL,NULL,'impressions',NULL,2500000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(220,43,'cpm','CPM',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(spend / max(impressions, 1) * 1000, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(221,44,'spend','Campaign spend',NULL,'variable','number',NULL,NULL,'currency',NULL,150000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(222,44,'clicks','Clicks',NULL,'variable','number',NULL,NULL,'clicks',NULL,9000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(223,44,'cpc','CPC',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(spend / max(clicks, 1), 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(224,45,'spend','Campaign spend',NULL,'variable','number',NULL,NULL,'currency',NULL,150000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(225,45,'conversions','Acquisitions / conversions',NULL,'variable','number',NULL,NULL,'conversions',NULL,400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(226,45,'cpa','CPA',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(spend / max(conversions, 1), 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(227,46,'impressions','Impressions',NULL,'variable','number',NULL,NULL,NULL,NULL,2500000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(228,46,'clicks','Clicks',NULL,'variable','number',NULL,NULL,NULL,NULL,12500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(229,46,'ctr','CTR',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(clicks / max(impressions, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(230,47,'sent','Emails delivered',NULL,'variable','number',NULL,NULL,'emails',NULL,20000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(231,47,'opens','Unique opens',NULL,'variable','number',NULL,NULL,'opens',NULL,6000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(232,47,'clicks','Unique clicks',NULL,'variable','number',NULL,NULL,'clicks',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(233,47,'open_rate','Open rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(opens / max(sent, 1) * 100, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(234,47,'ctr','Click rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(clicks / max(sent, 1) * 100, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(235,47,'ctor','Click-to-open rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(clicks / max(opens, 1) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(236,48,'revenue','Revenue from marketing',NULL,'variable','number',NULL,NULL,'currency',NULL,2000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(237,48,'spend','Total marketing spend',NULL,'variable','number',NULL,NULL,'currency',NULL,500000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(238,48,'cogs_ratio','COGS as % of revenue',NULL,'variable','number',NULL,NULL,NULL,NULL,55.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(239,48,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 - cogs_ratio/100), 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(240,48,'mroi','Marketing ROI',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue * (1 - cogs_ratio/100) - spend) / max(spend, 1) * 100, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(241,49,'leads','Leads generated',NULL,'variable','number',NULL,NULL,'leads',NULL,800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(242,49,'customers','Customers converted',NULL,'variable','number',NULL,NULL,'customers',NULL,120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(243,49,'rate','Lead-to-customer rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(leads, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(244,49,'leads_needed','Leads needed per customer',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(leads / max(customers, 1), 1)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(245,50,'followers','Followers / audience',NULL,'variable','number',NULL,NULL,NULL,NULL,50000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(246,50,'interactions','Likes + comments + shares',NULL,'variable','number',NULL,NULL,NULL,NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(247,50,'rate','Engagement rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(interactions / max(followers, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(248,51,'sessions','Sessions / visitors',NULL,'variable','number',NULL,NULL,NULL,NULL,40000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(249,51,'conversions','Conversions',NULL,'variable','number',NULL,NULL,NULL,NULL,800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(250,51,'rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(conversions / max(sessions, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(251,52,'budget','Total monthly budget',NULL,'variable','number',NULL,NULL,'currency',NULL,400000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(252,52,'pct_ads','Paid ads (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(253,52,'pct_content','Content & SEO (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(254,52,'pct_email','Email & CRM (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(255,52,'pct_other','Other (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,20.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(256,52,'ads','Paid ads budget',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(budget * pct_ads/100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(257,52,'content','Content & SEO budget',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(budget * pct_content/100, 2)',6,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(258,52,'email','Email & CRM budget',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(budget * pct_email/100, 2)',7,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(259,52,'other','Other budget',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(budget * pct_other/100, 2)',8,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(260,53,'monthly','Monthly gross salary',NULL,'variable','number',NULL,NULL,'currency',NULL,60000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(261,53,'hours_week','Work hours per week',NULL,'variable','number',NULL,NULL,'hours',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(262,53,'weeks_month','Paid weeks per month',NULL,'variable','number',NULL,NULL,'weeks',NULL,4.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(263,53,'hourly','Hourly rate',NULL,'output','decimal',NULL,NULL,'currency/hour',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(monthly / (hours_week * weeks_month), 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(264,54,'hourly','Hourly rate',NULL,'variable','number',NULL,NULL,'currency/hour',NULL,350.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(265,54,'hours_week','Hours per week',NULL,'variable','number',NULL,NULL,'hours',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(266,54,'weeks_year','Paid weeks per year',NULL,'variable','number',NULL,NULL,'weeks',NULL,52.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(267,54,'annual','Annual salary',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(hourly * hours_week * weeks_year, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(268,54,'monthly','Monthly salary',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(hourly * hours_week * weeks_year / 12, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(269,55,'hourly','Base hourly rate',NULL,'variable','number',NULL,NULL,'currency/hour',NULL,350.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(270,55,'ot_hours','Overtime hours',NULL,'variable','number',NULL,NULL,'hours',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(271,55,'multiplier','Overtime multiplier (x)',NULL,'variable','number',NULL,NULL,'x',NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(272,55,'ot_rate','Overtime rate',NULL,'output','decimal',NULL,NULL,'currency/hour',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(hourly * multiplier, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(273,55,'ot_pay','Overtime pay',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(hourly * multiplier * ot_hours, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(274,56,'salary','Annual gross salary',NULL,'variable','number',NULL,NULL,'currency',NULL,720000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(275,56,'benefits_pct','Benefits load (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(276,56,'tax_pct','Payroll tax / employer load (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(277,56,'equipment','Equipment & software / year',NULL,'variable','number',NULL,NULL,'currency',NULL,60000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(278,56,'total','Fully-loaded annual cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(salary * (1 + benefits_pct/100 + tax_pct/100) + equipment, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(279,56,'monthly','Fully-loaded monthly cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((salary * (1 + benefits_pct/100 + tax_pct/100) + equipment) / 12, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(280,57,'departures','Employees who left (year)',NULL,'variable','number',NULL,NULL,'people',NULL,14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(281,57,'headcount','Average headcount',NULL,'variable','number',NULL,NULL,'people',NULL,120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(282,57,'rate','Turnover rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(departures / max(headcount, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(283,57,'monthly','Monthly departures (avg)',NULL,'output','decimal',NULL,NULL,'people',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(departures / 12, 1)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(284,58,'departures','Departures per year',NULL,'variable','number',NULL,NULL,'people',NULL,14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(285,58,'salary','Average annual salary',NULL,'variable','number',NULL,NULL,'currency',NULL,720000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(286,58,'replace_pct','Replacement cost as % of salary',NULL,'variable','number',NULL,NULL,NULL,NULL,50.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(287,58,'per_person','Cost per departure',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(salary * replace_pct/100, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(288,58,'annual_cost','Annual turnover cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(departures * salary * replace_pct/100, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(289,59,'cost','Training cost',NULL,'variable','number',NULL,NULL,'currency',NULL,200000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(290,59,'employees','Employees trained',NULL,'variable','number',NULL,NULL,'people',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(291,59,'value_each','Annual productivity value per employee',NULL,'variable','number',NULL,NULL,'currency',NULL,40000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(292,59,'total_value','Total annual value created',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(employees * value_each, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(293,59,'roi','Training ROI',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((employees * value_each - cost) / max(cost, 1) * 100, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(294,60,'lost_days','Absent days in period',NULL,'variable','number',NULL,NULL,'days',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(295,60,'workdays','Scheduled workdays (all staff)',NULL,'variable','number',NULL,NULL,'days',NULL,8000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(296,60,'rate','Absenteeism rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_days / max(workdays, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(297,61,'offers','Offers extended',NULL,'variable','number',NULL,NULL,'offers',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(298,61,'accepted','Offers accepted',NULL,'variable','number',NULL,NULL,'offers',NULL,24.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(299,61,'rate','Offer acceptance rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(accepted / max(offers, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(300,62,'salary','Annual gross salary',NULL,'variable','number',NULL,NULL,'currency',NULL,720000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(301,62,'target_pct','Target bonus (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(302,62,'achievement','Achievement vs target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,110.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(303,62,'cap_pct','Bonus cap (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,20.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(304,62,'bonus','Estimated bonus',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(min(salary * target_pct/100 * achievement/100, salary * cap_pct/100), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(305,63,'net','Net price',NULL,'variable','number',NULL,NULL,'currency',NULL,10000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(306,63,'rate','VAT / GST rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(307,63,'tax','VAT / GST amount',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(net * rate/100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(308,63,'gross','Gross price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(net * (1 + rate/100), 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(309,64,'gross','Gross (VAT-inclusive) price',NULL,'variable','number',NULL,NULL,'currency',NULL,11500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(310,64,'rate','VAT / GST rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(311,64,'net','Net price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(gross / (1 + rate/100), 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(312,64,'tax','VAT / GST amount',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(gross - gross / (1 + rate/100), 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(313,65,'income','Taxable annual income',NULL,'variable','number',NULL,NULL,'currency',NULL,900000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(314,65,'rate','Effective tax rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(315,65,'deduction','Deductions / allowance',NULL,'variable','number',NULL,NULL,'currency',NULL,50000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(316,65,'base','Taxable base',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, income - deduction), 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(317,65,'tax','Estimated tax',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, income - deduction) * rate/100, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(318,65,'take_home','Net after tax',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(income - max(0, income - deduction) * rate/100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(319,66,'profit','Taxable profit',NULL,'variable','number',NULL,NULL,'currency',NULL,3000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(320,66,'rate','Corporate tax rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(321,66,'tax','Corporate tax',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, profit) * rate/100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(322,66,'net_profit','Profit after tax',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(profit - max(0, profit) * rate/100, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(323,67,'profit','Annual net profit / income',NULL,'variable','number',NULL,NULL,'currency',NULL,1200000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(324,67,'rate','Self-employment contribution rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(325,67,'cap','Taxable ceiling',NULL,'variable','number',NULL,NULL,'currency',NULL,2000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(326,67,'base','Taxable base',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(min(profit, cap), 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(327,67,'tax','Contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(min(profit, cap) * rate/100, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(328,68,'buy','Purchase price',NULL,'variable','number',NULL,NULL,'currency',NULL,1500000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(329,68,'sell','Sale price',NULL,'variable','number',NULL,NULL,'currency',NULL,2100000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(330,68,'rate','Gains tax rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(331,68,'expenses','Selling expenses',NULL,'variable','number',NULL,NULL,'currency',NULL,30000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(332,68,'gain','Capital gain',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(sell - buy - expenses, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(333,68,'tax','Tax on gain',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, sell - buy - expenses) * rate/100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(334,68,'net','Net after tax',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(sell - buy - expenses - max(0, sell - buy - expenses) * rate/100, 2)',6,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(335,69,'gross','Monthly gross payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,1000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(336,69,'pension_pct','Pension / provident (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(337,69,'other_pct','Other employer charges (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(338,69,'monthly_cost','Monthly employer cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(gross * (pension_pct + other_pct)/100, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(339,69,'annual_cost','Annual employer cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(gross * (pension_pct + other_pct)/100 * 12, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(340,70,'tax_paid','Total tax paid',NULL,'variable','number',NULL,NULL,'currency',NULL,180000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(341,70,'income','Total income',NULL,'variable','number',NULL,NULL,'currency',NULL,900000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(342,70,'effective_rate','Effective tax rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(tax_paid / max(income, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(343,71,'demand','Annual demand (units)',NULL,'variable','number',NULL,NULL,'units',NULL,12000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(344,71,'order_cost','Ordering cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,2500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(345,71,'holding','Holding cost per unit/year',NULL,'variable','number',NULL,NULL,'currency',NULL,120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(346,71,'eoq','Economic order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(sqrt(2 * demand * order_cost / max(holding, 0.01)), 0)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(347,71,'orders_year','Orders per year',NULL,'output','decimal',NULL,NULL,'orders',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(demand / max(sqrt(2 * demand * order_cost / max(holding, 0.01)), 1), 1)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(348,72,'daily_demand','Average daily demand',NULL,'variable','number',NULL,NULL,'units/day',NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(349,72,'lead_days','Supplier lead time (days)',NULL,'variable','number',NULL,NULL,'days',NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(350,72,'safety','Safety stock',NULL,'variable','number',NULL,NULL,'units',NULL,200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(351,72,'rop','Reorder point',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_demand * lead_days + safety, 0)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(352,73,'daily_demand','Average daily demand',NULL,'variable','number',NULL,NULL,'units/day',NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(353,73,'sigma_d','Demand std deviation (daily)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(354,73,'lead_days','Average lead time (days)',NULL,'variable','number',NULL,NULL,'days',NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(355,73,'sigma_lt','Lead time std deviation (days)',NULL,'variable','number',NULL,NULL,'days',NULL,2.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(356,73,'z','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(357,73,'safety','Safety stock',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(z * sqrt(lead_days * pow(sigma_d, 2) + pow(daily_demand, 2) * pow(sigma_lt, 2)), 0)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(358,74,'avg_inventory','Average inventory value',NULL,'variable','number',NULL,NULL,'currency',NULL,1500000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(359,74,'cogs','Annual COGS',NULL,'variable','number',NULL,NULL,'currency',NULL,8000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(360,74,'dio','Days inventory outstanding',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(avg_inventory / max(cogs, 1) * 365, 1)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(361,75,'actual','Actual output (-period)',NULL,'variable','number',NULL,NULL,'units',NULL,18000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(362,75,'capacity','Design capacity (period)',NULL,'variable','number',NULL,NULL,'units',NULL,22000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(363,75,'utilization','Capacity utilization',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(actual / max(capacity, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(364,75,'slack','Idle capacity (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'max(0, capacity - actual)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(365,76,'availability','Availability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,92.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(366,76,'performance','Performance (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,88.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(367,76,'quality','Quality (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,97.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(368,76,'oee','OEE score',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(availability * performance * quality / 10000, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(369,76,'world_class','Meets 85% world-class (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(availability * performance * quality / 10000 >= 85, 1, 0)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(370,77,'hours','Downtime hours',NULL,'variable','number',NULL,NULL,'hours',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(371,77,'per_hour','Lost profit per hour',NULL,'variable','number',NULL,NULL,'currency/hour',NULL,35000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(372,77,'labor','Standing labor cost per hour',NULL,'variable','number',NULL,NULL,'currency/hour',NULL,3000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(373,77,'lost','Lost output value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(hours * per_hour, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(374,77,'labor_cost','Standing labor cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(hours * labor, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(375,77,'total','Total downtime cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(hours * (per_hour + labor), 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(376,78,'materials','Materials per batch',NULL,'variable','number',NULL,NULL,'currency',NULL,600000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(377,78,'labor','Labor per batch',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(378,78,'overhead','Overhead per batch',NULL,'variable','number',NULL,NULL,'currency',NULL,150000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(379,78,'units','Units per batch',NULL,'variable','number',NULL,NULL,'units',NULL,1000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(380,78,'batch_cost','Total batch cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(materials + labor + overhead, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(381,78,'unit_cost','Cost per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((materials + labor + overhead) / max(units, 1), 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(382,79,'units','Units produced',NULL,'variable','number',NULL,NULL,'units',NULL,10000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(383,79,'defect_pct','Defect rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(384,79,'unit_cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(385,79,'reworkable_pct','Reworkable share of defects (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(386,79,'rework_cost','Rework cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(387,79,'scrap_units','Defective units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * defect_pct/100, 0)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(388,79,'scrap_cost','Scrap cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * defect_pct/100 * (1 - reworkable_pct/100) * unit_cost, 2)',6,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(389,79,'rework_total','Rework cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * defect_pct/100 * reworkable_pct/100 * rework_cost, 2)',7,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(390,79,'total','Total quality cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * defect_pct/100 * (1 - reworkable_pct/100) * unit_cost + units * defect_pct/100 * reworkable_pct/100 * rework_cost, 2)',8,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(391,80,'available','Available production time (minutes/day)',NULL,'variable','number',NULL,NULL,'min/day',NULL,480.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(392,80,'breaks','Breaks & changeover (minutes/day)',NULL,'variable','number',NULL,NULL,'min/day',NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(393,80,'demand','Daily customer demand',NULL,'variable','number',NULL,NULL,'units/day',NULL,220.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(394,80,'net_time','Net available time',NULL,'output','decimal',NULL,NULL,'min/day',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(available - breaks, 1)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(395,80,'takt','Takt time (min/unit)',NULL,'output','decimal',NULL,NULL,'min/unit',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((available - breaks) / max(demand, 1), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(396,81,'price','Property price',NULL,'variable','number',NULL,NULL,'currency',NULL,8000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(397,81,'down_pct','Down payment (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,20.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(398,81,'rate','Annual interest rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(399,81,'years','Loan term (years)',NULL,'variable','number',NULL,NULL,'years',NULL,20.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(400,81,'loan','Loan amount',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - down_pct/100), 0)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(401,81,'monthly','Monthly payment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price * (1 - down_pct/100)) * (rate/100/12) * pow(1+rate/100/12, years*12) / (pow(1+rate/100/12, years*12)-1), 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(402,81,'total_interest','Total interest',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price * (1 - down_pct/100)) * (rate/100/12) * pow(1+rate/100/12, years*12) / (pow(1+rate/100/12, years*12)-1) * years*12 - price * (1 - down_pct/100), 2)',6,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(403,82,'noi','Net operating income (annual)',NULL,'variable','number',NULL,NULL,'currency',NULL,960000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(404,82,'price','Purchase price',NULL,'variable','number',NULL,NULL,'currency',NULL,12000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(405,82,'cap_rate','Cap rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(noi / max(price, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(406,82,'value_at_cap','Value at target 6% cap',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(noi / 0.06, 0)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(407,83,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,80000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(408,83,'annual_costs','Annual operating costs',NULL,'variable','number',NULL,NULL,'currency',NULL,180000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(409,83,'price','Property value',NULL,'variable','number',NULL,NULL,'currency',NULL,12000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(410,83,'gross_yield','Gross yield',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent * 12 / max(price, 1) * 100, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(411,83,'net_yield','Net yield',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent * 12 - annual_costs) / max(price, 1) * 100, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(412,84,'gross_rent','Annual gross rent',NULL,'variable','number',NULL,NULL,'currency',NULL,960000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(413,84,'vacancy_pct','Vacancy & credit loss (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(414,84,'opex','Annual operating expenses',NULL,'variable','number',NULL,NULL,'currency',NULL,240000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(415,84,'effective_income','Effective gross income',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(gross_rent * (1 - vacancy_pct/100), 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(416,84,'noi','Net operating income',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(gross_rent * (1 - vacancy_pct/100) - opex, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(417,85,'subscribers','Paying subscribers',NULL,'variable','number',NULL,NULL,'subs',NULL,800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(418,85,'pricing','Average price / month',NULL,'variable','number',NULL,NULL,'currency',NULL,1500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(419,85,'annual_pct','Subscribers on annual prepay (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,20.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(420,85,'mrr','MRR',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(subscribers * pricing, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(421,85,'arr','ARR',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(subscribers * pricing * 12, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(422,86,'lost','Customers lost in month',NULL,'variable','number',NULL,NULL,'customers',NULL,24.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(423,86,'start','Customers at month start',NULL,'variable','number',NULL,NULL,'customers',NULL,800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(424,86,'churn','Monthly churn',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost / max(start, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(425,86,'implied_lifetime','Implied customer lifetime (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(1 / max(lost / max(start, 1), 0.0001), 1)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(426,87,'cash','Cash balance',NULL,'variable','number',NULL,NULL,'currency',NULL,12000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(427,87,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1500000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(428,87,'expenses','Monthly expenses',NULL,'variable','number',NULL,NULL,'currency',NULL,2100000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(429,87,'burn','Net burn / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(expenses - revenue, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(430,87,'runway','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(expenses - revenue <= 0, 0, round(cash / (expenses - revenue), 1))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(431,88,'growth','Revenue growth rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,35.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(432,88,'margin','Profit / EBITDA margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(433,88,'score','Rule of 40 score',NULL,'output','decimal',NULL,NULL,'pts',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(growth + margin, 1)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(434,88,'passes','Passes 40 (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(growth + margin >= 40, 1, 0)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(435,89,'start_mrr','MRR at period start',NULL,'variable','number',NULL,NULL,'currency',NULL,1000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(436,89,'expansion','Expansion MRR',NULL,'variable','number',NULL,NULL,'currency',NULL,180000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(437,89,'contraction','Contraction MRR',NULL,'variable','number',NULL,NULL,'currency',NULL,60000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(438,89,'churned','Churned MRR',NULL,'variable','number',NULL,NULL,'currency',NULL,90000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(439,89,'nrr','Net revenue retention',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((start_mrr + expansion - contraction - churned) / max(start_mrr, 1) * 100, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(440,89,'new_mrr','MRR at period end',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(start_mrr + expansion - contraction - churned, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(441,90,'trials','Trials started',NULL,'variable','number',NULL,NULL,'trials',NULL,500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(442,90,'paid','Conversions to paid',NULL,'variable','number',NULL,NULL,'customers',NULL,120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(443,90,'rate','Trial-to-paid rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(paid / max(trials, 1) * 100, 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(444,90,'target_trials','Trials needed for 100 customers',NULL,'output','decimal',NULL,NULL,'trials',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(100 / max(paid / max(trials, 1), 0.001))',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(445,91,'mrr','Current MRR',NULL,'variable','number',NULL,NULL,'currency',NULL,1500000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(446,91,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(447,91,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(448,91,'forecast','MRR at horizon',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(mrr * pow(1 + growth_pct/100, months), 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(449,91,'cumulative','Cumulative revenue over horizon',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(mrr * (pow(1 + growth_pct/100, months) - 1) / max(growth_pct/100, 0.0001), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(450,92,'bill','Bill amount',NULL,'variable','number',NULL,NULL,'currency',NULL,8000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(451,92,'tip','Tip (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(452,92,'people','People',NULL,'variable','number',NULL,NULL,'people',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(453,92,'total','Total with tip',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(bill * (1 + tip/100), 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(454,92,'each','Each person pays',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(bill * (1 + tip/100) / max(people, 1), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(455,93,'distance','Distance',NULL,'variable','number',NULL,NULL,'km',NULL,450.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(456,93,'efficiency','Fuel efficiency (km/L)',NULL,'variable','number',NULL,NULL,'km/L',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(457,93,'price','Fuel price / liter',NULL,'variable','number',NULL,NULL,'currency/L',NULL,130.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(458,93,'roundtrip','Round trip (1=yes, 0=no)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(459,93,'fuel_needed','Fuel needed',NULL,'output','decimal',NULL,NULL,'L',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(distance * (1 + roundtrip) / max(efficiency, 0.1), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(460,93,'cost','Fuel cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(distance * (1 + roundtrip) / max(efficiency, 0.1) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(461,94,'watt','Appliance power (W)',NULL,'variable','number',NULL,NULL,'W',NULL,1200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(462,94,'hours','Hours used per day',NULL,'variable','number',NULL,NULL,'hours',NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(463,94,'days','Days in billing month',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(464,94,'rate','Electricity rate per kWh',NULL,'variable','number',NULL,NULL,'currency/kWh',NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(465,94,'kwh','Energy used',NULL,'output','decimal',NULL,NULL,'kWh',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(watt * hours * days / 1000, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(466,94,'cost','Bill amount',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(watt * hours * days / 1000 * rate, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(467,95,'amount','Amount to convert',NULL,'variable','number',NULL,NULL,'currency',NULL,5000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(468,95,'rate_fx','Exchange rate',NULL,'variable','number',NULL,NULL,'local/1',NULL,118.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(469,95,'spread_pct','Provider spread (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(470,95,'fixed_fee','Fixed fee',NULL,'variable','number',NULL,NULL,'currency',NULL,250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(471,95,'gross','Gross converted',NULL,'output','decimal',NULL,NULL,'local',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(amount * rate_fx, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(472,95,'net','Net received',NULL,'output','decimal',NULL,NULL,'local',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(amount * rate_fx * (1 - spread_pct/100) - fixed_fee * rate_fx, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(473,96,'amount','Amount today',NULL,'variable','number',NULL,NULL,'currency',NULL,1000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(474,96,'inflation','Annual inflation (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(475,96,'years','Years',NULL,'variable','number',NULL,NULL,'years',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(476,96,'adjusted','Equivalent cost in N years',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(amount * pow(1 + inflation/100, years), 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(477,96,'lost_value','Purchasing power lost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(amount - amount / pow(1 + inflation/100, years), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(478,97,'attendees','Attendees',NULL,'variable','number',NULL,NULL,'people',NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(479,97,'avg_hourly','Average loaded hourly cost',NULL,'variable','number',NULL,NULL,'currency/hour',NULL,800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(480,97,'minutes','Meeting duration (minutes)',NULL,'variable','number',NULL,NULL,'min',NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(481,97,'frequency','Meetings per month',NULL,'variable','number',NULL,NULL,'meetings',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(482,97,'per_meeting','Cost per meeting',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(attendees * avg_hourly * minutes / 60, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(483,97,'monthly','Monthly cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(attendees * avg_hourly * minutes / 60 * frequency, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(484,98,'budget','Approved budget',NULL,'variable','number',NULL,NULL,'currency',NULL,5000000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(485,98,'spent','Spent to date',NULL,'variable','number',NULL,NULL,'currency',NULL,2800000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(486,98,'elapsed_pct','Timeline elapsed (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(487,98,'duration','Total duration (weeks)',NULL,'variable','number',NULL,NULL,'weeks',NULL,20.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(488,98,'burn_index','Burn index (spent% / elapsed%)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((spent / max(budget,1)*100) / max(elapsed_pct, 0.1), 3)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(489,98,'forecast','Forecast at completion',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(spent / max(elapsed_pct/100, 0.01), 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(490,98,'delta','Projected over/under',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(spent / max(elapsed_pct/100, 0.01) - budget, 2)',6,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(491,99,'sessions','Monthly sessions',NULL,'variable','number',NULL,NULL,NULL,NULL,100000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(492,99,'conv_rate','Conversion rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(493,99,'aov','Average order value',NULL,'variable','number',NULL,NULL,'currency',NULL,2500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(494,99,'speed_lift','Expected lift from speed work (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(495,99,'current_rev','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(sessions * conv_rate/100 * aov, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(496,99,'lift','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(sessions * conv_rate/100 * aov * speed_lift/100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(497,99,'annual','Added annual revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(sessions * conv_rate/100 * aov * speed_lift/100 * 12, 2)',6,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(498,100,'target','Target annual net income',NULL,'variable','number',NULL,NULL,'currency',NULL,1500000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(499,100,'business_costs','Annual business costs',NULL,'variable','number',NULL,NULL,'currency',NULL,240000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(500,100,'billable_hours','Billable hours / year',NULL,'variable','number',NULL,NULL,'hours',NULL,1100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(501,100,'tax_pct','Tax & contributions (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(502,100,'rate','Minimum hourly rate',NULL,'output','decimal',NULL,NULL,'currency/hour',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((target / (1 - tax_pct/100) + business_costs) / max(billable_hours, 1), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(503,101,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,320000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(504,101,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,185.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(505,101,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,144.300000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(506,101,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(507,101,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(508,101,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(509,102,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,520000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(510,102,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,95.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(511,102,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,77.900000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(512,102,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(513,102,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(514,102,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(515,103,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,480000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(516,103,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(517,103,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,260.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(518,103,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(519,103,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(520,103,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(521,104,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(522,104,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,180.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(523,104,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,104.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(524,104,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(525,104,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(526,104,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(527,105,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,380000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(528,105,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(529,105,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,687.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(530,105,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(531,105,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(532,105,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(533,106,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,460000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(534,106,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,14500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(535,106,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,12760.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(536,106,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(537,106,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(538,106,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(539,107,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,260000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(540,107,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(541,107,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2236.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(542,107,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(543,107,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(544,107,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(545,108,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,340000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(546,108,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(547,108,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,252.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(548,108,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(549,108,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(550,108,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(551,109,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(552,109,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,480.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(553,109,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,316.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(554,109,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(555,109,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(556,109,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(557,110,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,220000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(558,110,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,160.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(559,110,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,115.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(560,110,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(561,110,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(562,110,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(563,111,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,280000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(564,111,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(565,111,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,72.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(566,111,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(567,111,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(568,111,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(569,112,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,320000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(570,112,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(571,112,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,142.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(572,112,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(573,112,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(574,112,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(575,113,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,420000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(576,113,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,175.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(577,113,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,129.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(578,113,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(579,113,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(580,113,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(581,114,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,380000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(582,114,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(583,114,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,502.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(584,114,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(585,114,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(586,114,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(587,115,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(588,115,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,42.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(589,115,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,35.700000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(590,115,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(591,115,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(592,115,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(593,116,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,520000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(594,116,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,95.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(595,116,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,59.850000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(596,116,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(597,116,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(598,116,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(599,117,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,680000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(600,117,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(601,117,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1632.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(602,117,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(603,117,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(604,117,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(605,118,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,880000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(606,118,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,9800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(607,118,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,8232.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(608,118,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(609,118,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(610,118,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(611,119,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,420000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(612,119,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(613,119,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,171.600000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(614,119,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(615,119,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(616,119,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(617,120,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,360000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(618,120,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,145.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(619,120,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,102.950000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(620,120,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(621,120,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(622,120,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(623,121,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,640000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(624,121,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,780.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(625,121,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,553.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(626,121,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(627,121,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(628,121,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(629,122,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,950000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(630,122,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,65000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(631,122,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,20800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(632,122,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(633,122,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(634,122,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(635,123,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(636,123,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,85000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(637,123,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,38250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(638,123,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(639,123,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(640,123,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(641,124,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,520000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(642,124,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,3500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(643,124,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1470.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(644,124,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(645,124,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(646,124,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(647,125,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,1850000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(648,125,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(649,125,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1073.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(650,125,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(651,125,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(652,125,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(653,126,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,620000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(654,126,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(655,126,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1472.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(656,126,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(657,126,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(658,126,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(659,127,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,480000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(660,127,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(661,127,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,836.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(662,127,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(663,127,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(664,127,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(665,128,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,420000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(666,128,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1350.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(667,128,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,594.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(668,128,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(669,128,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(670,128,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(671,129,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,380000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(672,129,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,8500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(673,129,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,6970.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(674,129,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(675,129,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(676,129,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(677,130,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,720000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(678,130,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,85000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(679,130,'variable','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,46750.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(680,130,'contribution','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - variable, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(681,130,'units','Break-even units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(price - variable, 0.01))',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(682,130,'revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(price - variable, 0.01)) * price, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(683,131,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,9000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(684,131,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,185.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(685,131,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,144.300000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(686,131,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(687,131,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(688,131,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(689,132,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,26000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(690,132,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,95.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(691,132,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,77.900000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(692,132,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(693,132,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(694,132,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(695,133,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(696,133,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(697,133,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,260.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(698,133,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(699,133,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(700,133,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(701,134,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,9000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(702,134,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,180.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(703,134,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,104.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(704,134,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(705,134,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(706,134,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(707,135,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,1400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(708,135,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(709,135,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,687.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(710,135,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(711,135,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(712,135,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(713,136,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(714,136,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,14500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(715,136,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,12760.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(716,136,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(717,136,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(718,136,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(719,137,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(720,137,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(721,137,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2236.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(722,137,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(723,137,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(724,137,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(725,138,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(726,138,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(727,138,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,252.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(728,138,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(729,138,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(730,138,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(731,139,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,2600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(732,139,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,480.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(733,139,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,316.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(734,139,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(735,139,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(736,139,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(737,140,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(738,140,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,160.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(739,140,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,115.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(740,140,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(741,140,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(742,140,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(743,141,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,6500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(744,141,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(745,141,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,72.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(746,141,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(747,141,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(748,141,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(749,142,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(750,142,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(751,142,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,142.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(752,142,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(753,142,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(754,142,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(755,143,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(756,143,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,175.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(757,143,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,129.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(758,143,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(759,143,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(760,143,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(761,144,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,3600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(762,144,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(763,144,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,502.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(764,144,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(765,144,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(766,144,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(767,145,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,22000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(768,145,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,42.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(769,145,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,35.700000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(770,145,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(771,145,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(772,145,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(773,146,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,12000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(774,146,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,95.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(775,146,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,59.850000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(776,146,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(777,146,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(778,146,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(779,147,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,2100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(780,147,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(781,147,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1632.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(782,147,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(783,147,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(784,147,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(785,148,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(786,148,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,9800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(787,148,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,8232.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(788,148,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(789,148,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(790,148,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(791,149,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,4800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(792,149,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(793,149,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,171.600000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(794,149,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(795,149,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(796,149,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(797,150,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(798,150,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,145.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(799,150,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,102.950000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(800,150,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(801,150,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(802,150,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(803,151,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,8200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(804,151,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,780.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(805,151,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,553.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(806,151,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(807,151,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(808,151,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(809,152,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,42.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(810,152,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,65000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(811,152,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,20800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(812,152,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(813,152,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(814,152,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(815,153,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,26.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(816,153,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,85000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(817,153,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,38250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(818,153,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(819,153,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(820,153,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(821,154,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(822,154,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,3500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(823,154,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1470.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(824,154,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(825,154,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(826,154,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(827,155,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,3400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(828,155,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(829,155,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1073.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(830,155,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(831,155,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(832,155,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(833,156,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(834,156,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(835,156,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1472.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(836,156,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(837,156,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(838,156,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(839,157,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,780.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(840,157,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(841,157,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,836.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(842,157,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(843,157,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(844,157,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(845,158,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,1450.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(846,158,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1350.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(847,158,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,594.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(848,158,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(849,158,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(850,158,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(851,159,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(852,159,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,8500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(853,159,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,6970.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(854,159,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(855,159,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(856,159,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(857,160,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,68.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(858,160,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,85000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(859,160,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,46750.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(860,160,'revenue','Monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(861,160,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(862,160,'margin_pct','Gross margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(863,161,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,144.300000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(864,161,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(865,161,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(866,161,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(867,161,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(868,162,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,77.900000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(869,162,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(870,162,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(871,162,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(872,162,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(873,163,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,260.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(874,163,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(875,163,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(876,163,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(877,163,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(878,164,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,104.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(879,164,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(880,164,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(881,164,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(882,164,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(883,165,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,687.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(884,165,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(885,165,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(886,165,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(887,165,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(888,166,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,12760.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(889,166,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(890,166,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(891,166,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(892,166,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(893,167,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2236.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(894,167,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(895,167,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(896,167,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(897,167,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(898,168,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,252.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(899,168,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(900,168,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(901,168,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(902,168,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(903,169,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,316.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(904,169,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(905,169,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(906,169,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(907,169,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(908,170,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,115.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(909,170,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(910,170,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(911,170,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(912,170,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(913,171,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,72.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(914,171,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(915,171,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(916,171,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(917,171,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(918,172,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,142.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(919,172,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(920,172,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(921,172,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(922,172,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(923,173,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,129.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(924,173,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(925,173,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(926,173,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(927,173,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(928,174,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,502.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(929,174,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(930,174,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(931,174,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(932,174,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(933,175,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,35.700000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(934,175,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(935,175,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(936,175,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(937,175,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(938,176,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,59.850000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(939,176,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(940,176,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(941,176,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(942,176,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(943,177,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1632.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(944,177,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(945,177,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(946,177,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(947,177,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(948,178,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,8232.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(949,178,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(950,178,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(951,178,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(952,178,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(953,179,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,171.600000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(954,179,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(955,179,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(956,179,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(957,179,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(958,180,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,102.950000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(959,180,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(960,180,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(961,180,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(962,180,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(963,181,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,553.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(964,181,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(965,181,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(966,181,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(967,181,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(968,182,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,20800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(969,182,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(970,182,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(971,182,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(972,182,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(973,183,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,38250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(974,183,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(975,183,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(976,183,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(977,183,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(978,184,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1470.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(979,184,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(980,184,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(981,184,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(982,184,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(983,185,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1073.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(984,185,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(985,185,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(986,185,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(987,185,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(988,186,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1472.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(989,186,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(990,186,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(991,186,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(992,186,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(993,187,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,836.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(994,187,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(995,187,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(996,187,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(997,187,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(998,188,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,594.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(999,188,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1000,188,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1001,188,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1002,188,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1003,189,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,6970.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1004,189,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1005,189,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1006,189,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1007,189,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1008,190,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,46750.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1009,190,'markup_pct','Markup on cost (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1010,190,'selling_price','Selling price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * (1 + markup_pct/100), 2)',2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1011,190,'profit_per_unit','Profit per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cost * markup_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1012,190,'margin_pct','Margin on selling price',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(markup_pct / (100 + markup_pct) * 100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1013,191,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,9000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1014,191,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,185.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1015,191,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,144.300000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1016,191,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1017,191,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1018,191,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1019,191,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1020,192,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,26000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1021,192,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,95.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1022,192,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,77.900000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1023,192,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1024,192,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1025,192,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1026,192,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1027,193,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1028,193,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1029,193,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,260.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1030,193,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1031,193,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1032,193,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1033,193,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1034,194,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,9000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1035,194,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,180.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1036,194,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,104.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1037,194,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1038,194,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1039,194,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1040,194,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1041,195,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,1400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1042,195,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1043,195,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,687.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1044,195,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1045,195,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1046,195,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1047,195,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1048,196,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1049,196,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,14500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1050,196,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,12760.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1051,196,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1052,196,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1053,196,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1054,196,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1055,197,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1056,197,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1057,197,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2236.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1058,197,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1059,197,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1060,197,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1061,197,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1062,198,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1063,198,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1064,198,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,252.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1065,198,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1066,198,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1067,198,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1068,198,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1069,199,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,2600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1070,199,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,480.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1071,199,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,316.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1072,199,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1073,199,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1074,199,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1075,199,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1076,200,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1077,200,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,160.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1078,200,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,115.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1079,200,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1080,200,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1081,200,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1082,200,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1083,201,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,6500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1084,201,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1085,201,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,72.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1086,201,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1087,201,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1088,201,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1089,201,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1090,202,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1091,202,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1092,202,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,142.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1093,202,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1094,202,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1095,202,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1096,202,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1097,203,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1098,203,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,175.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1099,203,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,129.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1100,203,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1101,203,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1102,203,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1103,203,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1104,204,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,3600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1105,204,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1106,204,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,502.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1107,204,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1108,204,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1109,204,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1110,204,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1111,205,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,22000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1112,205,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,42.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1113,205,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,35.700000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1114,205,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1115,205,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1116,205,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1117,205,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1118,206,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,12000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1119,206,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,95.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1120,206,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,59.850000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1121,206,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1122,206,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1123,206,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1124,206,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1125,207,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,2100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1126,207,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1127,207,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1632.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1128,207,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1129,207,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1130,207,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1131,207,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1132,208,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1133,208,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,9800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1134,208,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,8232.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1135,208,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1136,208,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1137,208,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1138,208,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1139,209,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,4800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1140,209,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1141,209,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,171.600000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1142,209,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1143,209,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1144,209,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1145,209,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1146,210,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1147,210,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,145.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1148,210,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,102.950000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1149,210,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1150,210,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1151,210,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1152,210,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1153,211,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,8200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1154,211,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,780.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1155,211,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,553.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1156,211,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1157,211,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1158,211,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1159,211,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1160,212,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,42.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1161,212,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,65000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1162,212,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,20800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1163,212,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1164,212,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1165,212,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1166,212,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1167,213,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,26.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1168,213,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,85000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1169,213,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,38250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1170,213,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1171,213,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1172,213,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1173,213,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1174,214,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1175,214,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,3500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1176,214,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1470.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1177,214,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1178,214,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1179,214,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1180,214,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1181,215,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,3400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1182,215,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1183,215,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1073.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1184,215,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1185,215,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1186,215,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1187,215,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1188,216,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1189,216,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1190,216,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1472.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1191,216,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1192,216,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1193,216,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1194,216,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1195,217,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,780.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1196,217,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1197,217,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,836.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1198,217,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1199,217,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1200,217,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1201,217,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1202,218,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,1450.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1203,218,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1350.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1204,218,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,594.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1205,218,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1206,218,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1207,218,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1208,218,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1209,219,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1210,219,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,8500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1211,219,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,6970.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1212,219,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1213,219,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1214,219,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1215,219,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1216,220,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,68.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1217,220,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,85000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1218,220,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,46750.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1219,220,'discount_pct','Discount offered (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1220,220,'new_price','Discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 - discount_pct/100), 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1221,220,'profit_lost','Margin given away / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price * discount_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1222,220,'gross_profit','Profit at discounted price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price * (1 - discount_pct/100) - cost), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1223,221,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,1665000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1224,221,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1225,221,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1226,221,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1227,221,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1228,221,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1229,221,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1230,222,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,2470000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1231,222,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1232,222,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1233,222,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1234,222,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1235,222,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1236,222,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1237,223,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,2184000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1238,223,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1239,223,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1240,223,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1241,223,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1242,223,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1243,223,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1244,224,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,1620000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1245,224,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1246,224,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1247,224,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1248,224,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1249,224,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1250,224,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1251,225,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,1750000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1252,225,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1253,225,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1254,225,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1255,225,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1256,225,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1257,225,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1258,226,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,3770000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1259,226,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1260,226,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1261,226,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1262,226,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1263,226,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1264,226,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1265,227,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,2340000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1266,227,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1267,227,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1268,227,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1269,227,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1270,227,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1271,227,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1272,228,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,1024000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1273,228,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1274,228,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1275,228,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1276,228,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1277,228,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1278,228,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1279,229,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1280,229,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1281,229,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1282,229,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1283,229,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1284,229,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1285,229,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1286,230,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,672000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1287,230,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1288,230,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1289,230,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1290,230,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1291,230,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1292,230,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1293,231,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1294,231,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1295,231,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1296,231,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1297,231,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1298,231,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1299,231,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1300,232,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,1092000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1301,232,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1302,232,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1303,232,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1304,232,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1305,232,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1306,232,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1307,233,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,735000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1308,233,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1309,233,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1310,233,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1311,233,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1312,233,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1313,233,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1314,234,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,2232000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1315,234,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1316,234,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1317,234,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1318,234,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1319,234,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1320,234,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1321,235,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,924000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1322,235,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1323,235,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1324,235,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1325,235,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1326,235,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1327,235,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1328,236,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,1140000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1329,236,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1330,236,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1331,236,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1332,236,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1333,236,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1334,236,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1335,237,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,5040000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1336,237,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1337,237,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1338,237,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1339,237,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1340,237,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1341,237,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1342,238,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,6076000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1343,238,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1344,238,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1345,238,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1346,238,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1347,238,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1348,238,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1349,239,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1350,239,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1351,239,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1352,239,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1353,239,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1354,239,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1355,239,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1356,240,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,754000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1357,240,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1358,240,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1359,240,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1360,240,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1361,240,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1362,240,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1363,241,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,6396000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1364,241,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1365,241,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1366,241,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1367,241,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1368,241,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1369,241,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1370,242,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,2730000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1371,242,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1372,242,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1373,242,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1374,242,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1375,242,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1376,242,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1377,243,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,2210000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1378,243,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1379,243,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1380,243,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1381,243,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1382,243,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1383,243,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1384,244,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,2170000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1385,244,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1386,244,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1387,244,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1388,244,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1389,244,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1390,244,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1391,245,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,6290000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1392,245,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1393,245,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1394,245,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1395,245,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1396,245,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1397,245,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1398,246,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,2880000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1399,246,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1400,246,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1401,246,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1402,246,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1403,246,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1404,246,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1405,247,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,1716000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1406,247,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1407,247,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1408,247,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1409,247,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1410,247,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1411,247,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1412,248,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,1957500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1413,248,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1414,248,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1415,248,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1416,248,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1417,248,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1418,248,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1419,249,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,2720000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1420,249,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1421,249,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1422,249,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1423,249,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1424,249,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1425,249,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1426,250,'revenue','Monthly turnover',NULL,'variable','number',NULL,NULL,'currency',NULL,5780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1427,250,'vat_pct','VAT rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1428,250,'input_credit_pct','Recoverable input VAT (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1429,250,'vat_collected','VAT on sales',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1430,250,'input_credit','Input VAT credit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 * input_credit_pct/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1431,250,'net_vat_payable','Net VAT payable',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * vat_pct/100 - revenue * vat_pct/100 * input_credit_pct/100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1432,250,'price_incl_vat','Turnover VAT included',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + vat_pct/100), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1433,251,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1665000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1434,251,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,78.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1435,251,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,320000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1436,251,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1437,251,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1438,251,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1439,251,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1440,252,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2470000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1441,252,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,82.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1442,252,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,520000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1443,252,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1444,252,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1445,252,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1446,252,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1447,253,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2184000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1448,253,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,62.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1449,253,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,480000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1450,253,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1451,253,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1452,253,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1453,253,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1454,254,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1620000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1455,254,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,58.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1456,254,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1457,254,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1458,254,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1459,254,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1460,254,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1461,255,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1750000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1462,255,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,55.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1463,255,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,380000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1464,255,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1465,255,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1466,255,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1467,255,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1468,256,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,3770000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1469,256,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,88.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1470,256,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,460000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1471,256,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1472,256,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1473,256,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1474,256,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1475,257,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2340000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1476,257,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,86.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1477,257,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,260000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1478,257,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1479,257,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1480,257,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1481,257,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1482,258,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1024000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1483,258,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,79.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1484,258,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,340000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1485,258,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1486,258,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1487,258,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1488,258,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1489,259,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1490,259,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,66.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1491,259,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1492,259,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1493,259,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1494,259,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1495,259,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1496,260,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,672000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1497,260,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,72.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1498,260,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,220000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1499,260,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1500,260,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1501,260,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1502,260,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1503,261,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1504,261,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1505,261,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,280000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1506,261,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1507,261,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1508,261,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1509,261,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1510,262,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1092000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1511,262,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,68.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1512,262,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,320000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1513,262,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1514,262,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1515,262,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1516,262,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1517,263,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,735000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1518,263,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,74.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1519,263,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,420000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1520,263,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1521,263,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1522,263,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1523,263,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1524,264,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2232000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1525,264,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,81.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1526,264,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,380000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1527,264,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1528,264,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1529,264,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1530,264,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1531,265,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,924000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1532,265,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,85.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1533,265,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1534,265,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1535,265,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1536,265,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1537,265,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1538,266,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1140000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1539,266,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,63.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1540,266,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,520000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1541,266,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1542,266,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1543,266,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1544,266,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1545,267,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,5040000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1546,267,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,68.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1547,267,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,680000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1548,267,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1549,267,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1550,267,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1551,267,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1552,268,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,6076000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1553,268,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,84.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1554,268,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,880000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1555,268,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1556,268,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1557,268,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1558,268,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1559,269,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1560,269,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,66.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1561,269,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,420000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1562,269,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1563,269,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1564,269,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1565,269,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1566,270,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,754000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1567,270,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,71.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1568,270,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,360000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1569,270,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1570,270,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1571,270,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1572,270,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1573,271,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,6396000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1574,271,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,71.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1575,271,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,640000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1576,271,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1577,271,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1578,271,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1579,271,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1580,272,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2730000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1581,272,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,32.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1582,272,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,950000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1583,272,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1584,272,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1585,272,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1586,272,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1587,273,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2210000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1588,273,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1589,273,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1590,273,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1591,273,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1592,273,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1593,273,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1594,274,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2170000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1595,274,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,42.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1596,274,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,520000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1597,274,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1598,274,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1599,274,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1600,274,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1601,275,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,6290000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1602,275,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,58.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1603,275,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,1850000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1604,275,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1605,275,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1606,275,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1607,275,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1608,276,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2880000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1609,276,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,46.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1610,276,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,620000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1611,276,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1612,276,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1613,276,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1614,276,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1615,277,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1716000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1616,277,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1617,277,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,480000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1618,277,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1619,277,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1620,277,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1621,277,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1622,278,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1957500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1623,278,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,44.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1624,278,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,420000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1625,278,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1626,278,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1627,278,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1628,278,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1629,279,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2720000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1630,279,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,82.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1631,279,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,380000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1632,279,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1633,279,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1634,279,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1635,279,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1636,280,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,5780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1637,280,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,55.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1638,280,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,720000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1639,280,'cogs','Cost of goods',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100, 2)',3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1640,280,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1641,280,'net_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1642,280,'net_margin','Net margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((revenue - revenue * cost_ratio/100 - fixed) / max(revenue, 1) * 100, 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1643,281,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1665000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1644,281,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,45000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1645,281,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,88000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1646,281,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,80000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1647,281,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1648,281,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1649,281,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1650,282,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2470000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1651,282,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,90000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1652,282,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,144000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1653,282,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,130000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1654,282,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1655,282,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1656,282,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1657,283,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2184000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1658,283,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,120000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1659,283,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,240000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1660,283,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,120000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1661,283,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1662,283,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1663,283,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1664,284,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1620000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1665,284,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,70000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1666,284,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,112000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1667,284,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,75000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1668,284,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1669,284,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1670,284,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1671,285,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1750000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1672,285,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,85000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1673,285,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,95000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1674,285,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,95000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1675,285,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1676,285,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1677,285,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1678,286,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,3770000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1679,286,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,80000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1680,286,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,144000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1681,286,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,115000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1682,286,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1683,286,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1684,286,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1685,287,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2340000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1686,287,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,55000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1687,287,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,80000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1688,287,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,65000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1689,287,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1690,287,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1691,287,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1692,288,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1024000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1693,288,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,70000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1694,288,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,108000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1695,288,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,85000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1696,288,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1697,288,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1698,288,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1699,289,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1700,289,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,65000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1701,289,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,90000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1702,289,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,75000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1703,289,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1704,289,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1705,289,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1706,290,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,672000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1707,290,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,48000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1708,290,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,64000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1709,290,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,55000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1710,290,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1711,290,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1712,290,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1713,291,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1714,291,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,60000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1715,291,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,120000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1716,291,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,70000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1717,291,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1718,291,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1719,291,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1720,292,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1092000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1721,292,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,65000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1722,292,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,119000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1723,292,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,80000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1724,292,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1725,292,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1726,292,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1727,293,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,735000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1728,293,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,40000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1729,293,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,126000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1730,293,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,105000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1731,293,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1732,293,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1733,293,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1734,294,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2232000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1735,294,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,75000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1736,294,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,112000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1737,294,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,95000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1738,294,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1739,294,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1740,294,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1741,295,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,924000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1742,295,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,55000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1743,295,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,130000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1744,295,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,75000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1745,295,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1746,295,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1747,295,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1748,296,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1140000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1749,296,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,85000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1750,296,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,374000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1751,296,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,130000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1752,296,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1753,296,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1754,296,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1755,297,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,5040000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1756,297,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,95000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1757,297,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,360000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1758,297,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,170000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1759,297,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1760,297,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1761,297,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1762,298,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,6076000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1763,298,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,110000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1764,298,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,624000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1765,298,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,220000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1766,298,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1767,298,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1768,298,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1769,299,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1770,299,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,70000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1771,299,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,216000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1772,299,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,105000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1773,299,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1774,299,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1775,299,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1776,300,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,754000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1777,300,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,38000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1778,300,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,143000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1779,300,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,90000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1780,300,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1781,300,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1782,300,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1783,301,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,6396000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1784,301,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,90000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1785,301,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,350000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1786,301,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,160000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1787,301,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1788,301,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1789,301,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1790,302,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2730000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1791,302,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,150000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1792,302,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,1040000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1793,302,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,237500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1794,302,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1795,302,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1796,302,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1797,303,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2210000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1798,303,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,120000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1799,303,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,540000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1800,303,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,195000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1801,303,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1802,303,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1803,303,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1804,304,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2170000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1805,304,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,130000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1806,304,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,392000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1807,304,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,130000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1808,304,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1809,304,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1810,304,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1811,305,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,6290000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1812,305,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,320000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1813,305,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,1536000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1814,305,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,462500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1815,305,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1816,305,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1817,305,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1818,306,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2880000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1819,306,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,110000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1820,306,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,342000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1821,306,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,155000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1822,306,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1823,306,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1824,306,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1825,307,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1716000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1826,307,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,140000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1827,307,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,154000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1828,307,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,120000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1829,307,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1830,307,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1831,307,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1832,308,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1957500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1833,308,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,120000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1834,308,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,170000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1835,308,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,105000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1836,308,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1837,308,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1838,308,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1839,309,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2720000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1840,309,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,75000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1841,309,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,200000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1842,309,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,95000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1843,309,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1844,309,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1845,309,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1846,310,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,5780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1847,310,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,130000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1848,310,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,330000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1849,310,'other','Other fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,180000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1850,310,'total_expense','Total fixed expenses',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent + payroll + other, 2)',4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1851,310,'expense_ratio','Fixed cost ratio',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1852,310,'break_even_revenue','Revenue needed to cover fixed costs',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((rent + payroll + other), 2)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1853,311,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,9000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1854,311,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,185.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1855,311,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,144.300000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1856,311,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1857,311,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1858,311,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1859,311,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1860,311,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1861,311,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1862,312,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,26000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1863,312,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,95.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1864,312,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,77.900000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1865,312,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1866,312,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1867,312,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1868,312,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1869,312,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1870,312,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1871,313,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1872,313,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1873,313,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,260.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1874,313,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1875,313,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1876,313,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1877,313,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1878,313,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1879,313,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1880,314,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,9000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1881,314,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,180.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1882,314,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,104.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1883,314,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1884,314,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1885,314,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1886,314,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1887,314,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1888,314,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1889,315,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,1400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1890,315,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1891,315,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,687.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1892,315,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1893,315,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1894,315,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1895,315,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1896,315,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1897,315,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1898,316,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1899,316,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,14500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1900,316,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,12760.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1901,316,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1902,316,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1903,316,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1904,316,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1905,316,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1906,316,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1907,317,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1908,317,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1909,317,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2236.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1910,317,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1911,317,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1912,317,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1913,317,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1914,317,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1915,317,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1916,318,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1917,318,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1918,318,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,252.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1919,318,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1920,318,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1921,318,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1922,318,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1923,318,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1924,318,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1925,319,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,2600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1926,319,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,480.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1927,319,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,316.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1928,319,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1929,319,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1930,319,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1931,319,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1932,319,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1933,319,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1934,320,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1935,320,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,160.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1936,320,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,115.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1937,320,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1938,320,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1939,320,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1940,320,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1941,320,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1942,320,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1943,321,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,6500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1944,321,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1945,321,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,72.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1946,321,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1947,321,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1948,321,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1949,321,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1950,321,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1951,321,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1952,322,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1953,322,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1954,322,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,142.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1955,322,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1956,322,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1957,322,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1958,322,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1959,322,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1960,322,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1961,323,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1962,323,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,175.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1963,323,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,129.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1964,323,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1965,323,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1966,323,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1967,323,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1968,323,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1969,323,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1970,324,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,3600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1971,324,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1972,324,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,502.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1973,324,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1974,324,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1975,324,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1976,324,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1977,324,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1978,324,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1979,325,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,22000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1980,325,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,42.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1981,325,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,35.700000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1982,325,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1983,325,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1984,325,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1985,325,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1986,325,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1987,325,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1988,326,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,12000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1989,326,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,95.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1990,326,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,59.850000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1991,326,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1992,326,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1993,326,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1994,326,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1995,326,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1996,326,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1997,327,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,2100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1998,327,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(1999,327,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1632.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2000,327,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2001,327,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2002,327,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2003,327,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2004,327,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2005,327,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2006,328,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2007,328,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,9800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2008,328,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,8232.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2009,328,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2010,328,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2011,328,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2012,328,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2013,328,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2014,328,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2015,329,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,4800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2016,329,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2017,329,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,171.600000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2018,329,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2019,329,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2020,329,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2021,329,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2022,329,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2023,329,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2024,330,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2025,330,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,145.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2026,330,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,102.950000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2027,330,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2028,330,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2029,330,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2030,330,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2031,330,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2032,330,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2033,331,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,8200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2034,331,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,780.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2035,331,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,553.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2036,331,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2037,331,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2038,331,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2039,331,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2040,331,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2041,331,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2042,332,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,42.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2043,332,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,65000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2044,332,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,20800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2045,332,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2046,332,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2047,332,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2048,332,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2049,332,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2050,332,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2051,333,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,26.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2052,333,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,85000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2053,333,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,38250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2054,333,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2055,333,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2056,333,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2057,333,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2058,333,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2059,333,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2060,334,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2061,334,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,3500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2062,334,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1470.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2063,334,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2064,334,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2065,334,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2066,334,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2067,334,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2068,334,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2069,335,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,3400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(2070,335,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2071,335,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1073.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2072,335,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2073,335,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2074,335,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2075,335,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2076,335,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2077,335,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2078,336,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2079,336,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2080,336,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1472.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2081,336,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2082,336,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2083,336,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2084,336,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2085,336,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2086,336,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2087,337,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,780.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2088,337,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2089,337,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,836.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2090,337,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2091,337,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2092,337,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2093,337,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2094,337,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2095,337,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2096,338,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,1450.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2097,338,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1350.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2098,338,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,594.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2099,338,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2100,338,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2101,338,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2102,338,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2103,338,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2104,338,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2105,339,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2106,339,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,8500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2107,339,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,6970.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2108,339,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2109,339,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2110,339,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2111,339,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2112,339,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2113,339,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2114,340,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,68.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2115,340,'price','Current price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,85000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2116,340,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,46750.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2117,340,'increase_pct','Price increase (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2118,340,'demand_drop_pct','Expected demand drop (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2119,340,'new_price','New price',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price * (1 + increase_pct/100), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2120,340,'new_units','Expected units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100), 0)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2121,340,'new_profit','Profit after the change',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost), 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2122,340,'profit_change','Profit change vs today',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (1 - demand_drop_pct/100) * (price * (1 + increase_pct/100) - cost) - units * (price - cost), 2)',8,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2123,341,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,9000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2124,341,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,185.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2125,341,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2126,341,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2127,341,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2128,341,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2129,341,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2130,341,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2131,342,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,26000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2132,342,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,95.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2133,342,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2134,342,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2135,342,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2136,342,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2137,342,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2138,342,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2139,343,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2140,343,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2141,343,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2142,343,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2143,343,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2144,343,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2145,343,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2146,343,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2147,344,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,9000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2148,344,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,180.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2149,344,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2150,344,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2151,344,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2152,344,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2153,344,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2154,344,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2155,345,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,1400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2156,345,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2157,345,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2158,345,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2159,345,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2160,345,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2161,345,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2162,345,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2163,346,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2164,346,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,14500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2165,346,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2166,346,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2167,346,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2168,346,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2169,346,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2170,346,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2171,347,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2172,347,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2173,347,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2174,347,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2175,347,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2176,347,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2177,347,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2178,347,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2179,348,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2180,348,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2181,348,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2182,348,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2183,348,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2184,348,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2185,348,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2186,348,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2187,349,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,2600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2188,349,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,480.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2189,349,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2190,349,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2191,349,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2192,349,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2193,349,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2194,349,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2195,350,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2196,350,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,160.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2197,350,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2198,350,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2199,350,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2200,350,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2201,350,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2202,350,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2203,351,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,6500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2204,351,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2205,351,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2206,351,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2207,351,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2208,351,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2209,351,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2210,351,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2211,352,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2212,352,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2213,352,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2214,352,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2215,352,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2216,352,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2217,352,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2218,352,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2219,353,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2220,353,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,175.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2221,353,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2222,353,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2223,353,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2224,353,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2225,353,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2226,353,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2227,354,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,3600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2228,354,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2229,354,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2230,354,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2231,354,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2232,354,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2233,354,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2234,354,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2235,355,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,22000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2236,355,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,42.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2237,355,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2238,355,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2239,355,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2240,355,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2241,355,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2242,355,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2243,356,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,12000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2244,356,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,95.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2245,356,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2246,356,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2247,356,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2248,356,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2249,356,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2250,356,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2251,357,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,2100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2252,357,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2253,357,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2254,357,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2255,357,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2256,357,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2257,357,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2258,357,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2259,358,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2260,358,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,9800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2261,358,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2262,358,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2263,358,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2264,358,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2265,358,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2266,358,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2267,359,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,4800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2268,359,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2269,359,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2270,359,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2271,359,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2272,359,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2273,359,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2274,359,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2275,360,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2276,360,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,145.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2277,360,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2278,360,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2279,360,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2280,360,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2281,360,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2282,360,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2283,361,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,8200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2284,361,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,780.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2285,361,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2286,361,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2287,361,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2288,361,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2289,361,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2290,361,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2291,362,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,42.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2292,362,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,65000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2293,362,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2294,362,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2295,362,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2296,362,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2297,362,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2298,362,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2299,363,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,26.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2300,363,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,85000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2301,363,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2302,363,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2303,363,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2304,363,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2305,363,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2306,363,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2307,364,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2308,364,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,3500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2309,364,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2310,364,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2311,364,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2312,364,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2313,364,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2314,364,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2315,365,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,3400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2316,365,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2317,365,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2318,365,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2319,365,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2320,365,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2321,365,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2322,365,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2323,366,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2324,366,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2325,366,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2326,366,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2327,366,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2328,366,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2329,366,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2330,366,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2331,367,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,780.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2332,367,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2333,367,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2334,367,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2335,367,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2336,367,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2337,367,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2338,367,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2339,368,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,1450.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2340,368,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1350.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2341,368,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2342,368,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2343,368,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2344,368,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2345,368,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2346,368,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2347,369,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2348,369,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,8500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2349,369,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2350,369,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2351,369,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2352,369,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2353,369,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2354,369,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2355,370,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,68.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2356,370,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,85000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2357,370,'growth_pct','Monthly growth (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2358,370,'months','Months forward',NULL,'variable','number',NULL,NULL,'months',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2359,370,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * price, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2360,370,'forecast_units','Forecast units / month',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months), 0)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2361,370,'forecast_revenue','Forecast monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2362,370,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * pow(1 + growth_pct/100, months) * price - units * price, 2)',7,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2363,371,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,960000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2364,371,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1665000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2365,371,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,78.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2366,371,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,320000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2367,371,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2368,371,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2369,371,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2370,372,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,1560000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2371,372,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2470000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2372,372,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,82.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2373,372,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,520000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2374,372,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2375,372,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2376,372,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2377,373,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,1440000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2378,373,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2184000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2379,373,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,62.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2380,373,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,480000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2381,373,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2382,373,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2383,373,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2384,374,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,900000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2385,374,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1620000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2386,374,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,58.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2387,374,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2388,374,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2389,374,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2390,374,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2391,375,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,1140000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2392,375,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1750000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2393,375,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,55.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2394,375,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,380000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2395,375,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2396,375,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2397,375,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2398,376,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,1380000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2399,376,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,3770000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2400,376,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,88.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2401,376,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,460000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2402,376,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2403,376,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2404,376,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2405,377,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2406,377,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2340000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2407,377,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,86.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2408,377,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,260000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2409,377,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2410,377,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2411,377,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2412,378,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,1020000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2413,378,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1024000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2414,378,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,79.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2415,378,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,340000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2416,378,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2417,378,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2418,378,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2419,379,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,900000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2420,379,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2421,379,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,66.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2422,379,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2423,379,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2424,379,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2425,379,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2426,380,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,660000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2427,380,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,672000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2428,380,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,72.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2429,380,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,220000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2430,380,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2431,380,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2432,380,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2433,381,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,840000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2434,381,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2435,381,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2436,381,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,280000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2437,381,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2438,381,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2439,381,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2440,382,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,960000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2441,382,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1092000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2442,382,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,68.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2443,382,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,320000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2444,382,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2445,382,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2446,382,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2447,383,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,1260000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2448,383,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,735000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2449,383,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,74.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2450,383,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,420000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2451,383,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2452,383,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2453,383,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2454,384,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,1140000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2455,384,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2232000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2456,384,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,81.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2457,384,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,380000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2458,384,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2459,384,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2460,384,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2461,385,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,900000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2462,385,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,924000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2463,385,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,85.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2464,385,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2465,385,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2466,385,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2467,385,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2468,386,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,1560000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2469,386,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1140000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2470,386,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,63.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2471,386,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,520000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2472,386,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2473,386,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2474,386,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2475,387,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,2040000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2476,387,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,5040000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2477,387,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,68.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2478,387,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,680000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2479,387,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2480,387,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2481,387,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2482,388,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,2640000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2483,388,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,6076000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2484,388,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,84.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2485,388,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,880000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2486,388,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2487,388,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2488,388,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2489,389,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,1260000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2490,389,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2491,389,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,66.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2492,389,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,420000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2493,389,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2494,389,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2495,389,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2496,390,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,1080000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2497,390,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,754000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2498,390,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,71.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2499,390,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,360000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2500,390,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2501,390,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2502,390,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2503,391,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,1920000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2504,391,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,6396000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2505,391,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,71.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2506,391,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,640000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2507,391,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2508,391,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2509,391,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2510,392,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,2850000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2511,392,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2730000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2512,392,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,32.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2513,392,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,950000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2514,392,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2515,392,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2516,392,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2517,393,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,2340000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2518,393,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2210000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2519,393,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2520,393,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2521,393,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2522,393,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2523,393,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2524,394,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,1560000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2525,394,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2170000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2526,394,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,42.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2527,394,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,520000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2528,394,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2529,394,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2530,394,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2531,395,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,5550000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2532,395,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,6290000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2533,395,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,58.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2534,395,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,1850000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2535,395,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2536,395,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2537,395,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2538,396,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,1860000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2539,396,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2880000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2540,396,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,46.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2541,396,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,620000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2542,396,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2543,396,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2544,396,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2545,397,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,1440000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2546,397,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1716000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2547,397,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2548,397,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,480000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2549,397,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2550,397,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2551,397,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2552,398,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,1260000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2553,398,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1957500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2554,398,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,44.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2555,398,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,420000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2556,398,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2557,398,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2558,398,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2559,399,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,1140000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2560,399,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2720000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2561,399,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,82.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2562,399,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,380000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2563,399,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2564,399,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2565,399,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2566,400,'cash','Cash buffer',NULL,'variable','number',NULL,NULL,'currency',NULL,2160000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2567,400,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,5780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2568,400,'cost_ratio','Cost of goods (% of revenue)',NULL,'variable','number',NULL,NULL,NULL,NULL,55.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2569,400,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,720000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2570,400,'monthly_expense','Monthly outflow',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * cost_ratio/100 + fixed, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2571,400,'monthly_profit','Monthly profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue - revenue * cost_ratio/100 - fixed, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2572,400,'runway_months','Runway (months)',NULL,'output','decimal',NULL,NULL,'months',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(revenue - revenue * cost_ratio/100 - fixed >= 0, 0, round(cash / (revenue * cost_ratio/100 + fixed - revenue), 1))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2573,401,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,1298700.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2574,401,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,1948050.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2575,401,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2576,401,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2577,402,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,2025400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2578,402,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,1485293.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2579,402,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2580,402,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2581,403,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,1354080.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2582,403,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,361088.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2583,403,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2584,403,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2585,404,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,939600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2586,404,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,156600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2587,404,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2588,404,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2589,405,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,962500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2590,405,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,3047916.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2591,405,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2592,405,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2593,406,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,3317600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2594,406,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,7741066.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2595,406,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2596,406,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2597,407,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,2012400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2598,407,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,2683200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2599,407,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2600,407,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2601,408,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,808960.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2602,408,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,1617920.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2603,408,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2604,408,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2605,409,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,823680.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2606,409,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,1510080.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2607,409,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2608,409,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2609,410,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,483840.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2610,410,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,1048320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2611,410,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2612,410,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2613,411,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,468000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2614,411,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,62400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2615,411,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2616,411,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2617,412,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,742560.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2618,412,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,123760.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2619,412,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2620,412,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2621,413,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,543900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2622,413,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,217560.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2623,413,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2624,413,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2625,414,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,1807920.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2626,414,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,120528.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2627,414,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2628,414,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2629,415,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,785400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2630,415,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,52360.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2631,415,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2632,415,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2633,416,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,718200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2634,416,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,71820.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2635,416,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2636,416,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2637,417,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,3427200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2638,417,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,685440.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2639,417,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2640,417,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2641,418,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,5103840.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2642,418,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,15311520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2643,418,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2644,418,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2645,419,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,823680.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2646,419,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,549120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2647,419,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2648,419,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2649,420,'cogs','Annual cost of goods sold',NULL,'variable','number',NULL,NULL,'currency',NULL,535340.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2650,420,'avg_inventory','Average stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,446116.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2651,420,'turnover','Stock turnover (times / year)',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(cogs / max(avg_inventory, 1), 2)',2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2652,420,'days_on_hand','Days stock sits',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(365 / max(cogs / max(avg_inventory, 1), 0.01), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2653,421,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,1948050.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2654,421,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,43290.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2655,421,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2656,421,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2657,421,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2658,421,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2659,422,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,1485293.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2660,422,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,67513.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2661,422,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2662,422,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2663,422,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2664,422,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2665,423,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,361088.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2666,423,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,45136.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2667,423,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2668,423,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2669,423,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2670,423,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2671,424,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,156600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2672,424,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,31320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2673,424,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2674,424,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2675,424,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2676,424,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2677,425,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,3047916.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2678,425,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,32083.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2679,425,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2680,425,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2681,425,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2682,425,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2683,426,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,7741066.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2684,426,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,110586.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2685,426,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2686,426,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2687,426,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2688,426,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2689,427,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,2683200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2690,427,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,67080.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2691,427,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2692,427,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2693,427,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2694,427,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2695,428,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,1617920.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2696,428,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,26965.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2697,428,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2698,428,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2699,428,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2700,428,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2701,429,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,1510080.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2702,429,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,27456.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2703,429,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2704,429,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2705,429,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2706,429,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2707,430,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,1048320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2708,430,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,16128.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2709,430,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2710,430,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2711,430,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2712,430,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2713,431,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,62400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2714,431,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,15600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2715,431,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2716,431,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2717,431,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2718,431,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2719,432,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,123760.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2720,432,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,24752.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2721,432,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2722,432,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2723,432,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2724,432,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2725,433,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,217560.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2726,433,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,18130.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2727,433,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2728,433,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2729,433,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2730,433,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2731,434,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,120528.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2732,434,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,60264.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2733,434,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2734,434,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2735,434,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2736,434,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2737,435,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,52360.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2738,435,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,26180.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2739,435,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2740,435,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2741,435,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2742,435,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2743,436,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,71820.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2744,436,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,23940.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2745,436,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2746,436,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2747,436,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2748,436,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2749,437,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,685440.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2750,437,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,114240.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2751,437,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2752,437,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2753,437,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2754,437,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2755,438,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,15311520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2756,438,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,170128.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2757,438,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2758,438,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2759,438,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2760,438,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2761,439,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,549120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2762,439,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,27456.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2763,439,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2764,439,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2765,439,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2766,439,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2767,440,'inventory_value','Stock value',NULL,'variable','number',NULL,NULL,'currency',NULL,446116.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2768,440,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,17844.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2769,440,'target_days','Target cover',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2770,440,'days_cover','Days of cover',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_value / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2771,440,'target_stock','Stock at target cover',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2772,440,'excess_stock','Excess above target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, inventory_value - daily_cogs * target_days), 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2773,441,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,300.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2774,441,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2775,441,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2776,441,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2777,441,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2778,442,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,866.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2779,442,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2780,442,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2781,442,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2782,442,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2783,443,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,173.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2784,443,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2785,443,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2786,443,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2787,443,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2788,444,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,300.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2789,444,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2790,444,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2791,444,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2792,444,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2793,445,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,46.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2794,445,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2795,445,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2796,445,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2797,445,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2798,446,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,8.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2799,446,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2800,446,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2801,446,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2802,446,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2803,447,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2804,447,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2805,447,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2806,447,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2807,447,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2808,448,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,106.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2809,448,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2810,448,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2811,448,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2812,448,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2813,449,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,86.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2814,449,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2815,449,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2816,449,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2817,449,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2818,450,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,140.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2819,450,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2820,450,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2821,450,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2822,450,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2823,451,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,216.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2824,451,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2825,451,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2826,451,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2827,451,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2828,452,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,173.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2829,452,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2830,452,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2831,452,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2832,452,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2833,453,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,140.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2834,453,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2835,453,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2836,453,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2837,453,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2838,454,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2839,454,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2840,454,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2841,454,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2842,454,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2843,455,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,733.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2844,455,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2845,455,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2846,455,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2847,455,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2848,456,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2849,456,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2850,456,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2851,456,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2852,456,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2853,457,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,70.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2854,457,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2855,457,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2856,457,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2857,457,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2858,458,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,20.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2859,458,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2860,458,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2861,458,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2862,458,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2863,459,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,160.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2864,459,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2865,459,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2866,459,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2867,459,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2868,460,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,173.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2869,460,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2870,460,'safety_days','Safety days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2871,460,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (lead_days + safety_days))',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2872,460,'order_quantity','Suggested order quantity',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days * 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2873,461,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,300.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2874,461,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2875,461,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2876,461,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2877,461,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2878,461,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2879,461,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2880,462,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,866.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2881,462,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2882,462,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2883,462,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2884,462,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2885,462,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2886,462,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2887,463,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,173.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2888,463,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2889,463,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2890,463,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2891,463,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2892,463,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2893,463,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2894,464,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,300.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2895,464,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2896,464,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2897,464,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2898,464,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2899,464,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2900,464,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2901,465,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,46.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2902,465,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2903,465,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2904,465,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2905,465,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2906,465,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2907,465,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2908,466,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,8.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2909,466,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2910,466,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2911,466,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2912,466,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2913,466,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2914,466,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2915,467,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2916,467,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2917,467,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2918,467,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2919,467,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2920,467,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2921,467,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2922,468,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,106.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2923,468,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2924,468,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2925,468,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2926,468,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2927,468,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2928,468,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2929,469,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,86.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2930,469,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2931,469,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2932,469,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2933,469,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2934,469,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2935,469,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2936,470,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,140.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2937,470,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2938,470,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2939,470,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2940,470,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2941,470,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2942,470,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2943,471,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,216.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2944,471,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2945,471,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2946,471,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2947,471,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2948,471,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2949,471,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2950,472,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,173.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2951,472,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2952,472,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2953,472,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2954,472,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2955,472,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2956,472,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2957,473,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,140.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2958,473,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2959,473,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2960,473,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2961,473,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2962,473,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2963,473,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2964,474,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2965,474,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2966,474,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2967,474,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2968,474,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2969,474,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2970,474,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2971,475,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,733.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2972,475,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2973,475,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2974,475,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2975,475,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2976,475,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2977,475,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2978,476,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2979,476,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2980,476,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2981,476,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2982,476,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2983,476,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2984,476,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2985,477,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,70.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2986,477,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2987,477,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2988,477,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2989,477,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2990,477,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2991,477,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2992,478,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,20.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2993,478,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2994,478,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2995,478,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2996,478,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2997,478,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2998,478,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(2999,479,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,160.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3000,479,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3001,479,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3002,479,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3003,479,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3004,479,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3005,479,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3006,480,'daily_units','Average daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,173.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3007,480,'lead_days','Supplier lead time',NULL,'variable','number',NULL,NULL,'days',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3008,480,'service_factor','Service-level factor',NULL,'variable','number',NULL,NULL,'z',NULL,1.650000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3009,480,'demand_cv','Demand variability (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3010,480,'demand_sigma','Daily demand std deviation',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * demand_cv/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3011,480,'safety_stock','Safety stock (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3012,480,'reorder_point','Reorder point (units)',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * lead_days + service_factor * daily_units * demand_cv/100 * sqrt(lead_days))',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3013,481,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3014,481,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.700000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3015,481,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3016,481,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3017,481,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3018,481,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3019,482,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,2600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3020,482,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,17.100000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3021,482,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3022,482,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3023,482,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3024,482,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3025,483,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3026,483,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,159.600000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3027,483,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3028,483,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3029,483,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3030,483,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3031,484,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3032,484,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,75.600000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3033,484,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3034,484,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3035,484,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3036,484,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3037,485,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,140.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3038,485,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,562.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3039,485,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3040,485,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3041,485,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3042,485,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3043,486,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,26.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3044,486,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1740.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3045,486,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3046,486,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3047,486,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3048,486,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3049,487,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,90.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3050,487,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,364.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3051,487,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3052,487,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3053,487,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3054,487,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3055,488,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3056,488,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,67.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3057,488,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3058,488,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3059,488,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3060,488,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3061,489,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3062,489,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,163.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3063,489,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3064,489,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3065,489,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3066,489,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3067,490,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3068,490,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,44.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3069,490,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3070,490,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3071,490,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3072,490,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3073,491,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,650.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3074,491,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,48.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3075,491,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3076,491,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3077,491,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3078,491,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3079,492,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3080,492,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,67.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3081,492,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3082,492,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3083,492,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3084,492,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3085,493,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3086,493,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,45.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3087,493,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3088,493,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3089,493,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3090,493,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3091,494,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,360.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3092,494,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,117.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3093,494,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3094,494,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3095,494,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3096,494,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3097,495,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,2200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3098,495,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,6.300000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3099,495,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3100,495,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3101,495,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3102,495,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3103,496,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,1200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3104,496,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,35.150000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3105,496,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3106,496,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3107,496,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3108,496,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3109,497,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3110,497,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,768.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3111,497,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3112,497,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3113,497,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3114,497,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3115,498,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,62.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3116,498,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1568.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3117,498,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3118,498,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3119,498,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3120,498,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3121,499,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,480.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3122,499,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,88.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3123,499,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3124,499,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3125,499,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3126,499,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3127,500,'lost_units','Units not served',NULL,'variable','number',NULL,NULL,'units',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3128,500,'contribution','Contribution per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,42.050000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3129,500,'goodwill_per_unit','Goodwill cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3130,500,'lost_margin','Lost margin',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3131,500,'goodwill_loss','Goodwill loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * goodwill_per_unit, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3132,500,'total_cost','Total stock-out cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(lost_units * contribution + lost_units * goodwill_per_unit, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3133,501,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,9000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3134,501,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,185.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3135,501,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,144.300000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3136,501,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3137,501,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3138,501,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3139,501,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3140,502,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,26000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3141,502,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,95.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3142,502,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,77.900000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3143,502,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3144,502,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3145,502,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3146,502,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3147,503,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3148,503,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3149,503,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,260.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3150,503,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3151,503,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3152,503,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3153,503,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3154,504,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,9000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3155,504,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,180.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3156,504,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,104.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3157,504,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3158,504,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3159,504,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3160,504,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3161,505,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,1400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3162,505,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3163,505,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,687.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3164,505,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3165,505,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3166,505,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3167,505,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3168,506,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3169,506,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,14500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3170,506,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,12760.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3171,506,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3172,506,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3173,506,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3174,506,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3175,507,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3176,507,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3177,507,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2236.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3178,507,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3179,507,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3180,507,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3181,507,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3182,508,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3183,508,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3184,508,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,252.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3185,508,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3186,508,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3187,508,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3188,508,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3189,509,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,2600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3190,509,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,480.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3191,509,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,316.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3192,509,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3193,509,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3194,509,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3195,509,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3196,510,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3197,510,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,160.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3198,510,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,115.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3199,510,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3200,510,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3201,510,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3202,510,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3203,511,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,6500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3204,511,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3205,511,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,72.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3206,511,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3207,511,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3208,511,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3209,511,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3210,512,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3211,512,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3212,512,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,142.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3213,512,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3214,512,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3215,512,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3216,512,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3217,513,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3218,513,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,175.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3219,513,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,129.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3220,513,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3221,513,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3222,513,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3223,513,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3224,514,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,3600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3225,514,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3226,514,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,502.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3227,514,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3228,514,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3229,514,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3230,514,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3231,515,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,22000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3232,515,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,42.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3233,515,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,35.700000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3234,515,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3235,515,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3236,515,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3237,515,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3238,516,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,12000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3239,516,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,95.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3240,516,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,59.850000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3241,516,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3242,516,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3243,516,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3244,516,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3245,517,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,2100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3246,517,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3247,517,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1632.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3248,517,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3249,517,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3250,517,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3251,517,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3252,518,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3253,518,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,9800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3254,518,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,8232.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3255,518,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3256,518,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3257,518,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3258,518,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3259,519,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,4800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3260,519,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3261,519,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,171.600000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3262,519,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3263,519,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3264,519,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3265,519,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3266,520,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3267,520,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,145.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3268,520,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,102.950000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3269,520,'shrinkage_pct','Shrinkage (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,1.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3270,520,'lost_units','Units lost',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100, 0)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3271,520,'lost_sales','Lost sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * price, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3272,520,'lost_cost','Cost written off',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * shrinkage_pct/100 * cost, 2)',6,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3273,521,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,45000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3274,521,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1665000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3275,521,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3276,521,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3277,521,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3278,521,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3279,522,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,90000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3280,522,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2470000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3281,522,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3282,522,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3283,522,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3284,522,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3285,523,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,120000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3286,523,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2184000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3287,523,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3288,523,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3289,523,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3290,523,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3291,524,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,70000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3292,524,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1620000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3293,524,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3294,524,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3295,524,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3296,524,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3297,525,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,85000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3298,525,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1750000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3299,525,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3300,525,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3301,525,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3302,525,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3303,526,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,80000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3304,526,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,3770000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3305,526,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3306,526,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3307,526,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3308,526,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3309,527,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,55000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3310,527,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2340000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3311,527,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3312,527,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3313,527,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3314,527,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3315,528,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,70000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3316,528,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1024000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3317,528,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3318,528,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3319,528,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3320,528,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3321,529,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,65000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3322,529,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3323,529,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3324,529,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3325,529,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3326,529,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3327,530,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,48000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3328,530,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,672000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3329,530,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3330,530,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3331,530,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3332,530,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3333,531,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,60000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3334,531,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3335,531,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3336,531,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3337,531,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3338,531,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3339,532,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,65000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3340,532,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1092000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3341,532,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3342,532,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3343,532,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3344,532,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3345,533,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,40000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3346,533,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,735000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3347,533,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3348,533,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3349,533,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3350,533,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3351,534,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,75000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3352,534,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2232000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3353,534,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3354,534,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3355,534,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3356,534,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3357,535,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,55000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3358,535,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,924000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3359,535,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3360,535,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3361,535,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3362,535,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3363,536,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,85000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3364,536,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1140000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3365,536,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3366,536,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3367,536,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3368,536,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3369,537,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,95000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3370,537,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,5040000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3371,537,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3372,537,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3373,537,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3374,537,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(3375,538,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,110000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3376,538,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,6076000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3377,538,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3378,538,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3379,538,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3380,538,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3381,539,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,70000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3382,539,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3383,539,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3384,539,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3385,539,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3386,539,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3387,540,'rent','Monthly rent',NULL,'variable','number',NULL,NULL,'currency',NULL,38000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3388,540,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,754000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3389,540,'healthy_pct','Healthy rent share (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3390,540,'rent_ratio','Rent as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(rent / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3391,540,'affordable_rent','Rent at the healthy ceiling',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3392,540,'headroom','Monthly headroom',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * healthy_pct/100 - rent, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3393,541,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,88000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3394,541,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1665000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3395,541,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3396,541,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3397,541,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3398,541,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3399,542,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,144000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3400,542,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2470000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3401,542,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3402,542,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3403,542,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3404,542,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3405,543,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,240000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3406,543,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2184000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3407,543,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3408,543,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3409,543,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3410,543,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3411,544,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,112000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3412,544,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1620000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3413,544,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3414,544,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3415,544,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3416,544,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3417,545,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,95000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3418,545,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1750000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3419,545,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3420,545,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3421,545,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3422,545,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3423,546,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,144000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3424,546,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,3770000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3425,546,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3426,546,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3427,546,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3428,546,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3429,547,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,80000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3430,547,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2340000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3431,547,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3432,547,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3433,547,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3434,547,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3435,548,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,108000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3436,548,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1024000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3437,548,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3438,548,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3439,548,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3440,548,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3441,549,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,90000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3442,549,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3443,549,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3444,549,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3445,549,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3446,549,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3447,550,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,64000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3448,550,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,672000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3449,550,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3450,550,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3451,550,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3452,550,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3453,551,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,120000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3454,551,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3455,551,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3456,551,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3457,551,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3458,551,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3459,552,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,119000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3460,552,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1092000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3461,552,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3462,552,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3463,552,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3464,552,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3465,553,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,126000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3466,553,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,735000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3467,553,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3468,553,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3469,553,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3470,553,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3471,554,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,112000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3472,554,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2232000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3473,554,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3474,554,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3475,554,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3476,554,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3477,555,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,130000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3478,555,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,924000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3479,555,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3480,555,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3481,555,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3482,555,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3483,556,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,374000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3484,556,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1140000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3485,556,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3486,556,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3487,556,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3488,556,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3489,557,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,360000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3490,557,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,5040000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3491,557,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,18.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3492,557,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3493,557,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3494,557,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3495,558,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,624000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3496,558,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,6076000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3497,558,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,26.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3498,558,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3499,558,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3500,558,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3501,559,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,216000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3502,559,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3503,559,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3504,559,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3505,559,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3506,559,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3507,560,'payroll','Monthly payroll',NULL,'variable','number',NULL,NULL,'currency',NULL,143000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3508,560,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,754000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3509,560,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,11.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3510,560,'payroll_ratio','Payroll as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(revenue, 1) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3511,560,'revenue_per_employee','Revenue per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3512,560,'payroll_per_employee','Cost per employee',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payroll / max(staff, 1), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3513,561,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1665000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3514,561,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3515,561,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3516,561,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3517,561,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3518,561,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3519,562,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2470000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3520,562,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3521,562,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3522,562,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3523,562,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3524,562,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3525,563,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2184000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3526,563,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3527,563,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3528,563,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3529,563,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3530,563,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3531,564,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1620000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3532,564,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3533,564,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3534,564,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3535,564,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3536,564,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3537,565,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1750000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3538,565,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3539,565,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3540,565,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3541,565,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3542,565,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3543,566,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,3770000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3544,566,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3545,566,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3546,566,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3547,566,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3548,566,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3549,567,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2340000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3550,567,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3551,567,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3552,567,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3553,567,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3554,567,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3555,568,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1024000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3556,568,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3557,568,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3558,568,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3559,568,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3560,568,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3561,569,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3562,569,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3563,569,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3564,569,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3565,569,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3566,569,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3567,570,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,672000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3568,570,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3569,570,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3570,570,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3571,570,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3572,570,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3573,571,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3574,571,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3575,571,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3576,571,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3577,571,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3578,571,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3579,572,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1092000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3580,572,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3581,572,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3582,572,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3583,572,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3584,572,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3585,573,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,735000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3586,573,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3587,573,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3588,573,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3589,573,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3590,573,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3591,574,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2232000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3592,574,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3593,574,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3594,574,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3595,574,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3596,574,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3597,575,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,924000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3598,575,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3599,575,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3600,575,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3601,575,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3602,575,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3603,576,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1140000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3604,576,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3605,576,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3606,576,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3607,576,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3608,576,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3609,577,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,5040000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3610,577,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,18.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3611,577,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3612,577,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3613,577,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3614,577,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3615,578,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,6076000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3616,578,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,26.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3617,578,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3618,578,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3619,578,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3620,578,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3621,579,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3622,579,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3623,579,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3624,579,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3625,579,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3626,579,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3627,580,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,754000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3628,580,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,11.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3629,580,'target_uplift_pct','Target uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3630,580,'sales_per_employee','Sales per employee / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1), 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3631,580,'sales_per_employee_day','Sales per employee / working day',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(staff, 1) / 26, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3632,580,'target_revenue','Revenue at target uplift',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (1 + target_uplift_pct/100), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3633,581,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3634,581,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3635,581,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3636,581,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3637,581,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3638,581,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3639,582,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3640,582,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3641,582,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3642,582,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3643,582,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3644,582,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3645,583,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,2400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3646,583,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,780.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3647,583,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3648,583,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3649,583,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3650,583,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3651,584,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3652,584,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3653,584,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3654,584,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3655,584,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3656,584,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3657,585,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,700.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3658,585,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,2100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3659,585,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3660,585,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3661,585,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3662,585,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3663,586,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3664,586,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,9800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3665,586,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3666,586,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3667,586,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3668,586,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3669,587,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,640.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3670,587,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,2900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3671,587,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3672,587,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3673,587,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3674,587,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3675,588,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3676,588,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3677,588,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3678,588,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3679,588,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3680,588,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3681,589,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3682,589,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,950.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3683,589,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3684,589,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3685,589,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3686,589,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3687,590,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3688,590,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3689,590,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3690,590,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3691,590,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3692,590,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3693,591,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,1600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3694,591,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,240.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3695,591,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3696,591,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3697,591,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3698,591,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3699,592,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,1200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3700,592,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,380.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3701,592,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3702,592,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3703,592,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3704,592,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3705,593,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3706,593,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,6500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3707,593,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3708,593,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3709,593,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3710,593,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3711,594,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3712,594,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,720.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3713,594,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3714,594,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3715,594,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3716,594,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3717,595,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3718,595,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1450.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3719,595,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3720,595,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3721,595,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3722,595,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3723,596,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,1500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3724,596,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3725,596,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3726,596,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3727,596,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3728,596,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3729,597,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3730,597,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,12500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3731,597,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3732,597,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3733,597,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3734,597,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3735,598,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,140.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3736,598,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,42000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3737,598,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3738,598,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3739,598,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3740,598,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3741,599,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3742,599,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3743,599,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3744,599,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3745,599,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3746,599,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3747,600,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,340.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3748,600,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3749,600,'uplift_pct','Basket uplift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3750,600,'current_revenue','Current monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3751,600,'new_basket','New average basket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3752,600,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * order_value * uplift_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3753,601,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3754,601,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3755,601,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3756,601,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3757,601,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3758,601,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3759,602,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3760,602,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3761,602,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3762,602,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3763,602,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3764,602,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3765,603,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,2400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3766,603,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3767,603,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3768,603,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3769,603,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3770,603,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3771,604,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3772,604,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3773,604,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3774,604,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3775,604,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3776,604,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3777,605,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,700.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3778,605,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3779,605,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3780,605,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3781,605,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3782,605,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3783,606,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3784,606,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3785,606,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3786,606,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3787,606,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3788,606,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3789,607,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,640.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3790,607,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3791,607,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3792,607,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3793,607,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3794,607,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3795,608,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3796,608,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3797,608,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3798,608,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3799,608,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3800,608,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3801,609,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3802,609,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3803,609,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3804,609,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3805,609,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3806,609,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3807,610,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3808,610,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3809,610,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3810,610,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3811,610,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3812,610,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3813,611,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,1600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3814,611,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3815,611,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3816,611,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3817,611,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3818,611,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3819,612,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,1200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3820,612,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3821,612,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3822,612,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3823,612,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3824,612,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3825,613,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3826,613,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3827,613,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3828,613,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3829,613,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3830,613,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3831,614,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3832,614,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3833,614,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3834,614,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3835,614,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3836,614,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3837,615,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3838,615,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3839,615,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3840,615,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3841,615,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3842,615,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3843,616,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,1500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3844,616,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3845,616,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3846,616,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3847,616,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3848,616,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3849,617,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3850,617,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3851,617,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3852,617,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3853,617,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3854,617,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3855,618,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,140.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3856,618,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3857,618,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3858,618,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3859,618,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3860,618,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3861,619,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3862,619,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3863,619,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3864,619,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3865,619,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3866,619,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3867,620,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,340.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3868,620,'repeat_rate','Repeat customers (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3869,620,'visits_per_year','Visits per customer / year',NULL,'variable','number',NULL,NULL,NULL,NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3870,620,'repeat_customers','Repeat customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * repeat_rate/100, 0)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3871,620,'annual_visits','Annual visits',NULL,'output','decimal',NULL,NULL,'visits',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * visits_per_year, 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3872,620,'one_time_customers','One-time customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers * (1 - repeat_rate/100), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3873,621,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3874,621,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3875,621,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3876,621,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3877,621,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3878,621,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3879,622,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3880,622,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3881,622,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3882,622,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3883,622,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3884,622,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3885,623,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,780.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3886,623,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3887,623,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3888,623,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3889,623,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3890,623,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3891,624,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3892,624,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3893,624,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3894,624,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3895,624,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3896,624,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3897,625,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,2100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3898,625,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3899,625,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3900,625,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3901,625,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3902,625,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3903,626,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,9800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3904,626,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3905,626,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3906,626,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3907,626,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3908,626,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3909,627,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,2900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3910,627,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3911,627,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3912,627,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3913,627,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3914,627,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3915,628,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3916,628,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3917,628,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3918,628,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3919,628,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3920,628,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3921,629,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,950.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3922,629,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3923,629,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3924,629,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3925,629,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3926,629,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3927,630,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3928,630,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3929,630,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3930,630,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3931,630,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3932,630,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3933,631,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,240.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3934,631,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3935,631,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3936,631,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3937,631,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3938,631,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3939,632,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,380.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3940,632,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3941,632,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3942,632,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3943,632,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3944,632,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3945,633,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,6500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3946,633,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3947,633,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3948,633,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3949,633,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3950,633,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3951,634,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,720.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3952,634,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3953,634,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3954,634,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3955,634,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3956,634,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3957,635,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1450.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3958,635,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3959,635,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3960,635,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3961,635,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3962,635,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3963,636,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3964,636,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3965,636,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3966,636,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3967,636,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3968,636,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3969,637,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,12500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3970,637,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3971,637,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3972,637,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3973,637,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3974,637,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3975,638,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,42000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3976,638,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3977,638,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3978,638,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3979,638,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3980,638,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3981,639,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3982,639,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3983,639,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3984,639,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3985,639,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3986,639,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3987,640,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3988,640,'visits_per_year','Visits / year',NULL,'variable','number',NULL,NULL,'visits',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3989,640,'years','Retention years',NULL,'variable','number',NULL,NULL,'years',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3990,640,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3991,640,'annual_value','Annual revenue per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3992,640,'lifetime_value','Lifetime value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * visits_per_year * years * margin_pct/100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3993,641,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3994,641,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,648.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3995,641,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3996,641,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3997,641,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3998,642,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(3999,642,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,2304.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4000,642,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4001,642,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4002,642,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4003,643,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,2400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4004,643,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,1728.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4005,643,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4006,643,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4007,643,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4008,644,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4009,644,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,3024.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4010,644,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4011,644,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4012,644,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4013,645,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,700.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4014,645,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,504.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4015,645,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4016,645,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4017,645,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4018,646,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4019,646,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,230.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4020,646,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4021,646,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4022,646,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4023,647,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,640.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4024,647,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,461.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4025,647,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4026,647,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4027,647,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4028,648,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4029,648,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,374.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4030,648,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4031,648,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4032,648,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4033,649,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4034,649,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,648.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4035,649,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4036,649,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4037,649,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4038,650,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4039,650,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,576.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4040,650,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4041,650,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4042,650,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4043,651,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,1600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4044,651,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,1152.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4045,651,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4046,651,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4047,651,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4048,652,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,1200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4049,652,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,864.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4050,652,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4051,652,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4052,652,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4053,653,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4054,653,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,187.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4055,653,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4056,653,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4057,653,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4058,654,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4059,654,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,612.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4060,654,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4061,654,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4062,654,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4063,655,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4064,655,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,302.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4065,655,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4066,655,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4067,655,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4068,656,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,1500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4069,656,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,1080.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4070,656,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4071,656,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4072,656,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4073,657,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4074,657,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,187.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4075,657,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4076,657,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4077,657,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4078,658,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,140.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4079,658,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,101.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4080,658,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4081,658,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4082,658,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4083,659,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4084,659,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,374.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4085,659,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4086,659,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4087,659,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4088,660,'customers','Customers at period start',NULL,'variable','number',NULL,NULL,'customers',NULL,340.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4089,660,'retained','Still buying at period end',NULL,'variable','number',NULL,NULL,'customers',NULL,245.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4090,660,'retention_rate','Retention rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(retained / max(customers, 1) * 100, 2)',2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4091,660,'churn_rate','Churn rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((1 - retained / max(customers, 1)) * 100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4092,660,'lost_customers','Customers lost',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, customers - retained), 0)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4093,661,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4094,661,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4095,661,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4096,661,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4097,661,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4098,661,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4099,661,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4100,662,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4101,662,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4102,662,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4103,662,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4104,662,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4105,662,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4106,662,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4107,663,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,2400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4108,663,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4109,663,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4110,663,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,780.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4111,663,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4112,663,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4113,663,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4114,664,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4115,664,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4116,664,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4117,664,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4118,664,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4119,664,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4120,664,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4121,665,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,700.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4122,665,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4123,665,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4124,665,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,2100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4125,665,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4126,665,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4127,665,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4128,666,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4129,666,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4130,666,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4131,666,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,9800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4132,666,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4133,666,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4134,666,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4135,667,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,640.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4136,667,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4137,667,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4138,667,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,2900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4139,667,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4140,667,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4141,667,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4142,668,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4143,668,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4144,668,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4145,668,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4146,668,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4147,668,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4148,668,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4149,669,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4150,669,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4151,669,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4152,669,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,950.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4153,669,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4154,669,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4155,669,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4156,670,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4157,670,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4158,670,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4159,670,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4160,670,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4161,670,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4162,670,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4163,671,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,1600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4164,671,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4165,671,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4166,671,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,240.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4167,671,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4168,671,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4169,671,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4170,672,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,1200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4171,672,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4172,672,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4173,672,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,380.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4174,672,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4175,672,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4176,672,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4177,673,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4178,673,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4179,673,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4180,673,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,6500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4181,673,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4182,673,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4183,673,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4184,674,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4185,674,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4186,674,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4187,674,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,720.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4188,674,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4189,674,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4190,674,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4191,675,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4192,675,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4193,675,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4194,675,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1450.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4195,675,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4196,675,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4197,675,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4198,676,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,1500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4199,676,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4200,676,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4201,676,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4202,676,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4203,676,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4204,676,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4205,677,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4206,677,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4207,677,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4208,677,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,12500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4209,677,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4210,677,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4211,677,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4212,678,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,140.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4213,678,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4214,678,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4215,678,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,42000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4216,678,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4217,678,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4218,678,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4219,679,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4220,679,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4221,679,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4222,679,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4223,679,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4224,679,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4225,679,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4226,680,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,340.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4227,680,'delivery_cost','Delivery cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4228,680,'packaging_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4229,680,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4230,680,'fulfilment_per_order','Fulfilment cost per order',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(delivery_cost + packaging_cost, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4231,680,'monthly_fulfilment','Monthly fulfilment cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * (delivery_cost + packaging_cost), 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4232,680,'share_of_basket','Share of basket value',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((delivery_cost + packaging_cost) / max(order_value, 1) * 100, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4233,681,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4234,681,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4235,681,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4236,681,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4237,681,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4238,682,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4239,682,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4240,682,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4241,682,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4242,682,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4243,683,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,2400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4244,683,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4245,683,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4246,683,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4247,683,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4248,684,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4249,684,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4250,684,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4251,684,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4252,684,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4253,685,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,700.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4254,685,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4255,685,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4256,685,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4257,685,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4258,686,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4259,686,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4260,686,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4261,686,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4262,686,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4263,687,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,640.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4264,687,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4265,687,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4266,687,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4267,687,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4268,688,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4269,688,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4270,688,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4271,688,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4272,688,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4273,689,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4274,689,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4275,689,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4276,689,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4277,689,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4278,690,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4279,690,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4280,690,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4281,690,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4282,690,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4283,691,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,1600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4284,691,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4285,691,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4286,691,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4287,691,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4288,692,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,1200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4289,692,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4290,692,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4291,692,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4292,692,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4293,693,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4294,693,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4295,693,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4296,693,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4297,693,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4298,694,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4299,694,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4300,694,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4301,694,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4302,694,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4303,695,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4304,695,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4305,695,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4306,695,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4307,695,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4308,696,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,1500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4309,696,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4310,696,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4311,696,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4312,696,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4313,697,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4314,697,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4315,697,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4316,697,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4317,697,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4318,698,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,140.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4319,698,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4320,698,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4321,698,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4322,698,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4323,699,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4324,699,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4325,699,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4326,699,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4327,699,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4328,700,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,340.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4329,700,'packing_cost','Packaging cost per order',NULL,'variable','number',NULL,NULL,'currency',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4330,700,'units_per_order','Units per order',NULL,'variable','number',NULL,NULL,'units',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4331,700,'monthly_packaging','Monthly packaging cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(orders * packing_cost, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4332,700,'per_unit','Packaging per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(packing_cost / max(units_per_order, 1), 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4333,701,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,9900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4334,701,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,2250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4335,701,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,3600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4336,701,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1665000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4337,701,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4338,701,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4339,701,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4340,702,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,19800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4341,702,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,4500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4342,702,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,7200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4343,702,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2470000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4344,702,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4345,702,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4346,702,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4347,703,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,26400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4348,703,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,6000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4349,703,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,9600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4350,703,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2184000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4351,703,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4352,703,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4353,703,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4354,704,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,15400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4355,704,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,3500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4356,704,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,5600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4357,704,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1620000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4358,704,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4359,704,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4360,704,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4361,705,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,18700.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4362,705,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,4250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4363,705,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,6800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4364,705,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1750000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4365,705,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4366,705,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4367,705,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4368,706,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,17600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4369,706,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,4000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4370,706,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,6400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4371,706,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,3770000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4372,706,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4373,706,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4374,706,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4375,707,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,12100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4376,707,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,2750.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4377,707,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,4400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4378,707,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2340000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4379,707,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4380,707,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4381,707,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4382,708,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,15400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4383,708,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,3500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4384,708,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,5600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4385,708,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1024000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4386,708,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4387,708,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4388,708,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4389,709,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,14300.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4390,709,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,3250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4391,709,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4392,709,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4393,709,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4394,709,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4395,709,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4396,710,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,10560.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4397,710,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,2400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4398,710,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,3840.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4399,710,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,672000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4400,710,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4401,710,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4402,710,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4403,711,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,13200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4404,711,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,3000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4405,711,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,4800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4406,711,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4407,711,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4408,711,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4409,711,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4410,712,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,14300.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4411,712,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,3250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4412,712,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4413,712,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1092000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4414,712,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4415,712,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4416,712,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4417,713,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,8800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4418,713,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,2000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4419,713,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4420,713,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,735000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4421,713,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4422,713,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4423,713,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4424,714,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,16500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4425,714,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,3750.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4426,714,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,6000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4427,714,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2232000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4428,714,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4429,714,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4430,714,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4431,715,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,12100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4432,715,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,2750.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4433,715,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,4400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4434,715,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,924000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4435,715,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4436,715,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4437,715,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4438,716,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,18700.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4439,716,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,4250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4440,716,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,6800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4441,716,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1140000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4442,716,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4443,716,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4444,716,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4445,717,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,20900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4446,717,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,4750.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4447,717,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,7600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4448,717,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,5040000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4449,717,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4450,717,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4451,717,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4452,718,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,24200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4453,718,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,5500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4454,718,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,8800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4455,718,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,6076000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4456,718,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4457,718,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4458,718,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4459,719,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,15400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4460,719,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,3500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4461,719,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,5600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4462,719,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4463,719,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4464,719,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4465,719,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4466,720,'electricity','Electricity / month',NULL,'variable','number',NULL,NULL,'currency',NULL,8360.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4467,720,'water','Water / month',NULL,'variable','number',NULL,NULL,'currency',NULL,1900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4468,720,'gas','Gas / month',NULL,'variable','number',NULL,NULL,'currency',NULL,3040.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4469,720,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,754000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4470,720,'utilities_total','Total utilities / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(electricity + water + gas, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4471,720,'utilities_share','Utilities as % of revenue',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) / max(revenue, 1) * 100, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4472,720,'annual_cost','Annual utilities cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((electricity + water + gas) * 12, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4473,721,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,320000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4474,721,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4475,721,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4476,721,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4477,721,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4478,721,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4479,722,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,520000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4480,722,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4481,722,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4482,722,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4483,722,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4484,722,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4485,723,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,480000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4486,723,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,780.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4487,723,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4488,723,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4489,723,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4490,723,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4491,724,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4492,724,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4493,724,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4494,724,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4495,724,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4496,724,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4497,725,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,380000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4498,725,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,2100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4499,725,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4500,725,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4501,725,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4502,725,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4503,726,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,460000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4504,726,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,9800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4505,726,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4506,726,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4507,726,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4508,726,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4509,727,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,260000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4510,727,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,2900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4511,727,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4512,727,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4513,727,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4514,727,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4515,728,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,340000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4516,728,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4517,728,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4518,728,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4519,728,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4520,728,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4521,729,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4522,729,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,950.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4523,729,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4524,729,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4525,729,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4526,729,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4527,730,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,220000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4528,730,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4529,730,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4530,730,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4531,730,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4532,730,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4533,731,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,280000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4534,731,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,240.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4535,731,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4536,731,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4537,731,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4538,731,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4539,732,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,320000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4540,732,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,380.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4541,732,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4542,732,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4543,732,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4544,732,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4545,733,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,420000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4546,733,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,6500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4547,733,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4548,733,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4549,733,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4550,733,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4551,734,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,380000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4552,734,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,720.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4553,734,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4554,734,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4555,734,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4556,734,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4557,735,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4558,735,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1450.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4559,735,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4560,735,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4561,735,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4562,735,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4563,736,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,520000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4564,736,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4565,736,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4566,736,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4567,736,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4568,736,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4569,737,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,680000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4570,737,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,12500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4571,737,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4572,737,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4573,737,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4574,737,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4575,738,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,880000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4576,738,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,42000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4577,738,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4578,738,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4579,738,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4580,738,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4581,739,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,420000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4582,739,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4583,739,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4584,739,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4585,739,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4586,739,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4587,740,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,360000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4588,740,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4589,740,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4590,740,'contribution_per_customer','Margin per customer',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(order_value * margin_pct/100, 2)',3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4591,740,'break_even_customers','Break-even customers / month',NULL,'output','decimal',NULL,NULL,'customers',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(fixed / max(order_value * margin_pct/100, 0.01))',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4592,740,'break_even_revenue','Break-even revenue / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(ceil(fixed / max(order_value * margin_pct/100, 0.01)) * order_value, 2)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4593,741,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,5400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4594,741,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4595,741,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4596,741,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4597,741,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4598,741,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4599,741,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4600,742,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,19200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4601,742,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4602,742,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4603,742,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4604,742,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4605,742,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4606,742,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4607,743,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,14400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4608,743,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,2400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4609,743,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,780.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4610,743,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4611,743,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4612,743,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4613,743,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4614,744,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,25200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(4615,744,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4616,744,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4617,744,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4618,744,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4619,744,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4620,744,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4621,745,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4622,745,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,700.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4623,745,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,2100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4624,745,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4625,745,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4626,745,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4627,745,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4628,746,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,1920.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4629,746,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4630,746,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,9800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4631,746,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4632,746,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4633,746,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4634,746,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4635,747,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,3840.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4636,747,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,640.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4637,747,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,2900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4638,747,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4639,747,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4640,747,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4641,747,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4642,748,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,3120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4643,748,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4644,748,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4645,748,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4646,748,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4647,748,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4648,748,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4649,749,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,5400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4650,749,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4651,749,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,950.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4652,749,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4653,749,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4654,749,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4655,749,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4656,750,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,4800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4657,750,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4658,750,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4659,750,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4660,750,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4661,750,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4662,750,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4663,751,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,9600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4664,751,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,1600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4665,751,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,240.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4666,751,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4667,751,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4668,751,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4669,751,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4670,752,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,7200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4671,752,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,1200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4672,752,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,380.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4673,752,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4674,752,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4675,752,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4676,752,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4677,753,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,1560.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4678,753,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4679,753,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,6500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4680,753,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4681,753,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4682,753,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4683,753,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4684,754,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,5100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4685,754,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4686,754,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,720.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4687,754,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4688,754,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4689,754,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4690,754,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4691,755,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,2520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4692,755,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4693,755,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1450.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4694,755,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4695,755,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4696,755,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4697,755,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4698,756,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,9000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4699,756,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,1500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4700,756,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4701,756,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4702,756,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4703,756,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4704,756,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4705,757,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,1560.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4706,757,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4707,757,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,12500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4708,757,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4709,757,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4710,757,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4711,757,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4712,758,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,840.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4713,758,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,140.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4714,758,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,42000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4715,758,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4716,758,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4717,758,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4718,758,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4719,759,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,3120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4720,759,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4721,759,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4722,759,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4723,759,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4724,759,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4725,759,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4726,760,'footfall','Monthly footfall',NULL,'variable','number',NULL,NULL,'visitors',NULL,2040.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4727,760,'customers','Buyers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,340.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4728,760,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4729,760,'target_uplift_pct','Conversion uplift target (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4730,760,'conversion_rate','Conversion rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(customers / max(footfall, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4731,760,'lost_visitors','Visitors who did not buy',NULL,'output','decimal',NULL,NULL,'visitors',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers), 0)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4732,760,'upside_revenue','Revenue upside at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, footfall - customers) * target_uplift_pct/100 * order_value, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4733,761,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1665000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4734,761,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4735,761,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4736,761,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4737,761,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4738,761,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4739,762,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2470000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4740,762,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4741,762,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4742,762,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4743,762,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4744,762,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4745,763,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2184000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4746,763,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,2400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4747,763,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4748,763,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4749,763,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4750,763,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4751,764,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1620000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4752,764,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4753,764,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4754,764,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4755,764,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4756,764,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4757,765,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1750000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4758,765,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,700.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4759,765,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4760,765,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4761,765,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4762,765,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4763,766,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,3770000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4764,766,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4765,766,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4766,766,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4767,766,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4768,766,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4769,767,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2340000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4770,767,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,640.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4771,767,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4772,767,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4773,767,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4774,767,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4775,768,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1024000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4776,768,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4777,768,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4778,768,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4779,768,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4780,768,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4781,769,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4782,769,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4783,769,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4784,769,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4785,769,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4786,769,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4787,770,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,672000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4788,770,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4789,770,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4790,770,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4791,770,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4792,770,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4793,771,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4794,771,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,1600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4795,771,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4796,771,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4797,771,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4798,771,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4799,772,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1092000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4800,772,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,1200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4801,772,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4802,772,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4803,772,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4804,772,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4805,773,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,735000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4806,773,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4807,773,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4808,773,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4809,773,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4810,773,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4811,774,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2232000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4812,774,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4813,774,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4814,774,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4815,774,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4816,774,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4817,775,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,924000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4818,775,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4819,775,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4820,775,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4821,775,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4822,775,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4823,776,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1140000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4824,776,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,1500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4825,776,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4826,776,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4827,776,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4828,776,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4829,777,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,5040000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4830,777,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4831,777,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4832,777,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4833,777,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4834,777,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4835,778,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,6076000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4836,778,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,140.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4837,778,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4838,778,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4839,778,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4840,778,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4841,779,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4842,779,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4843,779,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4844,779,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4845,779,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4846,779,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4847,780,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,754000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4848,780,'customers','Customers / month',NULL,'variable','number',NULL,NULL,'customers',NULL,340.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4849,780,'uplift_pct','Target lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4850,780,'average_ticket','Average transaction value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1), 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4851,780,'target_ticket','Target average ticket',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * (1 + uplift_pct/100), 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4852,780,'added_revenue','Added monthly revenue',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue / max(customers, 1) * uplift_pct/100 * customers, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4853,781,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,519480.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4854,781,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,43290.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4855,781,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4856,781,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4857,781,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4858,781,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4859,782,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,810160.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4860,782,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,67513.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4861,782,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4862,782,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4863,782,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4864,782,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4865,783,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,541632.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4866,783,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,45136.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4867,783,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4868,783,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4869,783,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4870,783,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4871,784,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,375840.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4872,784,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,31320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4873,784,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4874,784,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4875,784,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4876,784,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4877,785,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,385000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4878,785,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,32083.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4879,785,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4880,785,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4881,785,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4882,785,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4883,786,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,1327040.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4884,786,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,110586.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4885,786,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4886,786,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4887,786,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4888,786,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4889,787,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,804960.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4890,787,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,67080.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4891,787,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4892,787,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4893,787,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4894,787,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4895,788,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,323584.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4896,788,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,26965.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4897,788,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4898,788,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4899,788,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4900,788,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4901,789,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,329472.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4902,789,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,27456.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4903,789,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4904,789,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4905,789,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4906,789,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4907,790,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,193536.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4908,790,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,16128.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4909,790,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4910,790,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4911,790,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4912,790,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4913,791,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,187200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4914,791,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,15600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4915,791,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4916,791,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4917,791,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4918,791,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4919,792,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,297024.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4920,792,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,24752.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4921,792,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4922,792,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4923,792,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4924,792,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4925,793,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,217560.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4926,793,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,18130.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4927,793,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4928,793,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4929,793,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4930,793,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4931,794,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,723168.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4932,794,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,60264.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4933,794,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4934,794,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4935,794,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4936,794,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4937,795,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,314160.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4938,795,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,26180.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4939,795,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4940,795,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4941,795,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4942,795,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4943,796,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,287280.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4944,796,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,23940.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4945,796,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4946,796,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4947,796,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4948,796,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4949,797,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,1370880.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4950,797,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,114240.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4951,797,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4952,797,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4953,797,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4954,797,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4955,798,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,2041536.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4956,798,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,170128.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4957,798,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4958,798,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4959,798,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4960,798,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4961,799,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,329472.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4962,799,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,27456.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4963,799,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4964,799,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4965,799,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4966,799,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4967,800,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,214136.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4968,800,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,17844.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4969,800,'target_days','Target credit days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4970,800,'credit_days','Supplier credit days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4971,800,'supplier_float','Cash float from suppliers',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4972,800,'target_payables','Dues at target credit days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4973,801,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,199800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4974,801,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,55500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4975,801,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4976,801,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4977,801,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4978,801,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4979,801,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4980,802,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,296400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4981,802,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,82333.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4982,802,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4983,802,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4984,802,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4985,802,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4986,802,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4987,803,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,262080.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4988,803,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,72800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4989,803,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4990,803,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4991,803,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4992,803,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4993,803,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4994,804,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,194400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4995,804,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,54000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4996,804,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4997,804,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4998,804,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(4999,804,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5000,804,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5001,805,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,210000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5002,805,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,58333.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5003,805,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5004,805,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5005,805,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5006,805,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5007,805,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5008,806,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,452400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5009,806,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,125666.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5010,806,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5011,806,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5012,806,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5013,806,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5014,806,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5015,807,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,280800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5016,807,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,78000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5017,807,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5018,807,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5019,807,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5020,807,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5021,807,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5022,808,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,122880.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5023,808,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,34133.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5024,808,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5025,808,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5026,808,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5027,808,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5028,808,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5029,809,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,149760.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5030,809,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,41600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5031,809,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5032,809,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5033,809,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5034,809,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5035,809,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5036,810,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,80640.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5037,810,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,22400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5038,810,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5039,810,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5040,810,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5041,810,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5042,810,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5043,811,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,93600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5044,811,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,26000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5045,811,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5046,811,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5047,811,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5048,811,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5049,811,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5050,812,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,131040.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5051,812,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,36400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5052,812,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5053,812,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5054,812,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5055,812,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5056,812,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5057,813,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,88200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5058,813,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,24500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5059,813,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5060,813,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5061,813,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5062,813,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5063,813,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5064,814,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,267840.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5065,814,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,74400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5066,814,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5067,814,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5068,814,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5069,814,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5070,814,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5071,815,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,110880.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5072,815,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,30800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5073,815,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5074,815,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5075,815,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5076,815,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5077,815,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5078,816,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,136800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5079,816,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,38000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5080,816,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5081,816,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5082,816,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5083,816,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5084,816,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5085,817,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,604800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5086,817,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,168000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5087,817,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5088,817,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5089,817,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5090,817,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5091,817,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5092,818,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,729120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5093,818,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,202533.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5094,818,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5095,818,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5096,818,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5097,818,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5098,818,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5099,819,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,149760.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5100,819,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,41600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5101,819,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5102,819,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5103,819,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5104,819,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5105,819,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5106,820,'receivables','Customer dues',NULL,'variable','number',NULL,NULL,'currency',NULL,90480.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5107,820,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,25133.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5108,820,'target_days','Target collection days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5109,820,'collection_days','Receivable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables / max(daily_revenue, 1), 1)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5110,820,'cash_tied_up','Cash tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(receivables, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5111,820,'target_receivables','Dues at target days',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_revenue * target_days, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5112,820,'cash_release','Cash released at target',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(max(0, receivables - daily_revenue * target_days), 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5113,821,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,519480.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5114,821,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,43290.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5115,821,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5116,821,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5117,822,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,810160.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5118,822,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,67513.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5119,822,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5120,822,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5121,823,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,541632.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5122,823,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,45136.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5123,823,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5124,823,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5125,824,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,375840.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5126,824,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,31320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5127,824,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5128,824,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5129,825,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,385000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5130,825,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,32083.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5131,825,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5132,825,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5133,826,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,1327040.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5134,826,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,110586.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5135,826,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5136,826,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5137,827,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,804960.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5138,827,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,67080.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5139,827,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5140,827,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5141,828,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,323584.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5142,828,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,26965.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5143,828,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5144,828,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5145,829,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,329472.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5146,829,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,27456.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5147,829,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5148,829,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5149,830,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,193536.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5150,830,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,16128.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5151,830,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5152,830,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5153,831,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,187200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5154,831,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,15600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5155,831,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5156,831,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5157,832,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,297024.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5158,832,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,24752.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5159,832,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5160,832,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5161,833,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,217560.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5162,833,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,18130.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5163,833,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5164,833,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5165,834,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,723168.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5166,834,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,60264.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5167,834,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5168,834,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5169,835,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,314160.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5170,835,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,26180.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5171,835,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5172,835,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07');
INSERT INTO `calculator_fields` VALUES
(5173,836,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,287280.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5174,836,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,23940.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5175,836,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5176,836,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5177,837,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,1370880.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5178,837,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,114240.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5179,837,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5180,837,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5181,838,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,2041536.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5182,838,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,170128.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5183,838,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5184,838,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5185,839,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,329472.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5186,839,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,27456.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5187,839,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5188,839,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5189,840,'payables','Supplier dues',NULL,'variable','number',NULL,NULL,'currency',NULL,214136.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5190,840,'daily_cogs','Daily cost of goods sold',NULL,'variable','number',NULL,NULL,'currency/day',NULL,17844.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5191,840,'payable_days','Payable days',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(payables / max(daily_cogs, 1), 1)',2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5192,840,'monthly_payments','Monthly supplier payments',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_cogs * 30, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5193,841,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5194,841,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5195,841,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5196,841,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,55500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5197,841,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5198,841,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5199,842,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5200,842,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5201,842,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5202,842,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,82333.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5203,842,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5204,842,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5205,843,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5206,843,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5207,843,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5208,843,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,72800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5209,843,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5210,843,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5211,844,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5212,844,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5213,844,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5214,844,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,54000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5215,844,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5216,844,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5217,845,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,95.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5218,845,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5219,845,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5220,845,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,58333.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5221,845,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5222,845,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5223,846,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,70.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5224,846,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5225,846,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5226,846,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,125666.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5227,846,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5228,846,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5229,847,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,40.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5230,847,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5231,847,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5232,847,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,78000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5233,847,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5234,847,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5235,848,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5236,848,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5237,848,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5238,848,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,34133.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5239,848,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5240,848,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5241,849,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,55.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5242,849,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5243,849,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5244,849,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,41600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5245,849,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5246,849,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5247,850,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,65.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5248,850,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5249,850,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5250,850,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,22400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5251,850,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5252,850,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5253,851,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5254,851,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5255,851,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5256,851,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,26000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5257,851,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5258,851,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5259,852,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5260,852,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5261,852,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5262,852,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,36400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5263,852,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5264,852,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5265,853,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5266,853,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5267,853,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5268,853,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,24500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5269,853,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5270,853,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5271,854,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,2.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5272,854,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5273,854,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5274,854,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,74400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5275,854,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5276,854,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5277,855,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,2.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5278,855,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5279,855,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5280,855,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,30800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5281,855,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5282,855,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5283,856,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,3.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5284,856,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5285,856,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5286,856,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,38000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5287,856,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5288,856,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5289,857,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5290,857,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5291,857,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5292,857,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,168000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5293,857,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5294,857,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5295,858,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,90.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5296,858,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5297,858,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5298,858,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,202533.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5299,858,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5300,858,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5301,859,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,20.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5302,859,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5303,859,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5304,859,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,41600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5305,859,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5306,859,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5307,860,'inventory_days','Stock days',NULL,'variable','number',NULL,NULL,'days',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5308,860,'receivable_days','Receivable days',NULL,'variable','number',NULL,NULL,'days',NULL,38.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5309,860,'payable_days','Payable days',NULL,'variable','number',NULL,NULL,'days',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5310,860,'daily_revenue','Daily sales',NULL,'variable','number',NULL,NULL,'currency/day',NULL,25133.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5311,860,'cycle_days','Cash conversion cycle',NULL,'output','decimal',NULL,NULL,'days',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(inventory_days + receivable_days - payable_days, 1)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5312,860,'working_capital_gap','Working capital tied up',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((inventory_days + receivable_days - payable_days) * daily_revenue, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5313,861,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5314,861,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,22000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5315,861,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5316,861,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5317,861,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5318,861,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5319,861,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5320,861,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5321,862,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5322,862,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,18000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5323,862,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5324,862,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5325,862,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5326,862,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5327,862,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5328,862,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5329,863,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5330,863,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,20000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5331,863,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5332,863,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5333,863,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5334,863,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5335,863,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5336,863,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5337,864,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5338,864,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,16000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5339,864,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5340,864,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5341,864,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5342,864,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5343,864,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5344,864,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5345,865,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5346,865,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,19000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5347,865,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5348,865,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5349,865,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5350,865,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5351,865,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5352,865,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5353,866,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5354,866,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,24000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5355,866,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5356,866,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5357,866,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5358,866,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5359,866,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5360,866,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5361,867,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5362,867,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,20000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5363,867,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5364,867,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5365,867,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5366,867,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5367,867,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5368,867,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5369,868,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,6.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5370,868,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,18000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5371,868,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5372,868,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5373,868,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5374,868,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5375,868,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5376,868,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5377,869,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5378,869,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,18000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5379,869,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5380,869,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5381,869,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5382,869,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5383,869,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5384,869,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5385,870,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5386,870,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,16000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5387,870,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5388,870,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5389,870,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5390,870,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5391,870,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5392,870,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5393,871,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5394,871,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,15000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5395,871,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5396,871,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5397,871,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5398,871,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5399,871,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5400,871,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5401,872,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5402,872,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,17000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5403,872,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5404,872,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5405,872,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5406,872,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5407,872,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5408,872,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5409,873,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,9.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5410,873,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,14000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5411,873,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5412,873,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5413,873,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5414,873,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5415,873,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5416,873,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5417,874,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,7.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5418,874,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,16000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5419,874,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5420,874,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5421,874,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5422,874,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5423,874,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5424,874,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5425,875,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5426,875,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,13000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5427,875,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5428,875,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5429,875,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5430,875,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5431,875,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5432,875,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5433,876,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5434,876,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,17000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5435,876,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5436,876,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5437,876,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5438,876,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5439,876,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5440,876,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5441,877,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,18.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5442,877,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,20000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5443,877,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5444,877,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5445,877,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5446,877,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5447,877,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5448,877,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5449,878,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,26.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5450,878,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,24000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5451,878,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5452,878,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5453,878,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5454,878,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5455,878,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5456,878,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5457,879,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,12.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5458,879,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,18000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5459,879,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5460,879,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5461,879,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5462,879,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5463,879,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5464,879,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5465,880,'staff','Employees',NULL,'variable','number',NULL,NULL,'people',NULL,11.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5466,880,'salary','Average monthly salary',NULL,'variable','number',NULL,NULL,'currency',NULL,13000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5467,880,'hours_per_month','Contract hours / month',NULL,'variable','number',NULL,NULL,'hours',NULL,208.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5468,880,'overtime_pct','Overtime share of hours (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5469,880,'overtime_rate','Overtime multiplier',NULL,'variable','number',NULL,NULL,'x',NULL,1.750000,NULL,NULL,NULL,NULL,2,1,0,NULL,4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5470,880,'salary_base','Base payroll',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * salary, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5471,880,'overtime_hours','Overtime hours / month',NULL,'output','decimal',NULL,NULL,'hours',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100, 1)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5472,880,'overtime_cost','Overtime cost / month',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(staff * hours_per_month * overtime_pct/100 * (salary / max(hours_per_month, 1)) * overtime_rate, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5473,881,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1665000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5474,881,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5475,881,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5476,881,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5477,881,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5478,881,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5479,882,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2470000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5480,882,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5481,882,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5482,882,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5483,882,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5484,882,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5485,883,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2184000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5486,883,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5487,883,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5488,883,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5489,883,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5490,883,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5491,884,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1620000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5492,884,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5493,884,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5494,884,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5495,884,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5496,884,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5497,885,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1750000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5498,885,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5499,885,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5500,885,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5501,885,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5502,885,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5503,886,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,3770000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5504,886,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5505,886,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5506,886,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5507,886,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5508,886,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5509,887,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2340000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5510,887,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5511,887,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5512,887,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5513,887,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5514,887,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5515,888,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1024000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5516,888,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5517,888,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5518,888,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5519,888,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5520,888,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5521,889,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5522,889,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5523,889,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5524,889,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5525,889,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5526,889,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5527,890,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,672000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5528,890,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5529,890,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5530,890,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5531,890,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5532,890,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5533,891,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,780000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5534,891,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5535,891,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5536,891,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5537,891,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5538,891,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5539,892,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1092000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5540,892,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5541,892,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5542,892,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5543,892,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5544,892,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5545,893,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,735000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5546,893,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5547,893,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5548,893,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5549,893,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5550,893,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5551,894,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,2232000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5552,894,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5553,894,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5554,894,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5555,894,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5556,894,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5557,895,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,924000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5558,895,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5559,895,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5560,895,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5561,895,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5562,895,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5563,896,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1140000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5564,896,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5565,896,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5566,896,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5567,896,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5568,896,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5569,897,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,5040000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5570,897,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5571,897,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5572,897,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5573,897,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5574,897,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5575,898,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,6076000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5576,898,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5577,898,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5578,898,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5579,898,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5580,898,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5581,899,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,1248000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5582,899,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5583,899,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5584,899,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5585,899,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5586,899,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5587,900,'revenue','Monthly revenue',NULL,'variable','number',NULL,NULL,'currency',NULL,754000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5588,900,'commission_pct','Commission rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,5.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5589,900,'margin_pct','Gross margin (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,22.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5590,900,'commission_cost','Commission paid',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * commission_pct/100, 2)',3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5591,900,'gross_profit','Gross profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * margin_pct/100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5592,900,'net_after_commission','Profit after commission',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(revenue * (margin_pct - commission_pct)/100, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5593,901,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5594,901,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,27.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5595,901,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5596,901,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5597,901,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5598,901,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5599,901,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5600,902,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5601,902,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,96.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5602,902,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5603,902,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5604,902,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5605,902,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5606,902,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5607,903,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,2400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5608,903,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,72.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5609,903,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,780.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5610,903,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5611,903,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5612,903,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5613,903,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5614,904,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5615,904,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,126.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5616,904,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5617,904,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5618,904,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5619,904,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5620,904,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5621,905,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,700.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5622,905,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,21.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5623,905,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,2100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5624,905,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5625,905,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5626,905,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5627,905,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5628,906,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5629,906,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5630,906,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,9800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5631,906,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5632,906,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5633,906,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5634,906,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5635,907,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,640.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5636,907,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,19.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5637,907,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,2900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5638,907,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5639,907,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5640,907,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5641,907,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5642,908,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5643,908,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,16.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5644,908,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5645,908,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5646,908,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5647,908,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5648,908,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5649,909,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5650,909,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,27.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5651,909,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,950.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5652,909,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5653,909,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5654,909,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5655,909,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5656,910,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5657,910,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,24.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5658,910,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5659,910,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5660,910,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5661,910,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5662,910,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5663,911,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,1600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5664,911,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,48.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5665,911,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,240.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5666,911,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5667,911,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5668,911,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5669,911,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5670,912,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,1200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5671,912,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,36.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5672,912,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,380.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5673,912,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5674,912,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5675,912,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5676,912,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5677,913,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5678,913,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5679,913,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,6500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5680,913,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5681,913,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5682,913,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5683,913,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5684,914,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,850.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5685,914,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,26.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5686,914,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,720.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5687,914,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5688,914,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5689,914,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5690,914,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5691,915,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5692,915,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,13.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5693,915,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1450.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5694,915,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5695,915,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5696,915,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5697,915,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5698,916,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,1500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5699,916,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5700,916,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5701,916,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5702,916,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5703,916,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5704,916,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5705,917,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5706,917,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5707,917,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,12500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5708,917,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5709,917,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5710,917,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5711,917,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5712,918,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,140.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5713,918,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,4.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5714,918,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,42000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5715,918,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5716,918,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5717,918,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5718,918,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5719,919,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,520.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5720,919,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,16.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5721,919,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,1600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5722,919,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5723,919,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5724,919,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5725,919,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5726,920,'orders','Orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,340.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5727,920,'refunded','Refunded orders / month',NULL,'variable','number',NULL,NULL,'orders',NULL,10.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5728,920,'order_value','Average basket',NULL,'variable','number',NULL,NULL,'currency',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5729,920,'handling_cost','Handling cost per refund',NULL,'variable','number',NULL,NULL,'currency',NULL,25.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5730,920,'refund_rate','Refund rate',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded / max(orders, 1) * 100, 2)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5731,920,'refund_value','Refunded sales value',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * order_value, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5732,920,'refund_handling','Refund handling cost',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(refunded * handling_cost, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5733,921,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,9000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5734,921,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,144.300000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5735,921,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5736,921,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5737,921,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5738,921,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5739,921,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5740,921,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5741,922,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,26000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5742,922,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,77.900000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5743,922,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5744,922,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5745,922,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5746,922,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5747,922,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5748,922,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5749,923,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5750,923,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,260.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5751,923,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5752,923,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5753,923,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5754,923,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5755,923,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5756,923,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5757,924,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,9000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5758,924,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,104.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5759,924,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5760,924,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5761,924,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5762,924,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5763,924,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5764,924,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5765,925,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,1400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5766,925,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,687.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5767,925,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5768,925,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5769,925,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5770,925,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5771,925,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5772,925,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5773,926,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5774,926,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,12760.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5775,926,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5776,926,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5777,926,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5778,926,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5779,926,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5780,926,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5781,927,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5782,927,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2236.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5783,927,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5784,927,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5785,927,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5786,927,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5787,927,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5788,927,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5789,928,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5790,928,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,252.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5791,928,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5792,928,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5793,928,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5794,928,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5795,928,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5796,928,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5797,929,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,2600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5798,929,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,316.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5799,929,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5800,929,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5801,929,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5802,929,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5803,929,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5804,929,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5805,930,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5806,930,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,115.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5807,930,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5808,930,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5809,930,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5810,930,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5811,930,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5812,930,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5813,931,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,6500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5814,931,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,72.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5815,931,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5816,931,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5817,931,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5818,931,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5819,931,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5820,931,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5821,932,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5822,932,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,142.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5823,932,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5824,932,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5825,932,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5826,932,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5827,932,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5828,932,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5829,933,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5830,933,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,129.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5831,933,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5832,933,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5833,933,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5834,933,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5835,933,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5836,933,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5837,934,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,3600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5838,934,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,502.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5839,934,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5840,934,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5841,934,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5842,934,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5843,934,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5844,934,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5845,935,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,22000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5846,935,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,35.700000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5847,935,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5848,935,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5849,935,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5850,935,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5851,935,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5852,935,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5853,936,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,12000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5854,936,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,59.850000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5855,936,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5856,936,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5857,936,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5858,936,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5859,936,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5860,936,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5861,937,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,2100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5862,937,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1632.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5863,937,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5864,937,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5865,937,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5866,937,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5867,937,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5868,937,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5869,938,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5870,938,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,8232.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5871,938,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5872,938,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5873,938,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5874,938,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5875,938,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5876,938,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5877,939,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,4800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5878,939,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,171.600000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5879,939,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5880,939,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5881,939,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5882,939,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5883,939,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5884,939,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5885,940,'units','Units handled / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5886,940,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,102.950000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5887,940,'damage_pct','Damage rate (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,2.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5888,940,'recovery_pct','Recovered by discounting (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,15.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5889,940,'damaged_units','Damaged units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100, 0)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5890,940,'cost_of_damage','Cost of damage',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5891,940,'recovered','Value recovered',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost * recovery_pct/100, 2)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5892,940,'net_loss','Net loss',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * damage_pct/100 * cost - units * damage_pct/100 * cost * recovery_pct/100, 2)',7,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5893,941,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,300.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5894,941,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5895,941,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5896,941,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,144.300000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5897,941,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5898,941,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5899,941,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5900,942,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,866.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5901,942,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5902,942,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5903,942,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,77.900000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5904,942,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5905,942,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5906,942,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5907,943,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,173.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5908,943,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5909,943,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5910,943,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,260.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5911,943,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5912,943,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5913,943,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5914,944,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,300.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5915,944,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5916,944,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5917,944,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,104.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5918,944,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5919,944,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5920,944,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5921,945,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,46.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5922,945,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5923,945,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5924,945,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,687.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5925,945,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5926,945,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5927,945,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5928,946,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,8.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5929,946,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5930,946,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5931,946,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,12760.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5932,946,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5933,946,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5934,946,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5935,947,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,30.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5936,947,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5937,947,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5938,947,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2236.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5939,947,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5940,947,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5941,947,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(5942,948,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,106.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5943,948,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5944,948,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5945,948,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,252.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5946,948,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5947,948,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5948,948,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5949,949,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,86.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5950,949,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5951,949,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5952,949,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,316.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5953,949,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5954,949,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5955,949,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5956,950,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,140.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5957,950,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5958,950,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5959,950,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,115.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5960,950,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5961,950,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5962,950,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5963,951,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,216.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5964,951,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5965,951,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5966,951,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,72.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5967,951,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5968,951,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5969,951,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5970,952,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,173.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5971,952,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5972,952,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5973,952,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,142.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5974,952,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5975,952,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5976,952,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5977,953,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,140.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5978,953,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5979,953,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5980,953,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,129.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5981,953,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5982,953,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5983,953,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5984,954,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5985,954,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5986,954,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5987,954,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,502.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5988,954,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5989,954,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5990,954,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5991,955,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,733.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5992,955,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5993,955,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5994,955,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,35.700000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5995,955,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5996,955,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5997,955,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5998,956,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5999,956,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6000,956,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6001,956,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,59.850000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6002,956,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6003,956,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6004,956,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6005,957,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,70.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6006,957,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6007,957,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6008,957,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1632.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6009,957,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6010,957,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6011,957,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6012,958,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,20.670000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6013,958,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6014,958,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6015,958,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,8232.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6016,958,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6017,958,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6018,958,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6019,959,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,160.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6020,959,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6021,959,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6022,959,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,171.600000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6023,959,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6024,959,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6025,959,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6026,960,'daily_units','Normal daily demand (units)',NULL,'variable','number',NULL,NULL,'units/day',NULL,173.330000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6027,960,'peak_days','Peak season length',NULL,'variable','number',NULL,NULL,'days',NULL,45.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6028,960,'peak_lift_pct','Peak demand lift (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,60.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6029,960,'cost','Cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,102.950000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6030,960,'peak_demand','Peak-season units',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * (1 + peak_lift_pct/100) * peak_days)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6031,960,'peak_stock_value','Peak stock investment',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(daily_units * (1 + peak_lift_pct/100) * peak_days * cost, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6032,960,'extra_units','Extra units vs normal',NULL,'output','decimal',NULL,NULL,'units',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'ceil(daily_units * peak_lift_pct/100 * peak_days)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6033,961,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6034,961,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6035,961,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6036,961,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6037,961,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6038,962,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6039,962,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6040,962,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6041,962,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6042,962,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6043,963,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6044,963,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6045,963,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6046,963,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6047,963,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6048,964,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6049,964,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6050,964,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6051,964,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6052,964,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6053,965,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6054,965,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6055,965,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6056,965,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6057,965,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6058,966,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6059,966,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6060,966,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6061,966,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6062,966,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6063,967,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6064,967,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6065,967,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6066,967,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6067,967,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6068,968,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6069,968,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6070,968,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6071,968,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6072,968,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6073,969,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6074,969,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6075,969,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6076,969,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6077,969,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6078,970,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6079,970,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6080,970,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6081,970,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6082,970,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6083,971,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6084,971,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6085,971,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6086,971,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6087,971,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6088,972,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6089,972,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6090,972,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6091,972,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6092,972,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6093,973,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6094,973,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6095,973,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6096,973,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6097,973,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6098,974,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6099,974,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6100,974,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6101,974,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6102,974,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6103,975,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6104,975,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6105,975,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6106,975,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6107,975,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6108,976,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6109,976,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6110,976,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6111,976,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6112,976,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6113,977,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6114,977,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6115,977,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6116,977,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6117,977,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6118,978,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6119,978,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6120,978,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6121,978,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6122,978,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6123,979,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6124,979,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6125,979,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6126,979,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6127,979,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6128,980,'price_change_pct','Price change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,8.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6129,980,'demand_change_pct','Demand change (%)',NULL,'variable','number',NULL,NULL,NULL,NULL,-14.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6130,980,'elasticity','Price elasticity',NULL,'output','decimal',NULL,NULL,'x',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(-demand_change_pct / max(price_change_pct, 0.01), 2)',2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6131,980,'revenue_effect_pct','Revenue effect',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price_change_pct + demand_change_pct + price_change_pct * demand_change_pct/100, 2)',3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6132,980,'inelastic_demand','Demand is inelastic (1=yes)',NULL,'output','decimal',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'if(-demand_change_pct / max(price_change_pct, 0.01) < 1, 1, 0)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6133,981,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,185.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6134,981,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,144.300000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6135,981,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,9000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6136,981,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,320000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6137,981,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6138,981,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6139,981,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6140,981,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6141,982,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,95.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6142,982,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,77.900000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6143,982,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,26000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6144,982,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,520000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6145,982,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6146,982,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6147,982,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6148,982,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6149,983,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,420.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6150,983,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,260.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6151,983,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6152,983,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,480000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6153,983,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6154,983,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6155,983,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6156,983,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6157,984,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,180.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6158,984,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,104.400000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6159,984,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,9000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6160,984,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6161,984,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6162,984,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6163,984,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6164,984,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6165,985,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1250.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6166,985,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,687.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6167,985,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,1400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6168,985,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,380000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6169,985,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6170,985,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6171,985,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6172,985,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6173,986,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,14500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6174,986,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,12760.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6175,986,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6176,986,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,460000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6177,986,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6178,986,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6179,986,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6180,986,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6181,987,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6182,987,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2236.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6183,987,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,900.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6184,987,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,260000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6185,987,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6186,987,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6187,987,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6188,987,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6189,988,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,320.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6190,988,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,252.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6191,988,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,3200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6192,988,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,340000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6193,988,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6194,988,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6195,988,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6196,988,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6197,989,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,480.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6198,989,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,316.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6199,989,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,2600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6200,989,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6201,989,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6202,989,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6203,989,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6204,989,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6205,990,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,160.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6206,990,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,115.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6207,990,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6208,990,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,220000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6209,990,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6210,990,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6211,990,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6212,990,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6213,991,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,120.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6214,991,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,72.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6215,991,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,6500.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6216,991,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,280000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6217,991,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6218,991,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6219,991,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6220,991,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6221,992,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,210.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6222,992,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,142.800000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6223,992,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6224,992,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,320000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6225,992,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6226,992,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6227,992,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6228,992,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6229,993,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,175.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6230,993,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,129.500000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6231,993,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,4200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6232,993,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,420000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6233,993,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6234,993,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6235,993,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6236,993,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6237,994,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6238,994,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,502.200000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6239,994,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,3600.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6240,994,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,380000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6241,994,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6242,994,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6243,994,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6244,994,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6245,995,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,42.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6246,995,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,35.700000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6247,995,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,22000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6248,995,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,300000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6249,995,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6250,995,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6251,995,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6252,995,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6253,996,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,95.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6254,996,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,59.850000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6255,996,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,12000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6256,996,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,520000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6257,996,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6258,996,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6259,996,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6260,996,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6261,997,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,2400.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6262,997,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,1632.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6263,997,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,2100.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6264,997,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,680000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6265,997,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6266,997,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6267,997,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6268,997,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6269,998,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,9800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6270,998,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,8232.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6271,998,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,620.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6272,998,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,880000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6273,998,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6274,998,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6275,998,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6276,998,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6277,999,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,260.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6278,999,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,171.600000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6279,999,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,4800.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6280,999,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,420000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6281,999,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6282,999,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6283,999,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6284,999,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6285,1000,'price','Selling price per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,145.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6286,1000,'cost','Variable cost per unit',NULL,'variable','number',NULL,NULL,'currency',NULL,102.950000,NULL,NULL,NULL,NULL,2,1,0,NULL,1,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6287,1000,'units','Units sold / month',NULL,'variable','number',NULL,NULL,'units',NULL,5200.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,2,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6288,1000,'fixed','Monthly fixed costs',NULL,'variable','number',NULL,NULL,'currency',NULL,360000.000000,NULL,NULL,NULL,NULL,2,1,0,NULL,3,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6289,1000,'contribution_per_unit','Contribution per unit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(price - cost, 2)',4,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6290,1000,'contribution_margin_pct','Contribution margin',NULL,'output','decimal',NULL,NULL,'%',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round((price - cost) / max(price, 0.01) * 100, 2)',5,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6291,1000,'total_contribution','Total contribution',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost), 2)',6,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6292,1000,'operating_profit','Operating profit',NULL,'output','decimal',NULL,NULL,'currency',NULL,NULL,NULL,NULL,NULL,NULL,2,1,0,'round(units * (price - cost) - fixed, 2)',7,'2026-10-27 18:05:08','2026-10-27 18:05:08');
/*!40000 ALTER TABLE `calculator_fields` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `calculator_rules`
--

DROP TABLE IF EXISTS `calculator_rules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `calculator_rules` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `calculator_id` bigint(20) unsigned NOT NULL,
  `name` varchar(120) DEFAULT NULL,
  `conditions` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`conditions`)),
  `action` varchar(30) NOT NULL,
  `target_key` varchar(80) DEFAULT NULL,
  `target_value` varchar(255) DEFAULT NULL,
  `target_field_id` bigint(20) unsigned DEFAULT NULL,
  `priority` int(10) unsigned NOT NULL DEFAULT 0,
  `stop_on_match` tinyint(1) NOT NULL DEFAULT 1,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `matches_count` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `calculator_rules_target_field_id_foreign` (`target_field_id`),
  KEY `calculator_rules_calculator_id_priority_index` (`calculator_id`,`priority`),
  CONSTRAINT `calculator_rules_calculator_id_foreign` FOREIGN KEY (`calculator_id`) REFERENCES `calculators` (`id`) ON DELETE CASCADE,
  CONSTRAINT `calculator_rules_target_field_id_foreign` FOREIGN KEY (`target_field_id`) REFERENCES `calculator_fields` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `calculator_rules`
--

LOCK TABLES `calculator_rules` WRITE;
/*!40000 ALTER TABLE `calculator_rules` DISABLE KEYS */;
/*!40000 ALTER TABLE `calculator_rules` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `calculator_runs`
--

DROP TABLE IF EXISTS `calculator_runs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `calculator_runs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `calculator_id` bigint(20) unsigned NOT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `channel` varchar(20) NOT NULL DEFAULT 'admin',
  `session_token` varchar(64) DEFAULT NULL,
  `input_snapshot` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`input_snapshot`)),
  `output_snapshot` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`output_snapshot`)),
  `breakdown` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`breakdown`)),
  `status` tinyint(3) unsigned NOT NULL DEFAULT 1,
  `completed_at` timestamp NULL DEFAULT NULL,
  `is_saved` tinyint(1) NOT NULL DEFAULT 0,
  `title` varchar(160) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `calculator_runs_customer_id_foreign` (`customer_id`),
  KEY `calculator_runs_calculator_id_is_saved_index` (`calculator_id`,`is_saved`),
  KEY `calculator_runs_user_id_created_at_index` (`user_id`,`created_at`),
  CONSTRAINT `calculator_runs_calculator_id_foreign` FOREIGN KEY (`calculator_id`) REFERENCES `calculators` (`id`) ON DELETE CASCADE,
  CONSTRAINT `calculator_runs_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `calculator_runs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `calculator_runs`
--

LOCK TABLES `calculator_runs` WRITE;
/*!40000 ALTER TABLE `calculator_runs` DISABLE KEYS */;
/*!40000 ALTER TABLE `calculator_runs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `calculators`
--

DROP TABLE IF EXISTS `calculators`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `calculators` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `category` varchar(80) DEFAULT NULL,
  `tags` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`tags`)),
  `description` text DEFAULT NULL,
  `icon` varchar(80) DEFAULT NULL,
  `image_path` varchar(255) DEFAULT NULL,
  `version` int(10) unsigned NOT NULL DEFAULT 1,
  `status` varchar(20) NOT NULL DEFAULT 'draft',
  `is_public` tinyint(1) NOT NULL DEFAULT 0,
  `requires_login` tinyint(1) NOT NULL DEFAULT 0,
  `theme` varchar(20) NOT NULL DEFAULT 'default',
  `theme_settings` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`theme_settings`)),
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `config` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`config`)),
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `views_count` int(10) unsigned NOT NULL DEFAULT 0,
  `runs_count` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `calculators_slug_unique` (`slug`),
  KEY `calculators_created_by_foreign` (`created_by`),
  KEY `calculators_status_is_public_index` (`status`,`is_public`),
  KEY `calculators_category_index` (`category`),
  CONSTRAINT `calculators_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=1001 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `calculators`
--

LOCK TABLES `calculators` WRITE;
/*!40000 ALTER TABLE `calculators` DISABLE KEYS */;
INSERT INTO `calculators` VALUES
(1,'Loan EMI Calculator','loan-emi-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly installment (EMI) for a fixed-rate loan.','coins',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(2,'Loan Affordability Calculator','loan-affordability-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Estimate the loan size you can afford from income and obligations.','wallet',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(3,'Amortization Interest Split','amortization-interest-split','Finance & Loans','[\"Finance & Loans\",\"default\"]','First-month interest/principal split and lifetime interest for a loan.','table',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(4,'Compound Interest Calculator','compound-interest-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Growth of a deposit with compound interest.','trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(5,'Simple Interest Calculator','simple-interest-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Simple (non-compounding) interest on a principal.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(6,'ROI Calculator','roi-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Return on investment for any project or spend.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(7,'CAGR Calculator','cagr-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Compound annual growth rate between a start and end value.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(8,'Break-even Units Calculator','break-even-units-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Units you must sell to cover fixed costs.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(9,'Lease vs Buy Calculator','lease-vs-buy-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Compare the total cost of leasing vs buying equipment.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(10,'Debt Payoff Time Calculator','debt-payoff-time-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long to clear a debt with fixed monthly payments.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(11,'Working Capital Requirement','working-capital-requirement','Finance & Loans','[\"Finance & Loans\",\"default\"]','Cash tied up in operations given receivable and inventory days.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(12,'Invoice Late Fee Calculator','invoice-late-fee-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Late fee on an overdue invoice at a monthly penalty rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(13,'Business Valuation (Revenue Multiple)','business-valuation-revenue-multiple','Valuation & Investment','[\"Valuation & Investment\",\"default\"]','Quick valuation using an industry revenue multiple.','building-library',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(14,'Business Valuation (Profit Multiple)','business-valuation-profit-multiple','Valuation & Investment','[\"Valuation & Investment\",\"default\"]','Quick valuation using an earnings (EBITDA) multiple.','building-library',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(15,'NPV Calculator (Uniform Cash Flow)','npv-calculator-uniform-cash-flow','Valuation & Investment','[\"Valuation & Investment\",\"default\"]','Net present value of an annuity of cash inflows.','calculator',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(16,'Payback Period Calculator','payback-period-calculator','Valuation & Investment','[\"Valuation & Investment\",\"default\"]','Years needed to recover an investment from steady cash inflows.','hourglass',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(17,'Accounting Rate of Return (ARR)','accounting-rate-of-return-arr','Valuation & Investment','[\"Valuation & Investment\",\"default\"]','ARR based on average annual accounting profit vs investment.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(18,'Future Value Calculator','future-value-calculator','Valuation & Investment','[\"Valuation & Investment\",\"default\"]','Future value of an investment plus regular monthly contributions.','trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(19,'Present Value Calculator','present-value-calculator','Valuation & Investment','[\"Valuation & Investment\",\"default\"]','What a future sum is worth today at your discount rate.','trending-down',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(20,'Equity Dilution Calculator','equity-dilution-calculator','Valuation & Investment','[\"Valuation & Investment\",\"default\"]','Founder ownership after a new funding round.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(21,'Dividend Payout Calculator','dividend-payout-calculator','Valuation & Investment','[\"Valuation & Investment\",\"default\"]','Dividend per share and payout ratio from net profit.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(22,'Markup Calculator','markup-calculator','Pricing & Sales','[\"Pricing & Sales\",\"default\"]','Selling price from cost and markup percentage.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(23,'Margin Calculator','margin-calculator','Pricing & Sales','[\"Pricing & Sales\",\"default\"]','Gross margin from a selling price and unit cost.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(24,'Break-even Price Calculator','break-even-price-calculator','Pricing & Sales','[\"Pricing & Sales\",\"default\"]','Minimum price per unit to cover volume, fixed and variable costs.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(25,'Discount Calculator','discount-calculator','Pricing & Sales','[\"Pricing & Sales\",\"default\"]','Discounted price and savings.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(26,'Sales Conversion Rate Calculator','sales-conversion-rate-calculator','Pricing & Sales','[\"Pricing & Sales\",\"default\"]','Share of leads that convert into sales.','funnel',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(27,'Average Deal Size Calculator','average-deal-size-calculator','Pricing & Sales','[\"Pricing & Sales\",\"default\"]','Mean revenue per closed deal.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(28,'Sales Win Rate Calculator','sales-win-rate-calculator','Pricing & Sales','[\"Pricing & Sales\",\"default\"]','Win rate across all qualified opportunities.','trophy',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(29,'Quotation Total Calculator','quotation-total-calculator','Pricing & Sales','[\"Pricing & Sales\",\"default\"]','Quote total: quantity × unit price − discount + tax.','document-text',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(30,'Commission Calculator','commission-calculator','Pricing & Sales','[\"Pricing & Sales\",\"default\"]','Sales commission with a base + percentage plan.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(31,'Markdown Break-even Calculator','markdown-break-even-calculator','Pricing & Sales','[\"Pricing & Sales\",\"default\"]','Units needed to recover revenue after a markdown.','arrow-down',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(32,'Revenue Growth Rate Calculator','revenue-growth-rate-calculator','Pricing & Sales','[\"Pricing & Sales\",\"default\"]','Period-over-period revenue growth.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(33,'Product Profit Calculator','product-profit-calculator','E-commerce','[\"E-commerce\",\"default\"]','True per-unit profit after fees, shipping and COGS.','shopping-cart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(34,'Dropshipping Profit Calculator','dropshipping-profit-calculator','E-commerce','[\"E-commerce\",\"default\"]','Per-order profit for dropshipped products.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(35,'Customer Lifetime Value (CLV) Calculator','customer-lifetime-value-clv-calculator','E-commerce','[\"E-commerce\",\"default\"]','Lifetime value from average order, frequency and lifespan.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(36,'Customer Acquisition Cost (CAC) Calculator','customer-acquisition-cost-cac-calculator','E-commerce','[\"E-commerce\",\"default\"]','Blended cost to acquire one new customer.','magnet',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(37,'LTV:CAC Ratio Calculator','ltvcac-ratio-calculator','E-commerce','[\"E-commerce\",\"default\"]','Unit economics health check: lifetime value vs acquisition cost.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(38,'ROAS Calculator','roas-calculator','E-commerce','[\"E-commerce\",\"default\"]','Return on ad spend for a campaign or channel.','megaphone',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(39,'Inventory Turnover Calculator','inventory-turnover-calculator','E-commerce','[\"E-commerce\",\"default\"]','How many times inventory sells through in a year.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(40,'Sell-through Rate Calculator','sell-through-rate-calculator','E-commerce','[\"E-commerce\",\"default\"]','Share of received stock that has sold.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(41,'Cart Abandonment Cost Calculator','cart-abandonment-cost-calculator','E-commerce','[\"E-commerce\",\"default\"]','Revenue lost to abandoned carts per month.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(42,'Shipping Cost Recovery Calculator','shipping-cost-recovery-calculator','E-commerce','[\"E-commerce\",\"default\"]','Set free-shipping thresholds and minimum order values.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(43,'CPM Calculator','cpm-calculator','Marketing','[\"Marketing\",\"default\"]','Cost per 1,000 impressions.','eye',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(44,'CPC Calculator','cpc-calculator','Marketing','[\"Marketing\",\"default\"]','Cost per click for paid channels.','cursor-arrow-rays',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(45,'CPA Calculator','cpa-calculator','Marketing','[\"Marketing\",\"default\"]','Cost per acquisition (signup, lead or sale).','user-plus',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(46,'Click-through Rate (CTR) Calculator','click-through-rate-ctr-calculator','Marketing','[\"Marketing\",\"default\"]','Share of impressions that become clicks.','cursor-arrow-rays',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(47,'Email Open & Click Rate Calculator','email-open-click-rate-calculator','Marketing','[\"Marketing\",\"default\"]','Open, click and click-to-open rates for an email campaign.','envelope',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(48,'Marketing ROI Calculator','marketing-roi-calculator','Marketing','[\"Marketing\",\"default\"]','Profit generated by marketing spend.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(49,'Lead-to-Customer Rate Calculator','lead-to-customer-rate-calculator','Marketing','[\"Marketing\",\"default\"]','Conversion of leads into paying customers.','funnel',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(50,'Social Engagement Rate Calculator','social-engagement-rate-calculator','Marketing','[\"Marketing\",\"default\"]','Engagement rate for a post or profile.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(51,'Website Conversion Rate Calculator','website-conversion-rate-calculator','Marketing','[\"Marketing\",\"default\"]','Visitor-to-goal conversion for a site or funnel.','globe',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(52,'Marketing Budget Split Calculator','marketing-budget-split-calculator','Marketing','[\"Marketing\",\"default\"]','Allocate a budget across channels by percent.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(53,'Salary to Hourly Rate Calculator','salary-to-hourly-rate-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Convert an annual or monthly salary into an hourly rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(54,'Hourly to Salary Calculator','hourly-to-salary-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Convert an hourly rate into monthly and annual pay.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(55,'Overtime Pay Calculator','overtime-pay-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime earnings at 1.5x (or a custom multiplier).','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(56,'Fully-Loaded Employee Cost Calculator','fully-loaded-employee-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Total cost of an employee including benefits and tax load.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(57,'Employee Turnover Rate Calculator','employee-turnover-rate-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Annualized staff turnover for a team or company.','arrow-left-right',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(58,'Cost of Employee Turnover Calculator','cost-of-employee-turnover-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Annual cost of attrition from replacement and lost productivity.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(59,'Training ROI Calculator','training-roi-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Return on a training program from productivity gains.','academic-cap',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(60,'Absenteeism Rate Calculator','absenteeism-rate-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Lost workdays as a share of scheduled workdays.','calendar-x-mark',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(61,'Offer Acceptance Rate Calculator','offer-acceptance-rate-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Share of job offers accepted.','check-badge',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(62,'Bonus Payout Calculator','bonus-payout-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Performance bonus for each tier of achievement.','gift',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(63,'VAT / GST (Add) Calculator','vat-gst-add-calculator','Tax & Compliance','[\"Tax & Compliance\",\"default\"]','Add VAT/GST to a net price.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(64,'VAT / GST (Remove) Calculator','vat-gst-remove-calculator','Tax & Compliance','[\"Tax & Compliance\",\"default\"]','Extract the VAT/GST portion from a tax-inclusive price.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(65,'Income Tax Estimate (Flat Rate)','income-tax-estimate-flat-rate','Tax & Compliance','[\"Tax & Compliance\",\"default\"]','Flat-rate income tax on annual taxable income.','document-currency',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(66,'Corporate Tax Estimate','corporate-tax-estimate','Tax & Compliance','[\"Tax & Compliance\",\"default\"]','Corporate income tax on accounting profit.','building-office',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(67,'Self-Employment Tax Estimate','self-employment-tax-estimate','Tax & Compliance','[\"Tax & Compliance\",\"default\"]','Social/self-employment贡献 estimate on freelance profits.','user',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(68,'Capital Gains Tax Calculator','capital-gains-tax-calculator','Tax & Compliance','[\"Tax & Compliance\",\"default\"]','Tax on the gain from selling an asset.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(69,'Payroll Compliance Cost Calculator','payroll-compliance-cost-calculator','Tax & Compliance','[\"Tax & Compliance\",\"default\"]','Employer-side statutory contributions per payroll.','clipboard-document-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(70,'Tax Effective Rate Calculator','tax-effective-rate-calculator','Tax & Compliance','[\"Tax & Compliance\",\"default\"]','Effective tax rate from total tax paid on income.','percent-badge',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(71,'EOQ (Economic Order Quantity)','eoq-economic-order-quantity','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Optimal order size balancing ordering and holding costs.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(72,'Reorder Point Calculator','reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Stock level that triggers a replenishment order.','bell-alert',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(73,'Safety Stock Calculator','safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand and lead-time variability.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(74,'Days Inventory Outstanding','days-inventory-outstanding','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Average days stock sits before selling.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(75,'Capacity Utilization Calculator','capacity-utilization-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Actual output as a share of design capacity.','cpu-chip',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(76,'OEE (Overall Equipment Effectiveness)','oee-overall-equipment-effectiveness','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Availability × Performance × Quality.','cog',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(77,'Machine Downtime Cost Calculator','machine-downtime-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of production downtime per period.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(78,'Production Cost per Unit Calculator','production-cost-per-unit-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Full unit cost from materials, labor and overhead allocation.','wrench',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(79,'Scrap & Rework Cost Calculator','scrap-rework-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of defective output per period.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(80,'Takt Time Calculator','takt-time-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Production pace needed to meet customer demand.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(81,'Mortgage EMI Calculator','mortgage-emi-calculator','Real Estate','[\"Real Estate\",\"default\"]','Monthly mortgage payment for a property loan.','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(82,'Cap Rate Calculator','cap-rate-calculator','Real Estate','[\"Real Estate\",\"default\"]','Capitalization rate of an income property.','building-office-2',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(83,'Rental Yield Calculator','rental-yield-calculator','Real Estate','[\"Real Estate\",\"default\"]','Gross and net rental yield of a property.','key',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(84,'NOI Calculator','noi-calculator','Real Estate','[\"Real Estate\",\"default\"]','Net operating income for a rental property.','building-storefront',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(85,'MRR & ARR Calculator','mrr-arr-calculator','Startup & SaaS','[\"Startup & SaaS\",\"default\"]','Monthly and annual recurring revenue from subscribers.','receiver',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(86,'Churn Rate Calculator','churn-rate-calculator','Startup & SaaS','[\"Startup & SaaS\",\"default\"]','Customer (monthly) churn rate.','user-minus',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(87,'Burn Rate & Runway Calculator','burn-rate-runway-calculator','Startup & SaaS','[\"Startup & SaaS\",\"default\"]','Monthly burn and how long the cash will last.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(88,'Rule of 40 Score Calculator','rule-of-40-score-calculator','Startup & SaaS','[\"Startup & SaaS\",\"default\"]','Growth + profit margin health score for SaaS.','check-circle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(89,'Net Revenue Retention Calculator','net-revenue-retention-calculator','Startup & SaaS','[\"Startup & SaaS\",\"default\"]','NRR from expansion, contraction and churn in a cohort.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(90,'Trial-to-Paid Conversion Calculator','trial-to-paid-conversion-calculator','Startup & SaaS','[\"Startup & SaaS\",\"default\"]','Share of free trials converting to paying customers.','funnel',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(91,'Revenue Forecast Calculator','revenue-forecast-calculator','Startup & SaaS','[\"Startup & SaaS\",\"default\"]','Forward revenue projection at a fixed growth rate.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(92,'Tip Split Calculator','tip-split-calculator','Utilities','[\"Utilities\",\"default\"]','Split a bill with tip among people.','calculator',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(93,'Fuel Cost Calculator','fuel-cost-calculator','Utilities','[\"Utilities\",\"default\"]','Trip fuel cost for a vehicle or fleet.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(94,'Electricity Bill Calculator','electricity-bill-calculator','Utilities','[\"Utilities\",\"default\"]','Monthly electricity cost from appliance usage.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(95,'Currency Conversion Fee Calculator','currency-conversion-fee-calculator','Utilities','[\"Utilities\",\"default\"]','Amount received after FX spread and fixed fees.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(96,'Inflation Impact Calculator','inflation-impact-calculator','Utilities','[\"Utilities\",\"default\"]','Purchasing power of today\'s cash after N years of inflation.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(97,'Meeting Cost Calculator','meeting-cost-calculator','Utilities','[\"Utilities\",\"default\"]','Hourly cost of a meeting from attendee salaries.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(98,'Project Budget Burn Calculator','project-budget-burn-calculator','Utilities','[\"Utilities\",\"default\"]','Budget burn rate and projected over/under-run.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(99,'Page Load ROI Calculator','page-load-roi-calculator','Utilities','[\"Utilities\",\"default\"]','Revenue impact of improving site speed.','globe',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(100,'Freelance Rate Calculator','freelance-rate-calculator','Utilities','[\"Utilities\",\"default\"]','Hourly rate to hit a target income with expenses and time off.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(101,'Pharmacy Break-even Calculator','pharmacy-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Pharmacy business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(102,'Grocery Supermarket Break-even Calculator','grocery-supermarket-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Grocery Supermarket business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(103,'Restaurant Café Break-even Calculator','restaurant-cafe-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Restaurant Café business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(104,'Fast Food Outlet Break-even Calculator','fast-food-outlet-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Fast Food Outlet business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(105,'Clothing Boutique Break-even Calculator','clothing-boutique-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Clothing Boutique business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(106,'Electronics Shop Break-even Calculator','electronics-shop-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Electronics Shop business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(107,'Mobile Accessories Shop Break-even Calculator','mobile-accessories-shop-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Mobile Accessories Shop business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(108,'Hardware Sanitary Store Break-even Calculator','hardware-sanitary-store-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Hardware Sanitary Store business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(109,'Cosmetics Beauty Shop Break-even Calculator','cosmetics-beauty-shop-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Cosmetics Beauty Shop business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(110,'Bookshop Stationery Break-even Calculator','bookshop-stationery-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Bookshop Stationery business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(111,'Bakery Break-even Calculator','bakery-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Bakery business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(112,'Dairy Sweets Shop Break-even Calculator','dairy-sweets-shop-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Dairy Sweets Shop business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(113,'Poultry Farm Break-even Calculator','poultry-farm-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Poultry Farm business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(114,'Fish Meat Shop Break-even Calculator','fish-meat-shop-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Fish Meat Shop business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(115,'Vegetable Wholesale Break-even Calculator','vegetable-wholesale-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Vegetable Wholesale business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(116,'Courier Logistics Break-even Calculator','courier-logistics-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Courier Logistics business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(117,'Transport Trucking Break-even Calculator','transport-trucking-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Transport Trucking business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(118,'Construction Developer Break-even Calculator','construction-developer-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Construction Developer business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(119,'Printing Press Break-even Calculator','printing-press-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Printing Press business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(120,'Agro Farm Break-even Calculator','agro-farm-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Agro Farm business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(121,'E-commerce Store Break-even Calculator','e-commerce-store-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a E-commerce Store business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(122,'Software Company Break-even Calculator','software-company-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Software Company business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(123,'Digital Agency Break-even Calculator','digital-agency-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Digital Agency business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(124,'Coaching Centre Break-even Calculator','coaching-centre-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Coaching Centre business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(125,'Hospital Diagnostic Break-even Calculator','hospital-diagnostic-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Hospital Diagnostic business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(126,'Dental Clinic Break-even Calculator','dental-clinic-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Dental Clinic business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(127,'Gym Fitness Centre Break-even Calculator','gym-fitness-centre-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Gym Fitness Centre business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(128,'Salon Spa Break-even Calculator','salon-spa-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Salon Spa business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(129,'Travel Agency Break-even Calculator','travel-agency-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Travel Agency business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(130,'Real Estate Agency Break-even Calculator','real-estate-agency-break-even-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Monthly break-even units and revenue for a Real Estate Agency business.','scale',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(131,'Pharmacy Gross Margin Calculator','pharmacy-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Pharmacy operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(132,'Grocery Supermarket Gross Margin Calculator','grocery-supermarket-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Grocery Supermarket operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(133,'Restaurant Café Gross Margin Calculator','restaurant-cafe-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Restaurant Café operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(134,'Fast Food Outlet Gross Margin Calculator','fast-food-outlet-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Fast Food Outlet operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(135,'Clothing Boutique Gross Margin Calculator','clothing-boutique-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Clothing Boutique operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(136,'Electronics Shop Gross Margin Calculator','electronics-shop-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Electronics Shop operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(137,'Mobile Accessories Shop Gross Margin Calculator','mobile-accessories-shop-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Mobile Accessories Shop operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(138,'Hardware Sanitary Store Gross Margin Calculator','hardware-sanitary-store-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Hardware Sanitary Store operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(139,'Cosmetics Beauty Shop Gross Margin Calculator','cosmetics-beauty-shop-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Cosmetics Beauty Shop operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(140,'Bookshop Stationery Gross Margin Calculator','bookshop-stationery-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Bookshop Stationery operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(141,'Bakery Gross Margin Calculator','bakery-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Bakery operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(142,'Dairy Sweets Shop Gross Margin Calculator','dairy-sweets-shop-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Dairy Sweets Shop operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(143,'Poultry Farm Gross Margin Calculator','poultry-farm-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Poultry Farm operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(144,'Fish Meat Shop Gross Margin Calculator','fish-meat-shop-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Fish Meat Shop operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(145,'Vegetable Wholesale Gross Margin Calculator','vegetable-wholesale-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Vegetable Wholesale operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(146,'Courier Logistics Gross Margin Calculator','courier-logistics-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Courier Logistics operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(147,'Transport Trucking Gross Margin Calculator','transport-trucking-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Transport Trucking operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(148,'Construction Developer Gross Margin Calculator','construction-developer-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Construction Developer operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(149,'Printing Press Gross Margin Calculator','printing-press-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Printing Press operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(150,'Agro Farm Gross Margin Calculator','agro-farm-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Agro Farm operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(151,'E-commerce Store Gross Margin Calculator','e-commerce-store-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a E-commerce Store operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(152,'Software Company Gross Margin Calculator','software-company-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Software Company operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(153,'Digital Agency Gross Margin Calculator','digital-agency-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Digital Agency operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(154,'Coaching Centre Gross Margin Calculator','coaching-centre-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Coaching Centre operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(155,'Hospital Diagnostic Gross Margin Calculator','hospital-diagnostic-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Hospital Diagnostic operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(156,'Dental Clinic Gross Margin Calculator','dental-clinic-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Dental Clinic operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(157,'Gym Fitness Centre Gross Margin Calculator','gym-fitness-centre-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Gym Fitness Centre operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(158,'Salon Spa Gross Margin Calculator','salon-spa-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Salon Spa operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(159,'Travel Agency Gross Margin Calculator','travel-agency-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Travel Agency operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(160,'Real Estate Agency Gross Margin Calculator','real-estate-agency-gross-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue, gross profit and margin percentage for a Real Estate Agency operation.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(161,'Pharmacy Markup & Margin Calculator','pharmacy-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Pharmacy markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(162,'Grocery Supermarket Markup & Margin Calculator','grocery-supermarket-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Grocery Supermarket markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:03','2026-10-27 18:05:03'),
(163,'Restaurant Café Markup & Margin Calculator','restaurant-cafe-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Restaurant Café markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(164,'Fast Food Outlet Markup & Margin Calculator','fast-food-outlet-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Fast Food Outlet markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(165,'Clothing Boutique Markup & Margin Calculator','clothing-boutique-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Clothing Boutique markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(166,'Electronics Shop Markup & Margin Calculator','electronics-shop-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Electronics Shop markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(167,'Mobile Accessories Shop Markup & Margin Calculator','mobile-accessories-shop-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Mobile Accessories Shop markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(168,'Hardware Sanitary Store Markup & Margin Calculator','hardware-sanitary-store-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Hardware Sanitary Store markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(169,'Cosmetics Beauty Shop Markup & Margin Calculator','cosmetics-beauty-shop-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Cosmetics Beauty Shop markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(170,'Bookshop Stationery Markup & Margin Calculator','bookshop-stationery-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Bookshop Stationery markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(171,'Bakery Markup & Margin Calculator','bakery-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Bakery markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(172,'Dairy Sweets Shop Markup & Margin Calculator','dairy-sweets-shop-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Dairy Sweets Shop markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(173,'Poultry Farm Markup & Margin Calculator','poultry-farm-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Poultry Farm markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(174,'Fish Meat Shop Markup & Margin Calculator','fish-meat-shop-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Fish Meat Shop markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(175,'Vegetable Wholesale Markup & Margin Calculator','vegetable-wholesale-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Vegetable Wholesale markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(176,'Courier Logistics Markup & Margin Calculator','courier-logistics-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Courier Logistics markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(177,'Transport Trucking Markup & Margin Calculator','transport-trucking-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Transport Trucking markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(178,'Construction Developer Markup & Margin Calculator','construction-developer-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Construction Developer markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(179,'Printing Press Markup & Margin Calculator','printing-press-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Printing Press markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(180,'Agro Farm Markup & Margin Calculator','agro-farm-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Agro Farm markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(181,'E-commerce Store Markup & Margin Calculator','e-commerce-store-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a E-commerce Store markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(182,'Software Company Markup & Margin Calculator','software-company-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Software Company markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(183,'Digital Agency Markup & Margin Calculator','digital-agency-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Digital Agency markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(184,'Coaching Centre Markup & Margin Calculator','coaching-centre-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Coaching Centre markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(185,'Hospital Diagnostic Markup & Margin Calculator','hospital-diagnostic-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Hospital Diagnostic markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(186,'Dental Clinic Markup & Margin Calculator','dental-clinic-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Dental Clinic markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(187,'Gym Fitness Centre Markup & Margin Calculator','gym-fitness-centre-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Gym Fitness Centre markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(188,'Salon Spa Markup & Margin Calculator','salon-spa-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Salon Spa markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(189,'Travel Agency Markup & Margin Calculator','travel-agency-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Travel Agency markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(190,'Real Estate Agency Markup & Margin Calculator','real-estate-agency-markup-margin-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Convert a Real Estate Agency markup into a selling price and margin.','tag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(191,'Pharmacy Discount Impact Calculator','pharmacy-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Pharmacy business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(192,'Grocery Supermarket Discount Impact Calculator','grocery-supermarket-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Grocery Supermarket business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(193,'Restaurant Café Discount Impact Calculator','restaurant-cafe-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Restaurant Café business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(194,'Fast Food Outlet Discount Impact Calculator','fast-food-outlet-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Fast Food Outlet business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(195,'Clothing Boutique Discount Impact Calculator','clothing-boutique-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Clothing Boutique business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(196,'Electronics Shop Discount Impact Calculator','electronics-shop-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Electronics Shop business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(197,'Mobile Accessories Shop Discount Impact Calculator','mobile-accessories-shop-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Mobile Accessories Shop business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(198,'Hardware Sanitary Store Discount Impact Calculator','hardware-sanitary-store-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Hardware Sanitary Store business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(199,'Cosmetics Beauty Shop Discount Impact Calculator','cosmetics-beauty-shop-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Cosmetics Beauty Shop business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(200,'Bookshop Stationery Discount Impact Calculator','bookshop-stationery-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Bookshop Stationery business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(201,'Bakery Discount Impact Calculator','bakery-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Bakery business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(202,'Dairy Sweets Shop Discount Impact Calculator','dairy-sweets-shop-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Dairy Sweets Shop business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(203,'Poultry Farm Discount Impact Calculator','poultry-farm-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Poultry Farm business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(204,'Fish Meat Shop Discount Impact Calculator','fish-meat-shop-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Fish Meat Shop business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(205,'Vegetable Wholesale Discount Impact Calculator','vegetable-wholesale-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Vegetable Wholesale business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(206,'Courier Logistics Discount Impact Calculator','courier-logistics-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Courier Logistics business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(207,'Transport Trucking Discount Impact Calculator','transport-trucking-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Transport Trucking business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(208,'Construction Developer Discount Impact Calculator','construction-developer-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Construction Developer business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(209,'Printing Press Discount Impact Calculator','printing-press-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Printing Press business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(210,'Agro Farm Discount Impact Calculator','agro-farm-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Agro Farm business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(211,'E-commerce Store Discount Impact Calculator','e-commerce-store-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a E-commerce Store business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(212,'Software Company Discount Impact Calculator','software-company-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Software Company business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(213,'Digital Agency Discount Impact Calculator','digital-agency-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Digital Agency business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(214,'Coaching Centre Discount Impact Calculator','coaching-centre-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Coaching Centre business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(215,'Hospital Diagnostic Discount Impact Calculator','hospital-diagnostic-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Hospital Diagnostic business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(216,'Dental Clinic Discount Impact Calculator','dental-clinic-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Dental Clinic business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(217,'Gym Fitness Centre Discount Impact Calculator','gym-fitness-centre-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Gym Fitness Centre business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(218,'Salon Spa Discount Impact Calculator','salon-spa-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Salon Spa business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(219,'Travel Agency Discount Impact Calculator','travel-agency-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Travel Agency business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(220,'Real Estate Agency Discount Impact Calculator','real-estate-agency-discount-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What a discount campaign costs a Real Estate Agency business in margin.','ticket',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(221,'Pharmacy VAT Impact Calculator','pharmacy-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Pharmacy turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(222,'Grocery Supermarket VAT Impact Calculator','grocery-supermarket-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Grocery Supermarket turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(223,'Restaurant Café VAT Impact Calculator','restaurant-cafe-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Restaurant Café turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(224,'Fast Food Outlet VAT Impact Calculator','fast-food-outlet-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Fast Food Outlet turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(225,'Clothing Boutique VAT Impact Calculator','clothing-boutique-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Clothing Boutique turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(226,'Electronics Shop VAT Impact Calculator','electronics-shop-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Electronics Shop turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(227,'Mobile Accessories Shop VAT Impact Calculator','mobile-accessories-shop-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Mobile Accessories Shop turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(228,'Hardware Sanitary Store VAT Impact Calculator','hardware-sanitary-store-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Hardware Sanitary Store turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(229,'Cosmetics Beauty Shop VAT Impact Calculator','cosmetics-beauty-shop-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Cosmetics Beauty Shop turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(230,'Bookshop Stationery VAT Impact Calculator','bookshop-stationery-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Bookshop Stationery turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(231,'Bakery VAT Impact Calculator','bakery-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Bakery turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(232,'Dairy Sweets Shop VAT Impact Calculator','dairy-sweets-shop-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Dairy Sweets Shop turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(233,'Poultry Farm VAT Impact Calculator','poultry-farm-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Poultry Farm turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(234,'Fish Meat Shop VAT Impact Calculator','fish-meat-shop-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Fish Meat Shop turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(235,'Vegetable Wholesale VAT Impact Calculator','vegetable-wholesale-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Vegetable Wholesale turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(236,'Courier Logistics VAT Impact Calculator','courier-logistics-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Courier Logistics turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(237,'Transport Trucking VAT Impact Calculator','transport-trucking-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Transport Trucking turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(238,'Construction Developer VAT Impact Calculator','construction-developer-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Construction Developer turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(239,'Printing Press VAT Impact Calculator','printing-press-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Printing Press turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(240,'Agro Farm VAT Impact Calculator','agro-farm-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Agro Farm turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(241,'E-commerce Store VAT Impact Calculator','e-commerce-store-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on E-commerce Store turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(242,'Software Company VAT Impact Calculator','software-company-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Software Company turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(243,'Digital Agency VAT Impact Calculator','digital-agency-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Digital Agency turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(244,'Coaching Centre VAT Impact Calculator','coaching-centre-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Coaching Centre turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(245,'Hospital Diagnostic VAT Impact Calculator','hospital-diagnostic-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Hospital Diagnostic turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(246,'Dental Clinic VAT Impact Calculator','dental-clinic-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Dental Clinic turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(247,'Gym Fitness Centre VAT Impact Calculator','gym-fitness-centre-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Gym Fitness Centre turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(248,'Salon Spa VAT Impact Calculator','salon-spa-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Salon Spa turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(249,'Travel Agency VAT Impact Calculator','travel-agency-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Travel Agency turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(250,'Real Estate Agency VAT Impact Calculator','real-estate-agency-vat-impact-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Net VAT position on Real Estate Agency turnover at the 15% standard rate.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(251,'Pharmacy Net Profit Calculator','pharmacy-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Pharmacy business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(252,'Grocery Supermarket Net Profit Calculator','grocery-supermarket-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Grocery Supermarket business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(253,'Restaurant Café Net Profit Calculator','restaurant-cafe-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Restaurant Café business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(254,'Fast Food Outlet Net Profit Calculator','fast-food-outlet-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Fast Food Outlet business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(255,'Clothing Boutique Net Profit Calculator','clothing-boutique-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Clothing Boutique business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(256,'Electronics Shop Net Profit Calculator','electronics-shop-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Electronics Shop business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(257,'Mobile Accessories Shop Net Profit Calculator','mobile-accessories-shop-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Mobile Accessories Shop business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(258,'Hardware Sanitary Store Net Profit Calculator','hardware-sanitary-store-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Hardware Sanitary Store business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(259,'Cosmetics Beauty Shop Net Profit Calculator','cosmetics-beauty-shop-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Cosmetics Beauty Shop business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(260,'Bookshop Stationery Net Profit Calculator','bookshop-stationery-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Bookshop Stationery business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(261,'Bakery Net Profit Calculator','bakery-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Bakery business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(262,'Dairy Sweets Shop Net Profit Calculator','dairy-sweets-shop-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Dairy Sweets Shop business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(263,'Poultry Farm Net Profit Calculator','poultry-farm-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Poultry Farm business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(264,'Fish Meat Shop Net Profit Calculator','fish-meat-shop-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Fish Meat Shop business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(265,'Vegetable Wholesale Net Profit Calculator','vegetable-wholesale-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Vegetable Wholesale business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(266,'Courier Logistics Net Profit Calculator','courier-logistics-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Courier Logistics business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(267,'Transport Trucking Net Profit Calculator','transport-trucking-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Transport Trucking business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(268,'Construction Developer Net Profit Calculator','construction-developer-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Construction Developer business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(269,'Printing Press Net Profit Calculator','printing-press-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Printing Press business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(270,'Agro Farm Net Profit Calculator','agro-farm-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Agro Farm business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(271,'E-commerce Store Net Profit Calculator','e-commerce-store-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a E-commerce Store business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(272,'Software Company Net Profit Calculator','software-company-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Software Company business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(273,'Digital Agency Net Profit Calculator','digital-agency-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Digital Agency business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(274,'Coaching Centre Net Profit Calculator','coaching-centre-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Coaching Centre business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(275,'Hospital Diagnostic Net Profit Calculator','hospital-diagnostic-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Hospital Diagnostic business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(276,'Dental Clinic Net Profit Calculator','dental-clinic-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Dental Clinic business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(277,'Gym Fitness Centre Net Profit Calculator','gym-fitness-centre-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Gym Fitness Centre business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(278,'Salon Spa Net Profit Calculator','salon-spa-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Salon Spa business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(279,'Travel Agency Net Profit Calculator','travel-agency-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Travel Agency business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(280,'Real Estate Agency Net Profit Calculator','real-estate-agency-net-profit-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Operating profit and net margin for a Real Estate Agency business.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(281,'Pharmacy Expense Ratio Calculator','pharmacy-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Pharmacy revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(282,'Grocery Supermarket Expense Ratio Calculator','grocery-supermarket-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Grocery Supermarket revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(283,'Restaurant Café Expense Ratio Calculator','restaurant-cafe-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Restaurant Café revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(284,'Fast Food Outlet Expense Ratio Calculator','fast-food-outlet-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Fast Food Outlet revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(285,'Clothing Boutique Expense Ratio Calculator','clothing-boutique-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Clothing Boutique revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(286,'Electronics Shop Expense Ratio Calculator','electronics-shop-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Electronics Shop revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(287,'Mobile Accessories Shop Expense Ratio Calculator','mobile-accessories-shop-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Mobile Accessories Shop revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(288,'Hardware Sanitary Store Expense Ratio Calculator','hardware-sanitary-store-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Hardware Sanitary Store revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(289,'Cosmetics Beauty Shop Expense Ratio Calculator','cosmetics-beauty-shop-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Cosmetics Beauty Shop revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(290,'Bookshop Stationery Expense Ratio Calculator','bookshop-stationery-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Bookshop Stationery revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(291,'Bakery Expense Ratio Calculator','bakery-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Bakery revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(292,'Dairy Sweets Shop Expense Ratio Calculator','dairy-sweets-shop-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Dairy Sweets Shop revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(293,'Poultry Farm Expense Ratio Calculator','poultry-farm-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Poultry Farm revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(294,'Fish Meat Shop Expense Ratio Calculator','fish-meat-shop-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Fish Meat Shop revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(295,'Vegetable Wholesale Expense Ratio Calculator','vegetable-wholesale-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Vegetable Wholesale revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(296,'Courier Logistics Expense Ratio Calculator','courier-logistics-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Courier Logistics revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(297,'Transport Trucking Expense Ratio Calculator','transport-trucking-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Transport Trucking revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(298,'Construction Developer Expense Ratio Calculator','construction-developer-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Construction Developer revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(299,'Printing Press Expense Ratio Calculator','printing-press-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Printing Press revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(300,'Agro Farm Expense Ratio Calculator','agro-farm-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Agro Farm revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(301,'E-commerce Store Expense Ratio Calculator','e-commerce-store-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of E-commerce Store revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(302,'Software Company Expense Ratio Calculator','software-company-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Software Company revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(303,'Digital Agency Expense Ratio Calculator','digital-agency-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Digital Agency revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(304,'Coaching Centre Expense Ratio Calculator','coaching-centre-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Coaching Centre revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(305,'Hospital Diagnostic Expense Ratio Calculator','hospital-diagnostic-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Hospital Diagnostic revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(306,'Dental Clinic Expense Ratio Calculator','dental-clinic-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Dental Clinic revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(307,'Gym Fitness Centre Expense Ratio Calculator','gym-fitness-centre-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Gym Fitness Centre revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(308,'Salon Spa Expense Ratio Calculator','salon-spa-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Salon Spa revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(309,'Travel Agency Expense Ratio Calculator','travel-agency-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Travel Agency revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(310,'Real Estate Agency Expense Ratio Calculator','real-estate-agency-expense-ratio-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fixed cost load as a share of Real Estate Agency revenue.','chart-bar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(311,'Pharmacy Price Increase Impact Calculator','pharmacy-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Pharmacy market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(312,'Grocery Supermarket Price Increase Impact Calculator','grocery-supermarket-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Grocery Supermarket market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(313,'Restaurant Café Price Increase Impact Calculator','restaurant-cafe-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Restaurant Café market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(314,'Fast Food Outlet Price Increase Impact Calculator','fast-food-outlet-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Fast Food Outlet market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(315,'Clothing Boutique Price Increase Impact Calculator','clothing-boutique-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Clothing Boutique market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(316,'Electronics Shop Price Increase Impact Calculator','electronics-shop-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Electronics Shop market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(317,'Mobile Accessories Shop Price Increase Impact Calculator','mobile-accessories-shop-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Mobile Accessories Shop market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(318,'Hardware Sanitary Store Price Increase Impact Calculator','hardware-sanitary-store-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Hardware Sanitary Store market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(319,'Cosmetics Beauty Shop Price Increase Impact Calculator','cosmetics-beauty-shop-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Cosmetics Beauty Shop market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(320,'Bookshop Stationery Price Increase Impact Calculator','bookshop-stationery-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Bookshop Stationery market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(321,'Bakery Price Increase Impact Calculator','bakery-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Bakery market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(322,'Dairy Sweets Shop Price Increase Impact Calculator','dairy-sweets-shop-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Dairy Sweets Shop market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(323,'Poultry Farm Price Increase Impact Calculator','poultry-farm-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Poultry Farm market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(324,'Fish Meat Shop Price Increase Impact Calculator','fish-meat-shop-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Fish Meat Shop market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(325,'Vegetable Wholesale Price Increase Impact Calculator','vegetable-wholesale-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Vegetable Wholesale market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(326,'Courier Logistics Price Increase Impact Calculator','courier-logistics-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Courier Logistics market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(327,'Transport Trucking Price Increase Impact Calculator','transport-trucking-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Transport Trucking market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(328,'Construction Developer Price Increase Impact Calculator','construction-developer-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Construction Developer market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(329,'Printing Press Price Increase Impact Calculator','printing-press-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Printing Press market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(330,'Agro Farm Price Increase Impact Calculator','agro-farm-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Agro Farm market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(331,'E-commerce Store Price Increase Impact Calculator','e-commerce-store-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a E-commerce Store market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(332,'Software Company Price Increase Impact Calculator','software-company-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Software Company market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(333,'Digital Agency Price Increase Impact Calculator','digital-agency-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Digital Agency market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(334,'Coaching Centre Price Increase Impact Calculator','coaching-centre-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Coaching Centre market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(335,'Hospital Diagnostic Price Increase Impact Calculator','hospital-diagnostic-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Hospital Diagnostic market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:04','2026-10-27 18:05:04'),
(336,'Dental Clinic Price Increase Impact Calculator','dental-clinic-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Dental Clinic market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(337,'Gym Fitness Centre Price Increase Impact Calculator','gym-fitness-centre-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Gym Fitness Centre market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(338,'Salon Spa Price Increase Impact Calculator','salon-spa-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Salon Spa market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(339,'Travel Agency Price Increase Impact Calculator','travel-agency-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Travel Agency market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(340,'Real Estate Agency Price Increase Impact Calculator','real-estate-agency-price-increase-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Profit effect of a price rise after the expected demand dip in a Real Estate Agency market.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(341,'Pharmacy Sales Growth Forecast Calculator','pharmacy-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Pharmacy business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(342,'Grocery Supermarket Sales Growth Forecast Calculator','grocery-supermarket-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Grocery Supermarket business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(343,'Restaurant Café Sales Growth Forecast Calculator','restaurant-cafe-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Restaurant Café business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(344,'Fast Food Outlet Sales Growth Forecast Calculator','fast-food-outlet-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Fast Food Outlet business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(345,'Clothing Boutique Sales Growth Forecast Calculator','clothing-boutique-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Clothing Boutique business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(346,'Electronics Shop Sales Growth Forecast Calculator','electronics-shop-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Electronics Shop business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(347,'Mobile Accessories Shop Sales Growth Forecast Calculator','mobile-accessories-shop-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Mobile Accessories Shop business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(348,'Hardware Sanitary Store Sales Growth Forecast Calculator','hardware-sanitary-store-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Hardware Sanitary Store business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(349,'Cosmetics Beauty Shop Sales Growth Forecast Calculator','cosmetics-beauty-shop-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Cosmetics Beauty Shop business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(350,'Bookshop Stationery Sales Growth Forecast Calculator','bookshop-stationery-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Bookshop Stationery business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(351,'Bakery Sales Growth Forecast Calculator','bakery-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Bakery business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(352,'Dairy Sweets Shop Sales Growth Forecast Calculator','dairy-sweets-shop-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Dairy Sweets Shop business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(353,'Poultry Farm Sales Growth Forecast Calculator','poultry-farm-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Poultry Farm business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(354,'Fish Meat Shop Sales Growth Forecast Calculator','fish-meat-shop-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Fish Meat Shop business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(355,'Vegetable Wholesale Sales Growth Forecast Calculator','vegetable-wholesale-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Vegetable Wholesale business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(356,'Courier Logistics Sales Growth Forecast Calculator','courier-logistics-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Courier Logistics business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(357,'Transport Trucking Sales Growth Forecast Calculator','transport-trucking-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Transport Trucking business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(358,'Construction Developer Sales Growth Forecast Calculator','construction-developer-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Construction Developer business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(359,'Printing Press Sales Growth Forecast Calculator','printing-press-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Printing Press business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(360,'Agro Farm Sales Growth Forecast Calculator','agro-farm-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Agro Farm business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(361,'E-commerce Store Sales Growth Forecast Calculator','e-commerce-store-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a E-commerce Store business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(362,'Software Company Sales Growth Forecast Calculator','software-company-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Software Company business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(363,'Digital Agency Sales Growth Forecast Calculator','digital-agency-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Digital Agency business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(364,'Coaching Centre Sales Growth Forecast Calculator','coaching-centre-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Coaching Centre business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(365,'Hospital Diagnostic Sales Growth Forecast Calculator','hospital-diagnostic-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Hospital Diagnostic business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(366,'Dental Clinic Sales Growth Forecast Calculator','dental-clinic-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Dental Clinic business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(367,'Gym Fitness Centre Sales Growth Forecast Calculator','gym-fitness-centre-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Gym Fitness Centre business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(368,'Salon Spa Sales Growth Forecast Calculator','salon-spa-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Salon Spa business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(369,'Travel Agency Sales Growth Forecast Calculator','travel-agency-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Travel Agency business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(370,'Real Estate Agency Sales Growth Forecast Calculator','real-estate-agency-sales-growth-forecast-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','Where a Real Estate Agency business lands at a steady monthly growth rate.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(371,'Pharmacy Cash Runway Calculator','pharmacy-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Pharmacy cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(372,'Grocery Supermarket Cash Runway Calculator','grocery-supermarket-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Grocery Supermarket cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(373,'Restaurant Café Cash Runway Calculator','restaurant-cafe-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Restaurant Café cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(374,'Fast Food Outlet Cash Runway Calculator','fast-food-outlet-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Fast Food Outlet cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(375,'Clothing Boutique Cash Runway Calculator','clothing-boutique-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Clothing Boutique cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(376,'Electronics Shop Cash Runway Calculator','electronics-shop-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Electronics Shop cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(377,'Mobile Accessories Shop Cash Runway Calculator','mobile-accessories-shop-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Mobile Accessories Shop cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(378,'Hardware Sanitary Store Cash Runway Calculator','hardware-sanitary-store-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Hardware Sanitary Store cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(379,'Cosmetics Beauty Shop Cash Runway Calculator','cosmetics-beauty-shop-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Cosmetics Beauty Shop cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(380,'Bookshop Stationery Cash Runway Calculator','bookshop-stationery-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Bookshop Stationery cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(381,'Bakery Cash Runway Calculator','bakery-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Bakery cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(382,'Dairy Sweets Shop Cash Runway Calculator','dairy-sweets-shop-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Dairy Sweets Shop cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(383,'Poultry Farm Cash Runway Calculator','poultry-farm-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Poultry Farm cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(384,'Fish Meat Shop Cash Runway Calculator','fish-meat-shop-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Fish Meat Shop cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(385,'Vegetable Wholesale Cash Runway Calculator','vegetable-wholesale-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Vegetable Wholesale cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(386,'Courier Logistics Cash Runway Calculator','courier-logistics-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Courier Logistics cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(387,'Transport Trucking Cash Runway Calculator','transport-trucking-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Transport Trucking cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(388,'Construction Developer Cash Runway Calculator','construction-developer-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Construction Developer cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(389,'Printing Press Cash Runway Calculator','printing-press-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Printing Press cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(390,'Agro Farm Cash Runway Calculator','agro-farm-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Agro Farm cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(391,'E-commerce Store Cash Runway Calculator','e-commerce-store-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a E-commerce Store cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(392,'Software Company Cash Runway Calculator','software-company-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Software Company cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(393,'Digital Agency Cash Runway Calculator','digital-agency-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Digital Agency cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(394,'Coaching Centre Cash Runway Calculator','coaching-centre-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Coaching Centre cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(395,'Hospital Diagnostic Cash Runway Calculator','hospital-diagnostic-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Hospital Diagnostic cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(396,'Dental Clinic Cash Runway Calculator','dental-clinic-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Dental Clinic cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(397,'Gym Fitness Centre Cash Runway Calculator','gym-fitness-centre-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Gym Fitness Centre cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(398,'Salon Spa Cash Runway Calculator','salon-spa-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Salon Spa cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(399,'Travel Agency Cash Runway Calculator','travel-agency-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Travel Agency cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(400,'Real Estate Agency Cash Runway Calculator','real-estate-agency-cash-runway-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long a Real Estate Agency cash buffer lasts at the current burn.','fire',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(401,'Pharmacy Inventory Turnover Calculator','pharmacy-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Pharmacy business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(402,'Grocery Supermarket Inventory Turnover Calculator','grocery-supermarket-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Grocery Supermarket business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(403,'Restaurant Café Inventory Turnover Calculator','restaurant-cafe-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Restaurant Café business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(404,'Fast Food Outlet Inventory Turnover Calculator','fast-food-outlet-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Fast Food Outlet business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(405,'Clothing Boutique Inventory Turnover Calculator','clothing-boutique-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Clothing Boutique business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(406,'Electronics Shop Inventory Turnover Calculator','electronics-shop-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Electronics Shop business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(407,'Mobile Accessories Shop Inventory Turnover Calculator','mobile-accessories-shop-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Mobile Accessories Shop business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(408,'Hardware Sanitary Store Inventory Turnover Calculator','hardware-sanitary-store-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Hardware Sanitary Store business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(409,'Cosmetics Beauty Shop Inventory Turnover Calculator','cosmetics-beauty-shop-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Cosmetics Beauty Shop business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(410,'Bookshop Stationery Inventory Turnover Calculator','bookshop-stationery-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Bookshop Stationery business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(411,'Bakery Inventory Turnover Calculator','bakery-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Bakery business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(412,'Dairy Sweets Shop Inventory Turnover Calculator','dairy-sweets-shop-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Dairy Sweets Shop business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(413,'Poultry Farm Inventory Turnover Calculator','poultry-farm-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Poultry Farm business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(414,'Fish Meat Shop Inventory Turnover Calculator','fish-meat-shop-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Fish Meat Shop business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(415,'Vegetable Wholesale Inventory Turnover Calculator','vegetable-wholesale-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Vegetable Wholesale business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(416,'Courier Logistics Inventory Turnover Calculator','courier-logistics-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Courier Logistics business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(417,'Transport Trucking Inventory Turnover Calculator','transport-trucking-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Transport Trucking business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(418,'Construction Developer Inventory Turnover Calculator','construction-developer-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Construction Developer business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(419,'Printing Press Inventory Turnover Calculator','printing-press-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Printing Press business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(420,'Agro Farm Inventory Turnover Calculator','agro-farm-inventory-turnover-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','How many times a Agro Farm business turns its stock each year.','arrows-right-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(421,'Pharmacy Stock Cover Days Calculator','pharmacy-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Pharmacy stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(422,'Grocery Supermarket Stock Cover Days Calculator','grocery-supermarket-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Grocery Supermarket stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(423,'Restaurant Café Stock Cover Days Calculator','restaurant-cafe-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Restaurant Café stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(424,'Fast Food Outlet Stock Cover Days Calculator','fast-food-outlet-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Fast Food Outlet stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(425,'Clothing Boutique Stock Cover Days Calculator','clothing-boutique-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Clothing Boutique stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(426,'Electronics Shop Stock Cover Days Calculator','electronics-shop-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Electronics Shop stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(427,'Mobile Accessories Shop Stock Cover Days Calculator','mobile-accessories-shop-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Mobile Accessories Shop stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(428,'Hardware Sanitary Store Stock Cover Days Calculator','hardware-sanitary-store-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Hardware Sanitary Store stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(429,'Cosmetics Beauty Shop Stock Cover Days Calculator','cosmetics-beauty-shop-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Cosmetics Beauty Shop stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(430,'Bookshop Stationery Stock Cover Days Calculator','bookshop-stationery-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Bookshop Stationery stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(431,'Bakery Stock Cover Days Calculator','bakery-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Bakery stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(432,'Dairy Sweets Shop Stock Cover Days Calculator','dairy-sweets-shop-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Dairy Sweets Shop stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(433,'Poultry Farm Stock Cover Days Calculator','poultry-farm-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Poultry Farm stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(434,'Fish Meat Shop Stock Cover Days Calculator','fish-meat-shop-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Fish Meat Shop stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(435,'Vegetable Wholesale Stock Cover Days Calculator','vegetable-wholesale-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Vegetable Wholesale stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(436,'Courier Logistics Stock Cover Days Calculator','courier-logistics-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Courier Logistics stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(437,'Transport Trucking Stock Cover Days Calculator','transport-trucking-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Transport Trucking stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(438,'Construction Developer Stock Cover Days Calculator','construction-developer-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Construction Developer stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(439,'Printing Press Stock Cover Days Calculator','printing-press-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Printing Press stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(440,'Agro Farm Stock Cover Days Calculator','agro-farm-stock-cover-days-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Days of cover in a Agro Farm stock position, and how much is excess.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(441,'Pharmacy Reorder Point Calculator','pharmacy-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Pharmacy item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(442,'Grocery Supermarket Reorder Point Calculator','grocery-supermarket-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Grocery Supermarket item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(443,'Restaurant Café Reorder Point Calculator','restaurant-cafe-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Restaurant Café item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(444,'Fast Food Outlet Reorder Point Calculator','fast-food-outlet-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Fast Food Outlet item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(445,'Clothing Boutique Reorder Point Calculator','clothing-boutique-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Clothing Boutique item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(446,'Electronics Shop Reorder Point Calculator','electronics-shop-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Electronics Shop item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(447,'Mobile Accessories Shop Reorder Point Calculator','mobile-accessories-shop-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Mobile Accessories Shop item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(448,'Hardware Sanitary Store Reorder Point Calculator','hardware-sanitary-store-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Hardware Sanitary Store item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(449,'Cosmetics Beauty Shop Reorder Point Calculator','cosmetics-beauty-shop-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Cosmetics Beauty Shop item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(450,'Bookshop Stationery Reorder Point Calculator','bookshop-stationery-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Bookshop Stationery item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(451,'Bakery Reorder Point Calculator','bakery-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Bakery item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(452,'Dairy Sweets Shop Reorder Point Calculator','dairy-sweets-shop-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Dairy Sweets Shop item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(453,'Poultry Farm Reorder Point Calculator','poultry-farm-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Poultry Farm item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(454,'Fish Meat Shop Reorder Point Calculator','fish-meat-shop-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Fish Meat Shop item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(455,'Vegetable Wholesale Reorder Point Calculator','vegetable-wholesale-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Vegetable Wholesale item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(456,'Courier Logistics Reorder Point Calculator','courier-logistics-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Courier Logistics item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(457,'Transport Trucking Reorder Point Calculator','transport-trucking-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Transport Trucking item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(458,'Construction Developer Reorder Point Calculator','construction-developer-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Construction Developer item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(459,'Printing Press Reorder Point Calculator','printing-press-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Printing Press item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(460,'Agro Farm Reorder Point Calculator','agro-farm-reorder-point-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','When a Agro Farm item must be reordered to avoid a stock-out.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(461,'Pharmacy Safety Stock Calculator','pharmacy-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Pharmacy item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(462,'Grocery Supermarket Safety Stock Calculator','grocery-supermarket-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Grocery Supermarket item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(463,'Restaurant Café Safety Stock Calculator','restaurant-cafe-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Restaurant Café item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(464,'Fast Food Outlet Safety Stock Calculator','fast-food-outlet-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Fast Food Outlet item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(465,'Clothing Boutique Safety Stock Calculator','clothing-boutique-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Clothing Boutique item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(466,'Electronics Shop Safety Stock Calculator','electronics-shop-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Electronics Shop item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(467,'Mobile Accessories Shop Safety Stock Calculator','mobile-accessories-shop-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Mobile Accessories Shop item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(468,'Hardware Sanitary Store Safety Stock Calculator','hardware-sanitary-store-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Hardware Sanitary Store item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(469,'Cosmetics Beauty Shop Safety Stock Calculator','cosmetics-beauty-shop-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Cosmetics Beauty Shop item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(470,'Bookshop Stationery Safety Stock Calculator','bookshop-stationery-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Bookshop Stationery item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(471,'Bakery Safety Stock Calculator','bakery-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Bakery item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(472,'Dairy Sweets Shop Safety Stock Calculator','dairy-sweets-shop-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Dairy Sweets Shop item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(473,'Poultry Farm Safety Stock Calculator','poultry-farm-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Poultry Farm item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(474,'Fish Meat Shop Safety Stock Calculator','fish-meat-shop-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Fish Meat Shop item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(475,'Vegetable Wholesale Safety Stock Calculator','vegetable-wholesale-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Vegetable Wholesale item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(476,'Courier Logistics Safety Stock Calculator','courier-logistics-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Courier Logistics item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(477,'Transport Trucking Safety Stock Calculator','transport-trucking-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Transport Trucking item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(478,'Construction Developer Safety Stock Calculator','construction-developer-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Construction Developer item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(479,'Printing Press Safety Stock Calculator','printing-press-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Printing Press item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(480,'Agro Farm Safety Stock Calculator','agro-farm-safety-stock-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Buffer stock from demand variability for a Agro Farm item.','shield-check',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(481,'Pharmacy Stock-out Cost Calculator','pharmacy-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Pharmacy counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(482,'Grocery Supermarket Stock-out Cost Calculator','grocery-supermarket-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Grocery Supermarket counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(483,'Restaurant Café Stock-out Cost Calculator','restaurant-cafe-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Restaurant Café counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(484,'Fast Food Outlet Stock-out Cost Calculator','fast-food-outlet-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Fast Food Outlet counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(485,'Clothing Boutique Stock-out Cost Calculator','clothing-boutique-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Clothing Boutique counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(486,'Electronics Shop Stock-out Cost Calculator','electronics-shop-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Electronics Shop counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(487,'Mobile Accessories Shop Stock-out Cost Calculator','mobile-accessories-shop-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Mobile Accessories Shop counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(488,'Hardware Sanitary Store Stock-out Cost Calculator','hardware-sanitary-store-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Hardware Sanitary Store counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(489,'Cosmetics Beauty Shop Stock-out Cost Calculator','cosmetics-beauty-shop-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Cosmetics Beauty Shop counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(490,'Bookshop Stationery Stock-out Cost Calculator','bookshop-stationery-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Bookshop Stationery counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(491,'Bakery Stock-out Cost Calculator','bakery-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Bakery counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(492,'Dairy Sweets Shop Stock-out Cost Calculator','dairy-sweets-shop-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Dairy Sweets Shop counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(493,'Poultry Farm Stock-out Cost Calculator','poultry-farm-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Poultry Farm counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(494,'Fish Meat Shop Stock-out Cost Calculator','fish-meat-shop-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Fish Meat Shop counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(495,'Vegetable Wholesale Stock-out Cost Calculator','vegetable-wholesale-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Vegetable Wholesale counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(496,'Courier Logistics Stock-out Cost Calculator','courier-logistics-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Courier Logistics counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(497,'Transport Trucking Stock-out Cost Calculator','transport-trucking-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Transport Trucking counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(498,'Construction Developer Stock-out Cost Calculator','construction-developer-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Construction Developer counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(499,'Printing Press Stock-out Cost Calculator','printing-press-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Printing Press counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(500,'Agro Farm Stock-out Cost Calculator','agro-farm-stock-out-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Margin and goodwill lost when a Agro Farm counter runs dry.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(501,'Pharmacy Shrinkage Loss Calculator','pharmacy-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Pharmacy operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(502,'Grocery Supermarket Shrinkage Loss Calculator','grocery-supermarket-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Grocery Supermarket operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(503,'Restaurant Café Shrinkage Loss Calculator','restaurant-cafe-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Restaurant Café operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(504,'Fast Food Outlet Shrinkage Loss Calculator','fast-food-outlet-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Fast Food Outlet operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(505,'Clothing Boutique Shrinkage Loss Calculator','clothing-boutique-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Clothing Boutique operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(506,'Electronics Shop Shrinkage Loss Calculator','electronics-shop-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Electronics Shop operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(507,'Mobile Accessories Shop Shrinkage Loss Calculator','mobile-accessories-shop-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Mobile Accessories Shop operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(508,'Hardware Sanitary Store Shrinkage Loss Calculator','hardware-sanitary-store-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Hardware Sanitary Store operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(509,'Cosmetics Beauty Shop Shrinkage Loss Calculator','cosmetics-beauty-shop-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Cosmetics Beauty Shop operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(510,'Bookshop Stationery Shrinkage Loss Calculator','bookshop-stationery-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Bookshop Stationery operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(511,'Bakery Shrinkage Loss Calculator','bakery-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Bakery operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(512,'Dairy Sweets Shop Shrinkage Loss Calculator','dairy-sweets-shop-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Dairy Sweets Shop operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(513,'Poultry Farm Shrinkage Loss Calculator','poultry-farm-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Poultry Farm operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(514,'Fish Meat Shop Shrinkage Loss Calculator','fish-meat-shop-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Fish Meat Shop operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(515,'Vegetable Wholesale Shrinkage Loss Calculator','vegetable-wholesale-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Vegetable Wholesale operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(516,'Courier Logistics Shrinkage Loss Calculator','courier-logistics-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Courier Logistics operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(517,'Transport Trucking Shrinkage Loss Calculator','transport-trucking-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Transport Trucking operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(518,'Construction Developer Shrinkage Loss Calculator','construction-developer-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Construction Developer operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(519,'Printing Press Shrinkage Loss Calculator','printing-press-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Printing Press operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(520,'Agro Farm Shrinkage Loss Calculator','agro-farm-shrinkage-loss-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Cost of wastage and shrinkage in a Agro Farm operation.','trash',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(521,'Pharmacy Rent to Revenue Calculator','pharmacy-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Pharmacy location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(522,'Grocery Supermarket Rent to Revenue Calculator','grocery-supermarket-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Grocery Supermarket location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(523,'Restaurant Café Rent to Revenue Calculator','restaurant-cafe-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Restaurant Café location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(524,'Fast Food Outlet Rent to Revenue Calculator','fast-food-outlet-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Fast Food Outlet location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(525,'Clothing Boutique Rent to Revenue Calculator','clothing-boutique-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Clothing Boutique location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(526,'Electronics Shop Rent to Revenue Calculator','electronics-shop-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Electronics Shop location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(527,'Mobile Accessories Shop Rent to Revenue Calculator','mobile-accessories-shop-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Mobile Accessories Shop location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(528,'Hardware Sanitary Store Rent to Revenue Calculator','hardware-sanitary-store-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Hardware Sanitary Store location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(529,'Cosmetics Beauty Shop Rent to Revenue Calculator','cosmetics-beauty-shop-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Cosmetics Beauty Shop location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(530,'Bookshop Stationery Rent to Revenue Calculator','bookshop-stationery-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Bookshop Stationery location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(531,'Bakery Rent to Revenue Calculator','bakery-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Bakery location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(532,'Dairy Sweets Shop Rent to Revenue Calculator','dairy-sweets-shop-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Dairy Sweets Shop location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(533,'Poultry Farm Rent to Revenue Calculator','poultry-farm-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Poultry Farm location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(534,'Fish Meat Shop Rent to Revenue Calculator','fish-meat-shop-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Fish Meat Shop location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(535,'Vegetable Wholesale Rent to Revenue Calculator','vegetable-wholesale-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Vegetable Wholesale location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(536,'Courier Logistics Rent to Revenue Calculator','courier-logistics-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Courier Logistics location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(537,'Transport Trucking Rent to Revenue Calculator','transport-trucking-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Transport Trucking location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:05','2026-10-27 18:05:05'),
(538,'Construction Developer Rent to Revenue Calculator','construction-developer-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Construction Developer location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(539,'Printing Press Rent to Revenue Calculator','printing-press-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Printing Press location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(540,'Agro Farm Rent to Revenue Calculator','agro-farm-rent-to-revenue-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Is the Agro Farm location cost healthy against turnover?','home',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(541,'Pharmacy Staff Cost Ratio Calculator','pharmacy-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Pharmacy team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(542,'Grocery Supermarket Staff Cost Ratio Calculator','grocery-supermarket-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Grocery Supermarket team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(543,'Restaurant Café Staff Cost Ratio Calculator','restaurant-cafe-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Restaurant Café team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(544,'Fast Food Outlet Staff Cost Ratio Calculator','fast-food-outlet-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Fast Food Outlet team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(545,'Clothing Boutique Staff Cost Ratio Calculator','clothing-boutique-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Clothing Boutique team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(546,'Electronics Shop Staff Cost Ratio Calculator','electronics-shop-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Electronics Shop team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(547,'Mobile Accessories Shop Staff Cost Ratio Calculator','mobile-accessories-shop-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Mobile Accessories Shop team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(548,'Hardware Sanitary Store Staff Cost Ratio Calculator','hardware-sanitary-store-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Hardware Sanitary Store team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(549,'Cosmetics Beauty Shop Staff Cost Ratio Calculator','cosmetics-beauty-shop-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Cosmetics Beauty Shop team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(550,'Bookshop Stationery Staff Cost Ratio Calculator','bookshop-stationery-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Bookshop Stationery team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(551,'Bakery Staff Cost Ratio Calculator','bakery-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Bakery team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(552,'Dairy Sweets Shop Staff Cost Ratio Calculator','dairy-sweets-shop-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Dairy Sweets Shop team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(553,'Poultry Farm Staff Cost Ratio Calculator','poultry-farm-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Poultry Farm team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(554,'Fish Meat Shop Staff Cost Ratio Calculator','fish-meat-shop-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Fish Meat Shop team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(555,'Vegetable Wholesale Staff Cost Ratio Calculator','vegetable-wholesale-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Vegetable Wholesale team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(556,'Courier Logistics Staff Cost Ratio Calculator','courier-logistics-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Courier Logistics team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(557,'Transport Trucking Staff Cost Ratio Calculator','transport-trucking-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Transport Trucking team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(558,'Construction Developer Staff Cost Ratio Calculator','construction-developer-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Construction Developer team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(559,'Printing Press Staff Cost Ratio Calculator','printing-press-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Printing Press team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(560,'Agro Farm Staff Cost Ratio Calculator','agro-farm-staff-cost-ratio-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Payroll load and productivity for a Agro Farm team.','users',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(561,'Pharmacy Sales per Employee Calculator','pharmacy-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Pharmacy team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(562,'Grocery Supermarket Sales per Employee Calculator','grocery-supermarket-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Grocery Supermarket team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(563,'Restaurant Café Sales per Employee Calculator','restaurant-cafe-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Restaurant Café team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(564,'Fast Food Outlet Sales per Employee Calculator','fast-food-outlet-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Fast Food Outlet team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(565,'Clothing Boutique Sales per Employee Calculator','clothing-boutique-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Clothing Boutique team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(566,'Electronics Shop Sales per Employee Calculator','electronics-shop-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Electronics Shop team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(567,'Mobile Accessories Shop Sales per Employee Calculator','mobile-accessories-shop-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Mobile Accessories Shop team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(568,'Hardware Sanitary Store Sales per Employee Calculator','hardware-sanitary-store-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Hardware Sanitary Store team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(569,'Cosmetics Beauty Shop Sales per Employee Calculator','cosmetics-beauty-shop-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Cosmetics Beauty Shop team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(570,'Bookshop Stationery Sales per Employee Calculator','bookshop-stationery-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Bookshop Stationery team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(571,'Bakery Sales per Employee Calculator','bakery-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Bakery team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(572,'Dairy Sweets Shop Sales per Employee Calculator','dairy-sweets-shop-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Dairy Sweets Shop team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(573,'Poultry Farm Sales per Employee Calculator','poultry-farm-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Poultry Farm team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(574,'Fish Meat Shop Sales per Employee Calculator','fish-meat-shop-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Fish Meat Shop team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(575,'Vegetable Wholesale Sales per Employee Calculator','vegetable-wholesale-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Vegetable Wholesale team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(576,'Courier Logistics Sales per Employee Calculator','courier-logistics-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Courier Logistics team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(577,'Transport Trucking Sales per Employee Calculator','transport-trucking-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Transport Trucking team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(578,'Construction Developer Sales per Employee Calculator','construction-developer-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Construction Developer team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(579,'Printing Press Sales per Employee Calculator','printing-press-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Printing Press team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(580,'Agro Farm Sales per Employee Calculator','agro-farm-sales-per-employee-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Per-head output and the target needed for a Agro Farm team.','briefcase',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(581,'Pharmacy Basket Size Growth Calculator','pharmacy-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Pharmacy basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(582,'Grocery Supermarket Basket Size Growth Calculator','grocery-supermarket-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Grocery Supermarket basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(583,'Restaurant Café Basket Size Growth Calculator','restaurant-cafe-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Restaurant Café basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(584,'Fast Food Outlet Basket Size Growth Calculator','fast-food-outlet-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Fast Food Outlet basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(585,'Clothing Boutique Basket Size Growth Calculator','clothing-boutique-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Clothing Boutique basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(586,'Electronics Shop Basket Size Growth Calculator','electronics-shop-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Electronics Shop basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(587,'Mobile Accessories Shop Basket Size Growth Calculator','mobile-accessories-shop-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Mobile Accessories Shop basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(588,'Hardware Sanitary Store Basket Size Growth Calculator','hardware-sanitary-store-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Hardware Sanitary Store basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(589,'Cosmetics Beauty Shop Basket Size Growth Calculator','cosmetics-beauty-shop-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Cosmetics Beauty Shop basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(590,'Bookshop Stationery Basket Size Growth Calculator','bookshop-stationery-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Bookshop Stationery basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(591,'Bakery Basket Size Growth Calculator','bakery-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Bakery basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(592,'Dairy Sweets Shop Basket Size Growth Calculator','dairy-sweets-shop-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Dairy Sweets Shop basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(593,'Poultry Farm Basket Size Growth Calculator','poultry-farm-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Poultry Farm basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(594,'Fish Meat Shop Basket Size Growth Calculator','fish-meat-shop-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Fish Meat Shop basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(595,'Vegetable Wholesale Basket Size Growth Calculator','vegetable-wholesale-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Vegetable Wholesale basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(596,'Courier Logistics Basket Size Growth Calculator','courier-logistics-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Courier Logistics basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(597,'Transport Trucking Basket Size Growth Calculator','transport-trucking-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Transport Trucking basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(598,'Construction Developer Basket Size Growth Calculator','construction-developer-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Construction Developer basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(599,'Printing Press Basket Size Growth Calculator','printing-press-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Printing Press basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(600,'Agro Farm Basket Size Growth Calculator','agro-farm-basket-size-growth-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Revenue added by lifting the average Agro Farm basket.','shopping-bag',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(601,'Pharmacy Repeat Purchase Calculator','pharmacy-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Pharmacy business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(602,'Grocery Supermarket Repeat Purchase Calculator','grocery-supermarket-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Grocery Supermarket business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(603,'Restaurant Café Repeat Purchase Calculator','restaurant-cafe-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Restaurant Café business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(604,'Fast Food Outlet Repeat Purchase Calculator','fast-food-outlet-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Fast Food Outlet business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(605,'Clothing Boutique Repeat Purchase Calculator','clothing-boutique-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Clothing Boutique business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(606,'Electronics Shop Repeat Purchase Calculator','electronics-shop-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Electronics Shop business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(607,'Mobile Accessories Shop Repeat Purchase Calculator','mobile-accessories-shop-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Mobile Accessories Shop business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(608,'Hardware Sanitary Store Repeat Purchase Calculator','hardware-sanitary-store-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Hardware Sanitary Store business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(609,'Cosmetics Beauty Shop Repeat Purchase Calculator','cosmetics-beauty-shop-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Cosmetics Beauty Shop business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(610,'Bookshop Stationery Repeat Purchase Calculator','bookshop-stationery-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Bookshop Stationery business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(611,'Bakery Repeat Purchase Calculator','bakery-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Bakery business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(612,'Dairy Sweets Shop Repeat Purchase Calculator','dairy-sweets-shop-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Dairy Sweets Shop business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(613,'Poultry Farm Repeat Purchase Calculator','poultry-farm-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Poultry Farm business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(614,'Fish Meat Shop Repeat Purchase Calculator','fish-meat-shop-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Fish Meat Shop business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(615,'Vegetable Wholesale Repeat Purchase Calculator','vegetable-wholesale-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Vegetable Wholesale business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(616,'Courier Logistics Repeat Purchase Calculator','courier-logistics-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Courier Logistics business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(617,'Transport Trucking Repeat Purchase Calculator','transport-trucking-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Transport Trucking business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(618,'Construction Developer Repeat Purchase Calculator','construction-developer-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Construction Developer business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(619,'Printing Press Repeat Purchase Calculator','printing-press-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Printing Press business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(620,'Agro Farm Repeat Purchase Calculator','agro-farm-repeat-purchase-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Repeat custom and visit frequency for a Agro Farm business.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(621,'Pharmacy Customer Lifetime Value Calculator','pharmacy-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Pharmacy customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(622,'Grocery Supermarket Customer Lifetime Value Calculator','grocery-supermarket-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Grocery Supermarket customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(623,'Restaurant Café Customer Lifetime Value Calculator','restaurant-cafe-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Restaurant Café customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(624,'Fast Food Outlet Customer Lifetime Value Calculator','fast-food-outlet-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Fast Food Outlet customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(625,'Clothing Boutique Customer Lifetime Value Calculator','clothing-boutique-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Clothing Boutique customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(626,'Electronics Shop Customer Lifetime Value Calculator','electronics-shop-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Electronics Shop customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(627,'Mobile Accessories Shop Customer Lifetime Value Calculator','mobile-accessories-shop-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Mobile Accessories Shop customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(628,'Hardware Sanitary Store Customer Lifetime Value Calculator','hardware-sanitary-store-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Hardware Sanitary Store customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(629,'Cosmetics Beauty Shop Customer Lifetime Value Calculator','cosmetics-beauty-shop-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Cosmetics Beauty Shop customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(630,'Bookshop Stationery Customer Lifetime Value Calculator','bookshop-stationery-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Bookshop Stationery customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(631,'Bakery Customer Lifetime Value Calculator','bakery-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Bakery customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(632,'Dairy Sweets Shop Customer Lifetime Value Calculator','dairy-sweets-shop-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Dairy Sweets Shop customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(633,'Poultry Farm Customer Lifetime Value Calculator','poultry-farm-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Poultry Farm customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(634,'Fish Meat Shop Customer Lifetime Value Calculator','fish-meat-shop-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Fish Meat Shop customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(635,'Vegetable Wholesale Customer Lifetime Value Calculator','vegetable-wholesale-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Vegetable Wholesale customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(636,'Courier Logistics Customer Lifetime Value Calculator','courier-logistics-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Courier Logistics customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(637,'Transport Trucking Customer Lifetime Value Calculator','transport-trucking-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Transport Trucking customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(638,'Construction Developer Customer Lifetime Value Calculator','construction-developer-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Construction Developer customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(639,'Printing Press Customer Lifetime Value Calculator','printing-press-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Printing Press customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(640,'Agro Farm Customer Lifetime Value Calculator','agro-farm-customer-lifetime-value-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Lifetime margin a Agro Farm customer is worth.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(641,'Pharmacy Customer Retention Calculator','pharmacy-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Pharmacy customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(642,'Grocery Supermarket Customer Retention Calculator','grocery-supermarket-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Grocery Supermarket customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(643,'Restaurant Café Customer Retention Calculator','restaurant-cafe-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Restaurant Café customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(644,'Fast Food Outlet Customer Retention Calculator','fast-food-outlet-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Fast Food Outlet customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(645,'Clothing Boutique Customer Retention Calculator','clothing-boutique-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Clothing Boutique customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(646,'Electronics Shop Customer Retention Calculator','electronics-shop-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Electronics Shop customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(647,'Mobile Accessories Shop Customer Retention Calculator','mobile-accessories-shop-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Mobile Accessories Shop customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(648,'Hardware Sanitary Store Customer Retention Calculator','hardware-sanitary-store-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Hardware Sanitary Store customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(649,'Cosmetics Beauty Shop Customer Retention Calculator','cosmetics-beauty-shop-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Cosmetics Beauty Shop customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(650,'Bookshop Stationery Customer Retention Calculator','bookshop-stationery-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Bookshop Stationery customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(651,'Bakery Customer Retention Calculator','bakery-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Bakery customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(652,'Dairy Sweets Shop Customer Retention Calculator','dairy-sweets-shop-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Dairy Sweets Shop customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(653,'Poultry Farm Customer Retention Calculator','poultry-farm-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Poultry Farm customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(654,'Fish Meat Shop Customer Retention Calculator','fish-meat-shop-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Fish Meat Shop customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(655,'Vegetable Wholesale Customer Retention Calculator','vegetable-wholesale-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Vegetable Wholesale customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(656,'Courier Logistics Customer Retention Calculator','courier-logistics-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Courier Logistics customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(657,'Transport Trucking Customer Retention Calculator','transport-trucking-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Transport Trucking customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(658,'Construction Developer Customer Retention Calculator','construction-developer-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Construction Developer customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(659,'Printing Press Customer Retention Calculator','printing-press-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Printing Press customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(660,'Agro Farm Customer Retention Calculator','agro-farm-customer-retention-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Retention and churn rate for a Agro Farm customer base.','heart',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(661,'Pharmacy Delivery Cost per Order Calculator','pharmacy-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Pharmacy order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(662,'Grocery Supermarket Delivery Cost per Order Calculator','grocery-supermarket-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Grocery Supermarket order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(663,'Restaurant Café Delivery Cost per Order Calculator','restaurant-cafe-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Restaurant Café order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(664,'Fast Food Outlet Delivery Cost per Order Calculator','fast-food-outlet-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Fast Food Outlet order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(665,'Clothing Boutique Delivery Cost per Order Calculator','clothing-boutique-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Clothing Boutique order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(666,'Electronics Shop Delivery Cost per Order Calculator','electronics-shop-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Electronics Shop order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(667,'Mobile Accessories Shop Delivery Cost per Order Calculator','mobile-accessories-shop-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Mobile Accessories Shop order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(668,'Hardware Sanitary Store Delivery Cost per Order Calculator','hardware-sanitary-store-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Hardware Sanitary Store order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(669,'Cosmetics Beauty Shop Delivery Cost per Order Calculator','cosmetics-beauty-shop-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Cosmetics Beauty Shop order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(670,'Bookshop Stationery Delivery Cost per Order Calculator','bookshop-stationery-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Bookshop Stationery order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(671,'Bakery Delivery Cost per Order Calculator','bakery-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Bakery order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(672,'Dairy Sweets Shop Delivery Cost per Order Calculator','dairy-sweets-shop-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Dairy Sweets Shop order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(673,'Poultry Farm Delivery Cost per Order Calculator','poultry-farm-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Poultry Farm order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(674,'Fish Meat Shop Delivery Cost per Order Calculator','fish-meat-shop-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Fish Meat Shop order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(675,'Vegetable Wholesale Delivery Cost per Order Calculator','vegetable-wholesale-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Vegetable Wholesale order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(676,'Courier Logistics Delivery Cost per Order Calculator','courier-logistics-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Courier Logistics order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(677,'Transport Trucking Delivery Cost per Order Calculator','transport-trucking-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Transport Trucking order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(678,'Construction Developer Delivery Cost per Order Calculator','construction-developer-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Construction Developer order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(679,'Printing Press Delivery Cost per Order Calculator','printing-press-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Printing Press order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(680,'Agro Farm Delivery Cost per Order Calculator','agro-farm-delivery-cost-per-order-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Fulfilment cost per Agro Farm order and its share of the basket.','truck',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(681,'Pharmacy Packaging Cost Calculator','pharmacy-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Pharmacy order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(682,'Grocery Supermarket Packaging Cost Calculator','grocery-supermarket-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Grocery Supermarket order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(683,'Restaurant Café Packaging Cost Calculator','restaurant-cafe-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Restaurant Café order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(684,'Fast Food Outlet Packaging Cost Calculator','fast-food-outlet-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Fast Food Outlet order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(685,'Clothing Boutique Packaging Cost Calculator','clothing-boutique-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Clothing Boutique order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(686,'Electronics Shop Packaging Cost Calculator','electronics-shop-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Electronics Shop order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(687,'Mobile Accessories Shop Packaging Cost Calculator','mobile-accessories-shop-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Mobile Accessories Shop order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(688,'Hardware Sanitary Store Packaging Cost Calculator','hardware-sanitary-store-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Hardware Sanitary Store order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(689,'Cosmetics Beauty Shop Packaging Cost Calculator','cosmetics-beauty-shop-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Cosmetics Beauty Shop order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(690,'Bookshop Stationery Packaging Cost Calculator','bookshop-stationery-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Bookshop Stationery order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(691,'Bakery Packaging Cost Calculator','bakery-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Bakery order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(692,'Dairy Sweets Shop Packaging Cost Calculator','dairy-sweets-shop-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Dairy Sweets Shop order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(693,'Poultry Farm Packaging Cost Calculator','poultry-farm-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Poultry Farm order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(694,'Fish Meat Shop Packaging Cost Calculator','fish-meat-shop-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Fish Meat Shop order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(695,'Vegetable Wholesale Packaging Cost Calculator','vegetable-wholesale-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Vegetable Wholesale order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(696,'Courier Logistics Packaging Cost Calculator','courier-logistics-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Courier Logistics order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(697,'Transport Trucking Packaging Cost Calculator','transport-trucking-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Transport Trucking order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(698,'Construction Developer Packaging Cost Calculator','construction-developer-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Construction Developer order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(699,'Printing Press Packaging Cost Calculator','printing-press-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Printing Press order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(700,'Agro Farm Packaging Cost Calculator','agro-farm-packaging-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Packaging spend per Agro Farm order and unit.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(701,'Pharmacy Utilities Cost Calculator','pharmacy-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Pharmacy premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(702,'Grocery Supermarket Utilities Cost Calculator','grocery-supermarket-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Grocery Supermarket premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(703,'Restaurant Café Utilities Cost Calculator','restaurant-cafe-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Restaurant Café premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(704,'Fast Food Outlet Utilities Cost Calculator','fast-food-outlet-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Fast Food Outlet premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(705,'Clothing Boutique Utilities Cost Calculator','clothing-boutique-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Clothing Boutique premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(706,'Electronics Shop Utilities Cost Calculator','electronics-shop-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Electronics Shop premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(707,'Mobile Accessories Shop Utilities Cost Calculator','mobile-accessories-shop-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Mobile Accessories Shop premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(708,'Hardware Sanitary Store Utilities Cost Calculator','hardware-sanitary-store-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Hardware Sanitary Store premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(709,'Cosmetics Beauty Shop Utilities Cost Calculator','cosmetics-beauty-shop-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Cosmetics Beauty Shop premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(710,'Bookshop Stationery Utilities Cost Calculator','bookshop-stationery-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Bookshop Stationery premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(711,'Bakery Utilities Cost Calculator','bakery-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Bakery premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(712,'Dairy Sweets Shop Utilities Cost Calculator','dairy-sweets-shop-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Dairy Sweets Shop premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(713,'Poultry Farm Utilities Cost Calculator','poultry-farm-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Poultry Farm premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(714,'Fish Meat Shop Utilities Cost Calculator','fish-meat-shop-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Fish Meat Shop premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(715,'Vegetable Wholesale Utilities Cost Calculator','vegetable-wholesale-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Vegetable Wholesale premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(716,'Courier Logistics Utilities Cost Calculator','courier-logistics-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Courier Logistics premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(717,'Transport Trucking Utilities Cost Calculator','transport-trucking-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Transport Trucking premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(718,'Construction Developer Utilities Cost Calculator','construction-developer-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Construction Developer premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(719,'Printing Press Utilities Cost Calculator','printing-press-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Printing Press premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(720,'Agro Farm Utilities Cost Calculator','agro-farm-utilities-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Electricity, water and gas load for a Agro Farm premises.','bolt',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(721,'Pharmacy Break-even Customers Calculator','pharmacy-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Pharmacy customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(722,'Grocery Supermarket Break-even Customers Calculator','grocery-supermarket-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Grocery Supermarket customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(723,'Restaurant Café Break-even Customers Calculator','restaurant-cafe-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Restaurant Café customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(724,'Fast Food Outlet Break-even Customers Calculator','fast-food-outlet-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Fast Food Outlet customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(725,'Clothing Boutique Break-even Customers Calculator','clothing-boutique-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Clothing Boutique customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(726,'Electronics Shop Break-even Customers Calculator','electronics-shop-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Electronics Shop customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(727,'Mobile Accessories Shop Break-even Customers Calculator','mobile-accessories-shop-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Mobile Accessories Shop customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(728,'Hardware Sanitary Store Break-even Customers Calculator','hardware-sanitary-store-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Hardware Sanitary Store customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(729,'Cosmetics Beauty Shop Break-even Customers Calculator','cosmetics-beauty-shop-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Cosmetics Beauty Shop customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(730,'Bookshop Stationery Break-even Customers Calculator','bookshop-stationery-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Bookshop Stationery customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(731,'Bakery Break-even Customers Calculator','bakery-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Bakery customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(732,'Dairy Sweets Shop Break-even Customers Calculator','dairy-sweets-shop-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Dairy Sweets Shop customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(733,'Poultry Farm Break-even Customers Calculator','poultry-farm-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Poultry Farm customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(734,'Fish Meat Shop Break-even Customers Calculator','fish-meat-shop-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Fish Meat Shop customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(735,'Vegetable Wholesale Break-even Customers Calculator','vegetable-wholesale-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Vegetable Wholesale customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(736,'Courier Logistics Break-even Customers Calculator','courier-logistics-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Courier Logistics customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(737,'Transport Trucking Break-even Customers Calculator','transport-trucking-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Transport Trucking customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(738,'Construction Developer Break-even Customers Calculator','construction-developer-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Construction Developer customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(739,'Printing Press Break-even Customers Calculator','printing-press-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Printing Press customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(740,'Agro Farm Break-even Customers Calculator','agro-farm-break-even-customers-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','How many Agro Farm customers must buy each month to break even.','user-group',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(741,'Pharmacy Footfall Conversion Calculator','pharmacy-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Pharmacy storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(742,'Grocery Supermarket Footfall Conversion Calculator','grocery-supermarket-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Grocery Supermarket storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(743,'Restaurant Café Footfall Conversion Calculator','restaurant-cafe-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Restaurant Café storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(744,'Fast Food Outlet Footfall Conversion Calculator','fast-food-outlet-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Fast Food Outlet storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:06','2026-10-27 18:05:06'),
(745,'Clothing Boutique Footfall Conversion Calculator','clothing-boutique-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Clothing Boutique storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(746,'Electronics Shop Footfall Conversion Calculator','electronics-shop-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Electronics Shop storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(747,'Mobile Accessories Shop Footfall Conversion Calculator','mobile-accessories-shop-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Mobile Accessories Shop storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(748,'Hardware Sanitary Store Footfall Conversion Calculator','hardware-sanitary-store-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Hardware Sanitary Store storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(749,'Cosmetics Beauty Shop Footfall Conversion Calculator','cosmetics-beauty-shop-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Cosmetics Beauty Shop storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(750,'Bookshop Stationery Footfall Conversion Calculator','bookshop-stationery-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Bookshop Stationery storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(751,'Bakery Footfall Conversion Calculator','bakery-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Bakery storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(752,'Dairy Sweets Shop Footfall Conversion Calculator','dairy-sweets-shop-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Dairy Sweets Shop storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(753,'Poultry Farm Footfall Conversion Calculator','poultry-farm-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Poultry Farm storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(754,'Fish Meat Shop Footfall Conversion Calculator','fish-meat-shop-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Fish Meat Shop storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(755,'Vegetable Wholesale Footfall Conversion Calculator','vegetable-wholesale-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Vegetable Wholesale storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(756,'Courier Logistics Footfall Conversion Calculator','courier-logistics-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Courier Logistics storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(757,'Transport Trucking Footfall Conversion Calculator','transport-trucking-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Transport Trucking storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(758,'Construction Developer Footfall Conversion Calculator','construction-developer-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Construction Developer storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(759,'Printing Press Footfall Conversion Calculator','printing-press-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Printing Press storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(760,'Agro Farm Footfall Conversion Calculator','agro-farm-footfall-conversion-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Walk-in conversion for a Agro Farm storefront and the upside left on the table.','arrow-trending-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(761,'Pharmacy Average Transaction Value Calculator','pharmacy-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Pharmacy business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(762,'Grocery Supermarket Average Transaction Value Calculator','grocery-supermarket-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Grocery Supermarket business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(763,'Restaurant Café Average Transaction Value Calculator','restaurant-cafe-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Restaurant Café business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(764,'Fast Food Outlet Average Transaction Value Calculator','fast-food-outlet-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Fast Food Outlet business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(765,'Clothing Boutique Average Transaction Value Calculator','clothing-boutique-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Clothing Boutique business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(766,'Electronics Shop Average Transaction Value Calculator','electronics-shop-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Electronics Shop business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(767,'Mobile Accessories Shop Average Transaction Value Calculator','mobile-accessories-shop-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Mobile Accessories Shop business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(768,'Hardware Sanitary Store Average Transaction Value Calculator','hardware-sanitary-store-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Hardware Sanitary Store business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(769,'Cosmetics Beauty Shop Average Transaction Value Calculator','cosmetics-beauty-shop-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Cosmetics Beauty Shop business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(770,'Bookshop Stationery Average Transaction Value Calculator','bookshop-stationery-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Bookshop Stationery business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(771,'Bakery Average Transaction Value Calculator','bakery-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Bakery business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(772,'Dairy Sweets Shop Average Transaction Value Calculator','dairy-sweets-shop-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Dairy Sweets Shop business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(773,'Poultry Farm Average Transaction Value Calculator','poultry-farm-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Poultry Farm business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(774,'Fish Meat Shop Average Transaction Value Calculator','fish-meat-shop-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Fish Meat Shop business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(775,'Vegetable Wholesale Average Transaction Value Calculator','vegetable-wholesale-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Vegetable Wholesale business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(776,'Courier Logistics Average Transaction Value Calculator','courier-logistics-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Courier Logistics business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(777,'Transport Trucking Average Transaction Value Calculator','transport-trucking-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Transport Trucking business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(778,'Construction Developer Average Transaction Value Calculator','construction-developer-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Construction Developer business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(779,'Printing Press Average Transaction Value Calculator','printing-press-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Printing Press business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(780,'Agro Farm Average Transaction Value Calculator','agro-farm-average-transaction-value-calculator','Retail & Commerce','[\"Retail & Commerce\",\"default\"]','Average ticket size in a Agro Farm business and a lift scenario.','receipt-percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(781,'Pharmacy Supplier Credit Days Calculator','pharmacy-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Pharmacy suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(782,'Grocery Supermarket Supplier Credit Days Calculator','grocery-supermarket-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Grocery Supermarket suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(783,'Restaurant Café Supplier Credit Days Calculator','restaurant-cafe-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Restaurant Café suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(784,'Fast Food Outlet Supplier Credit Days Calculator','fast-food-outlet-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Fast Food Outlet suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(785,'Clothing Boutique Supplier Credit Days Calculator','clothing-boutique-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Clothing Boutique suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(786,'Electronics Shop Supplier Credit Days Calculator','electronics-shop-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Electronics Shop suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(787,'Mobile Accessories Shop Supplier Credit Days Calculator','mobile-accessories-shop-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Mobile Accessories Shop suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(788,'Hardware Sanitary Store Supplier Credit Days Calculator','hardware-sanitary-store-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Hardware Sanitary Store suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(789,'Cosmetics Beauty Shop Supplier Credit Days Calculator','cosmetics-beauty-shop-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Cosmetics Beauty Shop suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(790,'Bookshop Stationery Supplier Credit Days Calculator','bookshop-stationery-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Bookshop Stationery suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(791,'Bakery Supplier Credit Days Calculator','bakery-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Bakery suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(792,'Dairy Sweets Shop Supplier Credit Days Calculator','dairy-sweets-shop-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Dairy Sweets Shop suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(793,'Poultry Farm Supplier Credit Days Calculator','poultry-farm-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Poultry Farm suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(794,'Fish Meat Shop Supplier Credit Days Calculator','fish-meat-shop-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Fish Meat Shop suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(795,'Vegetable Wholesale Supplier Credit Days Calculator','vegetable-wholesale-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Vegetable Wholesale suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(796,'Courier Logistics Supplier Credit Days Calculator','courier-logistics-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Courier Logistics suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(797,'Transport Trucking Supplier Credit Days Calculator','transport-trucking-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Transport Trucking suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(798,'Construction Developer Supplier Credit Days Calculator','construction-developer-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Construction Developer suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(799,'Printing Press Supplier Credit Days Calculator','printing-press-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Printing Press suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(800,'Agro Farm Supplier Credit Days Calculator','agro-farm-supplier-credit-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Agro Farm suppliers finance the stock on the shelf.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(801,'Pharmacy Receivable Days Calculator','pharmacy-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Pharmacy cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(802,'Grocery Supermarket Receivable Days Calculator','grocery-supermarket-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Grocery Supermarket cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(803,'Restaurant Café Receivable Days Calculator','restaurant-cafe-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Restaurant Café cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(804,'Fast Food Outlet Receivable Days Calculator','fast-food-outlet-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Fast Food Outlet cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(805,'Clothing Boutique Receivable Days Calculator','clothing-boutique-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Clothing Boutique cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(806,'Electronics Shop Receivable Days Calculator','electronics-shop-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Electronics Shop cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(807,'Mobile Accessories Shop Receivable Days Calculator','mobile-accessories-shop-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Mobile Accessories Shop cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(808,'Hardware Sanitary Store Receivable Days Calculator','hardware-sanitary-store-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Hardware Sanitary Store cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(809,'Cosmetics Beauty Shop Receivable Days Calculator','cosmetics-beauty-shop-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Cosmetics Beauty Shop cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(810,'Bookshop Stationery Receivable Days Calculator','bookshop-stationery-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Bookshop Stationery cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(811,'Bakery Receivable Days Calculator','bakery-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Bakery cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(812,'Dairy Sweets Shop Receivable Days Calculator','dairy-sweets-shop-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Dairy Sweets Shop cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(813,'Poultry Farm Receivable Days Calculator','poultry-farm-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Poultry Farm cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(814,'Fish Meat Shop Receivable Days Calculator','fish-meat-shop-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Fish Meat Shop cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(815,'Vegetable Wholesale Receivable Days Calculator','vegetable-wholesale-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Vegetable Wholesale cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(816,'Courier Logistics Receivable Days Calculator','courier-logistics-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Courier Logistics cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(817,'Transport Trucking Receivable Days Calculator','transport-trucking-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Transport Trucking cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(818,'Construction Developer Receivable Days Calculator','construction-developer-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Construction Developer cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(819,'Printing Press Receivable Days Calculator','printing-press-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Printing Press cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(820,'Agro Farm Receivable Days Calculator','agro-farm-receivable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','How long Agro Farm cash stays stuck with customers.','banknotes',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(821,'Pharmacy Payable Days Calculator','pharmacy-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Pharmacy business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(822,'Grocery Supermarket Payable Days Calculator','grocery-supermarket-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Grocery Supermarket business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(823,'Restaurant Café Payable Days Calculator','restaurant-cafe-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Restaurant Café business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(824,'Fast Food Outlet Payable Days Calculator','fast-food-outlet-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Fast Food Outlet business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(825,'Clothing Boutique Payable Days Calculator','clothing-boutique-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Clothing Boutique business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(826,'Electronics Shop Payable Days Calculator','electronics-shop-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Electronics Shop business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(827,'Mobile Accessories Shop Payable Days Calculator','mobile-accessories-shop-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Mobile Accessories Shop business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(828,'Hardware Sanitary Store Payable Days Calculator','hardware-sanitary-store-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Hardware Sanitary Store business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(829,'Cosmetics Beauty Shop Payable Days Calculator','cosmetics-beauty-shop-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Cosmetics Beauty Shop business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(830,'Bookshop Stationery Payable Days Calculator','bookshop-stationery-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Bookshop Stationery business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(831,'Bakery Payable Days Calculator','bakery-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Bakery business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(832,'Dairy Sweets Shop Payable Days Calculator','dairy-sweets-shop-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Dairy Sweets Shop business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(833,'Poultry Farm Payable Days Calculator','poultry-farm-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Poultry Farm business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(834,'Fish Meat Shop Payable Days Calculator','fish-meat-shop-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Fish Meat Shop business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(835,'Vegetable Wholesale Payable Days Calculator','vegetable-wholesale-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Vegetable Wholesale business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(836,'Courier Logistics Payable Days Calculator','courier-logistics-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Courier Logistics business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(837,'Transport Trucking Payable Days Calculator','transport-trucking-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Transport Trucking business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(838,'Construction Developer Payable Days Calculator','construction-developer-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Construction Developer business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(839,'Printing Press Payable Days Calculator','printing-press-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Printing Press business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(840,'Agro Farm Payable Days Calculator','agro-farm-payable-days-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Payment pace a Agro Farm business holds with its suppliers.','calendar',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(841,'Pharmacy Cash Conversion Cycle Calculator','pharmacy-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Pharmacy operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(842,'Grocery Supermarket Cash Conversion Cycle Calculator','grocery-supermarket-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Grocery Supermarket operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(843,'Restaurant Café Cash Conversion Cycle Calculator','restaurant-cafe-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Restaurant Café operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(844,'Fast Food Outlet Cash Conversion Cycle Calculator','fast-food-outlet-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Fast Food Outlet operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(845,'Clothing Boutique Cash Conversion Cycle Calculator','clothing-boutique-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Clothing Boutique operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(846,'Electronics Shop Cash Conversion Cycle Calculator','electronics-shop-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Electronics Shop operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(847,'Mobile Accessories Shop Cash Conversion Cycle Calculator','mobile-accessories-shop-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Mobile Accessories Shop operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(848,'Hardware Sanitary Store Cash Conversion Cycle Calculator','hardware-sanitary-store-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Hardware Sanitary Store operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(849,'Cosmetics Beauty Shop Cash Conversion Cycle Calculator','cosmetics-beauty-shop-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Cosmetics Beauty Shop operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(850,'Bookshop Stationery Cash Conversion Cycle Calculator','bookshop-stationery-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Bookshop Stationery operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(851,'Bakery Cash Conversion Cycle Calculator','bakery-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Bakery operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(852,'Dairy Sweets Shop Cash Conversion Cycle Calculator','dairy-sweets-shop-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Dairy Sweets Shop operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(853,'Poultry Farm Cash Conversion Cycle Calculator','poultry-farm-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Poultry Farm operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(854,'Fish Meat Shop Cash Conversion Cycle Calculator','fish-meat-shop-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Fish Meat Shop operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(855,'Vegetable Wholesale Cash Conversion Cycle Calculator','vegetable-wholesale-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Vegetable Wholesale operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(856,'Courier Logistics Cash Conversion Cycle Calculator','courier-logistics-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Courier Logistics operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(857,'Transport Trucking Cash Conversion Cycle Calculator','transport-trucking-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Transport Trucking operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(858,'Construction Developer Cash Conversion Cycle Calculator','construction-developer-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Construction Developer operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(859,'Printing Press Cash Conversion Cycle Calculator','printing-press-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Printing Press operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(860,'Agro Farm Cash Conversion Cycle Calculator','agro-farm-cash-conversion-cycle-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Days of cash locked in the Agro Farm operating cycle.','arrow-path',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(861,'Pharmacy Overtime Cost Calculator','pharmacy-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Pharmacy roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(862,'Grocery Supermarket Overtime Cost Calculator','grocery-supermarket-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Grocery Supermarket roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(863,'Restaurant Café Overtime Cost Calculator','restaurant-cafe-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Restaurant Café roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(864,'Fast Food Outlet Overtime Cost Calculator','fast-food-outlet-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Fast Food Outlet roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(865,'Clothing Boutique Overtime Cost Calculator','clothing-boutique-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Clothing Boutique roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(866,'Electronics Shop Overtime Cost Calculator','electronics-shop-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Electronics Shop roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(867,'Mobile Accessories Shop Overtime Cost Calculator','mobile-accessories-shop-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Mobile Accessories Shop roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(868,'Hardware Sanitary Store Overtime Cost Calculator','hardware-sanitary-store-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Hardware Sanitary Store roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(869,'Cosmetics Beauty Shop Overtime Cost Calculator','cosmetics-beauty-shop-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Cosmetics Beauty Shop roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(870,'Bookshop Stationery Overtime Cost Calculator','bookshop-stationery-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Bookshop Stationery roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(871,'Bakery Overtime Cost Calculator','bakery-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Bakery roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(872,'Dairy Sweets Shop Overtime Cost Calculator','dairy-sweets-shop-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Dairy Sweets Shop roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(873,'Poultry Farm Overtime Cost Calculator','poultry-farm-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Poultry Farm roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(874,'Fish Meat Shop Overtime Cost Calculator','fish-meat-shop-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Fish Meat Shop roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(875,'Vegetable Wholesale Overtime Cost Calculator','vegetable-wholesale-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Vegetable Wholesale roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(876,'Courier Logistics Overtime Cost Calculator','courier-logistics-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Courier Logistics roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(877,'Transport Trucking Overtime Cost Calculator','transport-trucking-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Transport Trucking roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(878,'Construction Developer Overtime Cost Calculator','construction-developer-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Construction Developer roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(879,'Printing Press Overtime Cost Calculator','printing-press-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Printing Press roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(880,'Agro Farm Overtime Cost Calculator','agro-farm-overtime-cost-calculator','HR & Payroll','[\"HR & Payroll\",\"default\"]','Overtime bill for a Agro Farm roster at the legal 1.75× rate.','clock',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(881,'Pharmacy Commission Impact Calculator','pharmacy-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Pharmacy business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(882,'Grocery Supermarket Commission Impact Calculator','grocery-supermarket-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Grocery Supermarket business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(883,'Restaurant Café Commission Impact Calculator','restaurant-cafe-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Restaurant Café business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(884,'Fast Food Outlet Commission Impact Calculator','fast-food-outlet-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Fast Food Outlet business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(885,'Clothing Boutique Commission Impact Calculator','clothing-boutique-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Clothing Boutique business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(886,'Electronics Shop Commission Impact Calculator','electronics-shop-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Electronics Shop business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(887,'Mobile Accessories Shop Commission Impact Calculator','mobile-accessories-shop-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Mobile Accessories Shop business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(888,'Hardware Sanitary Store Commission Impact Calculator','hardware-sanitary-store-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Hardware Sanitary Store business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(889,'Cosmetics Beauty Shop Commission Impact Calculator','cosmetics-beauty-shop-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Cosmetics Beauty Shop business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(890,'Bookshop Stationery Commission Impact Calculator','bookshop-stationery-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Bookshop Stationery business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(891,'Bakery Commission Impact Calculator','bakery-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Bakery business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(892,'Dairy Sweets Shop Commission Impact Calculator','dairy-sweets-shop-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Dairy Sweets Shop business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(893,'Poultry Farm Commission Impact Calculator','poultry-farm-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Poultry Farm business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(894,'Fish Meat Shop Commission Impact Calculator','fish-meat-shop-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Fish Meat Shop business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(895,'Vegetable Wholesale Commission Impact Calculator','vegetable-wholesale-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Vegetable Wholesale business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(896,'Courier Logistics Commission Impact Calculator','courier-logistics-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Courier Logistics business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(897,'Transport Trucking Commission Impact Calculator','transport-trucking-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Transport Trucking business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(898,'Construction Developer Commission Impact Calculator','construction-developer-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Construction Developer business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(899,'Printing Press Commission Impact Calculator','printing-press-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Printing Press business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(900,'Agro Farm Commission Impact Calculator','agro-farm-commission-impact-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','What channel commission leaves behind for a Agro Farm business.','percent',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(901,'Pharmacy Refund Rate Calculator','pharmacy-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Pharmacy business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(902,'Grocery Supermarket Refund Rate Calculator','grocery-supermarket-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Grocery Supermarket business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(903,'Restaurant Café Refund Rate Calculator','restaurant-cafe-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Restaurant Café business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(904,'Fast Food Outlet Refund Rate Calculator','fast-food-outlet-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Fast Food Outlet business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(905,'Clothing Boutique Refund Rate Calculator','clothing-boutique-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Clothing Boutique business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(906,'Electronics Shop Refund Rate Calculator','electronics-shop-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Electronics Shop business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(907,'Mobile Accessories Shop Refund Rate Calculator','mobile-accessories-shop-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Mobile Accessories Shop business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(908,'Hardware Sanitary Store Refund Rate Calculator','hardware-sanitary-store-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Hardware Sanitary Store business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(909,'Cosmetics Beauty Shop Refund Rate Calculator','cosmetics-beauty-shop-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Cosmetics Beauty Shop business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(910,'Bookshop Stationery Refund Rate Calculator','bookshop-stationery-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Bookshop Stationery business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(911,'Bakery Refund Rate Calculator','bakery-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Bakery business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(912,'Dairy Sweets Shop Refund Rate Calculator','dairy-sweets-shop-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Dairy Sweets Shop business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(913,'Poultry Farm Refund Rate Calculator','poultry-farm-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Poultry Farm business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(914,'Fish Meat Shop Refund Rate Calculator','fish-meat-shop-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Fish Meat Shop business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(915,'Vegetable Wholesale Refund Rate Calculator','vegetable-wholesale-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Vegetable Wholesale business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(916,'Courier Logistics Refund Rate Calculator','courier-logistics-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Courier Logistics business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(917,'Transport Trucking Refund Rate Calculator','transport-trucking-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Transport Trucking business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(918,'Construction Developer Refund Rate Calculator','construction-developer-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Construction Developer business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(919,'Printing Press Refund Rate Calculator','printing-press-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Printing Press business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(920,'Agro Farm Refund Rate Calculator','agro-farm-refund-rate-calculator','Customer Analytics','[\"Customer Analytics\",\"default\"]','Refund and return exposure for a Agro Farm business.','arrow-uturn-left',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(921,'Pharmacy Damaged Goods Cost Calculator','pharmacy-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Pharmacy stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(922,'Grocery Supermarket Damaged Goods Cost Calculator','grocery-supermarket-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Grocery Supermarket stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(923,'Restaurant Café Damaged Goods Cost Calculator','restaurant-cafe-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Restaurant Café stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(924,'Fast Food Outlet Damaged Goods Cost Calculator','fast-food-outlet-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Fast Food Outlet stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(925,'Clothing Boutique Damaged Goods Cost Calculator','clothing-boutique-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Clothing Boutique stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(926,'Electronics Shop Damaged Goods Cost Calculator','electronics-shop-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Electronics Shop stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(927,'Mobile Accessories Shop Damaged Goods Cost Calculator','mobile-accessories-shop-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Mobile Accessories Shop stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(928,'Hardware Sanitary Store Damaged Goods Cost Calculator','hardware-sanitary-store-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Hardware Sanitary Store stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(929,'Cosmetics Beauty Shop Damaged Goods Cost Calculator','cosmetics-beauty-shop-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Cosmetics Beauty Shop stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(930,'Bookshop Stationery Damaged Goods Cost Calculator','bookshop-stationery-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Bookshop Stationery stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(931,'Bakery Damaged Goods Cost Calculator','bakery-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Bakery stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(932,'Dairy Sweets Shop Damaged Goods Cost Calculator','dairy-sweets-shop-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Dairy Sweets Shop stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(933,'Poultry Farm Damaged Goods Cost Calculator','poultry-farm-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Poultry Farm stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(934,'Fish Meat Shop Damaged Goods Cost Calculator','fish-meat-shop-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Fish Meat Shop stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(935,'Vegetable Wholesale Damaged Goods Cost Calculator','vegetable-wholesale-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Vegetable Wholesale stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(936,'Courier Logistics Damaged Goods Cost Calculator','courier-logistics-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Courier Logistics stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(937,'Transport Trucking Damaged Goods Cost Calculator','transport-trucking-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Transport Trucking stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(938,'Construction Developer Damaged Goods Cost Calculator','construction-developer-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Construction Developer stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(939,'Printing Press Damaged Goods Cost Calculator','printing-press-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Printing Press stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(940,'Agro Farm Damaged Goods Cost Calculator','agro-farm-damaged-goods-cost-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','What damaged and unsellable Agro Farm stock really costs.','exclamation-triangle',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(941,'Pharmacy Seasonal Stock Plan Calculator','pharmacy-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Pharmacy business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(942,'Grocery Supermarket Seasonal Stock Plan Calculator','grocery-supermarket-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Grocery Supermarket business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(943,'Restaurant Café Seasonal Stock Plan Calculator','restaurant-cafe-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Restaurant Café business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(944,'Fast Food Outlet Seasonal Stock Plan Calculator','fast-food-outlet-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Fast Food Outlet business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(945,'Clothing Boutique Seasonal Stock Plan Calculator','clothing-boutique-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Clothing Boutique business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(946,'Electronics Shop Seasonal Stock Plan Calculator','electronics-shop-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Electronics Shop business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(947,'Mobile Accessories Shop Seasonal Stock Plan Calculator','mobile-accessories-shop-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Mobile Accessories Shop business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:07','2026-10-27 18:05:07'),
(948,'Hardware Sanitary Store Seasonal Stock Plan Calculator','hardware-sanitary-store-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Hardware Sanitary Store business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(949,'Cosmetics Beauty Shop Seasonal Stock Plan Calculator','cosmetics-beauty-shop-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Cosmetics Beauty Shop business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(950,'Bookshop Stationery Seasonal Stock Plan Calculator','bookshop-stationery-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Bookshop Stationery business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(951,'Bakery Seasonal Stock Plan Calculator','bakery-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Bakery business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(952,'Dairy Sweets Shop Seasonal Stock Plan Calculator','dairy-sweets-shop-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Dairy Sweets Shop business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(953,'Poultry Farm Seasonal Stock Plan Calculator','poultry-farm-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Poultry Farm business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(954,'Fish Meat Shop Seasonal Stock Plan Calculator','fish-meat-shop-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Fish Meat Shop business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(955,'Vegetable Wholesale Seasonal Stock Plan Calculator','vegetable-wholesale-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Vegetable Wholesale business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(956,'Courier Logistics Seasonal Stock Plan Calculator','courier-logistics-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Courier Logistics business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(957,'Transport Trucking Seasonal Stock Plan Calculator','transport-trucking-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Transport Trucking business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(958,'Construction Developer Seasonal Stock Plan Calculator','construction-developer-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Construction Developer business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(959,'Printing Press Seasonal Stock Plan Calculator','printing-press-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Printing Press business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(960,'Agro Farm Seasonal Stock Plan Calculator','agro-farm-seasonal-stock-plan-calculator','Operations & Inventory','[\"Operations & Inventory\",\"default\"]','Peak-season stock and cash a Agro Farm business must plan for.','cube',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(961,'Pharmacy Price Elasticity Calculator','pharmacy-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Pharmacy demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(962,'Grocery Supermarket Price Elasticity Calculator','grocery-supermarket-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Grocery Supermarket demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(963,'Restaurant Café Price Elasticity Calculator','restaurant-cafe-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Restaurant Café demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(964,'Fast Food Outlet Price Elasticity Calculator','fast-food-outlet-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Fast Food Outlet demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(965,'Clothing Boutique Price Elasticity Calculator','clothing-boutique-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Clothing Boutique demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(966,'Electronics Shop Price Elasticity Calculator','electronics-shop-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Electronics Shop demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(967,'Mobile Accessories Shop Price Elasticity Calculator','mobile-accessories-shop-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Mobile Accessories Shop demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(968,'Hardware Sanitary Store Price Elasticity Calculator','hardware-sanitary-store-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Hardware Sanitary Store demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(969,'Cosmetics Beauty Shop Price Elasticity Calculator','cosmetics-beauty-shop-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Cosmetics Beauty Shop demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(970,'Bookshop Stationery Price Elasticity Calculator','bookshop-stationery-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Bookshop Stationery demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(971,'Bakery Price Elasticity Calculator','bakery-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Bakery demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(972,'Dairy Sweets Shop Price Elasticity Calculator','dairy-sweets-shop-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Dairy Sweets Shop demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(973,'Poultry Farm Price Elasticity Calculator','poultry-farm-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Poultry Farm demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(974,'Fish Meat Shop Price Elasticity Calculator','fish-meat-shop-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Fish Meat Shop demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(975,'Vegetable Wholesale Price Elasticity Calculator','vegetable-wholesale-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Vegetable Wholesale demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(976,'Courier Logistics Price Elasticity Calculator','courier-logistics-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Courier Logistics demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(977,'Transport Trucking Price Elasticity Calculator','transport-trucking-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Transport Trucking demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(978,'Construction Developer Price Elasticity Calculator','construction-developer-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Construction Developer demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(979,'Printing Press Price Elasticity Calculator','printing-press-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Printing Press demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(980,'Agro Farm Price Elasticity Calculator','agro-farm-price-elasticity-calculator','Sales & Marketing','[\"Sales & Marketing\",\"default\"]','How Agro Farm demand reacts to a price move, and what to do about it.','chart-line-up',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(981,'Pharmacy Contribution Margin Calculator','pharmacy-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Pharmacy product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(982,'Grocery Supermarket Contribution Margin Calculator','grocery-supermarket-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Grocery Supermarket product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(983,'Restaurant Café Contribution Margin Calculator','restaurant-cafe-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Restaurant Café product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(984,'Fast Food Outlet Contribution Margin Calculator','fast-food-outlet-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Fast Food Outlet product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(985,'Clothing Boutique Contribution Margin Calculator','clothing-boutique-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Clothing Boutique product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(986,'Electronics Shop Contribution Margin Calculator','electronics-shop-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Electronics Shop product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(987,'Mobile Accessories Shop Contribution Margin Calculator','mobile-accessories-shop-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Mobile Accessories Shop product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(988,'Hardware Sanitary Store Contribution Margin Calculator','hardware-sanitary-store-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Hardware Sanitary Store product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(989,'Cosmetics Beauty Shop Contribution Margin Calculator','cosmetics-beauty-shop-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Cosmetics Beauty Shop product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(990,'Bookshop Stationery Contribution Margin Calculator','bookshop-stationery-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Bookshop Stationery product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(991,'Bakery Contribution Margin Calculator','bakery-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Bakery product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(992,'Dairy Sweets Shop Contribution Margin Calculator','dairy-sweets-shop-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Dairy Sweets Shop product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(993,'Poultry Farm Contribution Margin Calculator','poultry-farm-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Poultry Farm product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(994,'Fish Meat Shop Contribution Margin Calculator','fish-meat-shop-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Fish Meat Shop product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(995,'Vegetable Wholesale Contribution Margin Calculator','vegetable-wholesale-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Vegetable Wholesale product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(996,'Courier Logistics Contribution Margin Calculator','courier-logistics-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Courier Logistics product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(997,'Transport Trucking Contribution Margin Calculator','transport-trucking-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Transport Trucking product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(998,'Construction Developer Contribution Margin Calculator','construction-developer-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Construction Developer product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(999,'Printing Press Contribution Margin Calculator','printing-press-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Printing Press product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08'),
(1000,'Agro Farm Contribution Margin Calculator','agro-farm-contribution-margin-calculator','Finance & Loans','[\"Finance & Loans\",\"default\"]','Unit contribution and operating profit for a Agro Farm product mix.','chart-pie',NULL,1,'published',1,0,'default',NULL,NULL,NULL,NULL,0,0,'2026-10-27 18:05:08','2026-10-27 18:05:08');
/*!40000 ALTER TABLE `calculators` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `calendar_notes`
--

DROP TABLE IF EXISTS `calendar_notes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `calendar_notes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `date` date NOT NULL,
  `title` varchar(255) NOT NULL,
  `note` text DEFAULT NULL,
  `color` varchar(20) NOT NULL DEFAULT 'blue',
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `source` varchar(20) NOT NULL DEFAULT 'user',
  `source_key` varchar(120) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `calendar_notes_employee_id_foreign` (`employee_id`),
  KEY `calendar_notes_date_index` (`date`),
  KEY `calendar_notes_source_index` (`source`),
  KEY `calendar_notes_source_key_index` (`source_key`),
  CONSTRAINT `calendar_notes_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `calendar_notes`
--

LOCK TABLES `calendar_notes` WRITE;
/*!40000 ALTER TABLE `calendar_notes` DISABLE KEYS */;
/*!40000 ALTER TABLE `calendar_notes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `campaign_bundle_steps`
--

DROP TABLE IF EXISTS `campaign_bundle_steps`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `campaign_bundle_steps` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `bundle_id` bigint(20) unsigned NOT NULL,
  `campaign_id` bigint(20) unsigned NOT NULL,
  `position` int(10) unsigned NOT NULL DEFAULT 0,
  `delay_amount` int(10) unsigned NOT NULL DEFAULT 0,
  `delay_unit` varchar(10) NOT NULL DEFAULT 'hours',
  `status` varchar(20) NOT NULL DEFAULT 'pending',
  `scheduled_at` timestamp NULL DEFAULT NULL,
  `started_at` timestamp NULL DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `campaign_bundle_steps_bundle_id_position_unique` (`bundle_id`,`position`),
  KEY `campaign_bundle_steps_campaign_id_foreign` (`campaign_id`),
  KEY `campaign_bundle_steps_status_scheduled_at_index` (`status`,`scheduled_at`),
  CONSTRAINT `campaign_bundle_steps_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `campaign_bundles` (`id`) ON DELETE CASCADE,
  CONSTRAINT `campaign_bundle_steps_campaign_id_foreign` FOREIGN KEY (`campaign_id`) REFERENCES `marketing_campaigns` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `campaign_bundle_steps`
--

LOCK TABLES `campaign_bundle_steps` WRITE;
/*!40000 ALTER TABLE `campaign_bundle_steps` DISABLE KEYS */;
/*!40000 ALTER TABLE `campaign_bundle_steps` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `campaign_bundles`
--

DROP TABLE IF EXISTS `campaign_bundles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `campaign_bundles` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'draft',
  `start_at` timestamp NULL DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `last_error` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `campaign_bundles_branch_id_foreign` (`branch_id`),
  KEY `campaign_bundles_created_by_foreign` (`created_by`),
  KEY `campaign_bundles_status_start_at_index` (`status`,`start_at`),
  CONSTRAINT `campaign_bundles_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `campaign_bundles_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `campaign_bundles`
--

LOCK TABLES `campaign_bundles` WRITE;
/*!40000 ALTER TABLE `campaign_bundles` DISABLE KEYS */;
/*!40000 ALTER TABLE `campaign_bundles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `campaign_conversions`
--

DROP TABLE IF EXISTS `campaign_conversions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `campaign_conversions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `campaign_id` bigint(20) unsigned NOT NULL,
  `campaign_target_id` bigint(20) unsigned DEFAULT NULL,
  `audience_type` varchar(20) NOT NULL DEFAULT 'customer',
  `audience_id` bigint(20) unsigned DEFAULT NULL,
  `source_type` varchar(40) NOT NULL,
  `source_id` bigint(20) unsigned NOT NULL,
  `reference` varchar(60) DEFAULT NULL,
  `revenue` decimal(14,2) NOT NULL DEFAULT 0.00,
  `converted_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `campaign_conversions_campaign_id_source_type_source_id_unique` (`campaign_id`,`source_type`,`source_id`),
  KEY `campaign_conversions_campaign_target_id_foreign` (`campaign_target_id`),
  KEY `campaign_conversions_campaign_id_converted_at_index` (`campaign_id`,`converted_at`),
  KEY `campaign_conversions_audience_type_audience_id_index` (`audience_type`,`audience_id`),
  CONSTRAINT `campaign_conversions_campaign_id_foreign` FOREIGN KEY (`campaign_id`) REFERENCES `marketing_campaigns` (`id`) ON DELETE CASCADE,
  CONSTRAINT `campaign_conversions_campaign_target_id_foreign` FOREIGN KEY (`campaign_target_id`) REFERENCES `campaign_targets` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `campaign_conversions`
--

LOCK TABLES `campaign_conversions` WRITE;
/*!40000 ALTER TABLE `campaign_conversions` DISABLE KEYS */;
/*!40000 ALTER TABLE `campaign_conversions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `campaign_targets`
--

DROP TABLE IF EXISTS `campaign_targets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `campaign_targets` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `campaign_id` bigint(20) unsigned NOT NULL,
  `channel` varchar(20) DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `audience_type` varchar(20) NOT NULL,
  `audience_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `phone` varchar(40) DEFAULT NULL,
  `tracking_token` varchar(64) DEFAULT NULL,
  `provider_message_id` varchar(120) DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'pending',
  `error` text DEFAULT NULL,
  `sent_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `delivered_at` timestamp NULL DEFAULT NULL,
  `read_at` timestamp NULL DEFAULT NULL,
  `read_source` varchar(10) DEFAULT NULL,
  `clicked_at` timestamp NULL DEFAULT NULL,
  `replied_at` timestamp NULL DEFAULT NULL,
  `opted_out_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `campaign_targets_campaign_leg_unique` (`campaign_id`,`audience_type`,`audience_id`,`channel`),
  UNIQUE KEY `campaign_targets_tracking_token_unique` (`tracking_token`),
  KEY `campaign_targets_campaign_id_status_index` (`campaign_id`,`status`),
  KEY `campaign_targets_campaign_id_channel_index` (`campaign_id`,`channel`),
  KEY `campaign_targets_provider_message_id_index` (`provider_message_id`),
  KEY `campaign_targets_campaign_id_read_at_index` (`campaign_id`,`read_at`),
  KEY `campaign_targets_branch_id_index` (`branch_id`),
  CONSTRAINT `campaign_targets_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `campaign_targets_campaign_id_foreign` FOREIGN KEY (`campaign_id`) REFERENCES `marketing_campaigns` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `campaign_targets`
--

LOCK TABLES `campaign_targets` WRITE;
/*!40000 ALTER TABLE `campaign_targets` DISABLE KEYS */;
/*!40000 ALTER TABLE `campaign_targets` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `campaign_tracking_events`
--

DROP TABLE IF EXISTS `campaign_tracking_events`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `campaign_tracking_events` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `campaign_id` bigint(20) unsigned NOT NULL,
  `bundle_id` bigint(20) unsigned DEFAULT NULL,
  `campaign_target_id` bigint(20) unsigned DEFAULT NULL,
  `channel` varchar(12) NOT NULL,
  `event` varchar(12) NOT NULL,
  `source` varchar(10) NOT NULL DEFAULT 'manual',
  `audience_type` varchar(20) DEFAULT NULL,
  `audience_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `lead_id` bigint(20) unsigned DEFAULT NULL,
  `occurred_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `recorded_by` bigint(20) unsigned DEFAULT NULL,
  `note` text DEFAULT NULL,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `campaign_tracking_events_campaign_target_id_event_unique` (`campaign_target_id`,`event`),
  KEY `campaign_tracking_events_bundle_id_foreign` (`bundle_id`),
  KEY `campaign_tracking_events_customer_id_foreign` (`customer_id`),
  KEY `campaign_tracking_events_lead_id_foreign` (`lead_id`),
  KEY `campaign_tracking_events_recorded_by_foreign` (`recorded_by`),
  KEY `campaign_tracking_events_campaign_id_event_index` (`campaign_id`,`event`),
  KEY `campaign_tracking_events_audience_type_audience_id_index` (`audience_type`,`audience_id`),
  CONSTRAINT `campaign_tracking_events_bundle_id_foreign` FOREIGN KEY (`bundle_id`) REFERENCES `campaign_bundles` (`id`) ON DELETE SET NULL,
  CONSTRAINT `campaign_tracking_events_campaign_id_foreign` FOREIGN KEY (`campaign_id`) REFERENCES `marketing_campaigns` (`id`) ON DELETE CASCADE,
  CONSTRAINT `campaign_tracking_events_campaign_target_id_foreign` FOREIGN KEY (`campaign_target_id`) REFERENCES `campaign_targets` (`id`) ON DELETE SET NULL,
  CONSTRAINT `campaign_tracking_events_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `campaign_tracking_events_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE SET NULL,
  CONSTRAINT `campaign_tracking_events_recorded_by_foreign` FOREIGN KEY (`recorded_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `campaign_tracking_events`
--

LOCK TABLES `campaign_tracking_events` WRITE;
/*!40000 ALTER TABLE `campaign_tracking_events` DISABLE KEYS */;
/*!40000 ALTER TABLE `campaign_tracking_events` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `categories`
--

DROP TABLE IF EXISTS `categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `categories` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `sort_order` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `categories_slug_unique` (`slug`),
  KEY `categories_branch_id_index` (`branch_id`),
  KEY `categories_sort_order_index` (`sort_order`),
  CONSTRAINT `categories_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `categories`
--

LOCK TABLES `categories` WRITE;
/*!40000 ALTER TABLE `categories` DISABLE KEYS */;
/*!40000 ALTER TABLE `categories` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `chick_sales`
--

DROP TABLE IF EXISTS `chick_sales`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `chick_sales` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `egg_batch_id` bigint(20) unsigned NOT NULL,
  `sale_date` date DEFAULT NULL,
  `quantity` decimal(12,2) NOT NULL,
  `price_per_piece` decimal(15,2) NOT NULL,
  `total_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `chick_sales_egg_batch_id_foreign` (`egg_batch_id`),
  KEY `chick_sales_customer_id_foreign` (`customer_id`),
  CONSTRAINT `chick_sales_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `chick_sales_egg_batch_id_foreign` FOREIGN KEY (`egg_batch_id`) REFERENCES `egg_batches` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `chick_sales`
--

LOCK TABLES `chick_sales` WRITE;
/*!40000 ALTER TABLE `chick_sales` DISABLE KEYS */;
/*!40000 ALTER TABLE `chick_sales` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `companies`
--

DROP TABLE IF EXISTS `companies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `companies` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `industry` varchar(100) DEFAULT NULL,
  `phone` varchar(40) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `website` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `companies_branch_id_foreign` (`branch_id`),
  CONSTRAINT `companies_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `companies`
--

LOCK TABLES `companies` WRITE;
/*!40000 ALTER TABLE `companies` DISABLE KEYS */;
/*!40000 ALTER TABLE `companies` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `construction_bids`
--

DROP TABLE IF EXISTS `construction_bids`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `construction_bids` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `bid_no` varchar(40) NOT NULL,
  `construction_project_id` bigint(20) unsigned DEFAULT NULL,
  `subcontractor_id` bigint(20) unsigned DEFAULT NULL,
  `type` varchar(10) NOT NULL DEFAULT 'RFQ',
  `title` varchar(255) NOT NULL,
  `bid_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `submitted_at` date DEFAULT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'draft',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `construction_bids_bid_no_unique` (`bid_no`),
  KEY `construction_bids_construction_project_id_foreign` (`construction_project_id`),
  KEY `construction_bids_subcontractor_id_foreign` (`subcontractor_id`),
  CONSTRAINT `construction_bids_construction_project_id_foreign` FOREIGN KEY (`construction_project_id`) REFERENCES `construction_projects` (`id`) ON DELETE SET NULL,
  CONSTRAINT `construction_bids_subcontractor_id_foreign` FOREIGN KEY (`subcontractor_id`) REFERENCES `construction_subcontractors` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `construction_bids`
--

LOCK TABLES `construction_bids` WRITE;
/*!40000 ALTER TABLE `construction_bids` DISABLE KEYS */;
/*!40000 ALTER TABLE `construction_bids` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `construction_billings`
--

DROP TABLE IF EXISTS `construction_billings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `construction_billings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `construction_project_id` bigint(20) unsigned NOT NULL,
  `bill_no` varchar(40) DEFAULT NULL,
  `gross_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `retention_percent` decimal(5,2) NOT NULL DEFAULT 0.00,
  `retention_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `net_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `bill_date` date DEFAULT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'draft',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `retention_released` tinyint(1) NOT NULL DEFAULT 0,
  `construction_phase_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `construction_billings_construction_project_id_foreign` (`construction_project_id`),
  KEY `construction_billings_construction_phase_id_foreign` (`construction_phase_id`),
  CONSTRAINT `construction_billings_construction_phase_id_foreign` FOREIGN KEY (`construction_phase_id`) REFERENCES `construction_phases` (`id`) ON DELETE SET NULL,
  CONSTRAINT `construction_billings_construction_project_id_foreign` FOREIGN KEY (`construction_project_id`) REFERENCES `construction_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `construction_billings`
--

LOCK TABLES `construction_billings` WRITE;
/*!40000 ALTER TABLE `construction_billings` DISABLE KEYS */;
/*!40000 ALTER TABLE `construction_billings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `construction_change_orders`
--

DROP TABLE IF EXISTS `construction_change_orders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `construction_change_orders` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `co_no` varchar(40) NOT NULL,
  `construction_project_id` bigint(20) unsigned NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `cost_impact` decimal(15,2) NOT NULL DEFAULT 0.00,
  `time_impact_days` decimal(8,2) NOT NULL DEFAULT 0.00,
  `status` varchar(30) NOT NULL DEFAULT 'draft',
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `construction_change_orders_co_no_unique` (`co_no`),
  KEY `construction_change_orders_construction_project_id_foreign` (`construction_project_id`),
  KEY `construction_change_orders_approved_by_foreign` (`approved_by`),
  CONSTRAINT `construction_change_orders_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `construction_change_orders_construction_project_id_foreign` FOREIGN KEY (`construction_project_id`) REFERENCES `construction_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `construction_change_orders`
--

LOCK TABLES `construction_change_orders` WRITE;
/*!40000 ALTER TABLE `construction_change_orders` DISABLE KEYS */;
/*!40000 ALTER TABLE `construction_change_orders` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `construction_cost_entries`
--

DROP TABLE IF EXISTS `construction_cost_entries`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `construction_cost_entries` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `construction_project_id` bigint(20) unsigned NOT NULL,
  `construction_phase_id` bigint(20) unsigned DEFAULT NULL,
  `cost_code` varchar(50) NOT NULL,
  `category` enum('labour','material','equipment','subcontract','overhead','other') NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `quantity` decimal(12,2) DEFAULT NULL,
  `unit_rate` decimal(12,2) DEFAULT NULL,
  `hours` decimal(10,2) DEFAULT NULL,
  `construction_subcontractor_id` bigint(20) unsigned DEFAULT NULL,
  `construction_equipment_id` bigint(20) unsigned DEFAULT NULL,
  `entry_date` date NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `construction_cost_entries_construction_project_id_foreign` (`construction_project_id`),
  CONSTRAINT `construction_cost_entries_construction_project_id_foreign` FOREIGN KEY (`construction_project_id`) REFERENCES `construction_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `construction_cost_entries`
--

LOCK TABLES `construction_cost_entries` WRITE;
/*!40000 ALTER TABLE `construction_cost_entries` DISABLE KEYS */;
/*!40000 ALTER TABLE `construction_cost_entries` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `construction_documents`
--

DROP TABLE IF EXISTS `construction_documents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `construction_documents` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `construction_project_id` bigint(20) unsigned NOT NULL,
  `title` varchar(255) NOT NULL,
  `type` varchar(40) NOT NULL DEFAULT 'drawing',
  `file_path` varchar(255) DEFAULT NULL,
  `file_name` varchar(255) DEFAULT NULL,
  `mime_type` varchar(120) DEFAULT NULL,
  `file_size` bigint(20) unsigned DEFAULT NULL,
  `revision` varchar(20) DEFAULT NULL,
  `issued_date` date DEFAULT NULL,
  `expiry_date` date DEFAULT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'current',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `construction_documents_construction_project_id_foreign` (`construction_project_id`),
  CONSTRAINT `construction_documents_construction_project_id_foreign` FOREIGN KEY (`construction_project_id`) REFERENCES `construction_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `construction_documents`
--

LOCK TABLES `construction_documents` WRITE;
/*!40000 ALTER TABLE `construction_documents` DISABLE KEYS */;
/*!40000 ALTER TABLE `construction_documents` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `construction_equipment`
--

DROP TABLE IF EXISTS `construction_equipment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `construction_equipment` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `asset_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(40) DEFAULT NULL,
  `type` varchar(100) DEFAULT NULL,
  `construction_project_id` bigint(20) unsigned DEFAULT NULL,
  `rental_start` date DEFAULT NULL,
  `rental_end` date DEFAULT NULL,
  `rental_rate_per_day` decimal(15,2) NOT NULL DEFAULT 0.00,
  `operating_hours` decimal(10,2) NOT NULL DEFAULT 0.00,
  `depreciation_percent` decimal(5,2) NOT NULL DEFAULT 0.00,
  `status` varchar(30) NOT NULL DEFAULT 'available',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `equipment_value` decimal(15,2) NOT NULL DEFAULT 0.00,
  PRIMARY KEY (`id`),
  KEY `construction_equipment_branch_id_foreign` (`branch_id`),
  KEY `construction_equipment_asset_id_foreign` (`asset_id`),
  KEY `construction_equipment_construction_project_id_foreign` (`construction_project_id`),
  CONSTRAINT `construction_equipment_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE SET NULL,
  CONSTRAINT `construction_equipment_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `construction_equipment_construction_project_id_foreign` FOREIGN KEY (`construction_project_id`) REFERENCES `construction_projects` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `construction_equipment`
--

LOCK TABLES `construction_equipment` WRITE;
/*!40000 ALTER TABLE `construction_equipment` DISABLE KEYS */;
/*!40000 ALTER TABLE `construction_equipment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `construction_material_requisitions`
--

DROP TABLE IF EXISTS `construction_material_requisitions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `construction_material_requisitions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `construction_project_id` bigint(20) unsigned NOT NULL,
  `construction_phase_id` bigint(20) unsigned DEFAULT NULL,
  `req_no` varchar(255) NOT NULL,
  `item_name` varchar(255) NOT NULL,
  `specification` varchar(255) DEFAULT NULL,
  `unit` varchar(30) DEFAULT NULL,
  `quantity` decimal(12,2) NOT NULL DEFAULT 0.00,
  `needed_by` date DEFAULT NULL,
  `urgency` varchar(255) NOT NULL DEFAULT 'normal',
  `status` varchar(255) NOT NULL DEFAULT 'pending',
  `decided_by` bigint(20) unsigned DEFAULT NULL,
  `fulfilled_from_product_id` bigint(20) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `construction_material_requisitions_req_no_unique` (`req_no`),
  KEY `cmr_project_foreign` (`construction_project_id`),
  CONSTRAINT `cmr_project_foreign` FOREIGN KEY (`construction_project_id`) REFERENCES `construction_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `construction_material_requisitions`
--

LOCK TABLES `construction_material_requisitions` WRITE;
/*!40000 ALTER TABLE `construction_material_requisitions` DISABLE KEYS */;
/*!40000 ALTER TABLE `construction_material_requisitions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `construction_phases`
--

DROP TABLE IF EXISTS `construction_phases`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `construction_phases` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `construction_project_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `cost_code` varchar(40) DEFAULT NULL,
  `budget` decimal(15,2) NOT NULL DEFAULT 0.00,
  `actual_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `progress_percent` decimal(5,2) NOT NULL DEFAULT 0.00,
  `status` varchar(30) NOT NULL DEFAULT 'pending',
  `sequence` int(10) unsigned NOT NULL DEFAULT 0,
  `parent_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `construction_phases_construction_project_id_foreign` (`construction_project_id`),
  KEY `construction_phases_parent_id_foreign` (`parent_id`),
  CONSTRAINT `construction_phases_construction_project_id_foreign` FOREIGN KEY (`construction_project_id`) REFERENCES `construction_projects` (`id`) ON DELETE CASCADE,
  CONSTRAINT `construction_phases_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `construction_phases` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `construction_phases`
--

LOCK TABLES `construction_phases` WRITE;
/*!40000 ALTER TABLE `construction_phases` DISABLE KEYS */;
/*!40000 ALTER TABLE `construction_phases` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `construction_project_closures`
--

DROP TABLE IF EXISTS `construction_project_closures`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `construction_project_closures` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `construction_project_id` bigint(20) unsigned NOT NULL,
  `actual_completion_date` date NOT NULL,
  `handover_notes` text DEFAULT NULL,
  `handover_to_customer_id` bigint(20) unsigned DEFAULT NULL,
  `defects_clear` tinyint(1) NOT NULL DEFAULT 0,
  `retention_released` tinyint(1) NOT NULL DEFAULT 0,
  `retention_released_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `final_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `final_value` decimal(15,2) NOT NULL DEFAULT 0.00,
  `closed_by` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `construction_project_closures_construction_project_id_unique` (`construction_project_id`),
  CONSTRAINT `construction_project_closures_construction_project_id_foreign` FOREIGN KEY (`construction_project_id`) REFERENCES `construction_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `construction_project_closures`
--

LOCK TABLES `construction_project_closures` WRITE;
/*!40000 ALTER TABLE `construction_project_closures` DISABLE KEYS */;
/*!40000 ALTER TABLE `construction_project_closures` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `construction_projects`
--

DROP TABLE IF EXISTS `construction_projects`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `construction_projects` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(40) DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `site_address` text DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `contract_value` decimal(15,2) NOT NULL DEFAULT 0.00,
  `budget` decimal(15,2) NOT NULL DEFAULT 0.00,
  `status` varchar(30) NOT NULL DEFAULT 'planning',
  `manager_id` bigint(20) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `construction_projects_branch_id_foreign` (`branch_id`),
  KEY `construction_projects_customer_id_foreign` (`customer_id`),
  KEY `construction_projects_manager_id_foreign` (`manager_id`),
  CONSTRAINT `construction_projects_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `construction_projects_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `construction_projects_manager_id_foreign` FOREIGN KEY (`manager_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `construction_projects`
--

LOCK TABLES `construction_projects` WRITE;
/*!40000 ALTER TABLE `construction_projects` DISABLE KEYS */;
/*!40000 ALTER TABLE `construction_projects` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `construction_site_diaries`
--

DROP TABLE IF EXISTS `construction_site_diaries`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `construction_site_diaries` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `construction_project_id` bigint(20) unsigned NOT NULL,
  `diary_date` date NOT NULL,
  `recorded_by` bigint(20) unsigned DEFAULT NULL,
  `labour_count` int(10) unsigned NOT NULL DEFAULT 0,
  `equipment_count` int(10) unsigned NOT NULL DEFAULT 0,
  `work_done` text DEFAULT NULL,
  `materials_received` text DEFAULT NULL,
  `weather` text DEFAULT NULL,
  `delays_issues` text DEFAULT NULL,
  `photos` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`photos`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `construction_site_diaries_construction_project_id_foreign` (`construction_project_id`),
  KEY `construction_site_diaries_recorded_by_foreign` (`recorded_by`),
  CONSTRAINT `construction_site_diaries_construction_project_id_foreign` FOREIGN KEY (`construction_project_id`) REFERENCES `construction_projects` (`id`) ON DELETE CASCADE,
  CONSTRAINT `construction_site_diaries_recorded_by_foreign` FOREIGN KEY (`recorded_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `construction_site_diaries`
--

LOCK TABLES `construction_site_diaries` WRITE;
/*!40000 ALTER TABLE `construction_site_diaries` DISABLE KEYS */;
/*!40000 ALTER TABLE `construction_site_diaries` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `construction_snags`
--

DROP TABLE IF EXISTS `construction_snags`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `construction_snags` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `construction_project_id` bigint(20) unsigned NOT NULL,
  `snag_no` varchar(40) DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `reported_by` bigint(20) unsigned DEFAULT NULL,
  `severity` varchar(20) NOT NULL DEFAULT 'minor',
  `status` varchar(30) NOT NULL DEFAULT 'open',
  `found_date` date DEFAULT NULL,
  `fixed_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `construction_snags_construction_project_id_foreign` (`construction_project_id`),
  KEY `construction_snags_reported_by_foreign` (`reported_by`),
  CONSTRAINT `construction_snags_construction_project_id_foreign` FOREIGN KEY (`construction_project_id`) REFERENCES `construction_projects` (`id`) ON DELETE CASCADE,
  CONSTRAINT `construction_snags_reported_by_foreign` FOREIGN KEY (`reported_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `construction_snags`
--

LOCK TABLES `construction_snags` WRITE;
/*!40000 ALTER TABLE `construction_snags` DISABLE KEYS */;
/*!40000 ALTER TABLE `construction_snags` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `construction_subcontractors`
--

DROP TABLE IF EXISTS `construction_subcontractors`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `construction_subcontractors` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `construction_project_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `company_name` varchar(255) DEFAULT NULL,
  `phone` varchar(40) DEFAULT NULL,
  `trade` varchar(120) DEFAULT NULL,
  `contract_no` varchar(60) DEFAULT NULL,
  `contract_value` decimal(15,2) NOT NULL DEFAULT 0.00,
  `contract_start` date DEFAULT NULL,
  `contract_end` date DEFAULT NULL,
  `insurance_expiry` date DEFAULT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `construction_subcontractors_construction_project_id_foreign` (`construction_project_id`),
  KEY `construction_subcontractors_branch_id_foreign` (`branch_id`),
  CONSTRAINT `construction_subcontractors_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `construction_subcontractors_construction_project_id_foreign` FOREIGN KEY (`construction_project_id`) REFERENCES `construction_projects` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `construction_subcontractors`
--

LOCK TABLES `construction_subcontractors` WRITE;
/*!40000 ALTER TABLE `construction_subcontractors` DISABLE KEYS */;
/*!40000 ALTER TABLE `construction_subcontractors` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `construction_work_orders`
--

DROP TABLE IF EXISTS `construction_work_orders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `construction_work_orders` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `construction_project_id` bigint(20) unsigned NOT NULL,
  `construction_phase_id` bigint(20) unsigned DEFAULT NULL,
  `construction_subcontractor_id` bigint(20) unsigned DEFAULT NULL,
  `wo_no` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'pending',
  `assigned_employee_id` bigint(20) unsigned DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `completed_at` date DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `construction_work_orders_wo_no_unique` (`wo_no`),
  KEY `construction_work_orders_construction_project_id_foreign` (`construction_project_id`),
  CONSTRAINT `construction_work_orders_construction_project_id_foreign` FOREIGN KEY (`construction_project_id`) REFERENCES `construction_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `construction_work_orders`
--

LOCK TABLES `construction_work_orders` WRITE;
/*!40000 ALTER TABLE `construction_work_orders` DISABLE KEYS */;
/*!40000 ALTER TABLE `construction_work_orders` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `contractor_billings`
--

DROP TABLE IF EXISTS `contractor_billings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contractor_billings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `bill_no` varchar(40) NOT NULL,
  `contract_id` bigint(20) unsigned NOT NULL,
  `contractor_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `billing_basis` varchar(20) NOT NULL DEFAULT 'onetime',
  `period_label` varchar(60) DEFAULT NULL,
  `period_start` date DEFAULT NULL,
  `period_end` date DEFAULT NULL,
  `amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `paid_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `payment_status` varchar(20) NOT NULL DEFAULT 'unpaid',
  `issue_date` date NOT NULL,
  `due_date` date DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'open',
  `gate_on_tasks` tinyint(1) NOT NULL DEFAULT 0,
  `income_id` bigint(20) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `contractor_billings_bill_no_unique` (`bill_no`),
  KEY `contractor_billings_branch_id_index` (`branch_id`),
  KEY `contractor_billings_contract_id_index` (`contract_id`),
  KEY `contractor_billings_contractor_id_index` (`contractor_id`),
  KEY `contractor_billings_customer_id_index` (`customer_id`),
  KEY `contractor_billings_income_id_index` (`income_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `contractor_billings`
--

LOCK TABLES `contractor_billings` WRITE;
/*!40000 ALTER TABLE `contractor_billings` DISABLE KEYS */;
/*!40000 ALTER TABLE `contractor_billings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `contractor_collections`
--

DROP TABLE IF EXISTS `contractor_collections`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contractor_collections` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `billing_id` bigint(20) unsigned NOT NULL,
  `payment_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  `collected_on` date NOT NULL,
  `method` varchar(30) NOT NULL DEFAULT 'cash',
  `reference` varchar(120) DEFAULT NULL,
  `amount` decimal(15,2) NOT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `contractor_collections_billing_id_index` (`billing_id`),
  KEY `contractor_collections_wallet_id_index` (`wallet_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `contractor_collections`
--

LOCK TABLES `contractor_collections` WRITE;
/*!40000 ALTER TABLE `contractor_collections` DISABLE KEYS */;
/*!40000 ALTER TABLE `contractor_collections` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `contractor_contacts`
--

DROP TABLE IF EXISTS `contractor_contacts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contractor_contacts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `contractor_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `designation` varchar(120) DEFAULT NULL,
  `phone` varchar(40) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `is_primary` tinyint(1) NOT NULL DEFAULT 0,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `contractor_contacts_contractor_id_index` (`contractor_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `contractor_contacts`
--

LOCK TABLES `contractor_contacts` WRITE;
/*!40000 ALTER TABLE `contractor_contacts` DISABLE KEYS */;
/*!40000 ALTER TABLE `contractor_contacts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `contractor_contracts`
--

DROP TABLE IF EXISTS `contractor_contracts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contractor_contracts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `contract_no` varchar(40) NOT NULL,
  `contractor_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `agent_id` bigint(20) unsigned DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `billing_basis` varchar(20) NOT NULL DEFAULT 'onetime',
  `rate` decimal(15,2) NOT NULL DEFAULT 0.00,
  `cycle` varchar(20) DEFAULT NULL,
  `membership_days` int(10) unsigned DEFAULT NULL,
  `starts_at` date DEFAULT NULL,
  `ends_at` date DEFAULT NULL,
  `next_billing_at` date DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `third_party_for_client` tinyint(1) NOT NULL DEFAULT 0,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `contractor_contracts_contract_no_unique` (`contract_no`),
  KEY `contractor_contracts_branch_id_index` (`branch_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `contractor_contracts`
--

LOCK TABLES `contractor_contracts` WRITE;
/*!40000 ALTER TABLE `contractor_contracts` DISABLE KEYS */;
/*!40000 ALTER TABLE `contractor_contracts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `contractor_payables`
--

DROP TABLE IF EXISTS `contractor_payables`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contractor_payables` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `payable_no` varchar(40) NOT NULL,
  `contract_id` bigint(20) unsigned NOT NULL,
  `contractor_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `billing_id` bigint(20) unsigned DEFAULT NULL,
  `billing_basis` varchar(20) NOT NULL DEFAULT 'onetime',
  `period_label` varchar(60) DEFAULT NULL,
  `period_start` date DEFAULT NULL,
  `period_end` date DEFAULT NULL,
  `amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `paid_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `payment_status` varchar(20) NOT NULL DEFAULT 'unpaid',
  `issue_date` date NOT NULL,
  `due_date` date DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'open',
  `expense_id` bigint(20) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `contractor_payables_payable_no_unique` (`payable_no`),
  KEY `contractor_payables_branch_id_index` (`branch_id`),
  KEY `contractor_payables_contract_id_index` (`contract_id`),
  KEY `contractor_payables_contractor_id_index` (`contractor_id`),
  KEY `contractor_payables_customer_id_index` (`customer_id`),
  KEY `contractor_payables_billing_id_index` (`billing_id`),
  KEY `contractor_payables_expense_id_index` (`expense_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `contractor_payables`
--

LOCK TABLES `contractor_payables` WRITE;
/*!40000 ALTER TABLE `contractor_payables` DISABLE KEYS */;
/*!40000 ALTER TABLE `contractor_payables` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `contractor_payouts`
--

DROP TABLE IF EXISTS `contractor_payouts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contractor_payouts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `payable_id` bigint(20) unsigned NOT NULL,
  `payment_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  `paid_on` date NOT NULL,
  `method` varchar(30) NOT NULL DEFAULT 'cash',
  `reference` varchar(120) DEFAULT NULL,
  `amount` decimal(15,2) NOT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `contractor_payouts_payable_id_index` (`payable_id`),
  KEY `contractor_payouts_wallet_id_index` (`wallet_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `contractor_payouts`
--

LOCK TABLES `contractor_payouts` WRITE;
/*!40000 ALTER TABLE `contractor_payouts` DISABLE KEYS */;
/*!40000 ALTER TABLE `contractor_payouts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `contractor_tasks`
--

DROP TABLE IF EXISTS `contractor_tasks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contractor_tasks` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `contract_id` bigint(20) unsigned NOT NULL,
  `contractor_id` bigint(20) unsigned DEFAULT NULL,
  `assigned_to` bigint(20) unsigned DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `priority` varchar(20) NOT NULL DEFAULT 'normal',
  `due_date` date DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'pending',
  `completed_by` bigint(20) unsigned DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `billing_id` bigint(20) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `contractor_tasks_contract_id_index` (`contract_id`),
  KEY `contractor_tasks_contractor_id_index` (`contractor_id`),
  KEY `contractor_tasks_assigned_to_index` (`assigned_to`),
  KEY `contractor_tasks_billing_id_index` (`billing_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `contractor_tasks`
--

LOCK TABLES `contractor_tasks` WRITE;
/*!40000 ALTER TABLE `contractor_tasks` DISABLE KEYS */;
/*!40000 ALTER TABLE `contractor_tasks` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `contractors`
--

DROP TABLE IF EXISTS `contractors`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `contractors` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(40) DEFAULT NULL,
  `company_name` varchar(255) DEFAULT NULL,
  `type` varchar(30) NOT NULL DEFAULT 'third_party',
  `email` varchar(255) DEFAULT NULL,
  `phone` varchar(40) DEFAULT NULL,
  `address` varchar(500) DEFAULT NULL,
  `tax_id` varchar(60) DEFAULT NULL,
  `commission_percent` decimal(5,2) NOT NULL DEFAULT 0.00,
  `vendor_id` bigint(20) unsigned DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `contractors_branch_id_index` (`branch_id`),
  KEY `contractors_code_index` (`code`),
  KEY `contractors_vendor_id_index` (`vendor_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `contractors`
--

LOCK TABLES `contractors` WRITE;
/*!40000 ALTER TABLE `contractors` DISABLE KEYS */;
/*!40000 ALTER TABLE `contractors` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `conversation_user`
--

DROP TABLE IF EXISTS `conversation_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `conversation_user` (
  `conversation_id` bigint(20) unsigned NOT NULL,
  `user_id` bigint(20) unsigned NOT NULL,
  `last_read_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`conversation_id`,`user_id`),
  KEY `conversation_user_user_id_foreign` (`user_id`),
  CONSTRAINT `conversation_user_conversation_id_foreign` FOREIGN KEY (`conversation_id`) REFERENCES `conversations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `conversation_user_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `conversation_user`
--

LOCK TABLES `conversation_user` WRITE;
/*!40000 ALTER TABLE `conversation_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `conversation_user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `conversations`
--

DROP TABLE IF EXISTS `conversations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `conversations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `department_id` bigint(20) unsigned DEFAULT NULL,
  `is_company_wide` tinyint(1) NOT NULL DEFAULT 0,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `conversations_department_id_foreign` (`department_id`),
  KEY `conversations_created_by_foreign` (`created_by`),
  CONSTRAINT `conversations_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `conversations_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `conversations`
--

LOCK TABLES `conversations` WRITE;
/*!40000 ALTER TABLE `conversations` DISABLE KEYS */;
/*!40000 ALTER TABLE `conversations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `coupons`
--

DROP TABLE IF EXISTS `coupons`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `coupons` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `code` varchar(50) NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'percentage',
  `value` decimal(15,2) NOT NULL DEFAULT 0.00,
  `min_order_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `max_discount` decimal(15,2) DEFAULT NULL,
  `usage_limit` int(10) unsigned DEFAULT NULL,
  `used_count` int(10) unsigned NOT NULL DEFAULT 0,
  `starts_at` date DEFAULT NULL,
  `expires_at` date DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `coupons_code_unique` (`code`),
  KEY `coupons_branch_id_foreign` (`branch_id`),
  CONSTRAINT `coupons_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `coupons`
--

LOCK TABLES `coupons` WRITE;
/*!40000 ALTER TABLE `coupons` DISABLE KEYS */;
/*!40000 ALTER TABLE `coupons` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `courier_gateways`
--

DROP TABLE IF EXISTS `courier_gateways`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `courier_gateways` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `type` varchar(30) NOT NULL,
  `url` varchar(255) DEFAULT NULL,
  `api_key` varchar(255) DEFAULT NULL,
  `secret_key` varchar(255) DEFAULT NULL,
  `username` varchar(255) DEFAULT NULL,
  `password` varchar(255) DEFAULT NULL,
  `store_id` varchar(255) DEFAULT NULL,
  `token` text DEFAULT NULL,
  `status` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `courier_gateways_type_unique` (`type`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `courier_gateways`
--

LOCK TABLES `courier_gateways` WRITE;
/*!40000 ALTER TABLE `courier_gateways` DISABLE KEYS */;
/*!40000 ALTER TABLE `courier_gateways` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `courier_partners`
--

DROP TABLE IF EXISTS `courier_partners`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `courier_partners` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `phone` varchar(40) DEFAULT NULL,
  `tracking_url` varchar(255) DEFAULT NULL,
  `default_charge` decimal(15,2) NOT NULL DEFAULT 0.00,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `courier_partners_branch_id_foreign` (`branch_id`),
  CONSTRAINT `courier_partners_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `courier_partners`
--

LOCK TABLES `courier_partners` WRITE;
/*!40000 ALTER TABLE `courier_partners` DISABLE KEYS */;
/*!40000 ALTER TABLE `courier_partners` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `courier_shipments`
--

DROP TABLE IF EXISTS `courier_shipments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `courier_shipments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `waybill_no` varchar(60) NOT NULL,
  `gateway` varchar(30) DEFAULT NULL,
  `consignment_id` varchar(80) DEFAULT NULL,
  `tracking_code` varchar(80) DEFAULT NULL,
  `gateway_status` varchar(40) DEFAULT NULL,
  `gateway_status_synced_at` timestamp NULL DEFAULT NULL,
  `courier_partner_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `source_type` varchar(30) DEFAULT NULL,
  `source_id` bigint(20) unsigned DEFAULT NULL,
  `recipient_name` varchar(255) DEFAULT NULL,
  `recipient_phone` varchar(40) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `freight_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `cod_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `status` varchar(30) NOT NULL DEFAULT 'pickup_scheduled',
  `picked_up_at` timestamp NULL DEFAULT NULL,
  `delivered_at` timestamp NULL DEFAULT NULL,
  `tracking_events` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`tracking_events`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `courier_shipments_waybill_no_unique` (`waybill_no`),
  KEY `courier_shipments_courier_partner_id_foreign` (`courier_partner_id`),
  KEY `courier_shipments_branch_id_foreign` (`branch_id`),
  KEY `courier_shipments_source_type_source_id_index` (`source_type`,`source_id`),
  KEY `courier_shipments_gateway_index` (`gateway`),
  CONSTRAINT `courier_shipments_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `courier_shipments_courier_partner_id_foreign` FOREIGN KEY (`courier_partner_id`) REFERENCES `courier_partners` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `courier_shipments`
--

LOCK TABLES `courier_shipments` WRITE;
/*!40000 ALTER TABLE `courier_shipments` DISABLE KEYS */;
/*!40000 ALTER TABLE `courier_shipments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crm_customer_communications`
--

DROP TABLE IF EXISTS `crm_customer_communications`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crm_customer_communications` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` bigint(20) unsigned NOT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `channel` varchar(30) NOT NULL DEFAULT 'note',
  `direction` varchar(20) NOT NULL DEFAULT 'outbound',
  `subject` varchar(255) DEFAULT NULL,
  `body` text DEFAULT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'logged',
  `is_internal` tinyint(1) NOT NULL DEFAULT 0,
  `happened_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `next_follow_up_at` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `marketing_campaign_id` bigint(20) unsigned DEFAULT NULL,
  `marketing_bundle_id` bigint(20) unsigned DEFAULT NULL,
  `tracking_event_id` bigint(20) unsigned DEFAULT NULL,
  `source` varchar(12) NOT NULL DEFAULT 'crm',
  PRIMARY KEY (`id`),
  UNIQUE KEY `crm_customer_communications_tracking_event_id_unique` (`tracking_event_id`),
  KEY `crm_customer_communications_user_id_foreign` (`user_id`),
  KEY `crm_customer_communications_customer_id_happened_at_index` (`customer_id`,`happened_at`),
  KEY `crm_customer_communications_channel_index` (`channel`),
  CONSTRAINT `crm_customer_communications_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `crm_customer_communications_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crm_customer_communications`
--

LOCK TABLES `crm_customer_communications` WRITE;
/*!40000 ALTER TABLE `crm_customer_communications` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_customer_communications` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crm_customer_documents`
--

DROP TABLE IF EXISTS `crm_customer_documents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crm_customer_documents` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` bigint(20) unsigned NOT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `category` varchar(60) NOT NULL DEFAULT 'general',
  `file_path` varchar(255) DEFAULT NULL,
  `external_url` varchar(255) DEFAULT NULL,
  `file_size` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crm_customer_documents_user_id_foreign` (`user_id`),
  KEY `crm_customer_documents_customer_id_category_index` (`customer_id`,`category`),
  CONSTRAINT `crm_customer_documents_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `crm_customer_documents_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crm_customer_documents`
--

LOCK TABLES `crm_customer_documents` WRITE;
/*!40000 ALTER TABLE `crm_customer_documents` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_customer_documents` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crm_customer_feedback`
--

DROP TABLE IF EXISTS `crm_customer_feedback`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crm_customer_feedback` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` bigint(20) unsigned NOT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `category` varchar(40) NOT NULL DEFAULT 'service',
  `subject` varchar(255) DEFAULT NULL,
  `comment` text DEFAULT NULL,
  `rating` tinyint(3) unsigned DEFAULT NULL,
  `service_rating` tinyint(3) unsigned DEFAULT NULL,
  `product_rating` tinyint(3) unsigned DEFAULT NULL,
  `nps_score` tinyint(3) unsigned DEFAULT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'open',
  `priority` varchar(20) NOT NULL DEFAULT 'normal',
  `source` varchar(20) NOT NULL DEFAULT 'manual',
  `first_response_at` timestamp NULL DEFAULT NULL,
  `escalated_at` timestamp NULL DEFAULT NULL,
  `assigned_to_name` varchar(255) DEFAULT NULL,
  `assigned_to_id` bigint(20) unsigned DEFAULT NULL,
  `resolved_by_id` bigint(20) unsigned DEFAULT NULL,
  `crm_survey_response_id` bigint(20) unsigned DEFAULT NULL,
  `resolution` text DEFAULT NULL,
  `resolved_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crm_customer_feedback_user_id_foreign` (`user_id`),
  KEY `crm_customer_feedback_customer_id_status_index` (`customer_id`,`status`),
  KEY `crm_customer_feedback_assigned_to_id_foreign` (`assigned_to_id`),
  KEY `crm_customer_feedback_resolved_by_id_foreign` (`resolved_by_id`),
  KEY `crm_customer_feedback_crm_survey_response_id_foreign` (`crm_survey_response_id`),
  KEY `crm_customer_feedback_status_assigned_to_id_index` (`status`,`assigned_to_id`),
  CONSTRAINT `crm_customer_feedback_assigned_to_id_foreign` FOREIGN KEY (`assigned_to_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `crm_customer_feedback_crm_survey_response_id_foreign` FOREIGN KEY (`crm_survey_response_id`) REFERENCES `crm_survey_responses` (`id`) ON DELETE SET NULL,
  CONSTRAINT `crm_customer_feedback_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `crm_customer_feedback_resolved_by_id_foreign` FOREIGN KEY (`resolved_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `crm_customer_feedback_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crm_customer_feedback`
--

LOCK TABLES `crm_customer_feedback` WRITE;
/*!40000 ALTER TABLE `crm_customer_feedback` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_customer_feedback` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crm_customer_notes`
--

DROP TABLE IF EXISTS `crm_customer_notes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crm_customer_notes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` bigint(20) unsigned NOT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `body` text NOT NULL,
  `is_pinned` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crm_customer_notes_user_id_foreign` (`user_id`),
  KEY `crm_customer_notes_customer_id_created_at_index` (`customer_id`,`created_at`),
  CONSTRAINT `crm_customer_notes_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `crm_customer_notes_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crm_customer_notes`
--

LOCK TABLES `crm_customer_notes` WRITE;
/*!40000 ALTER TABLE `crm_customer_notes` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_customer_notes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crm_customer_tags`
--

DROP TABLE IF EXISTS `crm_customer_tags`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crm_customer_tags` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` bigint(20) unsigned NOT NULL,
  `tag` varchar(60) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `crm_customer_tags_customer_id_tag_unique` (`customer_id`,`tag`),
  CONSTRAINT `crm_customer_tags_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crm_customer_tags`
--

LOCK TABLES `crm_customer_tags` WRITE;
/*!40000 ALTER TABLE `crm_customer_tags` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_customer_tags` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crm_feedback_logs`
--

DROP TABLE IF EXISTS `crm_feedback_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crm_feedback_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `crm_customer_feedback_id` bigint(20) unsigned NOT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `action` varchar(30) NOT NULL,
  `from_status` varchar(30) DEFAULT NULL,
  `to_status` varchar(30) DEFAULT NULL,
  `assigned_to_id` bigint(20) unsigned DEFAULT NULL,
  `note` text DEFAULT NULL,
  `logged_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crm_feedback_logs_user_id_foreign` (`user_id`),
  KEY `crm_feedback_logs_crm_customer_feedback_id_logged_at_index` (`crm_customer_feedback_id`,`logged_at`),
  CONSTRAINT `crm_feedback_logs_crm_customer_feedback_id_foreign` FOREIGN KEY (`crm_customer_feedback_id`) REFERENCES `crm_customer_feedback` (`id`) ON DELETE CASCADE,
  CONSTRAINT `crm_feedback_logs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crm_feedback_logs`
--

LOCK TABLES `crm_feedback_logs` WRITE;
/*!40000 ALTER TABLE `crm_feedback_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_feedback_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crm_journey_activities`
--

DROP TABLE IF EXISTS `crm_journey_activities`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crm_journey_activities` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `crm_journey_id` bigint(20) unsigned NOT NULL,
  `crm_journey_enrollment_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `step_index` int(10) unsigned NOT NULL DEFAULT 0,
  `step_type` varchar(30) NOT NULL,
  `channel` varchar(20) DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'sent',
  `message` text DEFAULT NULL,
  `error` text DEFAULT NULL,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `happened_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crm_journey_activities_customer_id_foreign` (`customer_id`),
  KEY `crm_journey_activities_crm_journey_id_happened_at_index` (`crm_journey_id`,`happened_at`),
  KEY `crm_journey_activities_crm_journey_enrollment_id_index` (`crm_journey_enrollment_id`),
  CONSTRAINT `crm_journey_activities_crm_journey_enrollment_id_foreign` FOREIGN KEY (`crm_journey_enrollment_id`) REFERENCES `crm_journey_enrollments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `crm_journey_activities_crm_journey_id_foreign` FOREIGN KEY (`crm_journey_id`) REFERENCES `crm_journeys` (`id`) ON DELETE CASCADE,
  CONSTRAINT `crm_journey_activities_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crm_journey_activities`
--

LOCK TABLES `crm_journey_activities` WRITE;
/*!40000 ALTER TABLE `crm_journey_activities` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_journey_activities` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crm_journey_enrollments`
--

DROP TABLE IF EXISTS `crm_journey_enrollments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crm_journey_enrollments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `crm_journey_id` bigint(20) unsigned NOT NULL,
  `customer_id` bigint(20) unsigned NOT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `current_step` int(10) unsigned NOT NULL DEFAULT 0,
  `cycle` int(10) unsigned NOT NULL DEFAULT 1,
  `trigger_summary` varchar(255) DEFAULT NULL,
  `context` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`context`)),
  `next_run_at` timestamp NULL DEFAULT NULL,
  `enrolled_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `completed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `crm_journey_enrollments_crm_journey_id_customer_id_unique` (`crm_journey_id`,`customer_id`),
  KEY `crm_journey_enrollments_customer_id_foreign` (`customer_id`),
  KEY `crm_journey_enrollments_status_next_run_at_index` (`status`,`next_run_at`),
  CONSTRAINT `crm_journey_enrollments_crm_journey_id_foreign` FOREIGN KEY (`crm_journey_id`) REFERENCES `crm_journeys` (`id`) ON DELETE CASCADE,
  CONSTRAINT `crm_journey_enrollments_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crm_journey_enrollments`
--

LOCK TABLES `crm_journey_enrollments` WRITE;
/*!40000 ALTER TABLE `crm_journey_enrollments` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_journey_enrollments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crm_journeys`
--

DROP TABLE IF EXISTS `crm_journeys`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crm_journeys` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `trigger_type` varchar(40) NOT NULL,
  `trigger_config` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`trigger_config`)),
  `crm_segment_id` bigint(20) unsigned DEFAULT NULL,
  `steps` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`steps`)),
  `status` varchar(20) NOT NULL DEFAULT 'draft',
  `enrolled_count` int(10) unsigned NOT NULL DEFAULT 0,
  `completed_count` int(10) unsigned NOT NULL DEFAULT 0,
  `failed_count` int(10) unsigned NOT NULL DEFAULT 0,
  `last_run_at` timestamp NULL DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crm_journeys_branch_id_foreign` (`branch_id`),
  KEY `crm_journeys_crm_segment_id_foreign` (`crm_segment_id`),
  KEY `crm_journeys_created_by_foreign` (`created_by`),
  KEY `crm_journeys_status_trigger_type_index` (`status`,`trigger_type`),
  CONSTRAINT `crm_journeys_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `crm_journeys_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `crm_journeys_crm_segment_id_foreign` FOREIGN KEY (`crm_segment_id`) REFERENCES `crm_segments` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crm_journeys`
--

LOCK TABLES `crm_journeys` WRITE;
/*!40000 ALTER TABLE `crm_journeys` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_journeys` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crm_segment_members`
--

DROP TABLE IF EXISTS `crm_segment_members`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crm_segment_members` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `crm_segment_id` bigint(20) unsigned NOT NULL,
  `customer_id` bigint(20) unsigned NOT NULL,
  `added_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `crm_segment_members_crm_segment_id_customer_id_unique` (`crm_segment_id`,`customer_id`),
  KEY `crm_segment_members_customer_id_foreign` (`customer_id`),
  CONSTRAINT `crm_segment_members_crm_segment_id_foreign` FOREIGN KEY (`crm_segment_id`) REFERENCES `crm_segments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `crm_segment_members_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crm_segment_members`
--

LOCK TABLES `crm_segment_members` WRITE;
/*!40000 ALTER TABLE `crm_segment_members` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_segment_members` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crm_segments`
--

DROP TABLE IF EXISTS `crm_segments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crm_segments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'dynamic',
  `filters` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`filters`)),
  `color` varchar(20) DEFAULT NULL,
  `is_system` tinyint(1) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `crm_segments_slug_unique` (`slug`),
  KEY `crm_segments_branch_id_foreign` (`branch_id`),
  CONSTRAINT `crm_segments_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crm_segments`
--

LOCK TABLES `crm_segments` WRITE;
/*!40000 ALTER TABLE `crm_segments` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_segments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crm_survey_responses`
--

DROP TABLE IF EXISTS `crm_survey_responses`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crm_survey_responses` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `crm_survey_id` bigint(20) unsigned NOT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `token` varchar(60) NOT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'pending',
  `answers` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`answers`)),
  `nps_score` tinyint(3) unsigned DEFAULT NULL,
  `rating` decimal(8,2) DEFAULT NULL,
  `sent_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `responded_at` timestamp NULL DEFAULT NULL,
  `expires_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `crm_survey_responses_token_unique` (`token`),
  UNIQUE KEY `crm_survey_responses_crm_survey_id_customer_id_unique` (`crm_survey_id`,`customer_id`),
  KEY `crm_survey_responses_customer_id_foreign` (`customer_id`),
  KEY `crm_survey_responses_crm_survey_id_status_index` (`crm_survey_id`,`status`),
  CONSTRAINT `crm_survey_responses_crm_survey_id_foreign` FOREIGN KEY (`crm_survey_id`) REFERENCES `crm_surveys` (`id`) ON DELETE CASCADE,
  CONSTRAINT `crm_survey_responses_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crm_survey_responses`
--

LOCK TABLES `crm_survey_responses` WRITE;
/*!40000 ALTER TABLE `crm_survey_responses` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_survey_responses` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crm_surveys`
--

DROP TABLE IF EXISTS `crm_surveys`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crm_surveys` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'nps',
  `questions` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`questions`)),
  `cadence` varchar(30) NOT NULL DEFAULT 'manual',
  `days_after_purchase` int(10) unsigned DEFAULT NULL,
  `crm_journey_id` bigint(20) unsigned DEFAULT NULL,
  `crm_segment_id` bigint(20) unsigned DEFAULT NULL,
  `channel` varchar(20) NOT NULL DEFAULT 'email',
  `status` varchar(20) NOT NULL DEFAULT 'draft',
  `is_anonymous` tinyint(1) NOT NULL DEFAULT 0,
  `response_window_days` int(10) unsigned NOT NULL DEFAULT 14,
  `sent_count` int(10) unsigned NOT NULL DEFAULT 0,
  `response_count` int(10) unsigned NOT NULL DEFAULT 0,
  `last_sent_at` timestamp NULL DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crm_surveys_branch_id_foreign` (`branch_id`),
  KEY `crm_surveys_crm_journey_id_foreign` (`crm_journey_id`),
  KEY `crm_surveys_crm_segment_id_foreign` (`crm_segment_id`),
  KEY `crm_surveys_created_by_foreign` (`created_by`),
  KEY `crm_surveys_status_type_index` (`status`,`type`),
  CONSTRAINT `crm_surveys_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `crm_surveys_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `crm_surveys_crm_journey_id_foreign` FOREIGN KEY (`crm_journey_id`) REFERENCES `crm_journeys` (`id`) ON DELETE SET NULL,
  CONSTRAINT `crm_surveys_crm_segment_id_foreign` FOREIGN KEY (`crm_segment_id`) REFERENCES `crm_segments` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crm_surveys`
--

LOCK TABLES `crm_surveys` WRITE;
/*!40000 ALTER TABLE `crm_surveys` DISABLE KEYS */;
/*!40000 ALTER TABLE `crm_surveys` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crop_activity_logs`
--

DROP TABLE IF EXISTS `crop_activity_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crop_activity_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `crop_planting_id` bigint(20) unsigned NOT NULL,
  `log_date` date DEFAULT NULL,
  `type` varchar(30) NOT NULL DEFAULT 'note',
  `item_name` varchar(150) DEFAULT NULL,
  `quantity` decimal(12,3) NOT NULL DEFAULT 0.000,
  `cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `note` text DEFAULT NULL,
  `recorded_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crop_activity_logs_recorded_by_foreign` (`recorded_by`),
  KEY `crop_activity_logs_crop_planting_id_log_date_index` (`crop_planting_id`,`log_date`),
  CONSTRAINT `crop_activity_logs_crop_planting_id_foreign` FOREIGN KEY (`crop_planting_id`) REFERENCES `crop_plantings` (`id`) ON DELETE CASCADE,
  CONSTRAINT `crop_activity_logs_recorded_by_foreign` FOREIGN KEY (`recorded_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crop_activity_logs`
--

LOCK TABLES `crop_activity_logs` WRITE;
/*!40000 ALTER TABLE `crop_activity_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `crop_activity_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crop_harvests`
--

DROP TABLE IF EXISTS `crop_harvests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crop_harvests` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `crop_planting_id` bigint(20) unsigned NOT NULL,
  `harvest_date` date DEFAULT NULL,
  `quantity` decimal(12,3) NOT NULL DEFAULT 0.000,
  `labour_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crop_harvests_crop_planting_id_foreign` (`crop_planting_id`),
  CONSTRAINT `crop_harvests_crop_planting_id_foreign` FOREIGN KEY (`crop_planting_id`) REFERENCES `crop_plantings` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crop_harvests`
--

LOCK TABLES `crop_harvests` WRITE;
/*!40000 ALTER TABLE `crop_harvests` DISABLE KEYS */;
/*!40000 ALTER TABLE `crop_harvests` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crop_plantings`
--

DROP TABLE IF EXISTS `crop_plantings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crop_plantings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `planting_no` varchar(40) NOT NULL,
  `farm_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `land_id` bigint(20) unsigned DEFAULT NULL,
  `crop_type_id` bigint(20) unsigned DEFAULT NULL,
  `season_id` bigint(20) unsigned DEFAULT NULL,
  `sowing_date` date DEFAULT NULL,
  `expected_harvest_date` date DEFAULT NULL,
  `actual_harvest_date` date DEFAULT NULL,
  `plants_quantity` decimal(12,2) NOT NULL DEFAULT 0.00,
  `expected_yield` decimal(12,2) DEFAULT NULL,
  `yield_unit` varchar(20) DEFAULT 'kg',
  `seed_quantity_kg` decimal(12,3) NOT NULL DEFAULT 0.000,
  `seed_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `status` varchar(20) NOT NULL DEFAULT 'growing',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `crop_plantings_planting_no_unique` (`planting_no`),
  KEY `crop_plantings_farm_id_foreign` (`farm_id`),
  KEY `crop_plantings_branch_id_foreign` (`branch_id`),
  KEY `crop_plantings_land_id_foreign` (`land_id`),
  KEY `crop_plantings_crop_type_id_foreign` (`crop_type_id`),
  KEY `crop_plantings_season_id_foreign` (`season_id`),
  CONSTRAINT `crop_plantings_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `crop_plantings_crop_type_id_foreign` FOREIGN KEY (`crop_type_id`) REFERENCES `crop_types` (`id`) ON DELETE SET NULL,
  CONSTRAINT `crop_plantings_farm_id_foreign` FOREIGN KEY (`farm_id`) REFERENCES `farms` (`id`) ON DELETE SET NULL,
  CONSTRAINT `crop_plantings_land_id_foreign` FOREIGN KEY (`land_id`) REFERENCES `farm_lands` (`id`) ON DELETE SET NULL,
  CONSTRAINT `crop_plantings_season_id_foreign` FOREIGN KEY (`season_id`) REFERENCES `crop_seasons` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crop_plantings`
--

LOCK TABLES `crop_plantings` WRITE;
/*!40000 ALTER TABLE `crop_plantings` DISABLE KEYS */;
/*!40000 ALTER TABLE `crop_plantings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crop_sales`
--

DROP TABLE IF EXISTS `crop_sales`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crop_sales` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `crop_planting_id` bigint(20) unsigned NOT NULL,
  `sale_date` date DEFAULT NULL,
  `quantity` decimal(12,3) NOT NULL,
  `unit_price` decimal(15,2) NOT NULL,
  `total_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `crop_sales_crop_planting_id_foreign` (`crop_planting_id`),
  KEY `crop_sales_customer_id_foreign` (`customer_id`),
  CONSTRAINT `crop_sales_crop_planting_id_foreign` FOREIGN KEY (`crop_planting_id`) REFERENCES `crop_plantings` (`id`) ON DELETE CASCADE,
  CONSTRAINT `crop_sales_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crop_sales`
--

LOCK TABLES `crop_sales` WRITE;
/*!40000 ALTER TABLE `crop_sales` DISABLE KEYS */;
/*!40000 ALTER TABLE `crop_sales` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crop_seasons`
--

DROP TABLE IF EXISTS `crop_seasons`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crop_seasons` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `starts_at` date DEFAULT NULL,
  `ends_at` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crop_seasons`
--

LOCK TABLES `crop_seasons` WRITE;
/*!40000 ALTER TABLE `crop_seasons` DISABLE KEYS */;
/*!40000 ALTER TABLE `crop_seasons` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `crop_types`
--

DROP TABLE IF EXISTS `crop_types`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `crop_types` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `unit` varchar(30) NOT NULL DEFAULT 'kg',
  `default_duration_days` int(10) unsigned NOT NULL DEFAULT 90,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `crop_types`
--

LOCK TABLES `crop_types` WRITE;
/*!40000 ALTER TABLE `crop_types` DISABLE KEYS */;
/*!40000 ALTER TABLE `crop_types` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customer_dues`
--

DROP TABLE IF EXISTS `customer_dues`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `customer_dues` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `customer_purchase_id` bigint(20) unsigned NOT NULL,
  `customer_id` bigint(20) unsigned NOT NULL,
  `due_date` date NOT NULL,
  `period` varchar(255) NOT NULL,
  `sequence` int(10) unsigned NOT NULL DEFAULT 1,
  `amount` decimal(12,2) NOT NULL,
  `paid_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `status` enum('pending','paid','partial') NOT NULL DEFAULT 'pending',
  `generated_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `customer_dues_customer_purchase_id_period_unique` (`customer_purchase_id`,`period`),
  KEY `customer_dues_customer_id_status_index` (`customer_id`,`status`),
  KEY `customer_dues_status_due_date_index` (`status`,`due_date`),
  CONSTRAINT `customer_dues_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `customer_dues_customer_purchase_id_foreign` FOREIGN KEY (`customer_purchase_id`) REFERENCES `customer_purchases` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customer_dues`
--

LOCK TABLES `customer_dues` WRITE;
/*!40000 ALTER TABLE `customer_dues` DISABLE KEYS */;
/*!40000 ALTER TABLE `customer_dues` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customer_payments`
--

DROP TABLE IF EXISTS `customer_payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `customer_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `customer_purchase_id` bigint(20) unsigned NOT NULL,
  `customer_due_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned NOT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `payment_date` date NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `payment_method` varchar(255) DEFAULT NULL,
  `reference_no` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `customer_payments_employee_id_foreign` (`employee_id`),
  KEY `customer_payments_customer_id_payment_date_index` (`customer_id`,`payment_date`),
  KEY `customer_payments_customer_purchase_id_payment_date_index` (`customer_purchase_id`,`payment_date`),
  KEY `customer_payments_customer_due_id_foreign` (`customer_due_id`),
  KEY `customer_payments_created_by_foreign` (`created_by`),
  KEY `customer_payments_branch_id_index` (`branch_id`),
  KEY `customer_payments_wallet_id_index` (`wallet_id`),
  CONSTRAINT `customer_payments_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `customer_payments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `customer_payments_customer_due_id_foreign` FOREIGN KEY (`customer_due_id`) REFERENCES `customer_dues` (`id`) ON DELETE CASCADE,
  CONSTRAINT `customer_payments_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `customer_payments_customer_purchase_id_foreign` FOREIGN KEY (`customer_purchase_id`) REFERENCES `customer_purchases` (`id`) ON DELETE CASCADE,
  CONSTRAINT `customer_payments_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customer_payments`
--

LOCK TABLES `customer_payments` WRITE;
/*!40000 ALTER TABLE `customer_payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `customer_payments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customer_purchases`
--

DROP TABLE IF EXISTS `customer_purchases`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `customer_purchases` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` bigint(20) unsigned NOT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `product_name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `quantity` int(10) unsigned NOT NULL DEFAULT 1,
  `unit_price` decimal(10,2) NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `purchase_date` date NOT NULL,
  `expiry_date` date DEFAULT NULL,
  `payment_status` enum('paid','pending','partial','refunded') NOT NULL DEFAULT 'paid',
  `purchase_type` enum('one_time','subscription') NOT NULL DEFAULT 'one_time',
  `billing_day` tinyint(3) unsigned NOT NULL DEFAULT 1,
  `billing_cycles` int(10) unsigned DEFAULT NULL,
  `billing_ends_at` date DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `customer_purchases_employee_id_foreign` (`employee_id`),
  KEY `customer_purchases_purchase_date_index` (`purchase_date`),
  KEY `customer_purchases_customer_id_purchase_date_index` (`customer_id`,`purchase_date`),
  KEY `customer_purchases_purchase_type_payment_status_index` (`purchase_type`,`payment_status`),
  KEY `customer_purchases_branch_id_index` (`branch_id`),
  CONSTRAINT `customer_purchases_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `customer_purchases_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `customer_purchases_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customer_purchases`
--

LOCK TABLES `customer_purchases` WRITE;
/*!40000 ALTER TABLE `customer_purchases` DISABLE KEYS */;
/*!40000 ALTER TABLE `customer_purchases` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customer_store_credit_transactions`
--

DROP TABLE IF EXISTS `customer_store_credit_transactions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `customer_store_credit_transactions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` bigint(20) unsigned NOT NULL,
  `type` enum('credit','redeem') NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `source_type` varchar(60) DEFAULT NULL,
  `source_id` bigint(20) unsigned DEFAULT NULL,
  `reference` varchar(60) DEFAULT NULL,
  `note` varchar(255) DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `customer_store_credit_transactions_customer_id_created_at_index` (`customer_id`,`created_at`),
  CONSTRAINT `customer_store_credit_transactions_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customer_store_credit_transactions`
--

LOCK TABLES `customer_store_credit_transactions` WRITE;
/*!40000 ALTER TABLE `customer_store_credit_transactions` DISABLE KEYS */;
/*!40000 ALTER TABLE `customer_store_credit_transactions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customer_tasks`
--

DROP TABLE IF EXISTS `customer_tasks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `customer_tasks` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned NOT NULL,
  `customer_id` bigint(20) unsigned NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `priority` enum('low','medium','high') NOT NULL DEFAULT 'medium',
  `assigned_date` date NOT NULL,
  `expiry_date` date NOT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `status` enum('pending','in_progress','completed','expired','cancelled') NOT NULL DEFAULT 'pending',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `customer_tasks_employee_id_foreign` (`employee_id`),
  KEY `customer_tasks_customer_id_foreign` (`customer_id`),
  KEY `customer_tasks_status_expiry_date_index` (`status`,`expiry_date`),
  KEY `customer_tasks_branch_id_index` (`branch_id`),
  CONSTRAINT `customer_tasks_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `customer_tasks_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `customer_tasks_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customer_tasks`
--

LOCK TABLES `customer_tasks` WRITE;
/*!40000 ALTER TABLE `customer_tasks` DISABLE KEYS */;
/*!40000 ALTER TABLE `customer_tasks` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `customers`
--

DROP TABLE IF EXISTS `customers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `customers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `company` varchar(255) DEFAULT NULL,
  `type` varchar(30) NOT NULL DEFAULT 'individual',
  `source` varchar(60) DEFAULT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'active',
  `birthday` date DEFAULT NULL,
  `anniversary` date DEFAULT NULL,
  `gender` varchar(20) DEFAULT NULL,
  `country` varchar(80) DEFAULT NULL,
  `division` varchar(80) DEFAULT NULL,
  `district` varchar(80) DEFAULT NULL,
  `area` varchar(120) DEFAULT NULL,
  `territory` varchar(120) DEFAULT NULL,
  `sales_agent_id` bigint(20) unsigned DEFAULT NULL,
  `loyalty_points` decimal(12,2) NOT NULL DEFAULT 0.00,
  `store_credit_balance` decimal(12,2) NOT NULL DEFAULT 0.00,
  `loyalty_tier` varchar(20) NOT NULL DEFAULT 'bronze',
  `total_purchased` decimal(15,2) NOT NULL DEFAULT 0.00,
  `last_purchase_at` date DEFAULT NULL,
  `next_follow_up_at` date DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `address` text DEFAULT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_via` varchar(20) DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `customers_email_unique` (`email`),
  KEY `customers_employee_id_foreign` (`employee_id`),
  KEY `customers_branch_id_index` (`branch_id`),
  KEY `customers_created_via_index` (`created_via`),
  KEY `customers_sales_agent_id_foreign` (`sales_agent_id`),
  KEY `customers_status_loyalty_tier_index` (`status`,`loyalty_tier`),
  KEY `customers_territory_index` (`territory`),
  CONSTRAINT `customers_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `customers_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `customers_sales_agent_id_foreign` FOREIGN KEY (`sales_agent_id`) REFERENCES `sales_agents` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `customers`
--

LOCK TABLES `customers` WRITE;
/*!40000 ALTER TABLE `customers` DISABLE KEYS */;
/*!40000 ALTER TABLE `customers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `cutting_plans`
--

DROP TABLE IF EXISTS `cutting_plans`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `cutting_plans` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `plan_no` varchar(40) NOT NULL,
  `work_order_id` bigint(20) unsigned DEFAULT NULL,
  `garment_order_id` bigint(20) unsigned DEFAULT NULL,
  `product_id` bigint(20) unsigned DEFAULT NULL,
  `fabric_allocated` decimal(15,3) NOT NULL DEFAULT 0.000,
  `fabric_consumed` decimal(15,3) NOT NULL DEFAULT 0.000,
  `fabric_wastage` decimal(15,3) NOT NULL DEFAULT 0.000,
  `planned_pieces` decimal(15,3) NOT NULL DEFAULT 0.000,
  `cut_pieces` decimal(15,3) NOT NULL DEFAULT 0.000,
  `cut_date` date DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `cutting_plans_plan_no_unique` (`plan_no`),
  KEY `cutting_plans_work_order_id_foreign` (`work_order_id`),
  KEY `cutting_plans_garment_order_id_foreign` (`garment_order_id`),
  KEY `cutting_plans_product_id_foreign` (`product_id`),
  KEY `cutting_plans_branch_id_index` (`branch_id`),
  CONSTRAINT `cutting_plans_garment_order_id_foreign` FOREIGN KEY (`garment_order_id`) REFERENCES `garment_orders` (`id`) ON DELETE SET NULL,
  CONSTRAINT `cutting_plans_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL,
  CONSTRAINT `cutting_plans_work_order_id_foreign` FOREIGN KEY (`work_order_id`) REFERENCES `work_orders` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cutting_plans`
--

LOCK TABLES `cutting_plans` WRITE;
/*!40000 ALTER TABLE `cutting_plans` DISABLE KEYS */;
/*!40000 ALTER TABLE `cutting_plans` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `database_backups`
--

DROP TABLE IF EXISTS `database_backups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `database_backups` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `filename` varchar(255) NOT NULL,
  `disk_path` varchar(255) NOT NULL,
  `size_bytes` bigint(20) unsigned NOT NULL DEFAULT 0,
  `sha256` varchar(64) NOT NULL,
  `table_count` bigint(20) unsigned NOT NULL DEFAULT 0,
  `row_count` bigint(20) unsigned NOT NULL DEFAULT 0,
  `trigger` varchar(255) NOT NULL DEFAULT 'manual',
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `restored_by` bigint(20) unsigned DEFAULT NULL,
  `restored_at` timestamp NULL DEFAULT NULL,
  `restore_started_at` timestamp NULL DEFAULT NULL,
  `marked_deleted_at` timestamp NULL DEFAULT NULL,
  `marked_deleted_by` bigint(20) unsigned DEFAULT NULL,
  `mark_note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `database_backups_filename_unique` (`filename`),
  KEY `database_backups_created_by_foreign` (`created_by`),
  KEY `database_backups_restored_by_foreign` (`restored_by`),
  KEY `database_backups_marked_deleted_by_foreign` (`marked_deleted_by`),
  KEY `database_backups_created_at_index` (`created_at`),
  KEY `database_backups_marked_deleted_at_index` (`marked_deleted_at`),
  CONSTRAINT `database_backups_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `database_backups_marked_deleted_by_foreign` FOREIGN KEY (`marked_deleted_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `database_backups_restored_by_foreign` FOREIGN KEY (`restored_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `database_backups`
--

LOCK TABLES `database_backups` WRITE;
/*!40000 ALTER TABLE `database_backups` DISABLE KEYS */;
/*!40000 ALTER TABLE `database_backups` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `delivery_assignment_items`
--

DROP TABLE IF EXISTS `delivery_assignment_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `delivery_assignment_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `delivery_assignment_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `variant_id` bigint(20) unsigned DEFAULT NULL,
  `quantity` decimal(14,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `delivery_assignment_items_delivery_assignment_id_foreign` (`delivery_assignment_id`),
  KEY `delivery_assignment_items_product_id_foreign` (`product_id`),
  KEY `delivery_assignment_items_variant_id_foreign` (`variant_id`),
  CONSTRAINT `delivery_assignment_items_delivery_assignment_id_foreign` FOREIGN KEY (`delivery_assignment_id`) REFERENCES `delivery_assignments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `delivery_assignment_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `delivery_assignment_items_variant_id_foreign` FOREIGN KEY (`variant_id`) REFERENCES `product_variants` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `delivery_assignment_items`
--

LOCK TABLES `delivery_assignment_items` WRITE;
/*!40000 ALTER TABLE `delivery_assignment_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `delivery_assignment_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `delivery_assignments`
--

DROP TABLE IF EXISTS `delivery_assignments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `delivery_assignments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `assignment_no` varchar(255) NOT NULL,
  `branch_id` bigint(20) unsigned NOT NULL,
  `delivery_man_id` bigint(20) unsigned NOT NULL,
  `deliverable_type` varchar(255) DEFAULT NULL,
  `deliverable_id` bigint(20) unsigned DEFAULT NULL,
  `customer_name` varchar(255) DEFAULT NULL,
  `customer_phone` varchar(255) DEFAULT NULL,
  `delivery_address` text DEFAULT NULL,
  `delivery_fee` decimal(12,2) NOT NULL DEFAULT 0.00,
  `commission_amount` decimal(12,2) DEFAULT NULL COMMENT 'Flat commission earned when this delivery was completed (rate frozen at delivery time)',
  `collectable_amount` decimal(14,2) NOT NULL DEFAULT 0.00 COMMENT 'Amount to collect from the customer on delivery (COD)',
  `payment_collected` tinyint(1) NOT NULL DEFAULT 0 COMMENT 'Whether the doorstep payment has been collected in full',
  `status` enum('pending','assigned','picked_up','out_for_delivery','delivered','failed','returned','cancelled') NOT NULL DEFAULT 'pending',
  `assigned_date` date NOT NULL,
  `picked_up_at` timestamp NULL DEFAULT NULL,
  `delivered_at` timestamp NULL DEFAULT NULL,
  `failure_reason` text DEFAULT NULL,
  `receiver_name` varchar(255) DEFAULT NULL,
  `receiver_phone` varchar(255) DEFAULT NULL,
  `delivery_note` text DEFAULT NULL,
  `proof_photo` varchar(255) DEFAULT NULL,
  `signature` varchar(255) DEFAULT NULL,
  `waybill_no` varchar(255) DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `delivery_assignments_assignment_no_unique` (`assignment_no`),
  KEY `delivery_assignments_deliverable_type_deliverable_id_index` (`deliverable_type`,`deliverable_id`),
  KEY `delivery_assignments_created_by_foreign` (`created_by`),
  KEY `delivery_assignments_delivery_man_id_status_index` (`delivery_man_id`,`status`),
  KEY `delivery_assignments_status_assigned_date_index` (`status`,`assigned_date`),
  KEY `delivery_assignments_branch_id_index` (`branch_id`),
  CONSTRAINT `delivery_assignments_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`),
  CONSTRAINT `delivery_assignments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `delivery_assignments_delivery_man_id_foreign` FOREIGN KEY (`delivery_man_id`) REFERENCES `delivery_men` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `delivery_assignments`
--

LOCK TABLES `delivery_assignments` WRITE;
/*!40000 ALTER TABLE `delivery_assignments` DISABLE KEYS */;
/*!40000 ALTER TABLE `delivery_assignments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `delivery_cash_handovers`
--

DROP TABLE IF EXISTS `delivery_cash_handovers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `delivery_cash_handovers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `handover_no` varchar(255) NOT NULL,
  `delivery_man_id` bigint(20) unsigned NOT NULL,
  `total` decimal(14,2) NOT NULL,
  `status` enum('pending','deposited','deposited_to_bank','voided') NOT NULL DEFAULT 'deposited',
  `collections_count` int(10) unsigned NOT NULL DEFAULT 0,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `bank_wallet_id` bigint(20) unsigned DEFAULT NULL,
  `bank_transaction_id` bigint(20) unsigned DEFAULT NULL,
  `deposited_to_bank_at` timestamp NULL DEFAULT NULL,
  `bank_ref_no` varchar(60) DEFAULT NULL,
  `voided_at` timestamp NULL DEFAULT NULL,
  `voided_by` bigint(20) unsigned DEFAULT NULL,
  `void_reason` text DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  `received_by` bigint(20) unsigned DEFAULT NULL,
  `received_at` timestamp NULL DEFAULT NULL,
  `note` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `delivery_cash_handovers_handover_no_unique` (`handover_no`),
  KEY `delivery_cash_handovers_wallet_id_foreign` (`wallet_id`),
  KEY `delivery_cash_handovers_received_by_foreign` (`received_by`),
  KEY `delivery_cash_handovers_created_by_foreign` (`created_by`),
  KEY `delivery_cash_handovers_delivery_man_id_created_at_index` (`delivery_man_id`,`created_at`),
  KEY `delivery_cash_handovers_bank_wallet_id_foreign` (`bank_wallet_id`),
  KEY `delivery_cash_handovers_status_deposited_to_bank_at_index` (`status`,`deposited_to_bank_at`),
  KEY `delivery_cash_handovers_voided_by_foreign` (`voided_by`),
  CONSTRAINT `delivery_cash_handovers_bank_wallet_id_foreign` FOREIGN KEY (`bank_wallet_id`) REFERENCES `wallets` (`id`) ON DELETE SET NULL,
  CONSTRAINT `delivery_cash_handovers_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `delivery_cash_handovers_delivery_man_id_foreign` FOREIGN KEY (`delivery_man_id`) REFERENCES `delivery_men` (`id`) ON DELETE CASCADE,
  CONSTRAINT `delivery_cash_handovers_received_by_foreign` FOREIGN KEY (`received_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `delivery_cash_handovers_voided_by_foreign` FOREIGN KEY (`voided_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `delivery_cash_handovers_wallet_id_foreign` FOREIGN KEY (`wallet_id`) REFERENCES `wallets` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `delivery_cash_handovers`
--

LOCK TABLES `delivery_cash_handovers` WRITE;
/*!40000 ALTER TABLE `delivery_cash_handovers` DISABLE KEYS */;
/*!40000 ALTER TABLE `delivery_cash_handovers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `delivery_collections`
--

DROP TABLE IF EXISTS `delivery_collections`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `delivery_collections` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `delivery_assignment_id` bigint(20) unsigned NOT NULL,
  `delivery_man_id` bigint(20) unsigned NOT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `amount` decimal(14,2) NOT NULL,
  `method` varchar(40) NOT NULL DEFAULT 'cash',
  `reference_no` varchar(255) DEFAULT NULL,
  `collected_date` date NOT NULL,
  `note` text DEFAULT NULL,
  `status` enum('collected','deposited') NOT NULL DEFAULT 'collected',
  `deposited_at` timestamp NULL DEFAULT NULL,
  `handover_id` bigint(20) unsigned DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `delivery_collections_customer_id_foreign` (`customer_id`),
  KEY `delivery_collections_created_by_foreign` (`created_by`),
  KEY `delivery_collections_delivery_man_id_status_index` (`delivery_man_id`,`status`),
  KEY `delivery_collections_delivery_assignment_id_status_index` (`delivery_assignment_id`,`status`),
  KEY `delivery_collections_handover_id_foreign` (`handover_id`),
  CONSTRAINT `delivery_collections_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `delivery_collections_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `delivery_collections_delivery_assignment_id_foreign` FOREIGN KEY (`delivery_assignment_id`) REFERENCES `delivery_assignments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `delivery_collections_delivery_man_id_foreign` FOREIGN KEY (`delivery_man_id`) REFERENCES `delivery_men` (`id`) ON DELETE CASCADE,
  CONSTRAINT `delivery_collections_handover_id_foreign` FOREIGN KEY (`handover_id`) REFERENCES `delivery_cash_handovers` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `delivery_collections`
--

LOCK TABLES `delivery_collections` WRITE;
/*!40000 ALTER TABLE `delivery_collections` DISABLE KEYS */;
/*!40000 ALTER TABLE `delivery_collections` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `delivery_men`
--

DROP TABLE IF EXISTS `delivery_men`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `delivery_men` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `vehicle_type` varchar(255) DEFAULT NULL,
  `vehicle_number` varchar(255) DEFAULT NULL,
  `license_number` varchar(255) DEFAULT NULL,
  `type` enum('company','courier') NOT NULL DEFAULT 'company',
  `courier_name` varchar(255) DEFAULT NULL,
  `commission_per_delivery` decimal(12,2) NOT NULL DEFAULT 0.00,
  `status` enum('active','inactive','suspended') NOT NULL DEFAULT 'active',
  `address` text DEFAULT NULL,
  `photo` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `delivery_men_branch_id_status_index` (`branch_id`,`status`),
  KEY `delivery_men_branch_id_index` (`branch_id`),
  KEY `delivery_men_warehouse_id_status_index` (`warehouse_id`,`status`),
  CONSTRAINT `delivery_men_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `delivery_men_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `delivery_men`
--

LOCK TABLES `delivery_men` WRITE;
/*!40000 ALTER TABLE `delivery_men` DISABLE KEYS */;
/*!40000 ALTER TABLE `delivery_men` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `delivery_routes`
--

DROP TABLE IF EXISTS `delivery_routes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `delivery_routes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `stops` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`stops`)),
  `estimated_distance_km` decimal(10,2) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `delivery_routes_branch_id_foreign` (`branch_id`),
  CONSTRAINT `delivery_routes_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `delivery_routes`
--

LOCK TABLES `delivery_routes` WRITE;
/*!40000 ALTER TABLE `delivery_routes` DISABLE KEYS */;
/*!40000 ALTER TABLE `delivery_routes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `departments`
--

DROP TABLE IF EXISTS `departments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `departments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `code` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `departments`
--

LOCK TABLES `departments` WRITE;
/*!40000 ALTER TABLE `departments` DISABLE KEYS */;
/*!40000 ALTER TABLE `departments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `designations`
--

DROP TABLE IF EXISTS `designations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `designations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `department_id` bigint(20) unsigned DEFAULT NULL,
  `description` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `designations_department_id_foreign` (`department_id`),
  CONSTRAINT `designations_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `designations`
--

LOCK TABLES `designations` WRITE;
/*!40000 ALTER TABLE `designations` DISABLE KEYS */;
INSERT INTO `designations` VALUES
(1,'HR Manager',NULL,NULL,1,'2026-10-27 18:05:09','2026-10-27 18:05:09'),
(2,'Branch Manager',NULL,NULL,1,'2026-10-27 18:05:09','2026-10-27 18:05:09'),
(3,'Accountant',NULL,NULL,1,'2026-10-27 18:05:09','2026-10-27 18:05:09'),
(4,'Sales Executive',NULL,NULL,1,'2026-10-27 18:05:09','2026-10-27 18:05:09'),
(5,'Staff',NULL,NULL,1,'2026-10-27 18:05:09','2026-10-27 18:05:09'),
(6,'Employee (self-service)',NULL,NULL,1,'2026-10-27 18:05:12','2026-10-27 18:05:12'),
(7,'Pharmacist',NULL,NULL,1,'2026-10-27 18:05:12','2026-10-27 18:05:12'),
(8,'Pharmacy Cashier',NULL,NULL,1,'2026-10-27 18:05:12','2026-10-27 18:05:12'),
(9,'Investments & Funds Admin',NULL,NULL,1,'2026-10-27 18:05:13','2026-10-27 18:05:13'),
(10,'Support Agent',NULL,NULL,1,'2026-10-27 18:05:13','2026-10-27 18:05:13'),
(11,'Support Lead',NULL,NULL,1,'2026-10-27 18:05:13','2026-10-27 18:05:13'),
(12,'Social Media Manager',NULL,NULL,1,'2026-10-27 18:05:13','2026-10-27 18:05:13'),
(13,'SEO Specialist',NULL,NULL,1,'2026-10-27 18:05:14','2026-10-27 18:05:14');
/*!40000 ALTER TABLE `designations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `dispatch_items`
--

DROP TABLE IF EXISTS `dispatch_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `dispatch_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `dispatch_id` bigint(20) unsigned NOT NULL,
  `source_type` varchar(30) DEFAULT NULL,
  `source_id` bigint(20) unsigned DEFAULT NULL,
  `product_id` bigint(20) unsigned DEFAULT NULL,
  `quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `dispatch_items_dispatch_id_foreign` (`dispatch_id`),
  KEY `dispatch_items_product_id_foreign` (`product_id`),
  CONSTRAINT `dispatch_items_dispatch_id_foreign` FOREIGN KEY (`dispatch_id`) REFERENCES `dispatches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `dispatch_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `dispatch_items`
--

LOCK TABLES `dispatch_items` WRITE;
/*!40000 ALTER TABLE `dispatch_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `dispatch_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `dispatches`
--

DROP TABLE IF EXISTS `dispatches`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `dispatches` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `dispatch_no` varchar(40) NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `vehicle_id` bigint(20) unsigned DEFAULT NULL,
  `transporter_id` bigint(20) unsigned DEFAULT NULL,
  `route_id` bigint(20) unsigned DEFAULT NULL,
  `dispatch_date` date DEFAULT NULL,
  `freight_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `status` varchar(30) NOT NULL DEFAULT 'pending',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `dispatches_dispatch_no_unique` (`dispatch_no`),
  KEY `dispatches_branch_id_foreign` (`branch_id`),
  KEY `dispatches_vehicle_id_foreign` (`vehicle_id`),
  KEY `dispatches_transporter_id_foreign` (`transporter_id`),
  KEY `dispatches_route_id_foreign` (`route_id`),
  CONSTRAINT `dispatches_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `dispatches_route_id_foreign` FOREIGN KEY (`route_id`) REFERENCES `delivery_routes` (`id`) ON DELETE SET NULL,
  CONSTRAINT `dispatches_transporter_id_foreign` FOREIGN KEY (`transporter_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `dispatches_vehicle_id_foreign` FOREIGN KEY (`vehicle_id`) REFERENCES `vehicles` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `dispatches`
--

LOCK TABLES `dispatches` WRITE;
/*!40000 ALTER TABLE `dispatches` DISABLE KEYS */;
/*!40000 ALTER TABLE `dispatches` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `distributor_order_items`
--

DROP TABLE IF EXISTS `distributor_order_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `distributor_order_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `distributor_order_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `unit_price` decimal(15,2) NOT NULL,
  `allocated_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `total` decimal(15,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `distributor_order_items_distributor_order_id_foreign` (`distributor_order_id`),
  KEY `distributor_order_items_product_id_foreign` (`product_id`),
  CONSTRAINT `distributor_order_items_distributor_order_id_foreign` FOREIGN KEY (`distributor_order_id`) REFERENCES `distributor_orders` (`id`) ON DELETE CASCADE,
  CONSTRAINT `distributor_order_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `distributor_order_items`
--

LOCK TABLES `distributor_order_items` WRITE;
/*!40000 ALTER TABLE `distributor_order_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `distributor_order_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `distributor_orders`
--

DROP TABLE IF EXISTS `distributor_orders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `distributor_orders` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `order_no` varchar(40) NOT NULL,
  `distributor_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `sales_by_id` bigint(20) unsigned DEFAULT NULL,
  `total` decimal(15,2) NOT NULL DEFAULT 0.00,
  `commission_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `status` varchar(30) NOT NULL DEFAULT 'pending',
  `order_date` date DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `distributor_orders_order_no_unique` (`order_no`),
  KEY `distributor_orders_distributor_id_foreign` (`distributor_id`),
  KEY `distributor_orders_branch_id_foreign` (`branch_id`),
  KEY `distributor_orders_warehouse_id_foreign` (`warehouse_id`),
  KEY `distributor_orders_sales_by_id_foreign` (`sales_by_id`),
  CONSTRAINT `distributor_orders_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `distributor_orders_distributor_id_foreign` FOREIGN KEY (`distributor_id`) REFERENCES `distributors` (`id`) ON DELETE CASCADE,
  CONSTRAINT `distributor_orders_sales_by_id_foreign` FOREIGN KEY (`sales_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `distributor_orders_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `distributor_orders`
--

LOCK TABLES `distributor_orders` WRITE;
/*!40000 ALTER TABLE `distributor_orders` DISABLE KEYS */;
/*!40000 ALTER TABLE `distributor_orders` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `distributors`
--

DROP TABLE IF EXISTS `distributors`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `distributors` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `company_name` varchar(255) DEFAULT NULL,
  `phone` varchar(40) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `territory` varchar(120) DEFAULT NULL,
  `commission_percent` decimal(5,2) NOT NULL DEFAULT 0.00,
  `credit_limit` decimal(15,2) NOT NULL DEFAULT 0.00,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `address` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `distributors_branch_id_foreign` (`branch_id`),
  CONSTRAINT `distributors_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `distributors`
--

LOCK TABLES `distributors` WRITE;
/*!40000 ALTER TABLE `distributors` DISABLE KEYS */;
/*!40000 ALTER TABLE `distributors` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `egg_batches`
--

DROP TABLE IF EXISTS `egg_batches`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `egg_batches` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `batch_no` varchar(40) NOT NULL,
  `hatchery_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `incubator_id` bigint(20) unsigned DEFAULT NULL,
  `collection_date` date DEFAULT NULL,
  `setting_date` date DEFAULT NULL,
  `expected_hatch_date` date DEFAULT NULL,
  `hatched_date` date DEFAULT NULL,
  `total_eggs` decimal(12,2) NOT NULL DEFAULT 0.00,
  `purchased_eggs` decimal(12,2) NOT NULL DEFAULT 0.00,
  `own_eggs` decimal(12,2) NOT NULL DEFAULT 0.00,
  `infertile_eggs` decimal(12,2) NOT NULL DEFAULT 0.00,
  `dead_eggs` decimal(12,2) NOT NULL DEFAULT 0.00,
  `hatched_chicks` decimal(12,2) NOT NULL DEFAULT 0.00,
  `egg_cost_per_piece` decimal(15,4) NOT NULL DEFAULT 0.0000,
  `chick_cost_per_piece` decimal(15,4) NOT NULL DEFAULT 0.0000,
  `status` varchar(20) NOT NULL DEFAULT 'incubating',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `egg_batches_batch_no_unique` (`batch_no`),
  KEY `egg_batches_hatchery_id_foreign` (`hatchery_id`),
  KEY `egg_batches_branch_id_foreign` (`branch_id`),
  KEY `egg_batches_incubator_id_foreign` (`incubator_id`),
  CONSTRAINT `egg_batches_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `egg_batches_hatchery_id_foreign` FOREIGN KEY (`hatchery_id`) REFERENCES `hatcheries` (`id`) ON DELETE SET NULL,
  CONSTRAINT `egg_batches_incubator_id_foreign` FOREIGN KEY (`incubator_id`) REFERENCES `incubators` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `egg_batches`
--

LOCK TABLES `egg_batches` WRITE;
/*!40000 ALTER TABLE `egg_batches` DISABLE KEYS */;
/*!40000 ALTER TABLE `egg_batches` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `email_messages`
--

DROP TABLE IF EXISTS `email_messages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `email_messages` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `imap_account_id` bigint(20) unsigned NOT NULL,
  `uid` bigint(20) unsigned NOT NULL,
  `message_id` varchar(255) DEFAULT NULL,
  `subject` varchar(255) DEFAULT NULL,
  `from_name` varchar(255) DEFAULT NULL,
  `from_email` varchar(255) DEFAULT NULL,
  `to` text DEFAULT NULL,
  `cc` text DEFAULT NULL,
  `body_text` longtext DEFAULT NULL,
  `body_html` longtext DEFAULT NULL,
  `snippet` varchar(255) DEFAULT NULL,
  `has_attachments` tinyint(1) NOT NULL DEFAULT 0,
  `is_seen` tinyint(1) NOT NULL DEFAULT 0,
  `folder` varchar(255) NOT NULL DEFAULT 'INBOX',
  `received_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `email_messages_imap_account_id_uid_folder_unique` (`imap_account_id`,`uid`,`folder`),
  KEY `email_messages_imap_account_id_is_seen_index` (`imap_account_id`,`is_seen`),
  CONSTRAINT `email_messages_imap_account_id_foreign` FOREIGN KEY (`imap_account_id`) REFERENCES `imap_accounts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `email_messages`
--

LOCK TABLES `email_messages` WRITE;
/*!40000 ALTER TABLE `email_messages` DISABLE KEYS */;
/*!40000 ALTER TABLE `email_messages` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `email_templates`
--

DROP TABLE IF EXISTS `email_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `email_templates` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `subject` varchar(255) NOT NULL,
  `body` longtext NOT NULL,
  `variables` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`variables`)),
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `email_templates`
--

LOCK TABLES `email_templates` WRITE;
/*!40000 ALTER TABLE `email_templates` DISABLE KEYS */;
/*!40000 ALTER TABLE `email_templates` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `employee_complaints`
--

DROP TABLE IF EXISTS `employee_complaints`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `employee_complaints` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `complaint_no` varchar(255) NOT NULL,
  `complainant_id` bigint(20) unsigned DEFAULT NULL,
  `against_employee_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `department_id` bigint(20) unsigned DEFAULT NULL,
  `subject` varchar(255) NOT NULL,
  `category` varchar(255) DEFAULT NULL,
  `description` text NOT NULL,
  `complaint_date` date NOT NULL,
  `status` enum('pending','investigating','resolved','dismissed','withdrawn') NOT NULL DEFAULT 'pending',
  `severity` enum('low','medium','high','critical') NOT NULL DEFAULT 'medium',
  `attachment_path` varchar(255) DEFAULT NULL,
  `resolution` text DEFAULT NULL,
  `handled_by` bigint(20) unsigned DEFAULT NULL,
  `resolved_at` timestamp NULL DEFAULT NULL,
  `is_confidential` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `employee_complaints_complaint_no_unique` (`complaint_no`),
  KEY `employee_complaints_complainant_id_foreign` (`complainant_id`),
  KEY `employee_complaints_department_id_foreign` (`department_id`),
  KEY `employee_complaints_handled_by_foreign` (`handled_by`),
  KEY `employee_complaints_status_complaint_date_index` (`status`,`complaint_date`),
  KEY `employee_complaints_against_employee_id_index` (`against_employee_id`),
  KEY `employee_complaints_branch_id_index` (`branch_id`),
  CONSTRAINT `employee_complaints_against_employee_id_foreign` FOREIGN KEY (`against_employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employee_complaints_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employee_complaints_complainant_id_foreign` FOREIGN KEY (`complainant_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employee_complaints_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employee_complaints_handled_by_foreign` FOREIGN KEY (`handled_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `employee_complaints`
--

LOCK TABLES `employee_complaints` WRITE;
/*!40000 ALTER TABLE `employee_complaints` DISABLE KEYS */;
/*!40000 ALTER TABLE `employee_complaints` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `employee_documents`
--

DROP TABLE IF EXISTS `employee_documents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `employee_documents` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned NOT NULL,
  `document_type` varchar(255) NOT NULL,
  `file_name` varchar(255) NOT NULL,
  `file_path` varchar(255) NOT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `employee_documents_employee_id_foreign` (`employee_id`),
  CONSTRAINT `employee_documents_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `employee_documents`
--

LOCK TABLES `employee_documents` WRITE;
/*!40000 ALTER TABLE `employee_documents` DISABLE KEYS */;
/*!40000 ALTER TABLE `employee_documents` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `employee_exits`
--

DROP TABLE IF EXISTS `employee_exits`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `employee_exits` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned NOT NULL,
  `exit_date` date NOT NULL,
  `exit_type` enum('resignation','termination','retirement') DEFAULT NULL,
  `reason` text DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `employee_exits_employee_id_foreign` (`employee_id`),
  CONSTRAINT `employee_exits_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `employee_exits`
--

LOCK TABLES `employee_exits` WRITE;
/*!40000 ALTER TABLE `employee_exits` DISABLE KEYS */;
/*!40000 ALTER TABLE `employee_exits` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `employee_promotions`
--

DROP TABLE IF EXISTS `employee_promotions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `employee_promotions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `type` enum('promotion','demotion','transfer','confirmation') NOT NULL DEFAULT 'promotion',
  `from_designation_id` bigint(20) unsigned DEFAULT NULL,
  `to_designation_id` bigint(20) unsigned DEFAULT NULL,
  `from_department_id` bigint(20) unsigned DEFAULT NULL,
  `to_department_id` bigint(20) unsigned DEFAULT NULL,
  `from_branch_id` bigint(20) unsigned DEFAULT NULL,
  `to_branch_id` bigint(20) unsigned DEFAULT NULL,
  `from_salary` decimal(12,2) DEFAULT NULL,
  `to_salary` decimal(12,2) DEFAULT NULL,
  `effective_date` date NOT NULL,
  `reason` text DEFAULT NULL,
  `status` enum('pending','approved','applied','rejected') NOT NULL DEFAULT 'pending',
  `requested_by` bigint(20) unsigned DEFAULT NULL,
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `employee_promotions_branch_id_foreign` (`branch_id`),
  KEY `employee_promotions_from_designation_id_foreign` (`from_designation_id`),
  KEY `employee_promotions_to_designation_id_foreign` (`to_designation_id`),
  KEY `employee_promotions_from_department_id_foreign` (`from_department_id`),
  KEY `employee_promotions_to_department_id_foreign` (`to_department_id`),
  KEY `employee_promotions_from_branch_id_foreign` (`from_branch_id`),
  KEY `employee_promotions_to_branch_id_foreign` (`to_branch_id`),
  KEY `employee_promotions_requested_by_foreign` (`requested_by`),
  KEY `employee_promotions_approved_by_foreign` (`approved_by`),
  KEY `employee_promotions_employee_id_effective_date_index` (`employee_id`,`effective_date`),
  CONSTRAINT `employee_promotions_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employee_promotions_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employee_promotions_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `employee_promotions_from_branch_id_foreign` FOREIGN KEY (`from_branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employee_promotions_from_department_id_foreign` FOREIGN KEY (`from_department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employee_promotions_from_designation_id_foreign` FOREIGN KEY (`from_designation_id`) REFERENCES `designations` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employee_promotions_requested_by_foreign` FOREIGN KEY (`requested_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employee_promotions_to_branch_id_foreign` FOREIGN KEY (`to_branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employee_promotions_to_department_id_foreign` FOREIGN KEY (`to_department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employee_promotions_to_designation_id_foreign` FOREIGN KEY (`to_designation_id`) REFERENCES `designations` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `employee_promotions`
--

LOCK TABLES `employee_promotions` WRITE;
/*!40000 ALTER TABLE `employee_promotions` DISABLE KEYS */;
/*!40000 ALTER TABLE `employee_promotions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `employee_shift_configs`
--

DROP TABLE IF EXISTS `employee_shift_configs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `employee_shift_configs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned NOT NULL,
  `effective_from` date NOT NULL,
  `default_shift_id` bigint(20) unsigned DEFAULT NULL,
  `shift_scheduling_type` enum('fixed_time','shift') DEFAULT NULL,
  `working_start` time DEFAULT NULL,
  `working_end` time DEFAULT NULL,
  `weekly_holidays` varchar(255) DEFAULT NULL,
  `overtime_rate` decimal(5,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `employee_shift_configs_employee_id_effective_from_unique` (`employee_id`,`effective_from`),
  KEY `employee_shift_configs_default_shift_id_foreign` (`default_shift_id`),
  CONSTRAINT `employee_shift_configs_default_shift_id_foreign` FOREIGN KEY (`default_shift_id`) REFERENCES `shifts` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employee_shift_configs_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `employee_shift_configs`
--

LOCK TABLES `employee_shift_configs` WRITE;
/*!40000 ALTER TABLE `employee_shift_configs` DISABLE KEYS */;
/*!40000 ALTER TABLE `employee_shift_configs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `employee_timeline_events`
--

DROP TABLE IF EXISTS `employee_timeline_events`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `employee_timeline_events` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned NOT NULL,
  `event_type` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `event_date` date NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `reference_type` varchar(255) DEFAULT NULL,
  `reference_id` bigint(20) unsigned DEFAULT NULL,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `employee_timeline_events_branch_id_foreign` (`branch_id`),
  KEY `employee_timeline_events_user_id_foreign` (`user_id`),
  KEY `employee_timeline_events_employee_id_event_date_index` (`employee_id`,`event_date`),
  KEY `employee_timeline_events_event_type_index` (`event_type`),
  KEY `employee_timeline_events_reference_type_index` (`reference_type`),
  CONSTRAINT `employee_timeline_events_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employee_timeline_events_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `employee_timeline_events_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `employee_timeline_events`
--

LOCK TABLES `employee_timeline_events` WRITE;
/*!40000 ALTER TABLE `employee_timeline_events` DISABLE KEYS */;
INSERT INTO `employee_timeline_events` VALUES
(1,1,'joined','Joined as HR Manager',NULL,'2026-10-28',1,NULL,'Employee',1,'{\"designation\":\"HR Manager\",\"department\":null}','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(2,2,'joined','Joined as Branch Manager',NULL,'2026-10-28',1,NULL,'Employee',2,'{\"designation\":\"Branch Manager\",\"department\":null}','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(3,3,'joined','Joined as Accountant',NULL,'2026-10-28',1,NULL,'Employee',3,'{\"designation\":\"Accountant\",\"department\":null}','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(4,4,'joined','Joined as Sales Executive',NULL,'2026-10-28',1,NULL,'Employee',4,'{\"designation\":\"Sales Executive\",\"department\":null}','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(5,5,'joined','Joined as Staff',NULL,'2026-10-28',1,NULL,'Employee',5,'{\"designation\":\"Staff\",\"department\":null}','2026-10-27 18:05:10','2026-10-27 18:05:10');
/*!40000 ALTER TABLE `employee_timeline_events` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `employee_work_assignments`
--

DROP TABLE IF EXISTS `employee_work_assignments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `employee_work_assignments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `work_order_id` bigint(20) unsigned NOT NULL,
  `employee_id` bigint(20) unsigned NOT NULL,
  `role` varchar(100) DEFAULT NULL,
  `assigned_date` date DEFAULT NULL,
  `output_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `hours_worked` decimal(8,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `employee_work_assignments_work_order_id_foreign` (`work_order_id`),
  KEY `employee_work_assignments_employee_id_index` (`employee_id`),
  KEY `employee_work_assignments_branch_id_index` (`branch_id`),
  CONSTRAINT `employee_work_assignments_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `employee_work_assignments_work_order_id_foreign` FOREIGN KEY (`work_order_id`) REFERENCES `work_orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `employee_work_assignments`
--

LOCK TABLES `employee_work_assignments` WRITE;
/*!40000 ALTER TABLE `employee_work_assignments` DISABLE KEYS */;
/*!40000 ALTER TABLE `employee_work_assignments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `employees`
--

DROP TABLE IF EXISTS `employees`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `employees` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `device_user_id` varchar(255) DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `profile_photo` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `dob` date DEFAULT NULL,
  `gender` varchar(255) DEFAULT NULL,
  `base_salary` decimal(10,2) NOT NULL,
  `shift_scheduling_type` enum('fixed_time','shift') DEFAULT NULL,
  `working_start` time DEFAULT NULL,
  `working_end` time DEFAULT NULL,
  `weekly_holidays` varchar(255) DEFAULT NULL,
  `overtime_rate` decimal(5,2) DEFAULT NULL,
  `free_leave_quota` decimal(5,2) DEFAULT 0.00 COMMENT 'Free-leave days the employee may take per calendar year with pay; days beyond it are unpaid',
  `default_shift_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `department_id` bigint(20) unsigned DEFAULT NULL,
  `designation_id` bigint(20) unsigned DEFAULT NULL,
  `role_id` bigint(20) unsigned DEFAULT NULL,
  `joining_date` date DEFAULT NULL,
  `status` enum('active','inactive','terminated','resigned') NOT NULL DEFAULT 'active',
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `employees_email_unique` (`email`),
  UNIQUE KEY `employees_device_user_id_unique` (`device_user_id`),
  KEY `employees_department_id_foreign` (`department_id`),
  KEY `employees_designation_id_foreign` (`designation_id`),
  KEY `employees_role_id_foreign` (`role_id`),
  KEY `employees_default_shift_id_foreign` (`default_shift_id`),
  KEY `employees_branch_id_index` (`branch_id`),
  CONSTRAINT `employees_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employees_default_shift_id_foreign` FOREIGN KEY (`default_shift_id`) REFERENCES `shifts` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employees_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employees_designation_id_foreign` FOREIGN KEY (`designation_id`) REFERENCES `designations` (`id`) ON DELETE SET NULL,
  CONSTRAINT `employees_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `employees`
--

LOCK TABLES `employees` WRITE;
/*!40000 ALTER TABLE `employees` DISABLE KEYS */;
INSERT INTO `employees` VALUES
(1,NULL,'HR Manager','hr@company.test',NULL,NULL,NULL,NULL,NULL,0.00,NULL,NULL,NULL,NULL,NULL,0.00,NULL,'2026-10-27 18:05:10','2026-10-27 18:05:10',NULL,1,1,'2026-10-28','active',1,NULL),
(2,NULL,'Branch Manager','manager@company.test',NULL,NULL,NULL,NULL,NULL,0.00,NULL,NULL,NULL,NULL,NULL,0.00,NULL,'2026-10-27 18:05:10','2026-10-27 18:05:10',NULL,2,2,'2026-10-28','active',1,NULL),
(3,NULL,'Accountant','accounts@company.test',NULL,NULL,NULL,NULL,NULL,0.00,NULL,NULL,NULL,NULL,NULL,0.00,NULL,'2026-10-27 18:05:10','2026-10-27 18:05:10',NULL,3,3,'2026-10-28','active',1,NULL),
(4,NULL,'Sales Executive','sales@company.test',NULL,NULL,NULL,NULL,NULL,0.00,NULL,NULL,NULL,NULL,NULL,0.00,NULL,'2026-10-27 18:05:10','2026-10-27 18:05:10',NULL,4,4,'2026-10-28','active',1,NULL),
(5,NULL,'General Staff','staff@company.test',NULL,NULL,NULL,NULL,NULL,0.00,NULL,NULL,NULL,NULL,NULL,0.00,NULL,'2026-10-27 18:05:10','2026-10-27 18:05:10',NULL,5,5,'2026-10-28','active',1,NULL),
(6,NULL,'Pharmacist','pharmacist@company.test',NULL,NULL,NULL,NULL,NULL,0.00,NULL,NULL,NULL,NULL,NULL,0.00,NULL,'2026-10-27 18:05:12','2026-10-27 18:05:12',NULL,7,6,'2026-10-28','active',1,NULL),
(7,NULL,'Pharmacy Cashier','cashdesk@company.test',NULL,NULL,NULL,NULL,NULL,0.00,NULL,NULL,NULL,NULL,NULL,0.00,NULL,'2026-10-27 18:05:12','2026-10-27 18:05:12',NULL,8,7,'2026-10-28','active',1,NULL),
(8,NULL,'Investments & Funds Admin','funds@company.test',NULL,NULL,NULL,NULL,NULL,0.00,NULL,NULL,NULL,NULL,NULL,0.00,NULL,'2026-10-27 18:05:13','2026-10-27 18:05:13',NULL,9,8,'2026-10-28','active',1,NULL),
(9,NULL,'Support Agent','support@company.test',NULL,NULL,NULL,NULL,NULL,0.00,NULL,NULL,NULL,NULL,NULL,0.00,NULL,'2026-10-27 18:05:13','2026-10-27 18:05:13',NULL,10,9,'2026-10-28','active',1,NULL),
(10,NULL,'Support Lead','supportlead@company.test',NULL,NULL,NULL,NULL,NULL,0.00,NULL,NULL,NULL,NULL,NULL,0.00,NULL,'2026-10-27 18:05:13','2026-10-27 18:05:13',NULL,11,10,'2026-10-28','active',1,NULL),
(11,NULL,'Social Media Manager','social@company.test',NULL,NULL,NULL,NULL,NULL,0.00,NULL,NULL,NULL,NULL,NULL,0.00,NULL,'2026-10-27 18:05:13','2026-10-27 18:05:13',NULL,12,11,'2026-10-28','active',1,NULL),
(12,NULL,'SEO Specialist','seo@company.test',NULL,NULL,NULL,NULL,NULL,0.00,NULL,NULL,NULL,NULL,NULL,0.00,NULL,'2026-10-27 18:05:14','2026-10-27 18:05:14',NULL,13,12,'2026-10-28','active',1,NULL);
/*!40000 ALTER TABLE `employees` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `expense_categories`
--

DROP TABLE IF EXISTS `expense_categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `expense_categories` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `expense_categories`
--

LOCK TABLES `expense_categories` WRITE;
/*!40000 ALTER TABLE `expense_categories` DISABLE KEYS */;
/*!40000 ALTER TABLE `expense_categories` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `expenses`
--

DROP TABLE IF EXISTS `expenses`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `expenses` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `expense_number` varchar(255) DEFAULT NULL,
  `expense_category_id` bigint(20) unsigned NOT NULL,
  `source` varchar(30) NOT NULL DEFAULT 'manual',
  `vendor_id` bigint(20) unsigned DEFAULT NULL,
  `purchase_order_id` bigint(20) unsigned DEFAULT NULL,
  `stock_receiving_id` bigint(20) unsigned DEFAULT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `expense_date` date NOT NULL,
  `next_due_date` date DEFAULT NULL,
  `amount` decimal(12,2) NOT NULL,
  `paid_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `payment_method` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `attachment_path` varchar(255) DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `status` enum('pending','approved','rejected') NOT NULL DEFAULT 'pending',
  `submitted_by` bigint(20) unsigned DEFAULT NULL,
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `rejection_reason` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_via` varchar(20) DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `expenses_expense_number_unique` (`expense_number`),
  KEY `expenses_expense_category_id_foreign` (`expense_category_id`),
  KEY `expenses_employee_id_foreign` (`employee_id`),
  KEY `expenses_expense_date_status_index` (`expense_date`,`status`),
  KEY `expenses_vendor_id_foreign` (`vendor_id`),
  KEY `expenses_purchase_order_id_foreign` (`purchase_order_id`),
  KEY `expenses_stock_receiving_id_foreign` (`stock_receiving_id`),
  KEY `expenses_customer_id_foreign` (`customer_id`),
  KEY `expenses_submitted_by_foreign` (`submitted_by`),
  KEY `expenses_approved_by_foreign` (`approved_by`),
  KEY `expenses_wallet_id_foreign` (`wallet_id`),
  KEY `expenses_branch_id_index` (`branch_id`),
  KEY `expenses_created_via_index` (`created_via`),
  KEY `expenses_created_by_foreign` (`created_by`),
  CONSTRAINT `expenses_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `expenses_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `expenses_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `expenses_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `expenses_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `expenses_expense_category_id_foreign` FOREIGN KEY (`expense_category_id`) REFERENCES `expense_categories` (`id`) ON DELETE CASCADE,
  CONSTRAINT `expenses_purchase_order_id_foreign` FOREIGN KEY (`purchase_order_id`) REFERENCES `purchase_orders` (`id`) ON DELETE SET NULL,
  CONSTRAINT `expenses_stock_receiving_id_foreign` FOREIGN KEY (`stock_receiving_id`) REFERENCES `stock_receivings` (`id`) ON DELETE SET NULL,
  CONSTRAINT `expenses_submitted_by_foreign` FOREIGN KEY (`submitted_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `expenses_vendor_id_foreign` FOREIGN KEY (`vendor_id`) REFERENCES `vendors` (`id`) ON DELETE SET NULL,
  CONSTRAINT `expenses_wallet_id_foreign` FOREIGN KEY (`wallet_id`) REFERENCES `wallets` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `expenses`
--

LOCK TABLES `expenses` WRITE;
/*!40000 ALTER TABLE `expenses` DISABLE KEYS */;
/*!40000 ALTER TABLE `expenses` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `failed_jobs`
--

DROP TABLE IF EXISTS `failed_jobs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `failed_jobs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `uuid` varchar(255) NOT NULL,
  `connection` text NOT NULL,
  `queue` text NOT NULL,
  `payload` longtext NOT NULL,
  `exception` longtext NOT NULL,
  `failed_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id`),
  UNIQUE KEY `failed_jobs_uuid_unique` (`uuid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `failed_jobs`
--

LOCK TABLES `failed_jobs` WRITE;
/*!40000 ALTER TABLE `failed_jobs` DISABLE KEYS */;
/*!40000 ALTER TABLE `failed_jobs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `farm_cost_entries`
--

DROP TABLE IF EXISTS `farm_cost_entries`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `farm_cost_entries` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `batch_type` varchar(30) NOT NULL,
  `batch_id` bigint(20) unsigned NOT NULL,
  `cost_type` varchar(30) NOT NULL,
  `amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `quantity` decimal(15,3) DEFAULT NULL,
  `unit` varchar(30) DEFAULT NULL,
  `entry_date` date DEFAULT NULL,
  `description` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `farm_cost_entries_branch_id_foreign` (`branch_id`),
  KEY `farm_cost_entries_batch_type_batch_id_index` (`batch_type`,`batch_id`),
  CONSTRAINT `farm_cost_entries_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `farm_cost_entries`
--

LOCK TABLES `farm_cost_entries` WRITE;
/*!40000 ALTER TABLE `farm_cost_entries` DISABLE KEYS */;
/*!40000 ALTER TABLE `farm_cost_entries` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `farm_feed_purchases`
--

DROP TABLE IF EXISTS `farm_feed_purchases`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `farm_feed_purchases` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `batch_type` enum('poultry','fish','livestock') NOT NULL,
  `batch_id` bigint(20) unsigned DEFAULT NULL,
  `item_name` varchar(255) NOT NULL,
  `quantity_kg` decimal(12,2) NOT NULL DEFAULT 0.00,
  `unit_cost` decimal(10,2) NOT NULL DEFAULT 0.00,
  `total_cost` decimal(14,2) NOT NULL DEFAULT 0.00,
  `purchase_date` date NOT NULL,
  `supplier_id` bigint(20) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `farm_feed_purchases_branch_id_index` (`branch_id`),
  KEY `farm_feed_purchases_batch_type_index` (`batch_type`),
  KEY `farm_feed_purchases_batch_id_index` (`batch_id`),
  KEY `farm_feed_purchases_purchase_date_index` (`purchase_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `farm_feed_purchases`
--

LOCK TABLES `farm_feed_purchases` WRITE;
/*!40000 ALTER TABLE `farm_feed_purchases` DISABLE KEYS */;
/*!40000 ALTER TABLE `farm_feed_purchases` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `farm_labor_logs`
--

DROP TABLE IF EXISTS `farm_labor_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `farm_labor_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `batch_type` varchar(30) NOT NULL,
  `batch_id` bigint(20) unsigned NOT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `work_date` date DEFAULT NULL,
  `hours` decimal(8,2) NOT NULL DEFAULT 0.00,
  `cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `work_type` varchar(100) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `farm_labor_logs_employee_id_foreign` (`employee_id`),
  KEY `farm_labor_logs_batch_type_batch_id_index` (`batch_type`,`batch_id`),
  KEY `farm_labor_logs_branch_id_index` (`branch_id`),
  CONSTRAINT `farm_labor_logs_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `farm_labor_logs`
--

LOCK TABLES `farm_labor_logs` WRITE;
/*!40000 ALTER TABLE `farm_labor_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `farm_labor_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `farm_lands`
--

DROP TABLE IF EXISTS `farm_lands`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `farm_lands` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `farm_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `area_decimal` decimal(10,2) DEFAULT NULL,
  `soil_type` varchar(60) DEFAULT NULL,
  `irrigation_type` varchar(60) DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `farm_lands_farm_id_foreign` (`farm_id`),
  CONSTRAINT `farm_lands_farm_id_foreign` FOREIGN KEY (`farm_id`) REFERENCES `farms` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `farm_lands`
--

LOCK TABLES `farm_lands` WRITE;
/*!40000 ALTER TABLE `farm_lands` DISABLE KEYS */;
/*!40000 ALTER TABLE `farm_lands` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `farm_ponds`
--

DROP TABLE IF EXISTS `farm_ponds`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `farm_ponds` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `farm_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(30) DEFAULT NULL,
  `area_decimal` decimal(10,2) DEFAULT NULL,
  `depth_feet` decimal(8,2) DEFAULT NULL,
  `water_source` varchar(100) DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `farm_ponds_farm_id_foreign` (`farm_id`),
  CONSTRAINT `farm_ponds_farm_id_foreign` FOREIGN KEY (`farm_id`) REFERENCES `farms` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `farm_ponds`
--

LOCK TABLES `farm_ponds` WRITE;
/*!40000 ALTER TABLE `farm_ponds` DISABLE KEYS */;
/*!40000 ALTER TABLE `farm_ponds` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `farm_sales`
--

DROP TABLE IF EXISTS `farm_sales`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `farm_sales` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `sale_type` enum('poultry','chick','fish','livestock','crop') NOT NULL,
  `batch_type` varchar(255) DEFAULT NULL,
  `batch_id` bigint(20) unsigned DEFAULT NULL,
  `batch_no` varchar(255) DEFAULT NULL,
  `item_name` varchar(255) DEFAULT NULL,
  `quantity` decimal(12,2) DEFAULT NULL,
  `weight_kg` decimal(12,2) DEFAULT NULL,
  `unit` varchar(30) DEFAULT NULL,
  `price_per_unit` decimal(12,2) DEFAULT NULL,
  `total_amount` decimal(14,2) NOT NULL DEFAULT 0.00,
  `sale_date` date NOT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `source_table` varchar(255) DEFAULT NULL,
  `source_id` bigint(20) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `farm_sales_branch_id_index` (`branch_id`),
  KEY `farm_sales_sale_type_index` (`sale_type`),
  KEY `farm_sales_batch_id_index` (`batch_id`),
  KEY `farm_sales_sale_date_index` (`sale_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `farm_sales`
--

LOCK TABLES `farm_sales` WRITE;
/*!40000 ALTER TABLE `farm_sales` DISABLE KEYS */;
/*!40000 ALTER TABLE `farm_sales` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `farm_sheds`
--

DROP TABLE IF EXISTS `farm_sheds`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `farm_sheds` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `farm_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(30) DEFAULT NULL,
  `capacity` int(10) unsigned NOT NULL DEFAULT 0,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `farm_sheds_farm_id_foreign` (`farm_id`),
  CONSTRAINT `farm_sheds_farm_id_foreign` FOREIGN KEY (`farm_id`) REFERENCES `farms` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `farm_sheds`
--

LOCK TABLES `farm_sheds` WRITE;
/*!40000 ALTER TABLE `farm_sheds` DISABLE KEYS */;
/*!40000 ALTER TABLE `farm_sheds` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `farms`
--

DROP TABLE IF EXISTS `farms`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `farms` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `type` varchar(30) NOT NULL DEFAULT 'mixed',
  `manager_id` bigint(20) unsigned DEFAULT NULL,
  `location` text DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `farms_branch_id_foreign` (`branch_id`),
  KEY `farms_manager_id_foreign` (`manager_id`),
  CONSTRAINT `farms_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `farms_manager_id_foreign` FOREIGN KEY (`manager_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `farms`
--

LOCK TABLES `farms` WRITE;
/*!40000 ALTER TABLE `farms` DISABLE KEYS */;
/*!40000 ALTER TABLE `farms` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fish_batches`
--

DROP TABLE IF EXISTS `fish_batches`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fish_batches` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `batch_no` varchar(40) NOT NULL,
  `farm_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `pond_id` bigint(20) unsigned DEFAULT NULL,
  `species_id` bigint(20) unsigned DEFAULT NULL,
  `stocking_date` date DEFAULT NULL,
  `fingerling_quantity` decimal(12,2) NOT NULL DEFAULT 0.00,
  `current_quantity` decimal(12,2) NOT NULL DEFAULT 0.00,
  `avg_weight_gram` decimal(10,2) NOT NULL DEFAULT 0.00,
  `mortality_quantity` decimal(12,2) NOT NULL DEFAULT 0.00,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `fish_batches_batch_no_unique` (`batch_no`),
  KEY `fish_batches_farm_id_foreign` (`farm_id`),
  KEY `fish_batches_branch_id_foreign` (`branch_id`),
  KEY `fish_batches_pond_id_foreign` (`pond_id`),
  KEY `fish_batches_species_id_foreign` (`species_id`),
  CONSTRAINT `fish_batches_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fish_batches_farm_id_foreign` FOREIGN KEY (`farm_id`) REFERENCES `farms` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fish_batches_pond_id_foreign` FOREIGN KEY (`pond_id`) REFERENCES `farm_ponds` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fish_batches_species_id_foreign` FOREIGN KEY (`species_id`) REFERENCES `fish_species` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fish_batches`
--

LOCK TABLES `fish_batches` WRITE;
/*!40000 ALTER TABLE `fish_batches` DISABLE KEYS */;
/*!40000 ALTER TABLE `fish_batches` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fish_daily_logs`
--

DROP TABLE IF EXISTS `fish_daily_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fish_daily_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `fish_batch_id` bigint(20) unsigned NOT NULL,
  `log_date` date NOT NULL,
  `feed_kg` decimal(12,3) NOT NULL DEFAULT 0.000,
  `feed_unit_cost` decimal(10,2) DEFAULT NULL,
  `medicine_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `mortality` decimal(12,2) NOT NULL DEFAULT 0.00,
  `mortality_reason` varchar(150) DEFAULT NULL,
  `avg_weight_gram` decimal(10,2) DEFAULT NULL,
  `water_temp` decimal(6,2) DEFAULT NULL,
  `ph_level` decimal(5,2) DEFAULT NULL,
  `dissolved_oxygen` decimal(6,2) DEFAULT NULL,
  `ammonia` decimal(6,2) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `recorded_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fish_daily_logs_recorded_by_foreign` (`recorded_by`),
  KEY `fish_daily_logs_fish_batch_id_log_date_index` (`fish_batch_id`,`log_date`),
  CONSTRAINT `fish_daily_logs_fish_batch_id_foreign` FOREIGN KEY (`fish_batch_id`) REFERENCES `fish_batches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `fish_daily_logs_recorded_by_foreign` FOREIGN KEY (`recorded_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fish_daily_logs`
--

LOCK TABLES `fish_daily_logs` WRITE;
/*!40000 ALTER TABLE `fish_daily_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `fish_daily_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fish_harvests`
--

DROP TABLE IF EXISTS `fish_harvests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fish_harvests` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `fish_batch_id` bigint(20) unsigned NOT NULL,
  `harvest_date` date DEFAULT NULL,
  `quantity_pieces` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total_weight_kg` decimal(12,3) NOT NULL DEFAULT 0.000,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fish_harvests_fish_batch_id_foreign` (`fish_batch_id`),
  CONSTRAINT `fish_harvests_fish_batch_id_foreign` FOREIGN KEY (`fish_batch_id`) REFERENCES `fish_batches` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fish_harvests`
--

LOCK TABLES `fish_harvests` WRITE;
/*!40000 ALTER TABLE `fish_harvests` DISABLE KEYS */;
/*!40000 ALTER TABLE `fish_harvests` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fish_sales`
--

DROP TABLE IF EXISTS `fish_sales`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fish_sales` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `fish_batch_id` bigint(20) unsigned NOT NULL,
  `sale_date` date DEFAULT NULL,
  `weight_kg` decimal(12,3) NOT NULL,
  `price_per_kg` decimal(15,2) NOT NULL,
  `total_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fish_sales_fish_batch_id_foreign` (`fish_batch_id`),
  KEY `fish_sales_customer_id_foreign` (`customer_id`),
  CONSTRAINT `fish_sales_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fish_sales_fish_batch_id_foreign` FOREIGN KEY (`fish_batch_id`) REFERENCES `fish_batches` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fish_sales`
--

LOCK TABLES `fish_sales` WRITE;
/*!40000 ALTER TABLE `fish_sales` DISABLE KEYS */;
/*!40000 ALTER TABLE `fish_sales` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fish_species`
--

DROP TABLE IF EXISTS `fish_species`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fish_species` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `category` varchar(30) NOT NULL DEFAULT 'freshwater',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fish_species`
--

LOCK TABLES `fish_species` WRITE;
/*!40000 ALTER TABLE `fish_species` DISABLE KEYS */;
/*!40000 ALTER TABLE `fish_species` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fish_transfers`
--

DROP TABLE IF EXISTS `fish_transfers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fish_transfers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `fish_batch_id` bigint(20) unsigned NOT NULL,
  `from_pond_id` bigint(20) unsigned DEFAULT NULL,
  `to_pond_id` bigint(20) unsigned DEFAULT NULL,
  `transfer_date` date DEFAULT NULL,
  `quantity` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fish_transfers_fish_batch_id_foreign` (`fish_batch_id`),
  KEY `fish_transfers_from_pond_id_foreign` (`from_pond_id`),
  KEY `fish_transfers_to_pond_id_foreign` (`to_pond_id`),
  CONSTRAINT `fish_transfers_fish_batch_id_foreign` FOREIGN KEY (`fish_batch_id`) REFERENCES `fish_batches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `fish_transfers_from_pond_id_foreign` FOREIGN KEY (`from_pond_id`) REFERENCES `farm_ponds` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fish_transfers_to_pond_id_foreign` FOREIGN KEY (`to_pond_id`) REFERENCES `farm_ponds` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fish_transfers`
--

LOCK TABLES `fish_transfers` WRITE;
/*!40000 ALTER TABLE `fish_transfers` DISABLE KEYS */;
/*!40000 ALTER TABLE `fish_transfers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fleet_bookings`
--

DROP TABLE IF EXISTS `fleet_bookings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fleet_bookings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `booking_no` varchar(255) NOT NULL,
  `customer_id` bigint(20) unsigned NOT NULL,
  `fleet_vehicle_id` bigint(20) unsigned DEFAULT NULL,
  `fleet_driver_id` bigint(20) unsigned DEFAULT NULL,
  `trip_type` varchar(255) NOT NULL DEFAULT 'daily',
  `pickup_location` varchar(255) DEFAULT NULL,
  `dropoff_location` varchar(255) DEFAULT NULL,
  `pickup_at` timestamp NULL DEFAULT NULL,
  `return_at` timestamp NULL DEFAULT NULL,
  `estimated_amount` decimal(12,2) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `status` enum('pending','confirmed','active','completed','cancelled') NOT NULL DEFAULT 'pending',
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fleet_bookings_customer_id_foreign` (`customer_id`),
  KEY `fleet_bookings_fleet_vehicle_id_foreign` (`fleet_vehicle_id`),
  KEY `fleet_bookings_fleet_driver_id_foreign` (`fleet_driver_id`),
  KEY `fleet_bookings_booking_no_index` (`booking_no`),
  KEY `fleet_bookings_branch_id_index` (`branch_id`),
  CONSTRAINT `fleet_bookings_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `fleet_bookings_fleet_driver_id_foreign` FOREIGN KEY (`fleet_driver_id`) REFERENCES `fleet_drivers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fleet_bookings_fleet_vehicle_id_foreign` FOREIGN KEY (`fleet_vehicle_id`) REFERENCES `fleet_vehicles` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fleet_bookings`
--

LOCK TABLES `fleet_bookings` WRITE;
/*!40000 ALTER TABLE `fleet_bookings` DISABLE KEYS */;
/*!40000 ALTER TABLE `fleet_bookings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fleet_driver_commissions`
--

DROP TABLE IF EXISTS `fleet_driver_commissions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fleet_driver_commissions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `fleet_driver_id` bigint(20) unsigned NOT NULL,
  `model` varchar(255) NOT NULL DEFAULT 'fixed',
  `percentage` decimal(5,2) DEFAULT NULL,
  `fixed_amount` decimal(12,2) DEFAULT NULL,
  `per_km_amount` decimal(10,2) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fleet_driver_commissions_fleet_driver_id_foreign` (`fleet_driver_id`),
  CONSTRAINT `fleet_driver_commissions_fleet_driver_id_foreign` FOREIGN KEY (`fleet_driver_id`) REFERENCES `fleet_drivers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fleet_driver_commissions`
--

LOCK TABLES `fleet_driver_commissions` WRITE;
/*!40000 ALTER TABLE `fleet_driver_commissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `fleet_driver_commissions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fleet_driver_documents`
--

DROP TABLE IF EXISTS `fleet_driver_documents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fleet_driver_documents` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `fleet_driver_id` bigint(20) unsigned NOT NULL,
  `title` varchar(255) NOT NULL,
  `file_path` varchar(255) NOT NULL,
  `expires_at` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fleet_driver_documents_fleet_driver_id_foreign` (`fleet_driver_id`),
  CONSTRAINT `fleet_driver_documents_fleet_driver_id_foreign` FOREIGN KEY (`fleet_driver_id`) REFERENCES `fleet_drivers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fleet_driver_documents`
--

LOCK TABLES `fleet_driver_documents` WRITE;
/*!40000 ALTER TABLE `fleet_driver_documents` DISABLE KEYS */;
/*!40000 ALTER TABLE `fleet_driver_documents` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fleet_driver_earnings`
--

DROP TABLE IF EXISTS `fleet_driver_earnings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fleet_driver_earnings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `fleet_driver_id` bigint(20) unsigned NOT NULL,
  `fleet_trip_id` bigint(20) unsigned DEFAULT NULL,
  `earned_on` date NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `kind` varchar(255) NOT NULL DEFAULT 'trip',
  `note` varchar(255) DEFAULT NULL,
  `status` enum('pending','paid') NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fleet_driver_earnings_fleet_driver_id_foreign` (`fleet_driver_id`),
  KEY `fleet_driver_earnings_fleet_trip_id_foreign` (`fleet_trip_id`),
  CONSTRAINT `fleet_driver_earnings_fleet_driver_id_foreign` FOREIGN KEY (`fleet_driver_id`) REFERENCES `fleet_drivers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `fleet_driver_earnings_fleet_trip_id_foreign` FOREIGN KEY (`fleet_trip_id`) REFERENCES `fleet_trips` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fleet_driver_earnings`
--

LOCK TABLES `fleet_driver_earnings` WRITE;
/*!40000 ALTER TABLE `fleet_driver_earnings` DISABLE KEYS */;
/*!40000 ALTER TABLE `fleet_driver_earnings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fleet_driver_payments`
--

DROP TABLE IF EXISTS `fleet_driver_payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fleet_driver_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `fleet_driver_id` bigint(20) unsigned NOT NULL,
  `paid_on` date NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `method` varchar(255) NOT NULL DEFAULT 'cash',
  `reference` varchar(255) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fleet_driver_payments_fleet_driver_id_foreign` (`fleet_driver_id`),
  CONSTRAINT `fleet_driver_payments_fleet_driver_id_foreign` FOREIGN KEY (`fleet_driver_id`) REFERENCES `fleet_drivers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fleet_driver_payments`
--

LOCK TABLES `fleet_driver_payments` WRITE;
/*!40000 ALTER TABLE `fleet_driver_payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `fleet_driver_payments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fleet_drivers`
--

DROP TABLE IF EXISTS `fleet_drivers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fleet_drivers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `license_no` varchar(255) DEFAULT NULL,
  `license_type` varchar(255) DEFAULT NULL,
  `license_expiry` date DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `assigned_fleet_vehicle_id` bigint(20) unsigned DEFAULT NULL,
  `status` enum('available','on_trip','off_duty','leave','inactive') NOT NULL DEFAULT 'available',
  `shift` varchar(255) NOT NULL DEFAULT 'day',
  `trips_completed` int(10) unsigned NOT NULL DEFAULT 0,
  `rating` decimal(3,2) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fleet_drivers_assigned_fleet_vehicle_id_foreign` (`assigned_fleet_vehicle_id`),
  KEY `fleet_drivers_employee_id_index` (`employee_id`),
  KEY `fleet_drivers_branch_id_index` (`branch_id`),
  CONSTRAINT `fleet_drivers_assigned_fleet_vehicle_id_foreign` FOREIGN KEY (`assigned_fleet_vehicle_id`) REFERENCES `fleet_vehicles` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fleet_drivers`
--

LOCK TABLES `fleet_drivers` WRITE;
/*!40000 ALTER TABLE `fleet_drivers` DISABLE KEYS */;
/*!40000 ALTER TABLE `fleet_drivers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fleet_expenses`
--

DROP TABLE IF EXISTS `fleet_expenses`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fleet_expenses` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `fleet_vehicle_id` bigint(20) unsigned NOT NULL,
  `fleet_trip_id` bigint(20) unsigned DEFAULT NULL,
  `fleet_driver_id` bigint(20) unsigned DEFAULT NULL,
  `category` varchar(255) NOT NULL,
  `expended_on` date NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `odometer_km` int(10) unsigned DEFAULT NULL,
  `litres` decimal(8,2) DEFAULT NULL,
  `vendor` varchar(255) DEFAULT NULL,
  `reference` varchar(255) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fleet_expenses_fleet_trip_id_foreign` (`fleet_trip_id`),
  KEY `fleet_expenses_fleet_driver_id_foreign` (`fleet_driver_id`),
  KEY `fleet_expenses_branch_id_index` (`branch_id`),
  KEY `fleet_expenses_fleet_vehicle_id_expended_on_index` (`fleet_vehicle_id`,`expended_on`),
  CONSTRAINT `fleet_expenses_fleet_driver_id_foreign` FOREIGN KEY (`fleet_driver_id`) REFERENCES `fleet_drivers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fleet_expenses_fleet_trip_id_foreign` FOREIGN KEY (`fleet_trip_id`) REFERENCES `fleet_trips` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fleet_expenses_fleet_vehicle_id_foreign` FOREIGN KEY (`fleet_vehicle_id`) REFERENCES `fleet_vehicles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fleet_expenses`
--

LOCK TABLES `fleet_expenses` WRITE;
/*!40000 ALTER TABLE `fleet_expenses` DISABLE KEYS */;
/*!40000 ALTER TABLE `fleet_expenses` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fleet_invoice_items`
--

DROP TABLE IF EXISTS `fleet_invoice_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fleet_invoice_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `fleet_invoice_id` bigint(20) unsigned NOT NULL,
  `label` varchar(255) NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `sort` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fleet_invoice_items_fleet_invoice_id_foreign` (`fleet_invoice_id`),
  CONSTRAINT `fleet_invoice_items_fleet_invoice_id_foreign` FOREIGN KEY (`fleet_invoice_id`) REFERENCES `fleet_invoices` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fleet_invoice_items`
--

LOCK TABLES `fleet_invoice_items` WRITE;
/*!40000 ALTER TABLE `fleet_invoice_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `fleet_invoice_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fleet_invoices`
--

DROP TABLE IF EXISTS `fleet_invoices`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fleet_invoices` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `invoice_no` varchar(255) NOT NULL,
  `customer_id` bigint(20) unsigned NOT NULL,
  `fleet_trip_id` bigint(20) unsigned DEFAULT NULL,
  `fleet_booking_id` bigint(20) unsigned DEFAULT NULL,
  `sales_by_id` bigint(20) unsigned DEFAULT NULL,
  `invoice_date` date NOT NULL,
  `due_date` date DEFAULT NULL,
  `base_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `extra_km_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `extra_hour_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `waiting_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `night_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `toll_parking_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `driver_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `discount_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `tax_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL DEFAULT 0.00,
  `paid_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `status` varchar(255) NOT NULL DEFAULT 'pending',
  `paid_at` timestamp NULL DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fleet_invoices_fleet_trip_id_foreign` (`fleet_trip_id`),
  KEY `fleet_invoices_fleet_booking_id_foreign` (`fleet_booking_id`),
  KEY `fleet_invoices_invoice_no_index` (`invoice_no`),
  KEY `fleet_invoices_branch_id_index` (`branch_id`),
  KEY `fleet_invoices_customer_id_status_index` (`customer_id`,`status`),
  KEY `fleet_invoices_sales_by_id_foreign` (`sales_by_id`),
  CONSTRAINT `fleet_invoices_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `fleet_invoices_fleet_booking_id_foreign` FOREIGN KEY (`fleet_booking_id`) REFERENCES `fleet_bookings` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fleet_invoices_fleet_trip_id_foreign` FOREIGN KEY (`fleet_trip_id`) REFERENCES `fleet_trips` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fleet_invoices_sales_by_id_foreign` FOREIGN KEY (`sales_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fleet_invoices`
--

LOCK TABLES `fleet_invoices` WRITE;
/*!40000 ALTER TABLE `fleet_invoices` DISABLE KEYS */;
/*!40000 ALTER TABLE `fleet_invoices` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fleet_maintenances`
--

DROP TABLE IF EXISTS `fleet_maintenances`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fleet_maintenances` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `fleet_vehicle_id` bigint(20) unsigned NOT NULL,
  `kind` varchar(255) NOT NULL DEFAULT 'service',
  `title` varchar(255) NOT NULL,
  `scheduled_for` date DEFAULT NULL,
  `performed_on` date DEFAULT NULL,
  `odometer_km` int(10) unsigned DEFAULT NULL,
  `repeat_interval_km` int(10) unsigned DEFAULT NULL,
  `repeat_interval_days` int(10) unsigned DEFAULT NULL,
  `next_due_on` date DEFAULT NULL,
  `next_due_km` int(10) unsigned DEFAULT NULL,
  `cost` decimal(12,2) NOT NULL DEFAULT 0.00,
  `vendor` varchar(255) DEFAULT NULL,
  `parts_replaced` text DEFAULT NULL,
  `downtime_days` int(10) unsigned NOT NULL DEFAULT 0,
  `status` enum('scheduled','in_progress','done','cancelled') NOT NULL DEFAULT 'scheduled',
  `notes` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fleet_maintenances_fleet_vehicle_id_foreign` (`fleet_vehicle_id`),
  KEY `fleet_maintenances_branch_id_index` (`branch_id`),
  CONSTRAINT `fleet_maintenances_fleet_vehicle_id_foreign` FOREIGN KEY (`fleet_vehicle_id`) REFERENCES `fleet_vehicles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fleet_maintenances`
--

LOCK TABLES `fleet_maintenances` WRITE;
/*!40000 ALTER TABLE `fleet_maintenances` DISABLE KEYS */;
/*!40000 ALTER TABLE `fleet_maintenances` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fleet_payments`
--

DROP TABLE IF EXISTS `fleet_payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fleet_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `reference` varchar(255) NOT NULL,
  `fleet_invoice_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `method` varchar(255) NOT NULL DEFAULT 'cash',
  `transaction_id` varchar(255) DEFAULT NULL,
  `is_advance` tinyint(1) NOT NULL DEFAULT 0,
  `is_refund` tinyint(1) NOT NULL DEFAULT 0,
  `notes` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fleet_payments_fleet_invoice_id_foreign` (`fleet_invoice_id`),
  KEY `fleet_payments_reference_index` (`reference`),
  KEY `fleet_payments_branch_id_index` (`branch_id`),
  KEY `fleet_payments_wallet_id_index` (`wallet_id`),
  CONSTRAINT `fleet_payments_fleet_invoice_id_foreign` FOREIGN KEY (`fleet_invoice_id`) REFERENCES `fleet_invoices` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fleet_payments`
--

LOCK TABLES `fleet_payments` WRITE;
/*!40000 ALTER TABLE `fleet_payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `fleet_payments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fleet_rates`
--

DROP TABLE IF EXISTS `fleet_rates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fleet_rates` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `fleet_vehicle_id` bigint(20) unsigned DEFAULT NULL,
  `hourly_rate` decimal(12,2) NOT NULL DEFAULT 0.00,
  `daily_rate` decimal(12,2) NOT NULL DEFAULT 0.00,
  `km_rate` decimal(10,2) NOT NULL DEFAULT 0.00,
  `driver_charge` decimal(12,2) NOT NULL DEFAULT 0.00,
  `extra_km_rate` decimal(10,2) NOT NULL DEFAULT 0.00,
  `extra_hour_rate` decimal(10,2) NOT NULL DEFAULT 0.00,
  `waiting_charge_per_hour` decimal(10,2) NOT NULL DEFAULT 0.00,
  `night_charge` decimal(10,2) NOT NULL DEFAULT 0.00,
  `tax_percent` decimal(5,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fleet_rates_fleet_vehicle_id_foreign` (`fleet_vehicle_id`),
  CONSTRAINT `fleet_rates_fleet_vehicle_id_foreign` FOREIGN KEY (`fleet_vehicle_id`) REFERENCES `fleet_vehicles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fleet_rates`
--

LOCK TABLES `fleet_rates` WRITE;
/*!40000 ALTER TABLE `fleet_rates` DISABLE KEYS */;
/*!40000 ALTER TABLE `fleet_rates` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fleet_trips`
--

DROP TABLE IF EXISTS `fleet_trips`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fleet_trips` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `trip_no` varchar(255) NOT NULL,
  `fleet_booking_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned NOT NULL,
  `fleet_vehicle_id` bigint(20) unsigned NOT NULL,
  `fleet_driver_id` bigint(20) unsigned DEFAULT NULL,
  `started_at` timestamp NULL DEFAULT NULL,
  `ended_at` timestamp NULL DEFAULT NULL,
  `start_km` int(10) unsigned DEFAULT NULL,
  `end_km` int(10) unsigned DEFAULT NULL,
  `distance_km` decimal(10,2) DEFAULT NULL,
  `fuel_used_litres` decimal(8,2) DEFAULT NULL,
  `route` varchar(255) DEFAULT NULL,
  `waiting_minutes` int(10) unsigned NOT NULL DEFAULT 0,
  `extra_km` int(10) unsigned NOT NULL DEFAULT 0,
  `extra_hours` int(10) unsigned NOT NULL DEFAULT 0,
  `is_night` tinyint(1) NOT NULL DEFAULT 0,
  `trip_type` varchar(255) NOT NULL DEFAULT 'daily',
  `status` enum('scheduled','active','completed','cancelled') NOT NULL DEFAULT 'scheduled',
  `notes` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fleet_trips_fleet_booking_id_foreign` (`fleet_booking_id`),
  KEY `fleet_trips_customer_id_foreign` (`customer_id`),
  KEY `fleet_trips_trip_no_index` (`trip_no`),
  KEY `fleet_trips_branch_id_index` (`branch_id`),
  KEY `fleet_trips_fleet_vehicle_id_status_index` (`fleet_vehicle_id`,`status`),
  KEY `fleet_trips_fleet_driver_id_status_index` (`fleet_driver_id`,`status`),
  CONSTRAINT `fleet_trips_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `fleet_trips_fleet_booking_id_foreign` FOREIGN KEY (`fleet_booking_id`) REFERENCES `fleet_bookings` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fleet_trips_fleet_driver_id_foreign` FOREIGN KEY (`fleet_driver_id`) REFERENCES `fleet_drivers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fleet_trips_fleet_vehicle_id_foreign` FOREIGN KEY (`fleet_vehicle_id`) REFERENCES `fleet_vehicles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fleet_trips`
--

LOCK TABLES `fleet_trips` WRITE;
/*!40000 ALTER TABLE `fleet_trips` DISABLE KEYS */;
/*!40000 ALTER TABLE `fleet_trips` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fleet_vehicle_documents`
--

DROP TABLE IF EXISTS `fleet_vehicle_documents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fleet_vehicle_documents` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `fleet_vehicle_id` bigint(20) unsigned NOT NULL,
  `title` varchar(255) NOT NULL,
  `kind` varchar(255) DEFAULT NULL,
  `file_path` varchar(255) NOT NULL,
  `expires_at` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fleet_vehicle_documents_fleet_vehicle_id_foreign` (`fleet_vehicle_id`),
  CONSTRAINT `fleet_vehicle_documents_fleet_vehicle_id_foreign` FOREIGN KEY (`fleet_vehicle_id`) REFERENCES `fleet_vehicles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fleet_vehicle_documents`
--

LOCK TABLES `fleet_vehicle_documents` WRITE;
/*!40000 ALTER TABLE `fleet_vehicle_documents` DISABLE KEYS */;
/*!40000 ALTER TABLE `fleet_vehicle_documents` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fleet_vehicles`
--

DROP TABLE IF EXISTS `fleet_vehicles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fleet_vehicles` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `make_model` varchar(255) DEFAULT NULL,
  `registration_no` varchar(255) NOT NULL,
  `vehicle_type` varchar(255) NOT NULL DEFAULT 'car',
  `ownership` varchar(255) NOT NULL DEFAULT 'company',
  `color` varchar(255) DEFAULT NULL,
  `seats` int(10) unsigned DEFAULT NULL,
  `registration_expiry` date DEFAULT NULL,
  `insurance_expiry` date DEFAULT NULL,
  `status` enum('available','booked','on_trip','maintenance','inactive') NOT NULL DEFAULT 'available',
  `current_location` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fleet_vehicles_registration_no_index` (`registration_no`),
  KEY `fleet_vehicles_branch_id_index` (`branch_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fleet_vehicles`
--

LOCK TABLES `fleet_vehicles` WRITE;
/*!40000 ALTER TABLE `fleet_vehicles` DISABLE KEYS */;
/*!40000 ALTER TABLE `fleet_vehicles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fund_payments`
--

DROP TABLE IF EXISTS `fund_payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fund_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `wallet_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `method` varchar(40) DEFAULT NULL,
  `reference_no` varchar(100) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `paid_at` date NOT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fund_payments_created_by_foreign` (`created_by`),
  KEY `fund_payments_wallet_id_paid_at_index` (`wallet_id`,`paid_at`),
  CONSTRAINT `fund_payments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fund_payments_wallet_id_foreign` FOREIGN KEY (`wallet_id`) REFERENCES `wallets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fund_payments`
--

LOCK TABLES `fund_payments` WRITE;
/*!40000 ALTER TABLE `fund_payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `fund_payments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `fund_withdrawals`
--

DROP TABLE IF EXISTS `fund_withdrawals`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `fund_withdrawals` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `wallet_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `method` varchar(40) DEFAULT NULL,
  `reference_no` varchar(100) DEFAULT NULL,
  `reason` text NOT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'pending',
  `requested_by` bigint(20) unsigned DEFAULT NULL,
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `rejected_by` bigint(20) unsigned DEFAULT NULL,
  `rejected_at` timestamp NULL DEFAULT NULL,
  `reject_reason` text DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `fund_withdrawals_requested_by_foreign` (`requested_by`),
  KEY `fund_withdrawals_approved_by_foreign` (`approved_by`),
  KEY `fund_withdrawals_rejected_by_foreign` (`rejected_by`),
  KEY `fund_withdrawals_wallet_transaction_id_foreign` (`wallet_transaction_id`),
  KEY `fund_withdrawals_wallet_id_status_index` (`wallet_id`,`status`),
  KEY `fund_withdrawals_status_index` (`status`),
  CONSTRAINT `fund_withdrawals_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fund_withdrawals_rejected_by_foreign` FOREIGN KEY (`rejected_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fund_withdrawals_requested_by_foreign` FOREIGN KEY (`requested_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `fund_withdrawals_wallet_id_foreign` FOREIGN KEY (`wallet_id`) REFERENCES `wallets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `fund_withdrawals_wallet_transaction_id_foreign` FOREIGN KEY (`wallet_transaction_id`) REFERENCES `wallet_transactions` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `fund_withdrawals`
--

LOCK TABLES `fund_withdrawals` WRITE;
/*!40000 ALTER TABLE `fund_withdrawals` DISABLE KEYS */;
/*!40000 ALTER TABLE `fund_withdrawals` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `garment_orders`
--

DROP TABLE IF EXISTS `garment_orders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `garment_orders` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `order_no` varchar(40) NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `buyer_id` bigint(20) unsigned DEFAULT NULL,
  `buyer_name` varchar(255) DEFAULT NULL,
  `style_name` varchar(255) DEFAULT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `unit_price` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total_value` decimal(15,2) NOT NULL DEFAULT 0.00,
  `order_date` date DEFAULT NULL,
  `delivery_date` date DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'booked',
  `sample_status` varchar(30) NOT NULL DEFAULT 'not_required',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `garment_orders_order_no_unique` (`order_no`),
  KEY `garment_orders_branch_id_foreign` (`branch_id`),
  KEY `garment_orders_customer_id_foreign` (`customer_id`),
  KEY `garment_orders_buyer_id_foreign` (`buyer_id`),
  CONSTRAINT `garment_orders_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `garment_orders_buyer_id_foreign` FOREIGN KEY (`buyer_id`) REFERENCES `vendors` (`id`) ON DELETE SET NULL,
  CONSTRAINT `garment_orders_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `garment_orders`
--

LOCK TABLES `garment_orders` WRITE;
/*!40000 ALTER TABLE `garment_orders` DISABLE KEYS */;
/*!40000 ALTER TABLE `garment_orders` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `garment_process_batches`
--

DROP TABLE IF EXISTS `garment_process_batches`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `garment_process_batches` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `batch_no` varchar(40) NOT NULL,
  `garment_order_id` bigint(20) unsigned DEFAULT NULL,
  `work_order_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `process` varchar(30) NOT NULL,
  `stage` varchar(30) NOT NULL DEFAULT 'queued',
  `status` varchar(30) NOT NULL DEFAULT 'pending',
  `recipe` varchar(120) DEFAULT NULL,
  `color` varchar(60) DEFAULT NULL,
  `input_quantity` int(10) unsigned NOT NULL DEFAULT 0,
  `output_quantity` int(10) unsigned NOT NULL DEFAULT 0,
  `rework_quantity` int(10) unsigned NOT NULL DEFAULT 0,
  `reject_quantity` int(10) unsigned NOT NULL DEFAULT 0,
  `chemical_cost` decimal(12,2) NOT NULL DEFAULT 0.00,
  `queued_at` datetime DEFAULT NULL,
  `started_at` datetime DEFAULT NULL,
  `completed_at` datetime DEFAULT NULL,
  `stage_log` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`stage_log`)),
  `notes` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `garment_process_batches_batch_no_unique` (`batch_no`),
  KEY `garment_process_batches_garment_order_id_foreign` (`garment_order_id`),
  KEY `garment_process_batches_work_order_id_foreign` (`work_order_id`),
  KEY `garment_process_batches_created_by_foreign` (`created_by`),
  KEY `garment_process_batches_branch_id_index` (`branch_id`),
  CONSTRAINT `garment_process_batches_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `garment_process_batches_garment_order_id_foreign` FOREIGN KEY (`garment_order_id`) REFERENCES `garment_orders` (`id`) ON DELETE SET NULL,
  CONSTRAINT `garment_process_batches_work_order_id_foreign` FOREIGN KEY (`work_order_id`) REFERENCES `work_orders` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `garment_process_batches`
--

LOCK TABLES `garment_process_batches` WRITE;
/*!40000 ALTER TABLE `garment_process_batches` DISABLE KEYS */;
/*!40000 ALTER TABLE `garment_process_batches` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `gift_cards`
--

DROP TABLE IF EXISTS `gift_cards`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `gift_cards` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `code` varchar(50) NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `balance` decimal(15,2) NOT NULL DEFAULT 0.00,
  `initial_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `expires_at` date DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `gift_cards_code_unique` (`code`),
  KEY `gift_cards_branch_id_foreign` (`branch_id`),
  CONSTRAINT `gift_cards_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `gift_cards`
--

LOCK TABLES `gift_cards` WRITE;
/*!40000 ALTER TABLE `gift_cards` DISABLE KEYS */;
/*!40000 ALTER TABLE `gift_cards` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `hatcheries`
--

DROP TABLE IF EXISTS `hatcheries`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `hatcheries` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `farm_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `location` varchar(255) DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `hatcheries_farm_id_foreign` (`farm_id`),
  KEY `hatcheries_branch_id_foreign` (`branch_id`),
  CONSTRAINT `hatcheries_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `hatcheries_farm_id_foreign` FOREIGN KEY (`farm_id`) REFERENCES `farms` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `hatcheries`
--

LOCK TABLES `hatcheries` WRITE;
/*!40000 ALTER TABLE `hatcheries` DISABLE KEYS */;
/*!40000 ALTER TABLE `hatcheries` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `imap_accounts`
--

DROP TABLE IF EXISTS `imap_accounts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `imap_accounts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `imap_host` varchar(255) NOT NULL DEFAULT 'imap.gmail.com',
  `imap_port` int(10) unsigned NOT NULL DEFAULT 993,
  `imap_encryption` enum('ssl','tls','none') NOT NULL DEFAULT 'ssl',
  `username` varchar(255) NOT NULL,
  `password` text NOT NULL,
  `folder` varchar(255) NOT NULL DEFAULT 'INBOX',
  `validate_cert` tinyint(1) NOT NULL DEFAULT 1,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `last_synced_at` timestamp NULL DEFAULT NULL,
  `last_sync_status` enum('never','success','failed') NOT NULL DEFAULT 'never',
  `last_sync_error` text DEFAULT NULL,
  `unread_count` int(10) unsigned NOT NULL DEFAULT 0,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `imap_accounts_email_imap_host_unique` (`email`,`imap_host`),
  KEY `imap_accounts_employee_id_foreign` (`employee_id`),
  KEY `imap_accounts_user_id_foreign` (`user_id`),
  CONSTRAINT `imap_accounts_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `imap_accounts_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `imap_accounts`
--

LOCK TABLES `imap_accounts` WRITE;
/*!40000 ALTER TABLE `imap_accounts` DISABLE KEYS */;
/*!40000 ALTER TABLE `imap_accounts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `income_categories`
--

DROP TABLE IF EXISTS `income_categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `income_categories` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `income_categories`
--

LOCK TABLES `income_categories` WRITE;
/*!40000 ALTER TABLE `income_categories` DISABLE KEYS */;
/*!40000 ALTER TABLE `income_categories` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `incomes`
--

DROP TABLE IF EXISTS `incomes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `incomes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `income_category_id` bigint(20) unsigned NOT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `income_date` date NOT NULL,
  `next_due_date` date DEFAULT NULL,
  `amount` decimal(12,2) NOT NULL,
  `paid_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `source` varchar(255) DEFAULT NULL,
  `reference_no` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `attachment_path` varchar(255) DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_via` varchar(20) DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `incomes_income_category_id_foreign` (`income_category_id`),
  KEY `incomes_employee_id_foreign` (`employee_id`),
  KEY `incomes_income_date_index` (`income_date`),
  KEY `incomes_customer_id_foreign` (`customer_id`),
  KEY `incomes_wallet_id_foreign` (`wallet_id`),
  KEY `incomes_branch_id_index` (`branch_id`),
  KEY `incomes_created_via_index` (`created_via`),
  CONSTRAINT `incomes_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `incomes_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `incomes_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `incomes_income_category_id_foreign` FOREIGN KEY (`income_category_id`) REFERENCES `income_categories` (`id`) ON DELETE CASCADE,
  CONSTRAINT `incomes_wallet_id_foreign` FOREIGN KEY (`wallet_id`) REFERENCES `wallets` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `incomes`
--

LOCK TABLES `incomes` WRITE;
/*!40000 ALTER TABLE `incomes` DISABLE KEYS */;
/*!40000 ALTER TABLE `incomes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `incubators`
--

DROP TABLE IF EXISTS `incubators`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `incubators` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `hatchery_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(30) DEFAULT NULL,
  `egg_capacity` int(10) unsigned NOT NULL DEFAULT 0,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `incubators_hatchery_id_foreign` (`hatchery_id`),
  CONSTRAINT `incubators_hatchery_id_foreign` FOREIGN KEY (`hatchery_id`) REFERENCES `hatcheries` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `incubators`
--

LOCK TABLES `incubators` WRITE;
/*!40000 ALTER TABLE `incubators` DISABLE KEYS */;
/*!40000 ALTER TABLE `incubators` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `interview_stages`
--

DROP TABLE IF EXISTS `interview_stages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `interview_stages` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `job_posting_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `order` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `interview_stages_job_posting_id_foreign` (`job_posting_id`),
  CONSTRAINT `interview_stages_job_posting_id_foreign` FOREIGN KEY (`job_posting_id`) REFERENCES `job_postings` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `interview_stages`
--

LOCK TABLES `interview_stages` WRITE;
/*!40000 ALTER TABLE `interview_stages` DISABLE KEYS */;
/*!40000 ALTER TABLE `interview_stages` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `investment_withdrawals`
--

DROP TABLE IF EXISTS `investment_withdrawals`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `investment_withdrawals` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `investment_id` bigint(20) unsigned NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `note` text DEFAULT NULL,
  `proof_image` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `investment_withdrawals_investment_id_foreign` (`investment_id`),
  KEY `investment_withdrawals_wallet_id_index` (`wallet_id`),
  KEY `investment_withdrawals_wallet_transaction_id_index` (`wallet_transaction_id`),
  CONSTRAINT `investment_withdrawals_investment_id_foreign` FOREIGN KEY (`investment_id`) REFERENCES `investments` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `investment_withdrawals`
--

LOCK TABLES `investment_withdrawals` WRITE;
/*!40000 ALTER TABLE `investment_withdrawals` DISABLE KEYS */;
/*!40000 ALTER TABLE `investment_withdrawals` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `investments`
--

DROP TABLE IF EXISTS `investments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `investments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `investor_id` bigint(20) unsigned NOT NULL,
  `investment_date` date NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `profit_percentage` decimal(5,2) DEFAULT NULL,
  `months` int(11) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `proof_image` varchar(255) DEFAULT NULL,
  `attachment_path` varchar(255) DEFAULT NULL,
  `status` enum('active','matured','closed','pending','rejected') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `investments_investor_id_foreign` (`investor_id`),
  KEY `investments_wallet_id_index` (`wallet_id`),
  KEY `investments_wallet_transaction_id_index` (`wallet_transaction_id`),
  CONSTRAINT `investments_investor_id_foreign` FOREIGN KEY (`investor_id`) REFERENCES `investors` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `investments`
--

LOCK TABLES `investments` WRITE;
/*!40000 ALTER TABLE `investments` DISABLE KEYS */;
/*!40000 ALTER TABLE `investments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `investors`
--

DROP TABLE IF EXISTS `investors`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `investors` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `profile_photo` varchar(255) DEFAULT NULL,
  `documents` longtext DEFAULT NULL,
  `fund_wallet_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'active',
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `investors_branch_id_index` (`branch_id`),
  KEY `investors_fund_wallet_id_index` (`fund_wallet_id`),
  CONSTRAINT `investors_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `investors_fund_wallet_id_foreign` FOREIGN KEY (`fund_wallet_id`) REFERENCES `wallets` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `investors`
--

LOCK TABLES `investors` WRITE;
/*!40000 ALTER TABLE `investors` DISABLE KEYS */;
/*!40000 ALTER TABLE `investors` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `invoice_payments`
--

DROP TABLE IF EXISTS `invoice_payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `invoice_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `sales_invoice_id` bigint(20) unsigned NOT NULL,
  `paid_at` date DEFAULT NULL,
  `amount` decimal(15,2) NOT NULL,
  `method` varchar(40) DEFAULT NULL,
  `reference` varchar(100) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `invoice_payments_sales_invoice_id_foreign` (`sales_invoice_id`),
  CONSTRAINT `invoice_payments_sales_invoice_id_foreign` FOREIGN KEY (`sales_invoice_id`) REFERENCES `sales_invoices` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `invoice_payments`
--

LOCK TABLES `invoice_payments` WRITE;
/*!40000 ALTER TABLE `invoice_payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `invoice_payments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `job_applications`
--

DROP TABLE IF EXISTS `job_applications`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `job_applications` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `job_posting_id` bigint(20) unsigned NOT NULL,
  `full_name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `cover_letter` text DEFAULT NULL,
  `cv_path` varchar(255) DEFAULT NULL,
  `auto_score` int(10) unsigned NOT NULL DEFAULT 0,
  `max_score` int(10) unsigned NOT NULL DEFAULT 0,
  `interview_rating` decimal(3,2) DEFAULT NULL,
  `current_stage_id` bigint(20) unsigned DEFAULT NULL,
  `status` enum('applied','screening','shortlisted','interview','offered','hired','rejected','withdrawn') NOT NULL DEFAULT 'applied',
  `rejection_reason` text DEFAULT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `applied_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `job_applications_job_posting_id_foreign` (`job_posting_id`),
  KEY `job_applications_current_stage_id_foreign` (`current_stage_id`),
  KEY `job_applications_employee_id_foreign` (`employee_id`),
  CONSTRAINT `job_applications_current_stage_id_foreign` FOREIGN KEY (`current_stage_id`) REFERENCES `interview_stages` (`id`) ON DELETE SET NULL,
  CONSTRAINT `job_applications_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `job_applications_job_posting_id_foreign` FOREIGN KEY (`job_posting_id`) REFERENCES `job_postings` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `job_applications`
--

LOCK TABLES `job_applications` WRITE;
/*!40000 ALTER TABLE `job_applications` DISABLE KEYS */;
/*!40000 ALTER TABLE `job_applications` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `job_batches`
--

DROP TABLE IF EXISTS `job_batches`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `job_batches` (
  `id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `total_jobs` int(11) NOT NULL,
  `pending_jobs` int(11) NOT NULL,
  `failed_jobs` int(11) NOT NULL,
  `failed_job_ids` longtext NOT NULL,
  `options` mediumtext DEFAULT NULL,
  `cancelled_at` int(11) DEFAULT NULL,
  `created_at` int(11) NOT NULL,
  `finished_at` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `job_batches`
--

LOCK TABLES `job_batches` WRITE;
/*!40000 ALTER TABLE `job_batches` DISABLE KEYS */;
/*!40000 ALTER TABLE `job_batches` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `job_postings`
--

DROP TABLE IF EXISTS `job_postings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `job_postings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `department_id` bigint(20) unsigned DEFAULT NULL,
  `designation_id` bigint(20) unsigned DEFAULT NULL,
  `description` text DEFAULT NULL,
  `requirements` text DEFAULT NULL,
  `responsibilities` text DEFAULT NULL,
  `location` varchar(255) DEFAULT NULL,
  `employment_type` enum('full_time','part_time','contract','internship','temporary') NOT NULL DEFAULT 'full_time',
  `visibility` enum('public','private') NOT NULL DEFAULT 'public',
  `status` enum('draft','open','closed') NOT NULL DEFAULT 'draft',
  `positions_count` int(10) unsigned NOT NULL DEFAULT 1,
  `salary_min` decimal(10,2) DEFAULT NULL,
  `salary_max` decimal(10,2) DEFAULT NULL,
  `application_deadline` date DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `job_postings_slug_unique` (`slug`),
  KEY `job_postings_department_id_foreign` (`department_id`),
  KEY `job_postings_designation_id_foreign` (`designation_id`),
  KEY `job_postings_created_by_foreign` (`created_by`),
  CONSTRAINT `job_postings_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `job_postings_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `job_postings_designation_id_foreign` FOREIGN KEY (`designation_id`) REFERENCES `designations` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `job_postings`
--

LOCK TABLES `job_postings` WRITE;
/*!40000 ALTER TABLE `job_postings` DISABLE KEYS */;
/*!40000 ALTER TABLE `job_postings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `job_questions`
--

DROP TABLE IF EXISTS `job_questions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `job_questions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `job_posting_id` bigint(20) unsigned NOT NULL,
  `question` text NOT NULL,
  `type` enum('text','textarea','mcq','yesno') NOT NULL DEFAULT 'text',
  `options` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`options`)),
  `correct_answer` varchar(255) DEFAULT NULL,
  `points` int(10) unsigned NOT NULL DEFAULT 0,
  `is_required` tinyint(1) NOT NULL DEFAULT 1,
  `order` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `job_questions_job_posting_id_foreign` (`job_posting_id`),
  CONSTRAINT `job_questions_job_posting_id_foreign` FOREIGN KEY (`job_posting_id`) REFERENCES `job_postings` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `job_questions`
--

LOCK TABLES `job_questions` WRITE;
/*!40000 ALTER TABLE `job_questions` DISABLE KEYS */;
/*!40000 ALTER TABLE `job_questions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `jobs`
--

DROP TABLE IF EXISTS `jobs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `jobs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `queue` varchar(255) NOT NULL,
  `payload` longtext NOT NULL,
  `attempts` tinyint(3) unsigned NOT NULL,
  `reserved_at` int(10) unsigned DEFAULT NULL,
  `available_at` int(10) unsigned NOT NULL,
  `created_at` int(10) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  KEY `jobs_queue_index` (`queue`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `jobs`
--

LOCK TABLES `jobs` WRITE;
/*!40000 ALTER TABLE `jobs` DISABLE KEYS */;
/*!40000 ALTER TABLE `jobs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `lead_activities`
--

DROP TABLE IF EXISTS `lead_activities`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `lead_activities` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `lead_id` bigint(20) unsigned NOT NULL,
  `type` varchar(30) NOT NULL DEFAULT 'note',
  `subject` varchar(255) DEFAULT NULL,
  `body` text DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `activity_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `tracking_event_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `lead_activities_tracking_event_id_unique` (`tracking_event_id`),
  KEY `lead_activities_lead_id_foreign` (`lead_id`),
  KEY `lead_activities_user_id_foreign` (`user_id`),
  CONSTRAINT `lead_activities_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE CASCADE,
  CONSTRAINT `lead_activities_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `lead_activities`
--

LOCK TABLES `lead_activities` WRITE;
/*!40000 ALTER TABLE `lead_activities` DISABLE KEYS */;
/*!40000 ALTER TABLE `lead_activities` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `lead_generation_items`
--

DROP TABLE IF EXISTS `lead_generation_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `lead_generation_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `lead_generation_run_id` bigint(20) unsigned NOT NULL,
  `lead_id` bigint(20) unsigned DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'candidate',
  `name` varchar(255) NOT NULL,
  `company` varchar(255) DEFAULT NULL,
  `phone` varchar(60) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `website` varchar(255) DEFAULT NULL,
  `category` varchar(255) DEFAULT NULL,
  `rating` decimal(3,1) DEFAULT NULL,
  `review_count` int(10) unsigned DEFAULT NULL,
  `external_ref` varchar(255) DEFAULT NULL,
  `places_verified` tinyint(3) unsigned DEFAULT NULL,
  `places_verified_at` timestamp NULL DEFAULT NULL,
  `why_fit` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `lead_generation_items_lead_id_foreign` (`lead_id`),
  KEY `lead_generation_items_lead_generation_run_id_status_index` (`lead_generation_run_id`,`status`),
  KEY `lead_generation_items_external_ref_index` (`external_ref`),
  CONSTRAINT `lead_generation_items_lead_generation_run_id_foreign` FOREIGN KEY (`lead_generation_run_id`) REFERENCES `lead_generation_runs` (`id`) ON DELETE CASCADE,
  CONSTRAINT `lead_generation_items_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `lead_generation_items`
--

LOCK TABLES `lead_generation_items` WRITE;
/*!40000 ALTER TABLE `lead_generation_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `lead_generation_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `lead_generation_runs`
--

DROP TABLE IF EXISTS `lead_generation_runs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `lead_generation_runs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `source` varchar(30) NOT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'done',
  `business_type` varchar(255) DEFAULT NULL,
  `location_text` varchar(255) DEFAULT NULL,
  `radius_m` int(10) unsigned DEFAULT NULL,
  `requested_count` int(10) unsigned NOT NULL DEFAULT 20,
  `found_count` int(10) unsigned NOT NULL DEFAULT 0,
  `imported_count` int(10) unsigned NOT NULL DEFAULT 0,
  `request_note` text DEFAULT NULL,
  `error` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `lead_generation_runs_created_by_foreign` (`created_by`),
  KEY `lead_generation_runs_branch_id_source_index` (`branch_id`,`source`),
  CONSTRAINT `lead_generation_runs_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `lead_generation_runs_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `lead_generation_runs`
--

LOCK TABLES `lead_generation_runs` WRITE;
/*!40000 ALTER TABLE `lead_generation_runs` DISABLE KEYS */;
INSERT INTO `lead_generation_runs` VALUES
(3,1,'google_maps','failed','restaurants','Banani Dhaka',NULL,5,0,0,NULL,'Google Places returned 400 — API key not valid. Please pass a valid API key.',NULL,'2026-10-30 08:55:07','2026-10-30 08:55:07');
/*!40000 ALTER TABLE `lead_generation_runs` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `leads`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `leads` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `company` varchar(255) DEFAULT NULL,
  `phone` varchar(40) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `source` varchar(60) DEFAULT NULL,
  `pipeline_stage` varchar(30) NOT NULL DEFAULT 'new',
  `won_reason` varchar(255) DEFAULT NULL,
  `lost_reason` varchar(255) DEFAULT NULL,
  `estimated_value` decimal(15,2) NOT NULL DEFAULT 0.00,
  `probability` decimal(5,2) NOT NULL DEFAULT 0.00,
  `score` int(10) unsigned NOT NULL DEFAULT 0,
  `temperature` varchar(10) NOT NULL DEFAULT 'cold',
  `conversion_probability` decimal(5,2) NOT NULL DEFAULT 0.00,
  `score_breakdown` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`score_breakdown`)),
  `is_qualified` tinyint(1) NOT NULL DEFAULT 0,
  `segment_id` bigint(20) unsigned DEFAULT NULL,
  `owner_id` bigint(20) unsigned DEFAULT NULL,
  `last_scored_at` date DEFAULT NULL,
  `assigned_to` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `converted_at` timestamp NULL DEFAULT NULL,
  `last_follow_up_at` date DEFAULT NULL,
  `next_follow_up_at` date DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `leads_branch_id_foreign` (`branch_id`),
  KEY `leads_assigned_to_foreign` (`assigned_to`),
  KEY `leads_customer_id_foreign` (`customer_id`),
  KEY `leads_pipeline_stage_branch_id_index` (`pipeline_stage`,`branch_id`),
  KEY `leads_segment_id_foreign` (`segment_id`),
  KEY `leads_owner_id_foreign` (`owner_id`),
  KEY `leads_temperature_index` (`temperature`),
  CONSTRAINT `leads_assigned_to_foreign` FOREIGN KEY (`assigned_to`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `leads_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `leads_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `leads_owner_id_foreign` FOREIGN KEY (`owner_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `leads_segment_id_foreign` FOREIGN KEY (`segment_id`) REFERENCES `crm_segments` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `leads` WRITE;
/*!40000 ALTER TABLE `leads` DISABLE KEYS */;
/*!40000 ALTER TABLE `leads` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `leases`
--

DROP TABLE IF EXISTS `leases`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `leases` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `lease_no` varchar(40) NOT NULL,
  `tenant_id` bigint(20) unsigned NOT NULL,
  `building_id` bigint(20) unsigned DEFAULT NULL,
  `apartment_id` bigint(20) unsigned NOT NULL,
  `start_date` date NOT NULL,
  `end_date` date NOT NULL,
  `monthly_rent` decimal(15,2) NOT NULL,
  `security_deposit` decimal(15,2) NOT NULL DEFAULT 0.00,
  `rent_due_day` int(10) unsigned NOT NULL DEFAULT 5,
  `late_fee` decimal(15,2) NOT NULL DEFAULT 0.00,
  `annual_increase_percent` decimal(5,2) NOT NULL DEFAULT 0.00,
  `agreement_file` varchar(255) DEFAULT NULL,
  `renewed_from_lease_id` bigint(20) unsigned DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `leases_lease_no_unique` (`lease_no`),
  KEY `leases_tenant_id_foreign` (`tenant_id`),
  KEY `leases_building_id_foreign` (`building_id`),
  KEY `leases_apartment_id_foreign` (`apartment_id`),
  KEY `leases_renewed_from_lease_id_foreign` (`renewed_from_lease_id`),
  KEY `leases_branch_id_index` (`branch_id`),
  CONSTRAINT `leases_apartment_id_foreign` FOREIGN KEY (`apartment_id`) REFERENCES `apartments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `leases_building_id_foreign` FOREIGN KEY (`building_id`) REFERENCES `buildings` (`id`) ON DELETE SET NULL,
  CONSTRAINT `leases_renewed_from_lease_id_foreign` FOREIGN KEY (`renewed_from_lease_id`) REFERENCES `leases` (`id`) ON DELETE SET NULL,
  CONSTRAINT `leases_tenant_id_foreign` FOREIGN KEY (`tenant_id`) REFERENCES `tenants` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `leases`
--

LOCK TABLES `leases` WRITE;
/*!40000 ALTER TABLE `leases` DISABLE KEYS */;
/*!40000 ALTER TABLE `leases` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `livestock_animals`
--

DROP TABLE IF EXISTS `livestock_animals`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `livestock_animals` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `tag_no` varchar(60) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `farm_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `livestock_type_id` bigint(20) unsigned DEFAULT NULL,
  `livestock_breed_id` bigint(20) unsigned DEFAULT NULL,
  `group_id` bigint(20) unsigned DEFAULT NULL,
  `gender` varchar(10) NOT NULL DEFAULT 'female',
  `birth_date` date DEFAULT NULL,
  `purchase_date` date DEFAULT NULL,
  `purchase_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `current_weight_kg` decimal(10,2) DEFAULT NULL,
  `source` varchar(30) NOT NULL DEFAULT 'purchased',
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `death_date` date DEFAULT NULL,
  `death_reason` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `livestock_animals_tag_no_unique` (`tag_no`),
  KEY `livestock_animals_branch_id_foreign` (`branch_id`),
  KEY `livestock_animals_livestock_type_id_foreign` (`livestock_type_id`),
  KEY `livestock_animals_livestock_breed_id_foreign` (`livestock_breed_id`),
  KEY `livestock_animals_group_id_foreign` (`group_id`),
  KEY `livestock_animals_farm_id_status_index` (`farm_id`,`status`),
  CONSTRAINT `livestock_animals_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `livestock_animals_farm_id_foreign` FOREIGN KEY (`farm_id`) REFERENCES `farms` (`id`) ON DELETE SET NULL,
  CONSTRAINT `livestock_animals_group_id_foreign` FOREIGN KEY (`group_id`) REFERENCES `livestock_groups` (`id`) ON DELETE SET NULL,
  CONSTRAINT `livestock_animals_livestock_breed_id_foreign` FOREIGN KEY (`livestock_breed_id`) REFERENCES `livestock_breeds` (`id`) ON DELETE SET NULL,
  CONSTRAINT `livestock_animals_livestock_type_id_foreign` FOREIGN KEY (`livestock_type_id`) REFERENCES `livestock_types` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `livestock_animals`
--

LOCK TABLES `livestock_animals` WRITE;
/*!40000 ALTER TABLE `livestock_animals` DISABLE KEYS */;
/*!40000 ALTER TABLE `livestock_animals` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `livestock_breedings`
--

DROP TABLE IF EXISTS `livestock_breedings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `livestock_breedings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `female_animal_id` bigint(20) unsigned NOT NULL,
  `male_animal_id` bigint(20) unsigned DEFAULT NULL,
  `breeding_date` date DEFAULT NULL,
  `expected_birth_date` date DEFAULT NULL,
  `actual_birth_date` date DEFAULT NULL,
  `offspring_count` int(10) unsigned NOT NULL DEFAULT 0,
  `outcome` varchar(30) NOT NULL DEFAULT 'pending',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `livestock_breedings_female_animal_id_foreign` (`female_animal_id`),
  KEY `livestock_breedings_male_animal_id_foreign` (`male_animal_id`),
  CONSTRAINT `livestock_breedings_female_animal_id_foreign` FOREIGN KEY (`female_animal_id`) REFERENCES `livestock_animals` (`id`) ON DELETE CASCADE,
  CONSTRAINT `livestock_breedings_male_animal_id_foreign` FOREIGN KEY (`male_animal_id`) REFERENCES `livestock_animals` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `livestock_breedings`
--

LOCK TABLES `livestock_breedings` WRITE;
/*!40000 ALTER TABLE `livestock_breedings` DISABLE KEYS */;
/*!40000 ALTER TABLE `livestock_breedings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `livestock_breeds`
--

DROP TABLE IF EXISTS `livestock_breeds`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `livestock_breeds` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `livestock_type_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `livestock_breeds_livestock_type_id_foreign` (`livestock_type_id`),
  CONSTRAINT `livestock_breeds_livestock_type_id_foreign` FOREIGN KEY (`livestock_type_id`) REFERENCES `livestock_types` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `livestock_breeds`
--

LOCK TABLES `livestock_breeds` WRITE;
/*!40000 ALTER TABLE `livestock_breeds` DISABLE KEYS */;
/*!40000 ALTER TABLE `livestock_breeds` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `livestock_groups`
--

DROP TABLE IF EXISTS `livestock_groups`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `livestock_groups` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `farm_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `livestock_groups_farm_id_foreign` (`farm_id`),
  CONSTRAINT `livestock_groups_farm_id_foreign` FOREIGN KEY (`farm_id`) REFERENCES `farms` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `livestock_groups`
--

LOCK TABLES `livestock_groups` WRITE;
/*!40000 ALTER TABLE `livestock_groups` DISABLE KEYS */;
/*!40000 ALTER TABLE `livestock_groups` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `livestock_health_logs`
--

DROP TABLE IF EXISTS `livestock_health_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `livestock_health_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `livestock_animal_id` bigint(20) unsigned DEFAULT NULL,
  `livestock_group_id` bigint(20) unsigned DEFAULT NULL,
  `type` varchar(30) NOT NULL DEFAULT 'treatment',
  `item_name` varchar(150) DEFAULT NULL,
  `cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `log_date` date DEFAULT NULL,
  `next_due_date` date DEFAULT NULL,
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `livestock_health_logs_livestock_animal_id_foreign` (`livestock_animal_id`),
  KEY `livestock_health_logs_livestock_group_id_foreign` (`livestock_group_id`),
  CONSTRAINT `livestock_health_logs_livestock_animal_id_foreign` FOREIGN KEY (`livestock_animal_id`) REFERENCES `livestock_animals` (`id`) ON DELETE SET NULL,
  CONSTRAINT `livestock_health_logs_livestock_group_id_foreign` FOREIGN KEY (`livestock_group_id`) REFERENCES `livestock_groups` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `livestock_health_logs`
--

LOCK TABLES `livestock_health_logs` WRITE;
/*!40000 ALTER TABLE `livestock_health_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `livestock_health_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `livestock_sales`
--

DROP TABLE IF EXISTS `livestock_sales`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `livestock_sales` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `livestock_animal_id` bigint(20) unsigned NOT NULL,
  `sale_date` date DEFAULT NULL,
  `price` decimal(15,2) NOT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `livestock_sales_livestock_animal_id_foreign` (`livestock_animal_id`),
  KEY `livestock_sales_customer_id_foreign` (`customer_id`),
  CONSTRAINT `livestock_sales_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `livestock_sales_livestock_animal_id_foreign` FOREIGN KEY (`livestock_animal_id`) REFERENCES `livestock_animals` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `livestock_sales`
--

LOCK TABLES `livestock_sales` WRITE;
/*!40000 ALTER TABLE `livestock_sales` DISABLE KEYS */;
/*!40000 ALTER TABLE `livestock_sales` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `livestock_types`
--

DROP TABLE IF EXISTS `livestock_types`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `livestock_types` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `livestock_types`
--

LOCK TABLES `livestock_types` WRITE;
/*!40000 ALTER TABLE `livestock_types` DISABLE KEYS */;
/*!40000 ALTER TABLE `livestock_types` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `livestock_weight_logs`
--

DROP TABLE IF EXISTS `livestock_weight_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `livestock_weight_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `livestock_animal_id` bigint(20) unsigned NOT NULL,
  `log_date` date DEFAULT NULL,
  `weight_kg` decimal(10,2) NOT NULL,
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `livestock_weight_logs_livestock_animal_id_foreign` (`livestock_animal_id`),
  CONSTRAINT `livestock_weight_logs_livestock_animal_id_foreign` FOREIGN KEY (`livestock_animal_id`) REFERENCES `livestock_animals` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `livestock_weight_logs`
--

LOCK TABLES `livestock_weight_logs` WRITE;
/*!40000 ALTER TABLE `livestock_weight_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `livestock_weight_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `loan_accounts`
--

DROP TABLE IF EXISTS `loan_accounts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `loan_accounts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `loan_no` varchar(40) NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `loan_application_id` bigint(20) unsigned DEFAULT NULL,
  `principal` decimal(15,2) NOT NULL,
  `interest_rate` decimal(6,3) NOT NULL DEFAULT 0.000,
  `interest_type` varchar(20) NOT NULL DEFAULT 'fixed',
  `term_months` int(10) unsigned NOT NULL,
  `installments_paid` int(10) unsigned NOT NULL DEFAULT 0,
  `outstanding_principal` decimal(15,2) NOT NULL DEFAULT 0.00,
  `outstanding_interest` decimal(15,2) NOT NULL DEFAULT 0.00,
  `penalty_accrued` decimal(15,2) NOT NULL DEFAULT 0.00,
  `late_fee_percent` decimal(5,2) NOT NULL DEFAULT 1.00,
  `prepayment_penalty_percent` decimal(5,2) NOT NULL DEFAULT 0.00,
  `first_payment_date` date DEFAULT NULL,
  `maturity_date` date DEFAULT NULL,
  `closed_at` date DEFAULT NULL,
  `closing_type` varchar(20) DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `compliance_status` varchar(30) NOT NULL DEFAULT 'compliant',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `loan_accounts_loan_no_unique` (`loan_no`),
  KEY `loan_accounts_branch_id_foreign` (`branch_id`),
  KEY `loan_accounts_customer_id_foreign` (`customer_id`),
  KEY `loan_accounts_status_index` (`status`),
  KEY `loan_accounts_wallet_id_index` (`wallet_id`),
  CONSTRAINT `loan_accounts_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `loan_accounts_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `loan_accounts`
--

LOCK TABLES `loan_accounts` WRITE;
/*!40000 ALTER TABLE `loan_accounts` DISABLE KEYS */;
/*!40000 ALTER TABLE `loan_accounts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `loan_agent_commissions`
--

DROP TABLE IF EXISTS `loan_agent_commissions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `loan_agent_commissions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `loan_application_id` bigint(20) unsigned NOT NULL,
  `sales_agent_id` bigint(20) unsigned NOT NULL,
  `disbursed_amount` decimal(14,2) NOT NULL,
  `commission_percent` decimal(5,2) NOT NULL,
  `commission_amount` decimal(14,2) NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'pending',
  `paid_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `loan_agent_commissions`
--

LOCK TABLES `loan_agent_commissions` WRITE;
/*!40000 ALTER TABLE `loan_agent_commissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `loan_agent_commissions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `loan_applications`
--

DROP TABLE IF EXISTS `loan_applications`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `loan_applications` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `application_no` varchar(40) NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `borrower_name` varchar(255) DEFAULT NULL,
  `borrower_phone` varchar(40) DEFAULT NULL,
  `borrower_nid` varchar(60) DEFAULT NULL,
  `loan_type` varchar(30) NOT NULL DEFAULT 'property',
  `interest_type` varchar(20) NOT NULL DEFAULT 'fixed',
  `requested_amount` decimal(15,2) NOT NULL,
  `interest_rate` decimal(6,3) NOT NULL DEFAULT 0.000,
  `term_months` int(10) unsigned NOT NULL DEFAULT 120,
  `purpose` varchar(255) DEFAULT NULL,
  `agent_id` bigint(20) unsigned DEFAULT NULL,
  `agent_commission_percent` decimal(5,2) NOT NULL DEFAULT 0.00,
  `status` varchar(30) NOT NULL DEFAULT 'pending',
  `ltv_breached` tinyint(1) NOT NULL DEFAULT 0,
  `ltv_breached_at` timestamp NULL DEFAULT NULL,
  `ltv_breach_value` decimal(6,2) DEFAULT NULL,
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `disbursed_at` timestamp NULL DEFAULT NULL,
  `disbursed_amount` decimal(15,2) DEFAULT NULL,
  `loan_account_id` bigint(20) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `loan_applications_application_no_unique` (`application_no`),
  KEY `loan_applications_branch_id_foreign` (`branch_id`),
  KEY `loan_applications_customer_id_foreign` (`customer_id`),
  KEY `loan_applications_agent_id_foreign` (`agent_id`),
  KEY `loan_applications_approved_by_foreign` (`approved_by`),
  KEY `loan_applications_loan_account_id_foreign` (`loan_account_id`),
  KEY `loan_applications_status_index` (`status`),
  CONSTRAINT `loan_applications_agent_id_foreign` FOREIGN KEY (`agent_id`) REFERENCES `sales_agents` (`id`) ON DELETE SET NULL,
  CONSTRAINT `loan_applications_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `loan_applications_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `loan_applications_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `loan_applications_loan_account_id_foreign` FOREIGN KEY (`loan_account_id`) REFERENCES `loan_accounts` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `loan_applications`
--

LOCK TABLES `loan_applications` WRITE;
/*!40000 ALTER TABLE `loan_applications` DISABLE KEYS */;
/*!40000 ALTER TABLE `loan_applications` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `loan_collaterals`
--

DROP TABLE IF EXISTS `loan_collaterals`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `loan_collaterals` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `loan_application_id` bigint(20) unsigned NOT NULL,
  `property_id` bigint(20) unsigned DEFAULT NULL,
  `asset_id` bigint(20) unsigned DEFAULT NULL,
  `type` varchar(40) NOT NULL DEFAULT 'property',
  `market_value` decimal(15,2) NOT NULL DEFAULT 0.00,
  `valued_at` date DEFAULT NULL,
  `valued_by` varchar(150) DEFAULT NULL,
  `ltv_percent` decimal(6,2) NOT NULL DEFAULT 0.00,
  `is_encumbered` tinyint(1) NOT NULL DEFAULT 0,
  `encumbrance_detail` varchar(255) DEFAULT NULL,
  `document_path` varchar(255) DEFAULT NULL,
  `verification_status` varchar(30) NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `loan_collaterals_loan_application_id_foreign` (`loan_application_id`),
  KEY `loan_collaterals_property_id_foreign` (`property_id`),
  KEY `loan_collaterals_asset_id_foreign` (`asset_id`),
  CONSTRAINT `loan_collaterals_asset_id_foreign` FOREIGN KEY (`asset_id`) REFERENCES `assets` (`id`) ON DELETE SET NULL,
  CONSTRAINT `loan_collaterals_loan_application_id_foreign` FOREIGN KEY (`loan_application_id`) REFERENCES `loan_applications` (`id`) ON DELETE CASCADE,
  CONSTRAINT `loan_collaterals_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `properties` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `loan_collaterals`
--

LOCK TABLES `loan_collaterals` WRITE;
/*!40000 ALTER TABLE `loan_collaterals` DISABLE KEYS */;
/*!40000 ALTER TABLE `loan_collaterals` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `loan_compliance_logs`
--

DROP TABLE IF EXISTS `loan_compliance_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `loan_compliance_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `loan_account_id` bigint(20) unsigned NOT NULL,
  `requirement` varchar(255) NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'pending',
  `notes` text DEFAULT NULL,
  `checked_at` timestamp NULL DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `loan_compliance_logs`
--

LOCK TABLES `loan_compliance_logs` WRITE;
/*!40000 ALTER TABLE `loan_compliance_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `loan_compliance_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `loan_credit_scores`
--

DROP TABLE IF EXISTS `loan_credit_scores`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `loan_credit_scores` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `loan_application_id` bigint(20) unsigned NOT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `score` int(10) unsigned NOT NULL DEFAULT 0,
  `rating` varchar(20) DEFAULT NULL,
  `factors` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`factors`)),
  `recommendation` varchar(30) DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `loan_credit_scores_loan_application_id_foreign` (`loan_application_id`),
  KEY `loan_credit_scores_customer_id_foreign` (`customer_id`),
  KEY `loan_credit_scores_user_id_foreign` (`user_id`),
  CONSTRAINT `loan_credit_scores_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `loan_credit_scores_loan_application_id_foreign` FOREIGN KEY (`loan_application_id`) REFERENCES `loan_applications` (`id`) ON DELETE CASCADE,
  CONSTRAINT `loan_credit_scores_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `loan_credit_scores`
--

LOCK TABLES `loan_credit_scores` WRITE;
/*!40000 ALTER TABLE `loan_credit_scores` DISABLE KEYS */;
/*!40000 ALTER TABLE `loan_credit_scores` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `loan_documents`
--

DROP TABLE IF EXISTS `loan_documents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `loan_documents` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `loan_application_id` bigint(20) unsigned NOT NULL,
  `title` varchar(255) NOT NULL,
  `document_type` varchar(60) DEFAULT NULL,
  `file_path` varchar(255) DEFAULT NULL,
  `verification_status` varchar(30) NOT NULL DEFAULT 'pending',
  `verified_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `loan_documents_loan_application_id_foreign` (`loan_application_id`),
  KEY `loan_documents_verified_by_foreign` (`verified_by`),
  CONSTRAINT `loan_documents_loan_application_id_foreign` FOREIGN KEY (`loan_application_id`) REFERENCES `loan_applications` (`id`) ON DELETE CASCADE,
  CONSTRAINT `loan_documents_verified_by_foreign` FOREIGN KEY (`verified_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `loan_documents`
--

LOCK TABLES `loan_documents` WRITE;
/*!40000 ALTER TABLE `loan_documents` DISABLE KEYS */;
/*!40000 ALTER TABLE `loan_documents` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `loan_installments`
--

DROP TABLE IF EXISTS `loan_installments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `loan_installments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `loan_id` bigint(20) unsigned NOT NULL,
  `installment_no` int(10) unsigned NOT NULL,
  `due_date` date NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `paid_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `paid_date` date DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `borrower_notified_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `loan_installments_loan_id_due_date_index` (`loan_id`,`due_date`),
  CONSTRAINT `loan_installments_loan_id_foreign` FOREIGN KEY (`loan_id`) REFERENCES `loans` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `loan_installments`
--

LOCK TABLES `loan_installments` WRITE;
/*!40000 ALTER TABLE `loan_installments` DISABLE KEYS */;
/*!40000 ALTER TABLE `loan_installments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `loan_payments`
--

DROP TABLE IF EXISTS `loan_payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `loan_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `loan_account_id` bigint(20) unsigned NOT NULL,
  `loan_schedule_id` bigint(20) unsigned DEFAULT NULL,
  `paid_at` date DEFAULT NULL,
  `amount` decimal(15,2) NOT NULL,
  `principal_component` decimal(15,2) NOT NULL DEFAULT 0.00,
  `interest_component` decimal(15,2) NOT NULL DEFAULT 0.00,
  `penalty` decimal(15,2) NOT NULL DEFAULT 0.00,
  `method` varchar(40) DEFAULT NULL,
  `reference` varchar(100) DEFAULT NULL,
  `type` varchar(20) NOT NULL DEFAULT 'emi',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `loan_payments_loan_account_id_foreign` (`loan_account_id`),
  KEY `loan_payments_loan_schedule_id_foreign` (`loan_schedule_id`),
  KEY `loan_payments_wallet_id_index` (`wallet_id`),
  CONSTRAINT `loan_payments_loan_account_id_foreign` FOREIGN KEY (`loan_account_id`) REFERENCES `loan_accounts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `loan_payments_loan_schedule_id_foreign` FOREIGN KEY (`loan_schedule_id`) REFERENCES `loan_schedules` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `loan_payments`
--

LOCK TABLES `loan_payments` WRITE;
/*!40000 ALTER TABLE `loan_payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `loan_payments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `loan_refinancings`
--

DROP TABLE IF EXISTS `loan_refinancings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `loan_refinancings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `old_loan_account_id` bigint(20) unsigned NOT NULL,
  `new_loan_account_id` bigint(20) unsigned NOT NULL,
  `settled_principal` decimal(14,2) NOT NULL,
  `top_up_amount` decimal(14,2) NOT NULL DEFAULT 0.00,
  `new_term_months` int(10) unsigned DEFAULT NULL,
  `new_interest_rate` decimal(6,3) DEFAULT NULL,
  `reason` varchar(255) DEFAULT NULL,
  `refinanced_at` datetime NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `loan_refinancings`
--

LOCK TABLES `loan_refinancings` WRITE;
/*!40000 ALTER TABLE `loan_refinancings` DISABLE KEYS */;
/*!40000 ALTER TABLE `loan_refinancings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `loan_schedules`
--

DROP TABLE IF EXISTS `loan_schedules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `loan_schedules` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `loan_account_id` bigint(20) unsigned NOT NULL,
  `installment_no` int(10) unsigned NOT NULL,
  `due_date` date NOT NULL,
  `planned_collection_date` date DEFAULT NULL,
  `collector_employee_id` bigint(20) unsigned DEFAULT NULL,
  `emi_amount` decimal(15,2) NOT NULL,
  `principal_component` decimal(15,2) NOT NULL DEFAULT 0.00,
  `interest_component` decimal(15,2) NOT NULL DEFAULT 0.00,
  `penalty` decimal(15,2) NOT NULL DEFAULT 0.00,
  `paid_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `paid_at` date DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `borrower_notified_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `loan_schedules_loan_account_id_due_date_index` (`loan_account_id`,`due_date`),
  KEY `loan_schedules_collector_employee_id_foreign` (`collector_employee_id`),
  CONSTRAINT `loan_schedules_collector_employee_id_foreign` FOREIGN KEY (`collector_employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `loan_schedules_loan_account_id_foreign` FOREIGN KEY (`loan_account_id`) REFERENCES `loan_accounts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `loan_schedules`
--

LOCK TABLES `loan_schedules` WRITE;
/*!40000 ALTER TABLE `loan_schedules` DISABLE KEYS */;
/*!40000 ALTER TABLE `loan_schedules` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `loans`
--

DROP TABLE IF EXISTS `loans`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `loans` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `type` enum('given','taken') NOT NULL,
  `party_name` varchar(255) NOT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `principal_amount` decimal(12,2) NOT NULL,
  `interest_rate` decimal(5,2) DEFAULT NULL,
  `issue_date` date NOT NULL,
  `tenure_months` int(10) unsigned NOT NULL,
  `installment_amount` decimal(12,2) NOT NULL,
  `status` enum('pending','approved','rejected','active','closed') NOT NULL DEFAULT 'pending',
  `submitted_by` bigint(20) unsigned DEFAULT NULL,
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` text DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `loans_employee_id_foreign` (`employee_id`),
  KEY `loans_type_status_index` (`type`,`status`),
  KEY `loans_submitted_by_foreign` (`submitted_by`),
  KEY `loans_approved_by_foreign` (`approved_by`),
  KEY `loans_branch_id_index` (`branch_id`),
  KEY `loans_wallet_id_index` (`wallet_id`),
  CONSTRAINT `loans_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `loans_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `loans_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `loans_submitted_by_foreign` FOREIGN KEY (`submitted_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `loans`
--

LOCK TABLES `loans` WRITE;
/*!40000 ALTER TABLE `loans` DISABLE KEYS */;
/*!40000 ALTER TABLE `loans` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `lockers`
--

DROP TABLE IF EXISTS `lockers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `lockers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `type` enum('image','video','document') NOT NULL DEFAULT 'document',
  `file_name` varchar(255) NOT NULL,
  `file_path` varchar(255) NOT NULL,
  `mime_type` varchar(255) DEFAULT NULL,
  `size` bigint(20) unsigned DEFAULT NULL,
  `password` varchar(255) NOT NULL,
  `last_unlocked_at` timestamp NULL DEFAULT NULL,
  `share_revoked_at` timestamp NULL DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `lockers_employee_id_foreign` (`employee_id`),
  CONSTRAINT `lockers_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `lockers`
--

LOCK TABLES `lockers` WRITE;
/*!40000 ALTER TABLE `lockers` DISABLE KEYS */;
/*!40000 ALTER TABLE `lockers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `login_devices`
--

DROP TABLE IF EXISTS `login_devices`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `login_devices` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned NOT NULL,
  `device_hash` varchar(64) NOT NULL,
  `user_agent` varchar(255) DEFAULT NULL,
  `last_ip` varchar(45) DEFAULT NULL,
  `first_seen_at` timestamp NULL DEFAULT NULL,
  `last_seen_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `login_devices_user_id_device_hash_unique` (`user_id`,`device_hash`),
  CONSTRAINT `login_devices_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `login_devices`
--

LOCK TABLES `login_devices` WRITE;
/*!40000 ALTER TABLE `login_devices` DISABLE KEYS */;
INSERT INTO `login_devices` VALUES
(1,1,'409e880cfc105603203cfb3005366341d7dd7c3f64091f3a1d1a83df3c086009','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36','127.0.0.1','2026-10-30 05:39:42','2026-11-01 14:34:51','2026-10-30 05:39:42','2026-11-01 14:34:51'),
(10,1,'8828b706bdd52f2a93e84929e06411ae8287f20c3de6fc1270d71ce68e635173','python-requests/2.34.2','127.0.0.1','2026-11-01 14:52:23','2026-11-01 14:52:23','2026-11-01 14:52:23','2026-11-01 14:52:23');
/*!40000 ALTER TABLE `login_devices` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `loyalty_accounts`
--

DROP TABLE IF EXISTS `loyalty_accounts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `loyalty_accounts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` bigint(20) unsigned NOT NULL,
  `points_balance` decimal(12,2) NOT NULL DEFAULT 0.00,
  `lifetime_earned` decimal(12,2) NOT NULL DEFAULT 0.00,
  `lifetime_redeemed` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `loyalty_accounts_customer_id_foreign` (`customer_id`),
  CONSTRAINT `loyalty_accounts_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `loyalty_accounts`
--

LOCK TABLES `loyalty_accounts` WRITE;
/*!40000 ALTER TABLE `loyalty_accounts` DISABLE KEYS */;
/*!40000 ALTER TABLE `loyalty_accounts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `loyalty_transactions`
--

DROP TABLE IF EXISTS `loyalty_transactions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `loyalty_transactions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `loyalty_account_id` bigint(20) unsigned NOT NULL,
  `type` varchar(20) NOT NULL,
  `points` decimal(12,2) NOT NULL,
  `reference_type` varchar(255) NOT NULL,
  `reference_id` bigint(20) unsigned NOT NULL,
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `loyalty_transactions_loyalty_account_id_foreign` (`loyalty_account_id`),
  KEY `loyalty_ref` (`reference_type`,`reference_id`),
  CONSTRAINT `loyalty_transactions_loyalty_account_id_foreign` FOREIGN KEY (`loyalty_account_id`) REFERENCES `loyalty_accounts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `loyalty_transactions`
--

LOCK TABLES `loyalty_transactions` WRITE;
/*!40000 ALTER TABLE `loyalty_transactions` DISABLE KEYS */;
/*!40000 ALTER TABLE `loyalty_transactions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `machine_allocations`
--

DROP TABLE IF EXISTS `machine_allocations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `machine_allocations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `machine_id` bigint(20) unsigned NOT NULL,
  `work_order_id` bigint(20) unsigned DEFAULT NULL,
  `date` date DEFAULT NULL,
  `hours` decimal(8,2) NOT NULL DEFAULT 0.00,
  `utilization_percent` decimal(5,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `machine_allocations_machine_id_foreign` (`machine_id`),
  KEY `machine_allocations_work_order_id_foreign` (`work_order_id`),
  KEY `machine_allocations_branch_id_index` (`branch_id`),
  CONSTRAINT `machine_allocations_machine_id_foreign` FOREIGN KEY (`machine_id`) REFERENCES `machines` (`id`) ON DELETE CASCADE,
  CONSTRAINT `machine_allocations_work_order_id_foreign` FOREIGN KEY (`work_order_id`) REFERENCES `work_orders` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `machine_allocations`
--

LOCK TABLES `machine_allocations` WRITE;
/*!40000 ALTER TABLE `machine_allocations` DISABLE KEYS */;
/*!40000 ALTER TABLE `machine_allocations` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `machines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `machines` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(30) DEFAULT NULL,
  `type` varchar(60) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `utilization_percent` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `machines_branch_id_foreign` (`branch_id`),
  CONSTRAINT `machines_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `machines` WRITE;
/*!40000 ALTER TABLE `machines` DISABLE KEYS */;
/*!40000 ALTER TABLE `machines` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `marketing_campaigns`
--

DROP TABLE IF EXISTS `marketing_campaigns`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `marketing_campaigns` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `channel` varchar(20) NOT NULL DEFAULT 'email',
  `email_template_id` bigint(20) unsigned DEFAULT NULL,
  `sms_template_id` bigint(20) unsigned DEFAULT NULL,
  `whatsapp_template_id` bigint(20) unsigned DEFAULT NULL,
  `audience` varchar(30) NOT NULL DEFAULT 'all',
  `crm_segment_id` bigint(20) unsigned DEFAULT NULL,
  `budget` decimal(14,2) DEFAULT NULL,
  `spend` decimal(14,2) DEFAULT NULL,
  `cost_per_recipient` decimal(10,4) DEFAULT NULL,
  `conversion_window_days` int(10) unsigned NOT NULL DEFAULT 30,
  `attributed_revenue` decimal(14,2) NOT NULL DEFAULT 0.00,
  `skipped_over_budget` int(10) unsigned NOT NULL DEFAULT 0,
  `launched_by` bigint(20) unsigned DEFAULT NULL,
  `conversions` int(10) unsigned NOT NULL DEFAULT 0,
  `filters` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`filters`)),
  `scheduled_at` timestamp NULL DEFAULT NULL,
  `started_at` timestamp NULL DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `total_recipients` int(10) unsigned NOT NULL DEFAULT 0,
  `sent_count` int(10) unsigned NOT NULL DEFAULT 0,
  `failed_count` int(10) unsigned NOT NULL DEFAULT 0,
  `status` varchar(20) NOT NULL DEFAULT 'draft',
  `last_error` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `marketing_campaigns_branch_id_foreign` (`branch_id`),
  KEY `marketing_campaigns_email_template_id_foreign` (`email_template_id`),
  KEY `marketing_campaigns_sms_template_id_foreign` (`sms_template_id`),
  KEY `marketing_campaigns_whatsapp_template_id_foreign` (`whatsapp_template_id`),
  KEY `marketing_campaigns_crm_segment_id_foreign` (`crm_segment_id`),
  KEY `marketing_campaigns_launched_by_foreign` (`launched_by`),
  KEY `marketing_campaigns_status_scheduled_at_index` (`status`,`scheduled_at`),
  CONSTRAINT `marketing_campaigns_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `marketing_campaigns_crm_segment_id_foreign` FOREIGN KEY (`crm_segment_id`) REFERENCES `crm_segments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `marketing_campaigns_email_template_id_foreign` FOREIGN KEY (`email_template_id`) REFERENCES `email_templates` (`id`) ON DELETE SET NULL,
  CONSTRAINT `marketing_campaigns_launched_by_foreign` FOREIGN KEY (`launched_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `marketing_campaigns_sms_template_id_foreign` FOREIGN KEY (`sms_template_id`) REFERENCES `sms_templates` (`id`) ON DELETE SET NULL,
  CONSTRAINT `marketing_campaigns_whatsapp_template_id_foreign` FOREIGN KEY (`whatsapp_template_id`) REFERENCES `whatsapp_templates` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `marketing_campaigns`
--

LOCK TABLES `marketing_campaigns` WRITE;
/*!40000 ALTER TABLE `marketing_campaigns` DISABLE KEYS */;
/*!40000 ALTER TABLE `marketing_campaigns` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `material_plans`
--

DROP TABLE IF EXISTS `material_plans`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `material_plans` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `bom_id` bigint(20) unsigned DEFAULT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `planned_quantity` decimal(15,3) NOT NULL,
  `available_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `shortage_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `requirement_lines` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`requirement_lines`)),
  `status` varchar(255) NOT NULL DEFAULT 'draft',
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `material_plans_branch_id_foreign` (`branch_id`),
  KEY `material_plans_bom_id_foreign` (`bom_id`),
  KEY `material_plans_product_id_foreign` (`product_id`),
  KEY `material_plans_created_by_foreign` (`created_by`),
  CONSTRAINT `material_plans_bom_id_foreign` FOREIGN KEY (`bom_id`) REFERENCES `boms` (`id`) ON DELETE SET NULL,
  CONSTRAINT `material_plans_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `material_plans_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `material_plans_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `material_plans`
--

LOCK TABLES `material_plans` WRITE;
/*!40000 ALTER TABLE `material_plans` DISABLE KEYS */;
/*!40000 ALTER TABLE `material_plans` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `material_requisition_lines`
--

DROP TABLE IF EXISTS `material_requisition_lines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `material_requisition_lines` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `material_requisition_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `issued_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `material_requisition_lines_material_requisition_id_foreign` (`material_requisition_id`),
  KEY `material_requisition_lines_product_id_foreign` (`product_id`),
  CONSTRAINT `material_requisition_lines_material_requisition_id_foreign` FOREIGN KEY (`material_requisition_id`) REFERENCES `material_requisitions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `material_requisition_lines_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `material_requisition_lines`
--

LOCK TABLES `material_requisition_lines` WRITE;
/*!40000 ALTER TABLE `material_requisition_lines` DISABLE KEYS */;
/*!40000 ALTER TABLE `material_requisition_lines` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `material_requisitions`
--

DROP TABLE IF EXISTS `material_requisitions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `material_requisitions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `req_no` varchar(40) NOT NULL,
  `work_order_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `requested_by` bigint(20) unsigned DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `material_requisitions_req_no_unique` (`req_no`),
  KEY `material_requisitions_work_order_id_foreign` (`work_order_id`),
  KEY `material_requisitions_branch_id_foreign` (`branch_id`),
  KEY `material_requisitions_warehouse_id_foreign` (`warehouse_id`),
  KEY `material_requisitions_requested_by_foreign` (`requested_by`),
  CONSTRAINT `material_requisitions_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `material_requisitions_requested_by_foreign` FOREIGN KEY (`requested_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `material_requisitions_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE SET NULL,
  CONSTRAINT `material_requisitions_work_order_id_foreign` FOREIGN KEY (`work_order_id`) REFERENCES `work_orders` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `material_requisitions`
--

LOCK TABLES `material_requisitions` WRITE;
/*!40000 ALTER TABLE `material_requisitions` DISABLE KEYS */;
/*!40000 ALTER TABLE `material_requisitions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `messages`
--

DROP TABLE IF EXISTS `messages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `messages` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `conversation_id` bigint(20) unsigned NOT NULL,
  `user_id` bigint(20) unsigned NOT NULL,
  `body` text DEFAULT NULL,
  `attachment_path` varchar(255) DEFAULT NULL,
  `attachment_name` varchar(255) DEFAULT NULL,
  `attachment_type` enum('image','file') DEFAULT NULL,
  `attachment_size` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `messages_user_id_foreign` (`user_id`),
  KEY `messages_conversation_id_created_at_index` (`conversation_id`,`created_at`),
  CONSTRAINT `messages_conversation_id_foreign` FOREIGN KEY (`conversation_id`) REFERENCES `conversations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `messages_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `messages`
--

LOCK TABLES `messages` WRITE;
/*!40000 ALTER TABLE `messages` DISABLE KEYS */;
/*!40000 ALTER TABLE `messages` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `migrations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `migrations` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `migration` varchar(255) NOT NULL,
  `batch` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=260 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `migrations` WRITE;
/*!40000 ALTER TABLE `migrations` DISABLE KEYS */;
INSERT INTO `migrations` VALUES
(1,'0001_01_01_000000_create_users_table',1),
(2,'0001_01_01_000001_create_cache_table',1),
(3,'0001_01_01_000002_create_jobs_table',1),
(4,'2026_07_01_041615_create_departments_table',1),
(5,'2026_07_01_052644_create_personal_access_tokens_table',1),
(6,'2026_07_01_052657_create_employees_table',1),
(7,'2026_07_01_052658_create_attendances_table',1),
(8,'2026_07_01_052659_create_salaries_table',1),
(9,'2026_07_02_130145_add_leave_comment_to_attendances_table',1),
(10,'2026_07_02_141652_create_roles_table',1),
(11,'2026_07_02_141653_create_designations_table',1),
(12,'2026_07_02_141654_add_employee_management_fields_to_employees_table',1),
(13,'2026_07_02_141811_create_employee_documents_table',1),
(14,'2026_07_02_141836_create_employee_exits_table',1),
(15,'2026_07_03_130238_create_settings_table',1),
(16,'2026_07_09_173509_create_tasks_table',1),
(17,'2026_07_14_000322_create_customers_table',1),
(18,'2026_07_15_000001_create_imap_accounts_table',1),
(19,'2026_07_15_000002_create_email_messages_table',1),
(20,'2026_07_15_090000_create_customer_tasks_table',1),
(21,'2026_07_15_090001_create_lockers_table',1),
(22,'2026_07_16_000001_create_projects_table',1),
(23,'2026_07_16_000002_create_milestones_table',1),
(24,'2026_07_16_000003_create_project_tasks_table',1),
(25,'2026_07_16_000004_create_task_images_table',1),
(26,'2026_07_16_090000_create_customer_purchases_table',1),
(27,'2026_07_16_164528_make_employee_id_nullable_in_reminders_table',1),
(28,'2026_07_16_170104_add_user_id_to_reminders_table',1),
(29,'2026_07_16_170137_add_user_id_to_reminder_notifications_table',1),
(30,'2026_07_17_000001_create_reminders_table',1),
(31,'2026_07_17_000002_create_reminder_notifications_table',1),
(32,'2026_07_18_101500_create_advances_table',1),
(33,'2026_07_18_101600_create_advance_deductions_table',1),
(34,'2026_07_18_101700_add_advance_deduction_to_salaries_table',1),
(35,'2026_07_19_115216_create_calendar_notes',1),
(36,'2026_07_20_000001_create_job_postings_table',1),
(37,'2026_07_20_000002_create_job_questions_table',1),
(38,'2026_07_20_000003_create_interview_stages_table',1),
(39,'2026_07_20_000004_create_job_applications_table',1),
(40,'2026_07_20_000005_create_application_answers_table',1),
(41,'2026_07_20_000006_create_application_interviews_table',1),
(42,'2026_07_20_000007_create_performance_reviews_table',1),
(43,'2026_07_22_090000_add_device_user_id_to_employees_table',1),
(44,'2026_07_22_090100_add_device_source_to_attendances_table',1),
(45,'2026_07_23_000001_create_income_categories_table',1),
(46,'2026_07_23_000001_create_vendors_table',1),
(47,'2026_07_23_000002_create_expense_categories_table',1),
(48,'2026_07_23_000002_create_purchase_orders_table',1),
(49,'2026_07_23_000003_create_incomes_table',1),
(50,'2026_07_23_000003_create_purchase_order_items_table',1),
(51,'2026_07_23_000004_create_expenses_table',1),
(52,'2026_07_23_000004_create_stock_receivings_table',1),
(53,'2026_07_23_000005_create_sales_incomes_table',1),
(54,'2026_07_23_000005_create_stock_receiving_items_table',1),
(55,'2026_07_23_000006_create_purchase_returns_table',1),
(56,'2026_07_23_000007_create_purchase_return_items_table',1),
(57,'2026_07_23_000008_create_vendor_payments_table',1),
(58,'2026_07_23_000009_create_or_extend_expenses_table',1),
(59,'2026_07_23_090000_create_categories_table',1),
(60,'2026_07_23_090001_create_brands_table',1),
(61,'2026_07_23_090002_create_units_table',1),
(62,'2026_07_23_090003_create_warehouses_table',1),
(63,'2026_07_23_090004_create_products_table',1),
(64,'2026_07_23_090005_create_product_stocks_table',1),
(65,'2026_07_23_090006_create_stock_movements_table',1),
(66,'2026_07_23_090007_create_stock_ins_table',1),
(67,'2026_07_23_090008_create_stock_outs_table',1),
(68,'2026_07_23_090009_create_stock_transfers_table',1),
(69,'2026_07_23_090010_create_stock_adjustments_table',1),
(70,'2026_07_23_090011_create_quotations_table',1),
(71,'2026_07_25_090000_create_product_variants_table',1),
(72,'2026_07_25_090001_add_variant_id_to_stock_tables',1),
(73,'2026_07_26_000001_add_paid_amount_to_incomes_table',1),
(74,'2026_07_26_000002_add_paid_amount_to_expenses_table',1),
(75,'2026_07_26_000003_create_payments_table',1),
(76,'2026_07_26_090003_add_vendor_and_party_columns',1),
(77,'2026_07_26_090004_add_warehouse_id_to_purchase_orders_and_returns',1),
(78,'2026_07_27_000001_add_vendor_payment_id_to_payments_table',1),
(79,'2026_07_27_000002_create_loans_table',1),
(80,'2026_07_27_000003_create_loan_installments_table',1),
(81,'2026_07_29_090000_add_transaction_tracking_columns',1),
(82,'2026_07_29_090001_add_next_due_date_to_income_and_expense',1),
(83,'2026_08_01_010603_add_customer_id_to_incomes_table',1),
(84,'2026_08_01_010604_create_investors_table',1),
(85,'2026_08_01_010606_create_investments_table',1),
(86,'2026_08_01_010607_create_profit_distributions_table',1),
(87,'2026_08_01_015049_add_customer_id_to_expenses_table',1),
(88,'2026_08_03_075820_add_status_to_investors_table',1),
(89,'2026_08_03_075830_add_proof_image_to_investments_table',1),
(90,'2026_08_03_081427_change_documents_to_longtext_in_investors',1),
(91,'2026_08_03_133423_create_investment_withdrawals_table',1),
(92,'2026_08_26_142301_add_user_id_to_imap_accounts_table',1),
(93,'2026_09_13_000001_fix_submitted_and_approved_by_fk_references',1),
(94,'2026_09_13_000002_add_approval_columns_to_stock_adjustment_items',1),
(95,'2026_09_13_000003_add_status_to_stock_adjustments',1),
(96,'2026_09_13_000004_make_adjustment_item_quantities_nullable',1),
(97,'2026_09_13_100001_create_shift_scheduling_tables',1),
(98,'2026_09_13_100002_add_payment_approval_workflow',1),
(99,'2026_09_13_110000_merge_shift_scheduling_type_to_two_options',1),
(100,'2026_09_13_120000_create_shift_rules_table',1),
(101,'2026_09_13_130000_add_warehouse_id_to_employees_table',1),
(102,'2026_09_13_140000_decouple_warehouse_from_employees_and_nullable_working_times',1),
(103,'2026_09_14_100000_create_employee_shift_configs_table',1),
(104,'2026_09_14_110000_drop_fixed_time_fields_shift_only_scheduling',1),
(105,'2026_09_14_120000_add_system_source_to_calendar_notes',1),
(106,'2026_09_14_130000_create_security_logs_table',1),
(107,'2026_09_15_000001_create_push_subscriptions_table',1),
(108,'2026_09_15_200000_create_feature_batch_tables',1),
(109,'2026_09_16_000001_create_customer_payments_table',1),
(110,'2026_09_16_100000_add_subscription_billing_to_customer_purchases',1),
(111,'2026_09_16_110000_add_customer_payment_id_to_payments_table',1),
(112,'2026_09_16_120000_link_inventory_sales_and_vendor_dues',1),
(113,'2026_09_17_000001_create_branches_table',1),
(114,'2026_09_17_000002_create_branch_feature_tables',1),
(115,'2026_09_17_100001_create_employee_timeline_tables',1),
(116,'2026_09_17_110001_create_manufacturing_tables',1),
(117,'2026_09_17_110002_create_pos_sales_crm_assets_tables',1),
(118,'2026_09_17_110003_create_construction_property_rent_tables',1),
(119,'2026_09_17_110004_create_agriculture_tables',1),
(120,'2026_09_17_120001_complete_branch_and_sales_columns',1),
(121,'2026_09_18_100001_add_garment_order_id_to_work_orders',1),
(122,'2026_09_18_110001_create_garment_process_batches_table',1),
(123,'2026_09_18_120001_add_kind_columns_to_reminder_notifications',1),
(124,'2026_09_18_120100_make_reminder_id_nullable',1),
(125,'2026_09_18_130001_add_garment_order_id_to_sales_invoices',1),
(126,'2026_09_18_140001_add_branch_id_to_manufacturing_tables',1),
(127,'2026_09_18_150001_normalize_product_stock_locations',1),
(128,'2026_09_19_090001_separate_branch_stock_locations',1),
(129,'2026_09_19_160001_make_customers_email_nullable',1),
(130,'2026_09_19_170001_add_finance_review_to_sale_returns',1),
(131,'2026_09_20_100001_make_purchase_orders_vendor_nullable',1),
(132,'2026_09_20_120001_add_warehouse_id_to_delivery_men',1),
(133,'2026_09_20_130001_purify_stock_location_columns',1),
(134,'2026_09_20_140001_create_agent_trained_commands',1),
(135,'2026_09_20_150001_add_created_via_to_agent_records',1),
(136,'2026_09_20_160001_add_created_via_to_agent_flow_records',1),
(137,'2026_09_20_170001_add_auto_planned_to_purchase_orders',1),
(138,'2026_09_21_000001_add_pure_location_constraint_to_product_stocks',1),
(139,'2026_09_21_100001_add_is_default_to_wallets_table',1),
(140,'2026_09_21_110001_add_payroll_approval_to_salaries_table',1),
(141,'2026_09_21_120001_create_delivery_collections_table',1),
(142,'2026_09_21_130001_create_appointment_tables',1),
(143,'2026_09_21_140001_add_payment_stamp_to_salaries_table',1),
(144,'2026_09_21_150001_create_delivery_cash_handovers_table',1),
(145,'2026_09_21_160001_add_commission_amount_to_delivery_assignments',1),
(146,'2026_09_21_170001_create_appointment_availabilities_table',1),
(147,'2026_09_21_180001_add_bank_deposit_to_delivery_cash_handovers',1),
(148,'2026_09_21_190001_add_void_to_delivery_cash_handovers',1),
(149,'2026_09_22_000001_add_stock_branch_id_to_purchase_orders_table',1),
(150,'2026_09_22_000002_repair_expenses_reference_and_creator_columns',1),
(151,'2026_09_22_000003_add_stock_branch_id_to_stock_transfers_table',1),
(152,'2026_09_22_000004_add_stock_branch_id_to_purchase_returns_table',1),
(153,'2026_09_22_100000_add_from_stock_branch_id_to_stock_transfers_table',1),
(154,'2026_09_22_110000_add_approval_columns_to_stock_transfers_table',1),
(155,'2026_09_23_010000_add_soft_deletes_to_trashable_tables',1),
(156,'2026_09_23_020000_complete_company_asset_schema',1),
(157,'2026_09_23_030000_add_asset_fine_deduction_to_salaries_table',1),
(158,'2026_09_23_031000_add_budget_to_asset_requests',1),
(159,'2026_09_23_040000_ensure_asset_categories_deleted_at',1),
(160,'2026_09_23_050000_complete_construction_module',1),
(161,'2026_09_23_060000_complete_property_sales_module',1),
(162,'2026_09_23_070000_add_phase_link_to_construction_billings',1),
(163,'2026_09_23_070000_complete_property_loans_module',1),
(164,'2026_09_23_071000_rent_soft_deletes',1),
(165,'2026_09_23_080000_add_ltv_breach_flag_to_loan_applications',1),
(166,'2026_09_23_080000_complete_farm_module',1),
(167,'2026_09_23_080100_poultry_batch_extra_columns',1),
(168,'2026_09_23_090000_add_public_payment_links_to_property_payment_plans',1),
(169,'2026_09_23_090000_create_asset_condition_history_table',1),
(170,'2026_09_23_100000_add_file_metadata_to_construction_documents',1),
(171,'2026_09_23_100000_create_unified_payment_links_tables',1),
(172,'2026_09_23_110000_add_collection_date_to_property_payment_plans',1),
(173,'2026_09_23_110000_create_user_dashboard_widget_orders_table',1),
(174,'2026_09_23_120000_add_collector_to_property_payment_plans',1),
(175,'2026_09_23_130000_add_planned_collection_to_loan_schedules',1),
(176,'2026_09_23_140000_add_expires_at_to_payment_links_table',1),
(177,'2026_09_23_150000_add_borrower_notified_at_to_loan_schedules_table',1),
(178,'2026_09_24_100000_add_spa_emailed_at_to_property_agreements_table',1),
(179,'2026_09_24_110000_add_paid_at_to_property_payment_plans_table',1),
(180,'2026_09_24_120000_add_win_loss_reasons_to_leads_table',1),
(181,'2026_09_24_130000_create_parking_management_tables',1),
(182,'2026_09_24_150000_create_parking_passes_table',1),
(183,'2026_09_24_150100_drop_unique_index_from_parking_passes',1),
(184,'2026_09_24_150200_add_pass_to_parking_entries',1),
(185,'2026_09_24_150300_create_parking_digest_dismissals',1),
(186,'2026_09_24_160000_add_verified_at_to_parking_slots',1),
(187,'2026_09_25_090000_add_billing_email_to_parking_agreements',1),
(188,'2026_09_25_140000_add_parking_invoice_id_to_parking_entries',1),
(189,'2026_09_25_190000_add_due_reminder_sent_at_to_parking_invoices',1),
(190,'2026_09_25_220000_create_user_notification_preferences',1),
(191,'2026_09_25_230000_create_parking_renewals_table',1),
(192,'2026_09_26_000001_add_note_to_parking_renewals_table',1),
(193,'2026_09_26_030000_create_fleet_management_tables',1),
(194,'2026_09_26_100000_create_pharmacy_tables',1),
(195,'2026_09_26_110000_add_pharmacy_alert_columns',1),
(196,'2026_09_26_120000_add_sales_by_to_sales_tables',1),
(197,'2026_09_26_120000_widen_expenses_source_for_pharmacy',1),
(198,'2026_09_26_130000_add_branch_id_for_branch_scoping',1),
(199,'2026_09_27_100001_create_campaign_targets_table',1),
(200,'2026_09_28_000001_create_courier_gateway_tables',1),
(201,'2026_09_28_100000_payroll_by_work_time_type',1),
(202,'2026_09_28_150000_create_database_backups_table',1),
(203,'2026_09_30_090001_extend_office_leaves_and_salary_leave_overtime',1),
(204,'2026_10_01_090001_add_leave_type_to_attendances_and_paid_leave_to_salaries',1),
(205,'2026_10_01_100001_add_missing_branch_id_columns',1),
(206,'2026_10_01_110001_create_social_media_tables',1),
(207,'2026_10_02_090000_create_crm_customer_intelligence_tables',1),
(208,'2026_10_02_100000_add_budget_to_marketing_campaigns_table',1),
(209,'2026_10_02_130000_add_last_error_to_social_messages_table',1),
(210,'2026_10_02_140000_add_external_recipient_id_to_social_conversations_table',1),
(211,'2026_10_02_140000_add_tag_to_social_messages_table',1),
(212,'2026_10_02_150000_create_crm_journey_tables',1),
(213,'2026_10_02_150100_link_customers_for_journey_triggers',1),
(214,'2026_10_02_160000_create_crm_feedback_survey_tables',1),
(215,'2026_10_02_170000_extend_campaigns_for_whatsapp_roi',1),
(216,'2026_10_03_000001_create_monthly_system_report_runs_table',1),
(217,'2026_10_04_000001_create_seo_core_tables',1),
(218,'2026_10_05_000001_create_seo_keywords_ranks_and_usage_tables',1),
(219,'2026_10_06_000001_create_seo_intelligence_tables',1),
(220,'2026_10_06_100000_create_seo_traffic_daily_table',1),
(221,'2026_10_06_110000_add_refreshed_at_to_seo_connections',1),
(222,'2026_10_07_120000_create_seo_ai_generations_table',1),
(223,'2026_10_07_140000_create_task_time_logs_table',1),
(224,'2026_10_08_000001_add_share_revoked_at_to_lockers_table',1),
(225,'2026_10_08_000002_add_two_factor_to_users_table',1),
(226,'2026_10_08_000003_create_login_devices_table',1),
(227,'2026_10_09_090001_add_free_leave_quota_to_employees_table',1),
(228,'2026_10_09_150000_create_company_fund_tables',1),
(229,'2026_10_10_130000_create_support_module_tables',1),
(230,'2026_10_10_140000_create_booking_module_tables',1),
(231,'2026_10_10_150000_create_calculator_module_tables',1),
(232,'2026_10_11_120000_add_guest_phone_to_support_chats',1),
(233,'2026_10_11_130000_add_requested_fields_to_support_chats',1),
(234,'2026_10_11_150000_extend_booking_module_for_services_and_series',1),
(235,'2026_10_12_000001_add_permission_data_scopes',1),
(236,'2026_10_12_120000_create_public_payment_requests_table',1),
(237,'2026_10_12_130000_create_site_content_tables',1),
(238,'2026_10_12_140000_add_dark_mode_to_users_table',1),
(239,'2026_10_13_100000_seed_default_site_menu_items',1),
(240,'2026_10_13_130000_create_marketing_automation_tables',1),
(241,'2026_10_13_140000_add_branch_to_campaign_targets',1),
(242,'2026_10_14_150000_add_sort_order_to_categories_table',1),
(243,'2026_10_15_100001_create_page_views_table',1),
(244,'2026_10_15_110000_extend_pharmacy_web_fulfilment_and_returns',1),
(245,'2026_10_15_120000_add_store_credit_wallet_to_customers',1),
(246,'2026_10_15_130000_add_pharmacy_pos_parity_columns',1),
(247,'2026_10_16_100000_add_pos_parity_columns_to_property_reservations',1),
(248,'2026_10_16_140000_create_contractor_service_tables',1),
(249,'2026_10_17_090000_create_contractor_payable_tables',1),
(250,'2026_10_17_100000_add_wallet_columns_to_contractor_money_tables',1),
(251,'2026_10_17_110000_add_wallet_columns_to_fleet_parking_rent_payments',1),
(252,'2026_10_17_120000_add_wallet_columns_to_customer_pos_due_payments',1),
(253,'2026_10_17_130000_add_wallet_columns_to_vendor_supplier_payments',1),
(254,'2026_10_17_140000_add_wallet_columns_to_loan_money_tables',1),
(255,'2026_10_18_000000_investor_wallet_legs',1),
(256,'2026_10_19_120000_create_quote_requests_table',1),
(257,'2026_10_20_120001_create_site_faqs_table',1),
(258,'2026_10_30_000001_create_lead_generation_tables',2),
(259,'2026_10_30_000002_add_places_verification_to_lead_generation_items',3);
/*!40000 ALTER TABLE `migrations` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `milestones`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `milestones` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `project_id` bigint(20) unsigned NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `status` enum('pending','in_progress','completed','delayed') NOT NULL DEFAULT 'pending',
  `sort_order` int(10) unsigned NOT NULL DEFAULT 0,
  `completed_at` timestamp NULL DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `milestones_project_id_foreign` (`project_id`),
  CONSTRAINT `milestones_project_id_foreign` FOREIGN KEY (`project_id`) REFERENCES `projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `milestones` WRITE;
/*!40000 ALTER TABLE `milestones` DISABLE KEYS */;
/*!40000 ALTER TABLE `milestones` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `monthly_system_report_runs`
--

DROP TABLE IF EXISTS `monthly_system_report_runs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `monthly_system_report_runs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `report_month` date NOT NULL,
  `row_count` int(10) unsigned NOT NULL DEFAULT 0,
  `summary_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`summary_json`)),
  `google_push_json` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`google_push_json`)),
  `run_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `monthly_system_report_runs_report_month_unique` (`report_month`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `monthly_system_report_runs`
--

LOCK TABLES `monthly_system_report_runs` WRITE;
/*!40000 ALTER TABLE `monthly_system_report_runs` DISABLE KEYS */;
/*!40000 ALTER TABLE `monthly_system_report_runs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `office_leaves`
--

DROP TABLE IF EXISTS `office_leaves`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `office_leaves` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `description` text DEFAULT NULL,
  `notify_employees` tinyint(1) NOT NULL DEFAULT 1,
  `notified_at` timestamp NULL DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `date` date NOT NULL,
  `is_recurring_yearly` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `office_leaves_date_index` (`date`),
  KEY `office_leaves_start_date_end_date_index` (`start_date`,`end_date`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `office_leaves`
--

LOCK TABLES `office_leaves` WRITE;
/*!40000 ALTER TABLE `office_leaves` DISABLE KEYS */;
/*!40000 ALTER TABLE `office_leaves` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `packing_challans`
--

DROP TABLE IF EXISTS `packing_challans`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `packing_challans` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `challan_no` varchar(40) NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `sales_invoice_id` bigint(20) unsigned DEFAULT NULL,
  `dispatch_id` bigint(20) unsigned DEFAULT NULL,
  `vehicle_id` bigint(20) unsigned DEFAULT NULL,
  `challan_date` date DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'prepared',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `packing_challans_challan_no_unique` (`challan_no`),
  KEY `packing_challans_branch_id_foreign` (`branch_id`),
  KEY `packing_challans_sales_invoice_id_foreign` (`sales_invoice_id`),
  KEY `packing_challans_dispatch_id_foreign` (`dispatch_id`),
  KEY `packing_challans_vehicle_id_foreign` (`vehicle_id`),
  CONSTRAINT `packing_challans_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `packing_challans_dispatch_id_foreign` FOREIGN KEY (`dispatch_id`) REFERENCES `dispatches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `packing_challans_sales_invoice_id_foreign` FOREIGN KEY (`sales_invoice_id`) REFERENCES `sales_invoices` (`id`) ON DELETE SET NULL,
  CONSTRAINT `packing_challans_vehicle_id_foreign` FOREIGN KEY (`vehicle_id`) REFERENCES `vehicles` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `packing_challans`
--

LOCK TABLES `packing_challans` WRITE;
/*!40000 ALTER TABLE `packing_challans` DISABLE KEYS */;
/*!40000 ALTER TABLE `packing_challans` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `packing_lists`
--

DROP TABLE IF EXISTS `packing_lists`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `packing_lists` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `packing_no` varchar(40) NOT NULL,
  `garment_order_id` bigint(20) unsigned DEFAULT NULL,
  `work_order_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `total_cartons` decimal(10,2) NOT NULL DEFAULT 0.00,
  `total_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `gross_weight` decimal(15,3) DEFAULT NULL,
  `net_weight` decimal(15,3) DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'draft',
  `cartons` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`cartons`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `packing_lists_packing_no_unique` (`packing_no`),
  KEY `packing_lists_garment_order_id_foreign` (`garment_order_id`),
  KEY `packing_lists_work_order_id_foreign` (`work_order_id`),
  KEY `packing_lists_branch_id_foreign` (`branch_id`),
  CONSTRAINT `packing_lists_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `packing_lists_garment_order_id_foreign` FOREIGN KEY (`garment_order_id`) REFERENCES `garment_orders` (`id`) ON DELETE SET NULL,
  CONSTRAINT `packing_lists_work_order_id_foreign` FOREIGN KEY (`work_order_id`) REFERENCES `work_orders` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `packing_lists`
--

LOCK TABLES `packing_lists` WRITE;
/*!40000 ALTER TABLE `packing_lists` DISABLE KEYS */;
/*!40000 ALTER TABLE `packing_lists` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `page_views`
--

DROP TABLE IF EXISTS `page_views`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `page_views` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `view_date` date NOT NULL,
  `host` varchar(190) NOT NULL DEFAULT '',
  `path` varchar(190) NOT NULL,
  `count` bigint(20) unsigned NOT NULL DEFAULT 0,
  `sessions` bigint(20) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `page_views_view_date_host_path_unique` (`view_date`,`host`,`path`),
  KEY `page_views_view_date_index` (`view_date`),
  KEY `page_views_path_index` (`path`)
) ENGINE=InnoDB AUTO_INCREMENT=215 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `page_views`
--

LOCK TABLES `page_views` WRITE;
/*!40000 ALTER TABLE `page_views` DISABLE KEYS */;
INSERT INTO `page_views` VALUES
(1,'2026-10-28','127.0.0.1','/login',2,0,'2026-10-27 18:23:36','2026-10-27 18:23:43'),
(3,'2026-10-28','127.0.0.1','/',16,0,'2026-10-27 18:23:50','2026-10-27 19:09:02'),
(5,'2026-10-28','127.0.0.1','/support-portal',2,0,'2026-10-27 18:25:18','2026-10-27 18:30:17'),
(8,'2026-10-28','127.0.0.1','/quote',2,0,'2026-10-27 18:27:07','2026-10-27 18:30:11'),
(9,'2026-10-28','127.0.0.1','/about',1,0,'2026-10-27 18:27:29','2026-10-27 18:27:29'),
(13,'2026-10-28','127.0.0.1','/order/products',18,0,'2026-10-27 18:30:22','2026-10-27 19:08:09'),
(24,'2026-10-28','127.0.0.1','/order/property',5,0,'2026-10-27 18:37:07','2026-10-27 19:08:07'),
(26,'2026-10-28','127.0.0.1','/order/cars',2,0,'2026-10-27 18:37:12','2026-10-27 19:08:12'),
(27,'2026-10-28','127.0.0.1','/book',5,0,'2026-10-27 18:37:16','2026-10-27 19:09:10'),
(31,'2026-10-28','localhost','/order/products',1,1,'2026-10-27 18:38:36','2026-10-27 18:38:36'),
(32,'2026-10-28','localhost','/book',3,0,'2026-10-27 18:38:57','2026-10-27 18:47:33'),
(34,'2026-10-28','127.0.0.1','/order/pharmacy',2,0,'2026-10-27 18:39:29','2026-10-27 19:08:16'),
(45,'2026-10-28','localhost','/order/property',5,0,'2026-10-27 18:48:41','2026-10-27 18:58:46'),
(53,'2026-10-28','localhost','/order/pharmacy',2,0,'2026-10-27 18:51:53','2026-10-27 18:58:35'),
(57,'2026-10-28','127.0.0.1','/cars',2,0,'2026-10-27 19:02:37','2026-10-27 19:02:46'),
(64,'2026-10-28','localhost','/order/cars',1,0,'2026-10-27 19:08:10','2026-10-27 19:08:10'),
(67,'2026-10-28','127.0.0.1','/order/pharmacy/7',1,0,'2026-10-27 19:08:32','2026-10-27 19:08:32'),
(69,'2026-10-28','127.0.0.1','/book/citypark-gulshan',1,0,'2026-10-27 19:08:59','2026-10-27 19:08:59'),
(72,'2026-10-29','127.0.0.1','/',8,1,'2026-10-29 14:56:32','2026-10-29 17:52:01'),
(73,'2026-10-29','127.0.0.1','/careers',2,0,'2026-10-29 14:57:32','2026-10-29 14:58:38'),
(74,'2026-10-29','127.0.0.1','/about',1,0,'2026-10-29 14:58:36','2026-10-29 14:58:36'),
(76,'2026-10-29','127.0.0.1','/order/products',4,0,'2026-10-29 14:58:41','2026-10-29 16:47:44'),
(77,'2026-10-29','127.0.0.1','/order/pharmacy',1,0,'2026-10-29 14:58:46','2026-10-29 14:58:46'),
(79,'2026-10-29','127.0.0.1','/order/cars',1,0,'2026-10-29 15:05:36','2026-10-29 15:05:36'),
(81,'2026-10-29','127.0.0.1','/support-portal',2,0,'2026-10-29 15:05:43','2026-10-29 16:48:16'),
(86,'2026-10-29','localhost','/',1,1,'2026-10-29 15:28:10','2026-10-29 15:28:10'),
(87,'2026-10-29','localhost','/order/products',1,0,'2026-10-29 15:33:27','2026-10-29 15:33:27'),
(88,'2026-10-29','localhost','/book',1,0,'2026-10-29 15:34:09','2026-10-29 15:34:09'),
(89,'2026-10-29','localhost','/order/cars',1,0,'2026-10-29 15:34:27','2026-10-29 15:34:27'),
(90,'2026-10-29','localhost','/careers',1,0,'2026-10-29 15:34:37','2026-10-29 15:34:37'),
(91,'2026-10-29','localhost','/support-portal',1,0,'2026-10-29 15:34:42','2026-10-29 15:34:42'),
(92,'2026-10-29','localhost','/order/pharmacy',7,1,'2026-10-29 15:43:12','2026-10-29 15:52:13'),
(96,'2026-10-29','localhost','/order/checkout',2,0,'2026-10-29 15:46:41','2026-10-29 15:50:02'),
(103,'2026-10-29','127.0.0.1','/modules',1,0,'2026-10-29 16:47:55','2026-10-29 16:47:55'),
(104,'2026-10-29','127.0.0.1','/pricing',1,0,'2026-10-29 16:48:04','2026-10-29 16:48:04'),
(107,'2026-10-29','127.0.0.1','/login',1,0,'2026-10-29 17:51:59','2026-10-29 17:51:59'),
(109,'2026-10-30','127.0.0.1','/',14,2,'2026-10-30 05:34:38','2026-10-30 16:10:04'),
(110,'2026-10-30','127.0.0.1','/login',7,0,'2026-10-30 05:37:25','2026-10-30 16:21:30'),
(111,'2026-10-30','localhost','/',3,1,'2026-10-30 05:38:23','2026-10-30 05:39:01'),
(113,'2026-10-30','localhost','/order/pharmacy',1,0,'2026-10-30 05:38:49','2026-10-30 05:38:49'),
(115,'2026-10-30','127.0.0.1','/dashboard',13,0,'2026-10-30 05:40:02','2026-10-30 12:11:10'),
(116,'2026-10-30','127.0.0.1','/crm/crm',6,0,'2026-10-30 05:40:43','2026-10-30 09:03:27'),
(120,'2026-10-30','127.0.0.1','/order/property',1,0,'2026-10-30 05:47:05','2026-10-30 05:47:05'),
(121,'2026-10-30','127.0.0.1','/order/pharmacy',2,0,'2026-10-30 05:47:06','2026-10-30 06:32:26'),
(122,'2026-10-30','127.0.0.1','/order/checkout',1,0,'2026-10-30 05:47:12','2026-10-30 05:47:12'),
(123,'2026-10-30','127.0.0.1','/book/greenfield-sports-turf',1,0,'2026-10-30 05:47:43','2026-10-30 05:47:43'),
(124,'2026-10-30','127.0.0.1','/order/products',1,0,'2026-10-30 05:48:39','2026-10-30 05:48:39'),
(125,'2026-10-30','127.0.0.1','/settings',1,0,'2026-10-30 05:56:05','2026-10-30 05:56:05'),
(126,'2026-10-30','localhost','/crm/crm',1,1,'2026-10-30 06:32:07','2026-10-30 06:32:07'),
(127,'2026-10-30','localhost','/login',1,0,'2026-10-30 06:32:08','2026-10-30 06:32:08'),
(135,'2026-10-30','127.0.0.1','/book',2,0,'2026-10-30 08:36:37','2026-10-30 08:43:34'),
(143,'2026-10-30','127.0.0.1','/crm/journeys',1,0,'2026-10-30 08:56:26','2026-10-30 08:56:26'),
(144,'2026-10-30','127.0.0.1','/property-loans/loan-repayments',1,0,'2026-10-30 08:56:39','2026-10-30 08:56:39'),
(146,'2026-10-30','127.0.0.1','/fleet',1,0,'2026-10-30 09:00:06','2026-10-30 09:00:06'),
(148,'2026-10-30','127.0.0.1','/dashboard/crm',1,0,'2026-10-30 09:03:20','2026-10-30 09:03:20'),
(162,'2026-10-30','127.0.0.1','/employees',2,0,'2026-10-30 12:10:55','2026-10-30 12:11:06'),
(170,'2026-10-31','127.0.0.1','/login',12,1,'2026-10-30 18:50:31','2026-10-31 12:03:49'),
(171,'2026-10-31','127.0.0.1','/',11,1,'2026-10-30 18:50:32','2026-10-31 12:03:55'),
(176,'2026-10-31','127.0.0.1','/dashboard',17,2,'2026-10-30 19:05:12','2026-10-31 10:34:05'),
(202,'2026-10-31','127.0.0.1','/dashboard/workforce',1,0,'2026-10-31 10:21:07','2026-10-31 10:21:07'),
(211,'2026-11-01','127.0.0.1','/',2,1,'2026-11-01 14:26:03','2026-11-01 14:28:57'),
(213,'2026-11-01','127.0.0.1','/login',1,0,'2026-11-01 14:29:06','2026-11-01 14:29:06'),
(214,'2026-11-01','127.0.0.1','/dashboard',1,0,'2026-11-01 14:35:01','2026-11-01 14:35:01');
/*!40000 ALTER TABLE `page_views` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `parking_agreements`
--

DROP TABLE IF EXISTS `parking_agreements`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `parking_agreements` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `agreement_no` varchar(255) NOT NULL,
  `customer_id` bigint(20) unsigned NOT NULL,
  `parking_slot_id` bigint(20) unsigned DEFAULT NULL,
  `parking_zone_id` bigint(20) unsigned DEFAULT NULL,
  `parking_vehicle_id` bigint(20) unsigned DEFAULT NULL,
  `billing_cycle` enum('monthly') NOT NULL DEFAULT 'monthly',
  `monthly_rent` decimal(10,2) NOT NULL,
  `security_deposit` decimal(10,2) NOT NULL DEFAULT 0.00,
  `discount_percent` decimal(5,2) NOT NULL DEFAULT 0.00,
  `late_charge` decimal(10,2) NOT NULL DEFAULT 0.00,
  `late_grace_days` int(11) NOT NULL DEFAULT 3,
  `start_date` date NOT NULL,
  `end_date` date DEFAULT NULL,
  `status` enum('active','expired','cancelled') NOT NULL DEFAULT 'active',
  `notes` text DEFAULT NULL,
  `billing_email` varchar(255) DEFAULT NULL COMMENT 'Invoice recipient override (accounts payable); null = customer default email',
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `parking_agreements_agreement_no_unique` (`agreement_no`),
  KEY `parking_agreements_customer_id_foreign` (`customer_id`),
  KEY `parking_agreements_parking_slot_id_foreign` (`parking_slot_id`),
  KEY `parking_agreements_parking_zone_id_foreign` (`parking_zone_id`),
  KEY `parking_agreements_parking_vehicle_id_foreign` (`parking_vehicle_id`),
  KEY `parking_agreements_branch_id_index` (`branch_id`),
  CONSTRAINT `parking_agreements_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `parking_agreements_parking_slot_id_foreign` FOREIGN KEY (`parking_slot_id`) REFERENCES `parking_slots` (`id`) ON DELETE SET NULL,
  CONSTRAINT `parking_agreements_parking_vehicle_id_foreign` FOREIGN KEY (`parking_vehicle_id`) REFERENCES `parking_vehicles` (`id`) ON DELETE SET NULL,
  CONSTRAINT `parking_agreements_parking_zone_id_foreign` FOREIGN KEY (`parking_zone_id`) REFERENCES `parking_zones` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `parking_agreements`
--

LOCK TABLES `parking_agreements` WRITE;
/*!40000 ALTER TABLE `parking_agreements` DISABLE KEYS */;
/*!40000 ALTER TABLE `parking_agreements` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `parking_digest_dismissals`
--

DROP TABLE IF EXISTS `parking_digest_dismissals`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `parking_digest_dismissals` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_email` varchar(255) NOT NULL,
  `dismissed_on` date NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `parking_digest_dismissals_user_email_dismissed_on_unique` (`user_email`,`dismissed_on`),
  KEY `parking_digest_dismissals_user_email_index` (`user_email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `parking_digest_dismissals`
--

LOCK TABLES `parking_digest_dismissals` WRITE;
/*!40000 ALTER TABLE `parking_digest_dismissals` DISABLE KEYS */;
/*!40000 ALTER TABLE `parking_digest_dismissals` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `parking_entries`
--

DROP TABLE IF EXISTS `parking_entries`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `parking_entries` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ticket_no` varchar(255) NOT NULL,
  `parking_slot_id` bigint(20) unsigned NOT NULL,
  `parking_vehicle_id` bigint(20) unsigned DEFAULT NULL,
  `parking_pass_id` bigint(20) unsigned DEFAULT NULL,
  `parking_invoice_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `vehicle_registration` varchar(255) NOT NULL,
  `vehicle_type` varchar(255) NOT NULL DEFAULT 'car',
  `parking_kind` enum('hourly','daily','monthly','visitor') NOT NULL DEFAULT 'hourly',
  `ticket_status` enum('active','completed','lost') NOT NULL DEFAULT 'active',
  `entry_at` datetime NOT NULL,
  `exit_at` datetime DEFAULT NULL,
  `amount` decimal(10,2) DEFAULT NULL,
  `overtime_amount` decimal(10,2) NOT NULL DEFAULT 0.00,
  `lost_ticket_charge` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `parking_entries_ticket_no_unique` (`ticket_no`),
  KEY `parking_entries_parking_slot_id_foreign` (`parking_slot_id`),
  KEY `parking_entries_parking_vehicle_id_foreign` (`parking_vehicle_id`),
  KEY `parking_entries_customer_id_foreign` (`customer_id`),
  KEY `parking_entries_branch_id_index` (`branch_id`),
  KEY `parking_entries_parking_pass_id_foreign` (`parking_pass_id`),
  KEY `parking_entries_parking_invoice_id_foreign` (`parking_invoice_id`),
  CONSTRAINT `parking_entries_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `parking_entries_parking_invoice_id_foreign` FOREIGN KEY (`parking_invoice_id`) REFERENCES `parking_invoices` (`id`) ON DELETE SET NULL,
  CONSTRAINT `parking_entries_parking_pass_id_foreign` FOREIGN KEY (`parking_pass_id`) REFERENCES `parking_passes` (`id`) ON DELETE SET NULL,
  CONSTRAINT `parking_entries_parking_slot_id_foreign` FOREIGN KEY (`parking_slot_id`) REFERENCES `parking_slots` (`id`) ON DELETE CASCADE,
  CONSTRAINT `parking_entries_parking_vehicle_id_foreign` FOREIGN KEY (`parking_vehicle_id`) REFERENCES `parking_vehicles` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `parking_entries`
--

LOCK TABLES `parking_entries` WRITE;
/*!40000 ALTER TABLE `parking_entries` DISABLE KEYS */;
/*!40000 ALTER TABLE `parking_entries` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `parking_invoices`
--

DROP TABLE IF EXISTS `parking_invoices`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `parking_invoices` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `invoice_no` varchar(255) NOT NULL,
  `parking_agreement_id` bigint(20) unsigned NOT NULL,
  `sales_by_id` bigint(20) unsigned DEFAULT NULL,
  `period_month` date NOT NULL,
  `rent_amount` decimal(10,2) NOT NULL,
  `discount_amount` decimal(10,2) NOT NULL DEFAULT 0.00,
  `late_charge` decimal(10,2) NOT NULL DEFAULT 0.00,
  `overtime_amount` decimal(10,2) NOT NULL DEFAULT 0.00,
  `total` decimal(10,2) NOT NULL,
  `due_date` date NOT NULL,
  `status` enum('pending','paid','partial','overdue') NOT NULL DEFAULT 'pending',
  `paid_amount` decimal(10,2) NOT NULL DEFAULT 0.00,
  `paid_at` datetime DEFAULT NULL,
  `due_reminder_sent_at` datetime DEFAULT NULL COMMENT 'When the 3-days-before-due reminder email went out',
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `parking_invoices_parking_agreement_id_period_month_unique` (`parking_agreement_id`,`period_month`),
  UNIQUE KEY `parking_invoices_invoice_no_unique` (`invoice_no`),
  KEY `parking_invoices_branch_id_index` (`branch_id`),
  KEY `parking_invoices_sales_by_id_foreign` (`sales_by_id`),
  CONSTRAINT `parking_invoices_parking_agreement_id_foreign` FOREIGN KEY (`parking_agreement_id`) REFERENCES `parking_agreements` (`id`) ON DELETE CASCADE,
  CONSTRAINT `parking_invoices_sales_by_id_foreign` FOREIGN KEY (`sales_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `parking_invoices`
--

LOCK TABLES `parking_invoices` WRITE;
/*!40000 ALTER TABLE `parking_invoices` DISABLE KEYS */;
/*!40000 ALTER TABLE `parking_invoices` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `parking_passes`
--

DROP TABLE IF EXISTS `parking_passes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `parking_passes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `pass_no` varchar(255) NOT NULL,
  `kind` enum('single','monthly') NOT NULL,
  `parking_vehicle_id` bigint(20) unsigned NOT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `parking_agreement_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `valid_from` timestamp NULL DEFAULT NULL,
  `valid_until` datetime NOT NULL,
  `barcode` varchar(255) NOT NULL,
  `max_uses` int(10) unsigned DEFAULT NULL,
  `use_count` int(10) unsigned NOT NULL DEFAULT 0,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `status` enum('active','used','expired','revoked') NOT NULL DEFAULT 'active',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `parking_passes_pass_no_unique` (`pass_no`),
  KEY `parking_passes_customer_id_foreign` (`customer_id`),
  KEY `parking_passes_parking_agreement_id_foreign` (`parking_agreement_id`),
  KEY `parking_passes_status_valid_until_index` (`status`,`valid_until`),
  KEY `parking_passes_parking_vehicle_id_index` (`parking_vehicle_id`),
  KEY `parking_passes_branch_id_index` (`branch_id`),
  CONSTRAINT `parking_passes_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `parking_passes_parking_agreement_id_foreign` FOREIGN KEY (`parking_agreement_id`) REFERENCES `parking_agreements` (`id`) ON DELETE SET NULL,
  CONSTRAINT `parking_passes_parking_vehicle_id_foreign` FOREIGN KEY (`parking_vehicle_id`) REFERENCES `parking_vehicles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `parking_passes`
--

LOCK TABLES `parking_passes` WRITE;
/*!40000 ALTER TABLE `parking_passes` DISABLE KEYS */;
/*!40000 ALTER TABLE `parking_passes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `parking_payments`
--

DROP TABLE IF EXISTS `parking_payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `parking_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `reference` varchar(255) NOT NULL,
  `parking_agreement_id` bigint(20) unsigned DEFAULT NULL,
  `parking_entry_id` bigint(20) unsigned DEFAULT NULL,
  `parking_invoice_id` bigint(20) unsigned DEFAULT NULL,
  `amount` decimal(10,2) NOT NULL,
  `method` enum('cash','bank','online') NOT NULL DEFAULT 'cash',
  `transaction_id` varchar(255) DEFAULT NULL,
  `is_refund` tinyint(1) NOT NULL DEFAULT 0,
  `refund_reason` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `parking_payments_reference_unique` (`reference`),
  KEY `parking_payments_parking_agreement_id_foreign` (`parking_agreement_id`),
  KEY `parking_payments_parking_entry_id_foreign` (`parking_entry_id`),
  KEY `parking_payments_parking_invoice_id_foreign` (`parking_invoice_id`),
  KEY `parking_payments_branch_id_index` (`branch_id`),
  KEY `parking_payments_wallet_id_index` (`wallet_id`),
  CONSTRAINT `parking_payments_parking_agreement_id_foreign` FOREIGN KEY (`parking_agreement_id`) REFERENCES `parking_agreements` (`id`) ON DELETE SET NULL,
  CONSTRAINT `parking_payments_parking_entry_id_foreign` FOREIGN KEY (`parking_entry_id`) REFERENCES `parking_entries` (`id`) ON DELETE SET NULL,
  CONSTRAINT `parking_payments_parking_invoice_id_foreign` FOREIGN KEY (`parking_invoice_id`) REFERENCES `parking_invoices` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `parking_payments`
--

LOCK TABLES `parking_payments` WRITE;
/*!40000 ALTER TABLE `parking_payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `parking_payments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `parking_rates`
--

DROP TABLE IF EXISTS `parking_rates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `parking_rates` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `parking_zone_id` bigint(20) unsigned DEFAULT NULL,
  `vehicle_type` varchar(255) NOT NULL,
  `hourly` decimal(10,2) NOT NULL DEFAULT 0.00,
  `daily` decimal(10,2) NOT NULL DEFAULT 0.00,
  `monthly` decimal(10,2) NOT NULL DEFAULT 0.00,
  `overtime_hourly` decimal(10,2) DEFAULT NULL,
  `grace_minutes` int(10) unsigned NOT NULL DEFAULT 15,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `parking_rates_parking_zone_id_vehicle_type_unique` (`parking_zone_id`,`vehicle_type`),
  KEY `parking_rates_branch_id_index` (`branch_id`),
  CONSTRAINT `parking_rates_parking_zone_id_foreign` FOREIGN KEY (`parking_zone_id`) REFERENCES `parking_zones` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `parking_rates`
--

LOCK TABLES `parking_rates` WRITE;
/*!40000 ALTER TABLE `parking_rates` DISABLE KEYS */;
/*!40000 ALTER TABLE `parking_rates` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `parking_renewals`
--

DROP TABLE IF EXISTS `parking_renewals`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `parking_renewals` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `parking_agreement_id` bigint(20) unsigned NOT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `user_name` varchar(255) DEFAULT NULL,
  `months` int(10) unsigned NOT NULL,
  `from_date` date NOT NULL,
  `to_date` date NOT NULL,
  `note` text DEFAULT NULL,
  `note_by` varchar(255) DEFAULT NULL,
  `note_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `parking_renewals_user_id_foreign` (`user_id`),
  KEY `parking_renewals_parking_agreement_id_created_at_index` (`parking_agreement_id`,`created_at`),
  CONSTRAINT `parking_renewals_parking_agreement_id_foreign` FOREIGN KEY (`parking_agreement_id`) REFERENCES `parking_agreements` (`id`) ON DELETE CASCADE,
  CONSTRAINT `parking_renewals_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `parking_renewals`
--

LOCK TABLES `parking_renewals` WRITE;
/*!40000 ALTER TABLE `parking_renewals` DISABLE KEYS */;
/*!40000 ALTER TABLE `parking_renewals` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `parking_sites`
--

DROP TABLE IF EXISTS `parking_sites`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `parking_sites` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `code` varchar(255) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `capacity` int(10) unsigned NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `notes` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `parking_sites_branch_id_index` (`branch_id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `parking_sites`
--

LOCK TABLES `parking_sites` WRITE;
/*!40000 ALTER TABLE `parking_sites` DISABLE KEYS */;
/*!40000 ALTER TABLE `parking_sites` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `parking_slots`
--

DROP TABLE IF EXISTS `parking_slots`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `parking_slots` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `parking_zone_id` bigint(20) unsigned NOT NULL,
  `slot_no` varchar(255) NOT NULL,
  `slot_type` enum('car','bike','truck','reserved') NOT NULL DEFAULT 'car',
  `status` enum('available','occupied','reserved','maintenance') NOT NULL DEFAULT 'available',
  `reserved_vehicle_id` bigint(20) unsigned DEFAULT NULL,
  `current_entry_id` bigint(20) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `verified_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `parking_slots_parking_zone_id_slot_no_unique` (`parking_zone_id`,`slot_no`),
  KEY `parking_slots_current_entry_id_index` (`current_entry_id`),
  KEY `parking_slots_branch_id_index` (`branch_id`),
  CONSTRAINT `parking_slots_parking_zone_id_foreign` FOREIGN KEY (`parking_zone_id`) REFERENCES `parking_zones` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `parking_slots`
--

LOCK TABLES `parking_slots` WRITE;
/*!40000 ALTER TABLE `parking_slots` DISABLE KEYS */;
/*!40000 ALTER TABLE `parking_slots` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `parking_vehicles`
--

DROP TABLE IF EXISTS `parking_vehicles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `parking_vehicles` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` bigint(20) unsigned NOT NULL,
  `registration_no` varchar(255) NOT NULL,
  `vehicle_type` varchar(255) NOT NULL DEFAULT 'car',
  `model` varchar(255) DEFAULT NULL,
  `color` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `parking_vehicles_customer_id_registration_no_unique` (`customer_id`,`registration_no`),
  KEY `parking_vehicles_registration_no_index` (`registration_no`),
  KEY `parking_vehicles_branch_id_index` (`branch_id`),
  CONSTRAINT `parking_vehicles_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `parking_vehicles`
--

LOCK TABLES `parking_vehicles` WRITE;
/*!40000 ALTER TABLE `parking_vehicles` DISABLE KEYS */;
/*!40000 ALTER TABLE `parking_vehicles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `parking_zones`
--

DROP TABLE IF EXISTS `parking_zones`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `parking_zones` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `parking_site_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `floor` varchar(255) DEFAULT NULL,
  `capacity` int(10) unsigned NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `parking_zones_parking_site_id_foreign` (`parking_site_id`),
  KEY `parking_zones_branch_id_index` (`branch_id`),
  CONSTRAINT `parking_zones_parking_site_id_foreign` FOREIGN KEY (`parking_site_id`) REFERENCES `parking_sites` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `parking_zones`
--

LOCK TABLES `parking_zones` WRITE;
/*!40000 ALTER TABLE `parking_zones` DISABLE KEYS */;
/*!40000 ALTER TABLE `parking_zones` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `password_reset_tokens`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `password_reset_tokens` (
  `email` varchar(255) NOT NULL,
  `token` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`email`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `password_reset_tokens`
--

LOCK TABLES `password_reset_tokens` WRITE;
/*!40000 ALTER TABLE `password_reset_tokens` DISABLE KEYS */;
/*!40000 ALTER TABLE `password_reset_tokens` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `payment_links`
--

DROP TABLE IF EXISTS `payment_links`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `payment_links` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `linkable_type` varchar(255) NOT NULL,
  `linkable_id` bigint(20) unsigned NOT NULL,
  `token` varchar(64) NOT NULL,
  `issued_at` timestamp NULL DEFAULT NULL,
  `expires_at` timestamp NULL DEFAULT NULL,
  `revoked_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `payment_links_token_unique` (`token`),
  KEY `payment_links_linkable_type_linkable_id_index` (`linkable_type`,`linkable_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `payment_links`
--

LOCK TABLES `payment_links` WRITE;
/*!40000 ALTER TABLE `payment_links` DISABLE KEYS */;
/*!40000 ALTER TABLE `payment_links` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `payment_submissions`
--

DROP TABLE IF EXISTS `payment_submissions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `payment_submissions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `payment_link_id` bigint(20) unsigned NOT NULL,
  `method` varchar(10) NOT NULL,
  `bank_name` varchar(120) DEFAULT NULL,
  `mfs_provider` varchar(40) DEFAULT NULL,
  `sender_number` varchar(40) DEFAULT NULL,
  `transaction_id` varchar(120) NOT NULL,
  `sender_name` varchar(150) DEFAULT NULL,
  `amount` decimal(15,2) DEFAULT NULL,
  `proof_path` varchar(255) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'pending',
  `reviewed_by` bigint(20) unsigned DEFAULT NULL,
  `reviewed_at` timestamp NULL DEFAULT NULL,
  `review_note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `payment_submissions_payment_link_id_foreign` (`payment_link_id`),
  KEY `payment_submissions_reviewed_by_foreign` (`reviewed_by`),
  CONSTRAINT `payment_submissions_payment_link_id_foreign` FOREIGN KEY (`payment_link_id`) REFERENCES `payment_links` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payment_submissions_reviewed_by_foreign` FOREIGN KEY (`reviewed_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `payment_submissions`
--

LOCK TABLES `payment_submissions` WRITE;
/*!40000 ALTER TABLE `payment_submissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `payment_submissions` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `transaction_id` varchar(255) DEFAULT NULL,
  `payable_type` varchar(255) NOT NULL,
  `vendor_payment_id` bigint(20) unsigned DEFAULT NULL,
  `customer_payment_id` bigint(20) unsigned DEFAULT NULL,
  `payable_id` bigint(20) unsigned NOT NULL,
  `payment_date` date NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `payment_method` varchar(255) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `status` enum('pending','approved','rejected') NOT NULL DEFAULT 'approved',
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `paid_by_employee_id` bigint(20) unsigned DEFAULT NULL,
  `paid_by_customer_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `payments_transaction_id_unique` (`transaction_id`),
  KEY `payments_payable_type_payable_id_index` (`payable_type`,`payable_id`),
  KEY `payments_payment_date_index` (`payment_date`),
  KEY `payments_vendor_payment_id_foreign` (`vendor_payment_id`),
  KEY `payments_paid_by_employee_id_foreign` (`paid_by_employee_id`),
  KEY `payments_paid_by_customer_id_foreign` (`paid_by_customer_id`),
  KEY `payments_created_by_foreign` (`created_by`),
  KEY `payments_approved_by_foreign` (`approved_by`),
  KEY `payments_customer_payment_id_foreign` (`customer_payment_id`),
  KEY `payments_branch_id_index` (`branch_id`),
  KEY `payments_wallet_id_index` (`wallet_id`),
  CONSTRAINT `payments_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `payments_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `payments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `payments_customer_payment_id_foreign` FOREIGN KEY (`customer_payment_id`) REFERENCES `customer_payments` (`id`) ON DELETE CASCADE,
  CONSTRAINT `payments_paid_by_customer_id_foreign` FOREIGN KEY (`paid_by_customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `payments_paid_by_employee_id_foreign` FOREIGN KEY (`paid_by_employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `payments_vendor_payment_id_foreign` FOREIGN KEY (`vendor_payment_id`) REFERENCES `vendor_payments` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `payments` WRITE;
/*!40000 ALTER TABLE `payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `payments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `performance_reviews`
--

DROP TABLE IF EXISTS `performance_reviews`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `performance_reviews` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned NOT NULL,
  `reviewer_id` bigint(20) unsigned DEFAULT NULL,
  `period_start` date NOT NULL,
  `period_end` date NOT NULL,
  `criteria_scores` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`criteria_scores`)),
  `overall_rating` decimal(3,2) DEFAULT NULL,
  `strengths` text DEFAULT NULL,
  `improvements` text DEFAULT NULL,
  `goals_next_period` text DEFAULT NULL,
  `status` enum('draft','submitted','acknowledged') NOT NULL DEFAULT 'draft',
  `acknowledged_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `performance_reviews_employee_id_foreign` (`employee_id`),
  KEY `performance_reviews_reviewer_id_foreign` (`reviewer_id`),
  CONSTRAINT `performance_reviews_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `performance_reviews_reviewer_id_foreign` FOREIGN KEY (`reviewer_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `performance_reviews`
--

LOCK TABLES `performance_reviews` WRITE;
/*!40000 ALTER TABLE `performance_reviews` DISABLE KEYS */;
/*!40000 ALTER TABLE `performance_reviews` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `permission_role`
--

DROP TABLE IF EXISTS `permission_role`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `permission_role` (
  `permission_id` bigint(20) unsigned NOT NULL,
  `role_id` bigint(20) unsigned NOT NULL,
  `data_scope` varchar(255) NOT NULL DEFAULT 'all',
  PRIMARY KEY (`permission_id`,`role_id`),
  KEY `permission_role_role_id_foreign` (`role_id`),
  KEY `permission_role_data_scope_index` (`data_scope`),
  CONSTRAINT `permission_role_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `permission_role_role_id_foreign` FOREIGN KEY (`role_id`) REFERENCES `roles` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `permission_role`
--

LOCK TABLES `permission_role` WRITE;
/*!40000 ALTER TABLE `permission_role` DISABLE KEYS */;
INSERT INTO `permission_role` VALUES
(1,6,'all'),
(1,7,'all'),
(2,1,'all'),
(2,2,'all'),
(2,3,'all'),
(2,4,'all'),
(2,5,'all'),
(2,6,'all'),
(2,7,'all'),
(2,8,'all'),
(2,9,'all'),
(2,10,'all'),
(2,11,'all'),
(2,12,'all'),
(3,1,'all'),
(3,2,'all'),
(3,3,'all'),
(3,4,'all'),
(3,5,'all'),
(4,1,'all'),
(4,2,'all'),
(4,3,'all'),
(4,6,'all'),
(4,8,'all'),
(4,9,'all'),
(4,10,'all'),
(4,11,'all'),
(4,12,'all'),
(5,1,'all'),
(5,2,'all'),
(6,1,'all'),
(6,2,'all'),
(7,1,'all'),
(7,2,'all'),
(8,1,'all'),
(10,1,'all'),
(10,5,'all'),
(11,1,'all'),
(12,1,'all'),
(13,1,'all'),
(14,1,'all'),
(15,1,'all'),
(16,1,'all'),
(16,2,'all'),
(16,3,'all'),
(16,4,'all'),
(16,5,'all'),
(17,1,'all'),
(17,2,'all'),
(17,4,'all'),
(18,1,'all'),
(19,1,'all'),
(20,1,'all'),
(21,1,'all'),
(22,1,'all'),
(22,2,'all'),
(23,1,'all'),
(24,1,'all'),
(25,1,'all'),
(26,1,'all'),
(26,2,'all'),
(27,1,'all'),
(27,2,'all'),
(28,1,'all'),
(29,1,'all'),
(29,2,'all'),
(30,1,'all'),
(30,5,'all'),
(31,1,'all'),
(32,1,'all'),
(32,2,'all'),
(32,3,'all'),
(33,1,'all'),
(34,1,'all'),
(35,1,'all'),
(36,1,'all'),
(36,3,'all'),
(37,1,'all'),
(38,3,'all'),
(40,2,'all'),
(40,3,'all'),
(40,4,'all'),
(41,3,'all'),
(42,2,'all'),
(42,3,'all'),
(43,3,'all'),
(44,3,'all'),
(45,2,'all'),
(45,3,'all'),
(45,8,'all'),
(46,3,'all'),
(46,8,'all'),
(47,8,'all'),
(48,8,'all'),
(49,8,'all'),
(50,3,'all'),
(50,8,'all'),
(51,3,'all'),
(51,8,'all'),
(52,2,'all'),
(52,3,'all'),
(52,4,'all'),
(53,2,'all'),
(53,4,'all'),
(54,2,'all'),
(56,2,'all'),
(56,4,'all'),
(56,5,'all'),
(58,3,'all'),
(58,4,'all'),
(59,3,'all'),
(59,4,'all'),
(60,2,'all'),
(60,3,'all'),
(62,2,'all'),
(62,3,'all'),
(63,2,'all'),
(64,3,'all'),
(65,3,'all'),
(66,3,'all'),
(67,2,'all'),
(67,3,'all'),
(67,4,'all'),
(67,6,'all'),
(68,2,'all'),
(69,2,'all'),
(70,2,'all'),
(71,1,'all'),
(71,2,'all'),
(71,3,'all'),
(71,4,'all'),
(71,6,'all'),
(73,2,'all'),
(74,2,'all'),
(75,2,'all'),
(75,4,'all'),
(75,6,'all'),
(75,7,'all'),
(76,2,'all'),
(76,6,'all'),
(77,2,'all'),
(77,4,'all'),
(78,3,'all'),
(78,4,'all'),
(79,4,'all'),
(81,3,'all'),
(83,4,'all'),
(85,4,'all'),
(87,4,'all'),
(88,4,'all'),
(91,12,'all'),
(92,12,'all'),
(93,2,'all'),
(97,2,'all'),
(99,2,'all'),
(99,4,'all'),
(108,2,'all'),
(108,4,'all'),
(110,2,'all'),
(110,4,'all'),
(110,6,'all'),
(110,7,'all'),
(117,4,'all'),
(118,4,'all'),
(119,2,'all'),
(119,3,'all'),
(119,4,'all'),
(119,11,'all'),
(120,2,'all'),
(120,4,'all'),
(120,11,'all'),
(121,2,'all'),
(121,9,'all'),
(121,10,'all'),
(122,2,'all'),
(122,9,'all'),
(122,10,'all'),
(123,10,'all'),
(124,9,'all'),
(124,10,'all'),
(125,10,'all'),
(126,9,'all'),
(126,10,'all'),
(127,11,'all'),
(128,11,'all'),
(129,11,'all'),
(130,11,'all'),
(131,11,'all'),
(132,11,'all'),
(133,11,'all'),
(134,11,'all'),
(135,11,'all'),
(136,11,'all'),
(137,11,'all'),
(138,11,'all'),
(140,1,'all'),
(140,2,'all'),
(140,3,'all'),
(140,4,'all'),
(140,5,'all'),
(140,6,'all'),
(140,7,'all'),
(140,8,'all'),
(140,9,'all'),
(140,10,'all'),
(140,11,'all'),
(140,12,'all'),
(141,1,'all'),
(141,2,'all'),
(141,3,'all'),
(141,4,'all'),
(141,5,'all'),
(141,8,'all'),
(141,9,'all'),
(141,10,'all'),
(141,11,'all'),
(141,12,'all'),
(144,1,'all'),
(149,1,'all'),
(150,1,'all'),
(151,1,'all'),
(155,1,'all'),
(156,1,'all'),
(157,1,'all'),
(158,1,'all'),
(158,2,'all'),
(158,4,'all'),
(159,1,'all'),
(159,2,'all'),
(159,4,'all'),
(160,1,'all'),
(160,2,'all'),
(160,4,'all'),
(161,1,'all'),
(162,1,'all'),
(163,1,'all'),
(164,1,'all'),
(165,1,'all'),
(166,1,'all'),
(167,1,'all'),
(168,1,'all'),
(169,1,'all'),
(176,3,'all'),
(177,3,'all'),
(178,3,'all'),
(179,3,'all'),
(180,3,'all'),
(181,3,'all'),
(182,3,'all'),
(183,3,'all'),
(184,3,'all'),
(185,8,'all'),
(186,8,'all'),
(187,8,'all'),
(188,2,'all'),
(188,4,'all'),
(189,2,'all'),
(189,4,'all'),
(190,2,'all'),
(190,4,'all'),
(203,2,'all'),
(204,2,'all'),
(205,2,'all'),
(212,2,'all'),
(213,2,'all'),
(214,2,'all'),
(218,2,'all'),
(219,2,'all'),
(220,2,'all'),
(221,2,'all'),
(222,2,'all'),
(223,2,'all'),
(224,4,'all'),
(225,4,'all'),
(226,4,'all'),
(239,12,'all'),
(240,12,'all'),
(254,6,'all'),
(255,6,'all'),
(266,4,'all'),
(267,4,'all'),
(268,4,'all'),
(269,2,'all'),
(269,4,'all'),
(269,11,'all'),
(270,2,'all'),
(270,4,'all'),
(270,11,'all'),
(271,2,'all'),
(271,4,'all'),
(272,2,'all'),
(272,4,'all'),
(272,12,'all'),
(273,12,'all'),
(274,12,'all'),
(275,12,'all'),
(276,12,'all'),
(277,2,'all'),
(277,4,'all'),
(277,12,'all'),
(278,4,'all'),
(278,12,'all'),
(279,4,'all'),
(279,12,'all'),
(280,4,'all'),
(280,12,'all'),
(281,2,'all'),
(281,4,'all'),
(281,12,'all');
/*!40000 ALTER TABLE `permission_role` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `permission_user`
--

DROP TABLE IF EXISTS `permission_user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `permission_user` (
  `permission_id` bigint(20) unsigned NOT NULL,
  `user_id` bigint(20) unsigned NOT NULL,
  `data_scope` varchar(255) NOT NULL DEFAULT 'all',
  PRIMARY KEY (`permission_id`,`user_id`),
  KEY `permission_user_user_id_foreign` (`user_id`),
  KEY `permission_user_data_scope_index` (`data_scope`),
  CONSTRAINT `permission_user_permission_id_foreign` FOREIGN KEY (`permission_id`) REFERENCES `permissions` (`id`) ON DELETE CASCADE,
  CONSTRAINT `permission_user_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `permission_user`
--

LOCK TABLES `permission_user` WRITE;
/*!40000 ALTER TABLE `permission_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `permission_user` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `permissions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `permissions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `key` varchar(255) NOT NULL,
  `display_name` varchar(255) NOT NULL,
  `group` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `permissions_key_unique` (`key`),
  KEY `permissions_group_index` (`group`)
) ENGINE=InnoDB AUTO_INCREMENT=284 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `permissions` WRITE;
/*!40000 ALTER TABLE `permissions` DISABLE KEYS */;
INSERT INTO `permissions` VALUES
(1,'pharmacy.manage','Manage Pharmacy','Pharmacy','Punch sales, purchase medicines, manage batches, transfers and disposals','2026-10-27 17:44:58','2026-10-27 18:05:08'),
(2,'dashboard.view','Dashboard','General','View the main dashboard','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(3,'calendar.view','Calendar','General','View the event calendar','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(4,'reports.view','Reports','General','View reports and analytics','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(5,'employees.view','Employees','Workforce','View employee directory','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(6,'employees.create','Create Employees','Workforce','Add new employees','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(7,'employees.edit','Edit Employees','Workforce','Update employee records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(8,'employees.delete','Delete Employees','Workforce','Remove employees','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(9,'employees.manage','Manage Employees','Workforce','Create, edit and deactivate employees (legacy umbrella)','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(10,'attendance.view','Attendance','Workforce','View attendance records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(11,'attendance.manage','Manage Attendance','Workforce','Edit attendance entries','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(12,'leaves.view','Leaves','Workforce','View leave requests','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(13,'leaves.approve','Approve Leaves','Workforce','Approve or reject leave requests','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(14,'shifts.view','Shifts','Workforce','View shift schedules','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(15,'shifts.manage','Manage Shifts','Workforce','Create assignments and schedules','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(16,'appointments.view','Appointments','Workforce','View appointments, bookable hosts, free slots and availability','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(17,'appointments.manage','Manage Appointments','Workforce','Book, reschedule and cancel appointments for others','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(18,'recruitment.view','Recruitment','Workforce','View job postings and applicants','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(19,'recruitment.manage','Manage Recruitment','Workforce','Manage job postings, applicants and hiring','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(20,'departments.view','Departments','Workforce','View departments and designations','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(21,'departments.manage','Manage Departments','Workforce','Create and edit departments/designations','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(22,'performance.view','Performance','Performance','View performance reviews','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(23,'performance.create','Create Reviews','Performance','Create performance reviews','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(24,'performance.edit','Edit Reviews','Performance','Edit performance reviews','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(25,'performance.delete','Delete Reviews','Performance','Delete performance reviews','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(26,'promotions.view','Promotions','Performance','View promotion records and approvals','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(27,'promotions.create','Request Promotions','Performance','Request promotions/demotions/transfers','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(28,'promotions.approve','Approve Promotions','Performance','Approve or reject promotions','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(29,'complaints.view','Complaints','Performance','View employee complaint reports','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(30,'complaints.create','File Complaints','Performance','File complaint reports','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(31,'complaints.manage','Handle Complaints','Performance','Investigate, resolve and dismiss complaints','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(32,'employee-timeline.view','Employee Timeline','Performance','View employees\' work-journey timelines','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(33,'payroll.view','Payroll','Payroll','View salary generation and history','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(34,'payroll.manage','Generate Payroll','Payroll','Generate salaries and print payslips','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(35,'payroll.approve','Approve Payroll','Payroll','Approve, revert, adjust and mark salaries as paid','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(36,'advances.view','Advances','Payroll','View employee advances','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(37,'advances.approve','Approve Advances','Payroll','Approve advance requests','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(38,'loans.view','Loans','Payroll','View employee loans','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(39,'loans.approve','Approve Loans','Payroll','Approve loans and installments','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(40,'incomes.view','Incomes','Earnings','View income records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(41,'incomes.manage','Manage Incomes','Earnings','Create and edit incomes (legacy umbrella)','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(42,'expenses.view','Expenses','Earnings','View expense records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(43,'expenses.manage','Manage Expenses','Earnings','Create and edit expenses (legacy umbrella)','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(44,'earnings.approve','Approve Earnings','Earnings','Approve/reject expenses and payments','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(45,'wallets.view','Wallets','Earnings','View wallets and balances','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(46,'wallets.manage','Manage Wallets','Earnings','Create wallets and manual top-ups','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(47,'funds.view','Company Fund','Earnings','View company fund wallets, payments and reports','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(48,'funds.manage','Manage Company Fund','Earnings','Record fund payments and request withdrawals','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(49,'funds.approve','Approve Fund Withdrawals','Earnings','Approve or reject company fund withdrawal requests','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(50,'payments.view','All Payments','Earnings','View the master payments page','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(51,'investments.view','Investments','Earnings','View investor records and reports','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(52,'customers.view','Customers','Customers','View customer records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(53,'customers.manage','Manage Customers','Customers','Create and edit customers (legacy umbrella)','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(54,'projects.view','Projects','Customers','View customer projects','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(55,'projects.manage','Manage Projects','Customers','Create and edit projects','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(56,'tasks.view','Tasks','Customers','View customer tasks','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(57,'tasks.manage','Manage Tasks','Customers','Create and edit customer tasks','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(58,'customer-payments.view','Customer Payments','Customers','View customer payments and dues','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(59,'customer-payments.collect','Collect Customer Payments','Customers','Record and delete customer payments','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(60,'vendors.view','Vendors','Purchase','View vendors and balances','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(61,'vendors.manage','Manage Vendors','Purchase','Create and edit vendors (legacy umbrella)','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(62,'purchase-orders.view','Purchase Orders','Purchase','View purchase orders','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(63,'purchase-orders.manage','Manage Purchase Orders','Purchase','Create and receive purchase orders','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(64,'purchase-returns.view','Purchase Returns','Purchase','View purchase returns','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(65,'vendor-payments.view','Vendor Payments','Purchase','View vendor payments','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(66,'vendor-payments.approve','Approve Vendor Payments','Purchase','Approve/reject vendor payments','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(67,'inventory.view','Inventory','Inventory','View products and stock','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(68,'inventory.manage','Manage Inventory','Inventory','Create products, stock in/out (legacy umbrella)','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(69,'inventory.approve','Approve Stock Movements','Inventory','Approve adjustments and transfers','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(70,'labels.print','Print Labels','Inventory','Barcode and label printing','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(71,'branches.view','Branches','Branches','View branch list and branch reports','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(72,'branches.manage','Manage Branches','Branches','Create, edit and delete branches','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(73,'branch-transfers.view','Branch Transfers','Branches','View branch transfer requests','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(74,'branch-transfers.manage','Manage Branch Transfers','Branches','Create and approve branch transfer requests','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(75,'delivery.view','Deliveries','Branches','View delivery men and assignments','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(76,'delivery.manage','Manage Deliveries','Branches','Create deliveries and update delivery status','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(77,'product-tracks.view','Product Labels','Branches','View the product lifecycle timeline labels','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(78,'sales.view','Sales & Invoicing','Sales','View sales orders, invoices and notes','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(79,'sales.manage','Manage Sales','Sales','Create and edit sales orders and invoices','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(80,'sales.approve','Approve Sales Actions','Sales','Issue credit/debit notes and cancel invoices','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(81,'distribution.view','Distribution','Sales','View distributors and their orders','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(82,'distribution.manage','Manage Distribution','Sales','Manage distributors, orders and stock allocation','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(83,'courier.view','Courier & Dispatch','Sales','View courier partners, shipments and dispatches','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(84,'courier.manage','Manage Courier & Dispatch','Sales','Manage shipments, dispatches and challans','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(85,'warranty.view','Warranty','Sales','View warranties and claims','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(86,'warranty.manage','Manage Warranty','Sales','Receive, process and resolve warranty claims','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(87,'pos.view','POS','Sales','Open the POS terminal and view sales, registers and reports','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(88,'pos.manage','Operate POS','Sales','Bill carts, open/close registers, process returns, manage loyalty, coupons and gift cards','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(89,'assets.view','Company Assets','Assets','View the asset register, requests, allocations, maintenance and lifecycle','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(90,'assets.manage','Manage Company Assets','Assets','Create and edit assets, requests, allocations and maintenance','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(91,'marketing.view','Marketing','Marketing','View marketing campaigns and their performance','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(92,'marketing.manage','Manage Marketing','Marketing','Create and edit marketing campaigns','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(93,'construction.view','Construction','Construction','View construction projects, costing, billing, subcontractors and sites','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(94,'construction.manage','Manage Construction','Construction','Create and edit projects, phases, costs, billing, subcontractors and equipment','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(95,'contractors.view','Contractor Services','Contractor Services','View contractors and contacts, service contracts, tasks, billings, dues and reports','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(96,'contractors.manage','Manage Contractor Services','Contractor Services','Set up contractors and contacts, run contracts and tasks, issue billings and collect payments','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(97,'property.view','Property Sales','Property','View property inventory, leads, deals, payment plans and handover','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(98,'property.manage','Manage Property Sales','Property','Create and edit properties, leads, offers, reservations, payment plans and commissions','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(99,'parking.view','Parking','Parking','View parking sites, slots, tickets, passes, subscriptions and reports','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(100,'parking.manage','Manage Parking','Parking','Run check-in/out, collect fees, issue passes and manage rent agreements','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(101,'calculators.view','Calculators','Calculators','View calculators, runs, saved records and analytics','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(102,'calculators.create','Create Calculators','Calculators','Create calculators and generate them with AI','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(103,'calculators.edit','Edit Calculators','Calculators','Edit calculators, fields, formulas and rules','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(104,'calculators.delete','Delete Calculators','Calculators','Delete calculators and saved records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(105,'calculators.manage','Manage Calculators','Calculators','Publish, archive, embed and manage the calculator module (legacy umbrella)','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(106,'calculators.ai','Calculator AI Generation','Calculators','Generate calculator structures with AI','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(107,'calculators.export','Export Calculations','Calculators','Export calculation records to PDF/Excel','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(108,'fleet.view','Car Rental & Fleet','Fleet','View the fleet dashboard, bookings, trips, invoices and reports','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(109,'fleet.manage','Manage Car Rental & Fleet','Fleet','Manage vehicles, drivers, bookings, trips, billing and payouts','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(110,'pharmacy.view','Pharmacy','Pharmacy','View the medicine shop: stock, sales, prescriptions and reports','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(111,'property-loans.view','Property Loans','Property Loans','View loan origination, collateral, repayments and reports','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(112,'property-loans.manage','Manage Property Loans','Property Loans','Create loans, record repayments and manage collateral','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(113,'rent.view','Rent Collection','Rent Collection','View buildings, tenants, leases and collection status','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(114,'rent.manage','Manage Rent Collection','Rent Collection','Manage buildings, tenants, leases and rent collections','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(115,'farm.view','Agriculture & Farming','Farming','View poultry, hatchery, fish, livestock and crop operations','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(116,'farm.manage','Manage Agriculture & Farming','Farming','Record and manage farm operations, costing and reports','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(117,'manufacturing.view','Manufacturing','Manufacturing','View BOMs, work orders, garments flow, QC, costing and reports','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(118,'manufacturing.manage','Manage Manufacturing','Manufacturing','Create BOMs and work orders, record production, consumption, QC, costs, requisitions and workforce','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(119,'crm.view','CRM','CRM','View leads, pipeline, follow-ups, agents, companies and CRM reports','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(120,'crm.manage','Manage CRM','CRM','Create and edit leads, move pipeline stages, convert leads, log activities and manage agents/companies','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(121,'support.view','Support','Support','View support tickets, conversations, live chat queues and helpdesk reports','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(122,'support.manage','Manage Support Tickets','Support','Create, edit, assign, merge, split, link and close support tickets','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(123,'support.approve','Resolve & Approve Support Tickets','Support','Move tickets to resolved/closed, approve cancellations and manage escalations','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(124,'support.chat','Support Live Chat','Support','Answer live chats, transfer conversations and manage agent availability','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(125,'support.settings','Support Settings','Support','Manage departments, teams, agents, categories, SLA, business hours and automation rules','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(126,'support.knowledge','Manage Knowledge Base','Support','Create and publish help articles, FAQ entries and reply templates','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(127,'social.view','Social Media','Social Media','View social accounts, dashboard, calendar, inbox, campaigns, leads and analytics','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(128,'social.manage','Manage Social Content','Social Media','Create, edit, schedule and publish social posts and campaigns','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(129,'social.accounts','Manage Social Accounts','Social Media','Connect, reconnect, pause and disconnect social accounts and manage tokens','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(130,'social.inbox','Social Inbox','Social Media','Reply to messages and comments, assign conversations and moderate','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(131,'social.inbox.assign','Assign Social Conversations','Social Media','Assign inbox conversations and leads to teammates','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(132,'social.approve','Approve Social Content','Social Media','Approve or reject posts and campaigns submitted for review','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(133,'social.publish','Publish Social Posts','Social Media','Trigger immediate publishing, retries and bulk actions on queued posts','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(134,'social.library','Social Media Library','Social Media','Upload and organize media, hashtag sets, post and reply templates','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(135,'social.automations','Social Automations','Social Media','Create and manage auto-reply and lead capture automation rules','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(136,'social.leads','Social Leads','Social Media','Manage social leads, convert them to CRM leads and customers','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(137,'social.analytics','Social Analytics','Social Media','View analytics, reports and exports for social performance','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(138,'social.monitoring','Social Monitoring','Social Media','Track brand mentions, keywords, hashtags and competitors','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(139,'social.settings','Social Settings','Social Media','Configure AI provider, publishing driver, automations and security','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(140,'chat.use','Team Chat','Communication','Use department group chat','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(141,'reminders.view','Reminders','Communication','View and manage reminders','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(142,'emails.view','Mail Accounts','Communication','View mail accounts and inbox','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(143,'users.manage','Manage Users','Administration','Create users, assign roles and permissions','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(144,'roles.manage','Roles & Permissions','Administration','Manage roles and permission grants','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(145,'settings.manage','Settings','Administration','Change system settings and integrations','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(146,'logs.view','System Logs','Administration','View Laravel/system logs','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(147,'activity.view','Activity Log','Administration','View the activity log book','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(148,'lockers.use','Locker','Administration','Use the secure locker','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(149,'attendance.create','Create Attendance','Workforce','Add new Attendance records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(150,'attendance.edit','Edit Attendance','Workforce','Update Attendance records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(151,'attendance.delete','Delete Attendance','Workforce','Remove Attendance records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(152,'leaves.create','Create Leaves','Workforce','Add new Leaves records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(153,'leaves.edit','Edit Leaves','Workforce','Update Leaves records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(154,'leaves.delete','Delete Leaves','Workforce','Remove Leaves records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(155,'shifts.create','Create Shifts','Workforce','Add new Shifts records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(156,'shifts.edit','Edit Shifts','Workforce','Update Shifts records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(157,'shifts.delete','Delete Shifts','Workforce','Remove Shifts records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(158,'appointments.create','Create Appointments','Workforce','Add new Appointments records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(159,'appointments.edit','Edit Appointments','Workforce','Update Appointments records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(160,'appointments.delete','Delete Appointments','Workforce','Remove Appointments records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(161,'recruitment.create','Create Recruitment','Workforce','Add new Recruitment records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(162,'recruitment.edit','Edit Recruitment','Workforce','Update Recruitment records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(163,'recruitment.delete','Delete Recruitment','Workforce','Remove Recruitment records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(164,'departments.create','Create Departments','Workforce','Add new Departments records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(165,'departments.edit','Edit Departments','Workforce','Update Departments records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(166,'departments.delete','Delete Departments','Workforce','Remove Departments records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(167,'payroll.create','Create Payroll','Payroll','Add new Payroll records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(168,'payroll.edit','Edit Payroll','Payroll','Update Payroll records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(169,'payroll.delete','Delete Payroll','Payroll','Remove Payroll records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(170,'advances.create','Create Advances','Payroll','Add new Advances records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(171,'advances.edit','Edit Advances','Payroll','Update Advances records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(172,'advances.delete','Delete Advances','Payroll','Remove Advances records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(173,'loans.create','Create Loans','Payroll','Add new Loans records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(174,'loans.edit','Edit Loans','Payroll','Update Loans records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(175,'loans.delete','Delete Loans','Payroll','Remove Loans records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(176,'incomes.create','Create Incomes','Earnings','Add new Incomes records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(177,'incomes.edit','Edit Incomes','Earnings','Update Incomes records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(178,'incomes.delete','Delete Incomes','Earnings','Remove Incomes records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(179,'expenses.create','Create Expenses','Earnings','Add new Expenses records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(180,'expenses.edit','Edit Expenses','Earnings','Update Expenses records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(181,'expenses.delete','Delete Expenses','Earnings','Remove Expenses records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(182,'wallets.create','Create Wallets','Earnings','Add new Wallets records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(183,'wallets.edit','Edit Wallets','Earnings','Update Wallets records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(184,'wallets.delete','Delete Wallets','Earnings','Remove Wallets records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(185,'investments.create','Create Investments','Earnings','Add new Investments records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(186,'investments.edit','Edit Investments','Earnings','Update Investments records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(187,'investments.delete','Delete Investments','Earnings','Remove Investments records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(188,'customers.create','Create Customers','Customers','Add new Customers records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(189,'customers.edit','Edit Customers','Customers','Update Customers records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(190,'customers.delete','Delete Customers','Customers','Remove Customers records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(191,'projects.create','Create Projects','Customers','Add new Projects records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(192,'projects.edit','Edit Projects','Customers','Update Projects records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(193,'projects.delete','Delete Projects','Customers','Remove Projects records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(194,'tasks.create','Create Tasks','Customers','Add new Tasks records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(195,'tasks.edit','Edit Tasks','Customers','Update Tasks records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(196,'tasks.delete','Delete Tasks','Customers','Remove Tasks records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(197,'customer-payments.create','Create Customer Payment','Customers','Add new Customer Payment records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(198,'customer-payments.edit','Edit Customer Payment','Customers','Update Customer Payment records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(199,'customer-payments.delete','Delete Customer Payment','Customers','Remove Customer Payment records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(200,'vendors.create','Create Vendors','Purchase','Add new Vendors records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(201,'vendors.edit','Edit Vendors','Purchase','Update Vendors records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(202,'vendors.delete','Delete Vendors','Purchase','Remove Vendors records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(203,'purchase-orders.create','Create Purchase Order','Purchase','Add new Purchase Order records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(204,'purchase-orders.edit','Edit Purchase Order','Purchase','Update Purchase Order records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(205,'purchase-orders.delete','Delete Purchase Order','Purchase','Remove Purchase Order records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(206,'purchase-returns.create','Create Purchase Return','Purchase','Add new Purchase Return records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(207,'purchase-returns.edit','Edit Purchase Return','Purchase','Update Purchase Return records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(208,'purchase-returns.delete','Delete Purchase Return','Purchase','Remove Purchase Return records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(209,'vendor-payments.create','Create Vendor Payment','Purchase','Add new Vendor Payment records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(210,'vendor-payments.edit','Edit Vendor Payment','Purchase','Update Vendor Payment records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(211,'vendor-payments.delete','Delete Vendor Payment','Purchase','Remove Vendor Payment records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(212,'inventory.create','Create Inventory','Inventory','Add new Inventory records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(213,'inventory.edit','Edit Inventory','Inventory','Update Inventory records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(214,'inventory.delete','Delete Inventory','Inventory','Remove Inventory records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(215,'branches.create','Create Branches','Branches','Add new Branches records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(216,'branches.edit','Edit Branches','Branches','Update Branches records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(217,'branches.delete','Delete Branches','Branches','Remove Branches records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(218,'branch-transfers.create','Create Branch Transfer','Branches','Add new Branch Transfer records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(219,'branch-transfers.edit','Edit Branch Transfer','Branches','Update Branch Transfer records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(220,'branch-transfers.delete','Delete Branch Transfer','Branches','Remove Branch Transfer records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(221,'delivery.create','Create Delivery','Branches','Add new Delivery records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(222,'delivery.edit','Edit Delivery','Branches','Update Delivery records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(223,'delivery.delete','Delete Delivery','Branches','Remove Delivery records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(224,'sales.create','Create Sales','Sales','Add new Sales records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(225,'sales.edit','Edit Sales','Sales','Update Sales records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(226,'sales.delete','Delete Sales','Sales','Remove Sales records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(227,'distribution.create','Create Distribution','Sales','Add new Distribution records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(228,'distribution.edit','Edit Distribution','Sales','Update Distribution records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(229,'distribution.delete','Delete Distribution','Sales','Remove Distribution records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(230,'courier.create','Create Courier','Sales','Add new Courier records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(231,'courier.edit','Edit Courier','Sales','Update Courier records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(232,'courier.delete','Delete Courier','Sales','Remove Courier records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(233,'warranty.create','Create Warranty','Sales','Add new Warranty records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(234,'warranty.edit','Edit Warranty','Sales','Update Warranty records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(235,'warranty.delete','Delete Warranty','Sales','Remove Warranty records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(236,'assets.create','Create Assets','Assets','Add new Assets records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(237,'assets.edit','Edit Assets','Assets','Update Assets records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(238,'assets.delete','Delete Assets','Assets','Remove Assets records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(239,'marketing.create','Create Marketing','Marketing','Add new Marketing records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(240,'marketing.edit','Edit Marketing','Marketing','Update Marketing records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(241,'marketing.delete','Delete Marketing','Marketing','Remove Marketing records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(242,'construction.create','Create Construction','Construction','Add new Construction records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(243,'construction.edit','Edit Construction','Construction','Update Construction records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(244,'construction.delete','Delete Construction','Construction','Remove Construction records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(245,'property.create','Create Property','Property','Add new Property records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(246,'property.edit','Edit Property','Property','Update Property records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(247,'property.delete','Delete Property','Property','Remove Property records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(248,'parking.create','Create Parking','Parking','Add new Parking records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(249,'parking.edit','Edit Parking','Parking','Update Parking records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(250,'parking.delete','Delete Parking','Parking','Remove Parking records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(251,'fleet.create','Create Fleet','Fleet','Add new Fleet records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(252,'fleet.edit','Edit Fleet','Fleet','Update Fleet records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(253,'fleet.delete','Delete Fleet','Fleet','Remove Fleet records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(254,'pharmacy.create','Create Pharmacy','Pharmacy','Add new Pharmacy records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(255,'pharmacy.edit','Edit Pharmacy','Pharmacy','Update Pharmacy records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(256,'pharmacy.delete','Delete Pharmacy','Pharmacy','Remove Pharmacy records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(257,'property-loans.create','Create Property Loan','Property Loans','Add new Property Loan records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(258,'property-loans.edit','Edit Property Loan','Property Loans','Update Property Loan records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(259,'property-loans.delete','Delete Property Loan','Property Loans','Remove Property Loan records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(260,'rent.create','Create Rent','Rent Collection','Add new Rent records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(261,'rent.edit','Edit Rent','Rent Collection','Update Rent records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(262,'rent.delete','Delete Rent','Rent Collection','Remove Rent records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(263,'farm.create','Create Farm','Farming','Add new Farm records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(264,'farm.edit','Edit Farm','Farming','Update Farm records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(265,'farm.delete','Delete Farm','Farming','Remove Farm records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(266,'manufacturing.create','Create Manufacturing','Manufacturing','Add new Manufacturing records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(267,'manufacturing.edit','Edit Manufacturing','Manufacturing','Update Manufacturing records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(268,'manufacturing.delete','Delete Manufacturing','Manufacturing','Remove Manufacturing records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(269,'crm.create','Create Crm','CRM','Add new Crm records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(270,'crm.edit','Edit Crm','CRM','Update Crm records','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(271,'crm.delete','Delete Crm','CRM','Remove Crm records to trash','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(272,'seo.view','View SEO','SEO','Open the SEO & Competitor Intelligence dashboard and projects','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(273,'seo.create','Create SEO Projects','SEO','Add websites and SEO projects','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(274,'seo.edit','Edit SEO Projects','SEO','Update website and SEO project settings','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(275,'seo.delete','Delete SEO Projects','SEO','Remove SEO projects','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(276,'seo.sync','Run SEO Sync','SEO','Trigger and schedule provider data synchronisation','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(277,'seo.analytics','View SEO Analytics','SEO','View GA4 and Search Console analytics','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(278,'seo.competitors','Manage Competitors','SEO','Add competitors and view estimated competitor data','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(279,'seo.keywords','Manage Keywords','SEO','Manage keywords, rankings and the keyword gap','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(280,'seo.content','Manage SEO Content','SEO','Content gaps, briefs and internal linking','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(281,'seo.reports','View SEO Reports','SEO','SEO reports and exports','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(282,'seo.settings','Manage SEO Settings','SEO','Google connections, SEO provider keys and scoring weights','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(283,'seo.api','Manage SEO API Usage','SEO','Provider API keys, usage limits and cost tracking','2026-10-27 18:05:08','2026-10-27 18:05:08');
/*!40000 ALTER TABLE `permissions` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `personal_access_tokens`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `personal_access_tokens` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `tokenable_type` varchar(255) NOT NULL,
  `tokenable_id` bigint(20) unsigned NOT NULL,
  `name` text NOT NULL,
  `token` varchar(64) NOT NULL,
  `abilities` text DEFAULT NULL,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `expires_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `personal_access_tokens_token_unique` (`token`),
  KEY `personal_access_tokens_tokenable_type_tokenable_id_index` (`tokenable_type`,`tokenable_id`),
  KEY `personal_access_tokens_expires_at_index` (`expires_at`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `personal_access_tokens`
--

LOCK TABLES `personal_access_tokens` WRITE;
/*!40000 ALTER TABLE `personal_access_tokens` DISABLE KEYS */;
INSERT INTO `personal_access_tokens` VALUES
(1,'App\\Models\\User',1,'auth_token','a396faed9aece7d02949ed15ef5f0332b36c604d4eb330055fc8aa610d61c185','[\"*\"]','2026-10-30 06:38:06',NULL,'2026-10-30 05:39:42','2026-10-30 06:38:06'),
(2,'App\\Models\\User',1,'auth_token','6c52adddedca262c58d974a12708829d834b9094e2f716de9a907382254a6f3f','[\"*\"]','2026-10-30 09:35:15',NULL,'2026-10-30 08:35:52','2026-10-30 09:35:15'),
(3,'App\\Models\\User',1,'auth_token','97d099c41f44f4146bde07c1716d0c130d5c229deaf8505f7412c222081a7eb8','[\"*\"]','2026-10-30 09:53:15',NULL,'2026-10-30 09:42:31','2026-10-30 09:53:15'),
(4,'App\\Models\\User',1,'auth_token','02b7db1a4d2ca74410384697fd861b18472c983868a302afa5411b5a4e02b49b','[\"*\"]','2026-10-30 13:10:33',NULL,'2026-10-30 12:10:37','2026-10-30 13:10:33'),
(5,'App\\Models\\User',1,'docs-smoke','de51f64deb35cb7967d1c5e4dac118f36aa6bf56774c4242c6008982b0373c20','[\"*\"]','2026-10-30 19:04:38',NULL,'2026-10-30 19:01:10','2026-10-30 19:04:38'),
(6,'App\\Models\\User',1,'auth_token','d866e5a0023f5bf158a58fc67383d2a51d285f798161b02ac246c0d3581b98be','[\"*\"]','2026-10-30 19:05:13',NULL,'2026-10-30 19:04:53','2026-10-30 19:05:13'),
(7,'App\\Models\\User',1,'auth_token','60e5556bc3e61c36f8905c69d4400e708e26f62880268987de14b43b7c39584f','[\"*\"]','2026-10-31 05:28:47',NULL,'2026-10-31 05:28:45','2026-10-31 05:28:47'),
(8,'App\\Models\\User',1,'auth_token','7db89b6c7ac68f067243f914eaf632cc2fd0048b2076a2a12f32b2872ac7ddec','[\"*\"]','2026-10-31 08:02:28',NULL,'2026-10-31 08:02:20','2026-10-31 08:02:28'),
(9,'App\\Models\\User',1,'auth_token','faed20f7d7dee763656fdafbb1c2ab459d10faa26d9fa75f9c6d5a025ea73971','[\"*\"]','2026-10-31 10:52:10',NULL,'2026-10-31 09:52:16','2026-10-31 10:52:10'),
(10,'App\\Models\\User',1,'auth_token','fcb570d7ebd0ff6b8f074244355544336d6dfebaf1781055f709eea077392ea8','[\"*\"]','2026-11-01 14:58:17',NULL,'2026-11-01 14:34:51','2026-11-01 14:58:17'),
(11,'App\\Models\\User',1,'auth_token','e3913a94212e2600bef2ee51ffc32e56461643404451a09ef4001b32004811db','[\"*\"]',NULL,NULL,'2026-11-01 14:52:23','2026-11-01 14:52:23');
/*!40000 ALTER TABLE `personal_access_tokens` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_batches`
--

DROP TABLE IF EXISTS `ph_batches`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_batches` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_medicine_id` bigint(20) unsigned NOT NULL,
  `batch_no` varchar(255) NOT NULL,
  `mfg_date` date DEFAULT NULL,
  `expiry_date` date NOT NULL,
  `purchase_cost` decimal(12,2) NOT NULL DEFAULT 0.00,
  `selling_price` decimal(12,2) NOT NULL DEFAULT 0.00,
  `quantity` int(10) unsigned NOT NULL DEFAULT 0,
  `initial_quantity` int(10) unsigned NOT NULL DEFAULT 0,
  `location` varchar(255) DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ph_batches_ph_medicine_id_batch_no_branch_id_unique` (`ph_medicine_id`,`batch_no`,`branch_id`),
  KEY `ph_batches_batch_no_index` (`batch_no`),
  KEY `ph_batches_expiry_date_index` (`expiry_date`),
  KEY `ph_batches_branch_id_index` (`branch_id`),
  CONSTRAINT `ph_batches_ph_medicine_id_foreign` FOREIGN KEY (`ph_medicine_id`) REFERENCES `ph_medicines` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=117 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_batches`
--

LOCK TABLES `ph_batches` WRITE;
/*!40000 ALTER TABLE `ph_batches` DISABLE KEYS */;
INSERT INTO `ph_batches` VALUES
(1,1,'B00001-1','2026-03-28','2028-03-28',1.09,1.45,0,0,'Rack A1',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(2,1,'B00001-2','2025-03-28','2027-03-28',1.09,1.45,60,60,'Rack A1',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(3,1,'B00001-3','2024-11-13','2026-11-13',1.09,1.45,19,19,'Rack A1',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(4,2,'B00002-1','2026-02-28','2028-02-28',1.08,1.58,368,368,'Rack B2',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(5,3,'B00003-1','2025-10-28','2027-10-28',2.50,3.38,880,880,'Rack C3',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(6,4,'B00004-1','2025-07-28','2027-07-28',81.60,119.00,556,556,'Rack D4',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(7,5,'B00005-1','2026-01-28','2028-01-28',3.47,4.76,888,888,'Rack E5',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(8,6,'B00006-1','2025-08-28','2027-08-28',8.73,11.43,192,192,'Rack F6',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(9,7,'B00007-1','2027-03-28','2029-03-28',4.12,5.75,1256,1256,'Rack G7',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(10,8,'B00008-1','2026-12-28','2028-12-28',4.90,6.55,208,208,'Rack H8',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(11,9,'B00009-1','2027-01-28','2029-01-28',4.50,6.17,680,680,'Rack A9',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(12,10,'B00010-1','2026-08-28','2028-08-28',5.39,7.26,248,248,'Rack B10',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(13,11,'B00011-1','2026-10-28','2028-10-28',6.31,8.26,864,864,'Rack C11',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(14,12,'B00012-1','2025-12-28','2027-12-28',5.88,8.34,528,528,'Rack D12',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(15,12,'B00012-2','2025-10-28','2027-10-28',5.88,8.34,50,50,'Rack D12',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(16,13,'B00013-1','2026-08-28','2028-08-28',4.80,6.10,480,480,'Rack E13',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(17,14,'B00014-1','2026-08-28','2028-08-28',128.70,166.40,424,424,'Rack F14',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(18,15,'B00015-1','2025-07-28','2027-07-28',4.80,6.90,952,952,'Rack G15',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(19,16,'B00016-1','2025-06-28','2027-06-28',13.58,19.46,192,192,'Rack H16',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(20,17,'B00017-1','2025-11-28','2027-11-28',5.20,6.66,440,440,'Rack A17',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(21,18,'B00018-1','2026-12-28','2028-12-28',45.00,62.55,600,600,'Rack B18',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(22,18,'B00018-3','2025-01-01','2027-01-01',45.00,62.55,20,20,'Rack B18',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(23,19,'B00019-1','2026-08-28','2028-08-28',177.60,242.35,992,992,'Rack C19',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(24,20,'B00020-1','2026-05-28','2028-05-28',41.16,52.50,268,268,'Rack D20',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(25,21,'B00021-1','2025-11-28','2027-11-28',46.06,59.22,376,376,'Rack E21',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(26,22,'B00022-1','2026-01-28','2028-01-28',171.50,243.25,468,468,'Rack F22',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(27,23,'B00023-1','2026-07-28','2028-07-28',6.93,10.15,408,408,'Rack G23',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(28,23,'B00023-2','2026-01-28','2028-01-28',6.93,10.15,43,43,'Rack G23',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(29,24,'B00024-1','2025-07-28','2027-07-28',9.41,13.78,0,0,'Rack H24',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(30,25,'B00025-1','2025-07-28','2027-07-28',4.80,6.40,1112,1112,'Rack A1',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(31,26,'B00026-1','2026-04-28','2028-04-28',9.00,12.15,320,320,'Rack B2',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(32,27,'B00027-1','2027-02-28','2029-02-28',59.40,85.80,368,368,'Rack C3',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(33,28,'B00028-1','2026-03-28','2028-03-28',29.40,42.00,508,508,'Rack D4',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(34,29,'B00029-1','2026-10-28','2028-10-28',91.20,134.90,432,432,'Rack E5',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(35,30,'B00030-1','2026-06-28','2028-06-28',2.60,3.54,600,600,'Rack F6',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(36,31,'B00031-1','2025-08-28','2027-08-28',55.00,74.25,1120,1120,'Rack G7',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(37,32,'B00032-1','2026-12-28','2028-12-28',7.76,10.88,552,552,'Rack H8',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(38,33,'B00033-1','2026-05-28','2028-05-28',33.95,45.85,1064,1064,'Rack A9',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(39,34,'B00034-1','2027-02-28','2029-02-28',2.00,2.80,520,520,'Rack B10',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(40,34,'B00034-2','2025-08-28','2027-08-28',2.00,2.80,50,50,'Rack B10',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(41,35,'B00035-1','2026-02-28','2028-02-28',43.65,60.30,464,464,'Rack C11',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(42,35,'B00035-3','2024-11-30','2026-11-30',43.65,60.30,24,24,'Rack C11',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(43,36,'B00036-1','2026-09-28','2028-09-28',2.88,4.26,276,276,'Rack D12',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(44,37,'B00037-1','2025-06-28','2027-06-28',6.37,8.91,896,896,'Rack E13',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(45,38,'B00038-1','2026-01-28','2028-01-28',12.00,17.28,380,380,'Rack F14',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(46,39,'B00039-1','2026-03-28','2028-03-28',3.96,5.32,408,408,'Rack G15',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(47,40,'B00040-1','2027-01-28','2029-01-28',140.65,182.70,572,572,'Rack H16',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(48,41,'B00041-1','2025-12-28','2027-12-28',115.64,152.22,736,736,'Rack A17',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(49,42,'B00042-1','2025-06-28','2027-06-28',100.80,131.25,256,256,'Rack B18',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(50,43,'B00043-1','2027-03-28','2029-03-28',63.05,81.25,584,584,'Rack C19',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(51,44,'B00044-1','2025-08-28','2027-08-28',2.84,3.65,248,248,'Rack D20',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(52,45,'B00045-1','2027-01-28','2029-01-28',4.46,6.48,568,568,'Rack E21',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(53,45,'B00045-2','2025-09-28','2027-09-28',4.46,6.48,40,40,'Rack E21',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(54,46,'B00046-1','2026-09-28','2028-09-28',4.80,6.62,500,500,'Rack F22',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(55,47,'B00047-1','2025-09-28','2027-09-28',6.08,8.00,0,0,'Rack G23',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(56,48,'B00048-1','2026-05-28','2028-05-28',8.82,11.34,548,548,'Rack H24',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(57,49,'B00049-1','2026-02-28','2028-02-28',8.50,11.05,480,480,'Rack A1',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(58,50,'B00050-1','2026-04-28','2028-04-28',9.90,13.40,544,544,'Rack B2',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(59,51,'B00051-1','2026-08-28','2028-08-28',9.00,11.97,960,960,'Rack C3',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(60,52,'B00052-1','2025-11-28','2027-11-28',2.00,2.74,220,220,'Rack D4',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(61,52,'B00052-3','2024-11-27','2026-11-27',2.00,2.74,21,21,'Rack D4',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(62,53,'B00053-1','2026-09-28','2028-09-28',7.20,10.20,1272,1272,'Rack E5',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(63,54,'B00054-1','2026-11-28','2028-11-28',4.32,6.03,316,316,'Rack F6',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(64,55,'B00055-1','2025-12-28','2027-12-28',1.16,1.72,944,944,'Rack G7',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(65,56,'B00056-1','2026-11-28','2028-11-28',8.73,11.25,292,292,'Rack H8',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(66,56,'B00056-2','2025-11-28','2027-11-28',8.73,11.25,41,41,'Rack H8',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(67,57,'B00057-1','2026-03-28','2028-03-28',2.11,2.86,1272,1272,'Rack A9',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(68,58,'B00058-1','2026-11-28','2028-11-28',2.55,3.48,628,628,'Rack B10',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(69,59,'B00059-1','2025-12-28','2027-12-28',2.21,3.11,352,352,'Rack C11',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(70,60,'B00060-1','2027-01-28','2029-01-28',3.92,5.40,548,548,'Rack D12',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(71,61,'B00061-1','2027-02-28','2029-02-28',4.16,5.92,928,928,'Rack E13',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(72,62,'B00062-1','2026-09-28','2028-09-28',4.46,6.08,524,524,'Rack F14',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(73,63,'B00063-1','2026-08-28','2028-08-28',17.46,26.10,624,624,'Rack G15',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(74,64,'B00064-1','2026-07-28','2028-07-28',465.60,638.40,252,252,'Rack H16',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(75,65,'B00065-1','2026-07-28','2028-07-28',306.90,393.70,648,648,'Rack A17',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(76,66,'B00066-1','2025-09-28','2027-09-28',13.58,19.32,212,212,'Rack B18',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(77,67,'B00067-1','2026-06-28','2028-06-28',465.60,652.80,624,624,'Rack C19',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(78,67,'B00067-2','2025-04-28','2027-04-28',465.60,652.80,52,52,'Rack C19',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(79,68,'B00068-1','2026-01-28','2028-01-28',1.88,2.55,484,484,'Rack D20',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(80,69,'B00069-1','2025-10-28','2027-10-28',44.55,61.65,1088,1088,'Rack E21',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(81,69,'B00069-3','2024-12-18','2026-12-18',44.55,61.65,6,6,'Rack E21',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(82,70,'B00070-1','2025-11-28','2027-11-28',12.00,16.08,0,0,'Rack F22',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(83,71,'B00071-1','2026-04-28','2028-04-28',3.36,4.55,912,912,'Rack G23',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(84,72,'B00072-1','2025-12-28','2027-12-28',1.92,2.70,296,296,'Rack H24',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(85,73,'B00073-1','2025-06-28','2027-06-28',92.15,135.85,944,944,'Rack A1',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(86,74,'B00074-1','2026-07-28','2028-07-28',2.97,3.90,444,444,'Rack B2',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(87,75,'B00075-1','2025-07-28','2027-07-28',77.22,107.64,568,568,'Rack C3',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(88,76,'B00076-1','2025-07-28','2027-07-28',85.36,125.84,172,172,'Rack D4',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(89,77,'B00077-1','2025-07-28','2027-07-28',3.10,4.06,1224,1224,'Rack E5',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(90,78,'B00078-1','2025-08-28','2027-08-28',5.88,8.52,168,168,'Rack F6',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(91,78,'B00078-2','2025-04-28','2027-04-28',5.88,8.52,60,60,'Rack F6',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(92,79,'B00079-1','2025-10-28','2027-10-28',4.46,6.30,848,848,'Rack G7',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(93,80,'B00080-1','2027-03-28','2029-03-28',6.00,7.62,420,420,'Rack H8',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(94,81,'B00081-1','2025-11-28','2027-11-28',91.20,128.25,472,472,'Rack A9',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(95,82,'B00082-1','2026-03-28','2028-03-28',117.60,165.60,188,188,'Rack B10',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(96,83,'B00083-1','2026-07-28','2028-07-28',82.45,112.20,1144,1144,'Rack C11',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(97,84,'B00084-1','2025-09-28','2027-09-28',63.05,85.80,452,452,'Rack D12',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(98,85,'B00085-1','2027-01-28','2029-01-28',108.90,155.10,1048,1048,'Rack E13',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(99,86,'B00086-1','2026-04-28','2028-04-28',2.35,3.46,368,368,'Rack F14',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(100,86,'B00086-3','2025-01-03','2027-01-03',2.35,3.46,10,10,'Rack F14',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(101,87,'B00087-1','2025-10-28','2027-10-28',2.50,3.67,832,832,'Rack G15',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(102,88,'B00088-1','2025-10-28','2027-10-28',12.00,16.00,376,376,'Rack H16',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(103,89,'B00089-1','2025-09-28','2027-09-28',6.93,9.24,568,568,'Rack A17',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(104,89,'B00089-2','2025-09-28','2027-09-28',6.93,9.24,50,50,'Rack A17',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(105,90,'B00090-1','2027-03-28','2029-03-28',8.25,12.07,612,612,'Rack B18',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(106,91,'B00091-1','2026-10-28','2028-10-28',2.77,3.53,1168,1168,'Rack C19',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(107,92,'B00092-1','2025-10-28','2027-10-28',14.00,19.18,160,160,'Rack D20',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(108,93,'B00093-1','2026-09-28','2028-09-28',1.80,2.39,0,0,'Rack E21',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(109,94,'B00094-1','2027-02-28','2029-02-28',3.20,4.06,360,360,'Rack F22',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(110,95,'B00095-1','2025-07-28','2027-07-28',2.88,4.26,1272,1272,'Rack G23',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(111,96,'B00096-1','2026-06-28','2028-06-28',8.82,11.70,408,408,'Rack H24',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(112,97,'B00097-1','2025-10-28','2027-10-28',54.45,70.40,1088,1088,'Rack A1',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(113,98,'B00098-1','2026-01-28','2028-01-28',120.00,175.00,556,556,'Rack B2',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(114,99,'B00099-1','2025-12-28','2027-12-28',92.15,137.75,1104,1104,'Rack C3',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(115,100,'B00100-1','2027-03-28','2029-03-28',2.45,3.38,188,188,'Rack D4',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(116,100,'B00100-2','2025-09-28','2027-09-28',2.45,3.38,42,42,'Rack D4',1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL);
/*!40000 ALTER TABLE `ph_batches` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_categories`
--

DROP TABLE IF EXISTS `ph_categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_categories` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ph_categories_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_categories`
--

LOCK TABLES `ph_categories` WRITE;
/*!40000 ALTER TABLE `ph_categories` DISABLE KEYS */;
INSERT INTO `ph_categories` VALUES
(1,'Analgesic & Antipyretic','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(2,'NSAID & Anti-inflammatory','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(3,'Antacid, PPI & Ulcer','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(4,'Antibiotic — Penicillin & Cephalosporin','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(5,'Antibiotic — Macrolide, Quinolone & Others','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(6,'Antifungal','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(7,'Anthelmintic','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(8,'Antihistamine & Anti-allergic','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(9,'ENT & Nasal','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(10,'Cough & Expectorant','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(11,'Cardiovascular','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(12,'Lipid Lowering','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(13,'Anticoagulant & Antiplatelet','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(14,'Antidiabetic','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(15,'Respiratory & Cough','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(16,'Corticosteroid','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(17,'Vitamin & Mineral Supplement','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(18,'Fluid & Electrolyte','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(19,'Antiseptic & Wound Care','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(20,'Neuropsychiatric','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(21,'Muscle Relaxant & Gout','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(22,'Thyroid & Hormonal','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(23,'Urology & Sexual Health','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(24,'Ophthalmic & Otic','2026-10-27 18:05:11','2026-10-27 18:05:11'),
(25,'Antiemetic & GI Motility','2026-10-27 18:05:11','2026-10-27 18:05:11');
/*!40000 ALTER TABLE `ph_categories` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_customer_refunds`
--

DROP TABLE IF EXISTS `ph_customer_refunds`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_customer_refunds` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_sale_id` bigint(20) unsigned DEFAULT NULL,
  `ph_sales_return_id` bigint(20) unsigned DEFAULT NULL,
  `ph_patient_id` bigint(20) unsigned DEFAULT NULL,
  `paid_on` date NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `method` varchar(255) NOT NULL DEFAULT 'cash' COMMENT 'cash|bank|mfs|card',
  `reference` varchar(255) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_customer_refunds_ph_sale_id_foreign` (`ph_sale_id`),
  KEY `ph_customer_refunds_ph_patient_id_foreign` (`ph_patient_id`),
  KEY `ph_customer_refunds_ph_sales_return_id_method_index` (`ph_sales_return_id`,`method`),
  KEY `ph_customer_refunds_user_id_index` (`user_id`),
  CONSTRAINT `ph_customer_refunds_ph_patient_id_foreign` FOREIGN KEY (`ph_patient_id`) REFERENCES `ph_patients` (`id`) ON DELETE SET NULL,
  CONSTRAINT `ph_customer_refunds_ph_sale_id_foreign` FOREIGN KEY (`ph_sale_id`) REFERENCES `ph_sales` (`id`) ON DELETE SET NULL,
  CONSTRAINT `ph_customer_refunds_ph_sales_return_id_foreign` FOREIGN KEY (`ph_sales_return_id`) REFERENCES `ph_sales_returns` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_customer_refunds`
--

LOCK TABLES `ph_customer_refunds` WRITE;
/*!40000 ALTER TABLE `ph_customer_refunds` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_customer_refunds` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_deliveries`
--

DROP TABLE IF EXISTS `ph_deliveries`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_deliveries` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_sale_id` bigint(20) unsigned NOT NULL,
  `address` varchar(255) NOT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `delivery_charge` decimal(10,2) NOT NULL DEFAULT 0.00,
  `delivered_by` bigint(20) unsigned DEFAULT NULL,
  `status` enum('pending','assigned','out_for_delivery','delivered','failed') NOT NULL DEFAULT 'pending',
  `cod` tinyint(1) NOT NULL DEFAULT 1,
  `delivered_at` timestamp NULL DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_deliveries_ph_sale_id_foreign` (`ph_sale_id`),
  KEY `ph_deliveries_delivered_by_foreign` (`delivered_by`),
  CONSTRAINT `ph_deliveries_delivered_by_foreign` FOREIGN KEY (`delivered_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `ph_deliveries_ph_sale_id_foreign` FOREIGN KEY (`ph_sale_id`) REFERENCES `ph_sales` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_deliveries`
--

LOCK TABLES `ph_deliveries` WRITE;
/*!40000 ALTER TABLE `ph_deliveries` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_deliveries` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_disposal_items`
--

DROP TABLE IF EXISTS `ph_disposal_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_disposal_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_disposal_id` bigint(20) unsigned NOT NULL,
  `ph_batch_id` bigint(20) unsigned NOT NULL,
  `quantity` int(10) unsigned NOT NULL,
  `unit_cost` decimal(12,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_disposal_items_ph_disposal_id_foreign` (`ph_disposal_id`),
  KEY `ph_disposal_items_ph_batch_id_foreign` (`ph_batch_id`),
  CONSTRAINT `ph_disposal_items_ph_batch_id_foreign` FOREIGN KEY (`ph_batch_id`) REFERENCES `ph_batches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `ph_disposal_items_ph_disposal_id_foreign` FOREIGN KEY (`ph_disposal_id`) REFERENCES `ph_disposals` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_disposal_items`
--

LOCK TABLES `ph_disposal_items` WRITE;
/*!40000 ALTER TABLE `ph_disposal_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_disposal_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_disposals`
--

DROP TABLE IF EXISTS `ph_disposals`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_disposals` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `disposal_no` varchar(255) NOT NULL,
  `disposal_date` date NOT NULL,
  `reason` varchar(255) NOT NULL DEFAULT 'expired',
  `total_cost` decimal(12,2) NOT NULL DEFAULT 0.00,
  `notes` text DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_disposals_disposal_no_index` (`disposal_no`),
  KEY `ph_disposals_branch_id_index` (`branch_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_disposals`
--

LOCK TABLES `ph_disposals` WRITE;
/*!40000 ALTER TABLE `ph_disposals` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_disposals` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_dosage_forms`
--

DROP TABLE IF EXISTS `ph_dosage_forms`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_dosage_forms` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ph_dosage_forms_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_dosage_forms`
--

LOCK TABLES `ph_dosage_forms` WRITE;
/*!40000 ALTER TABLE `ph_dosage_forms` DISABLE KEYS */;
INSERT INTO `ph_dosage_forms` VALUES
(1,'Tablet','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(2,'Syrup','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(3,'Capsule','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(4,'Suspension','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(5,'Injection','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(6,'Cream','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(7,'Nasal Spray','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(8,'Drops','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(9,'Inhaler','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(10,'Sachet','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(11,'IV Infusion','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(12,'Ointment','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(13,'Oral Solution','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(14,'Gel','2026-10-27 18:05:10','2026-10-27 18:05:10'),
(15,'Eye Drops','2026-10-27 18:05:10','2026-10-27 18:05:10');
/*!40000 ALTER TABLE `ph_dosage_forms` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_generics`
--

DROP TABLE IF EXISTS `ph_generics`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_generics` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ph_generics_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=81 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_generics`
--

LOCK TABLES `ph_generics` WRITE;
/*!40000 ALTER TABLE `ph_generics` DISABLE KEYS */;
INSERT INTO `ph_generics` VALUES
(1,'Paracetamol','Analgesic & Antipyretic — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(2,'Paracetamol + Caffeine','Analgesic & Antipyretic — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(3,'Ibuprofen','NSAID & Anti-inflammatory — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(4,'Etoricoxib','NSAID & Anti-inflammatory — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(5,'Aceclofenac + Paracetamol','NSAID & Anti-inflammatory — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(6,'Diclofenac Sodium','NSAID & Anti-inflammatory — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(7,'Omeprazole','Antacid, PPI & Ulcer — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(8,'Pantoprazole','Antacid, PPI & Ulcer — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(9,'Esomeprazole','Antacid, PPI & Ulcer — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(10,'Rabeprazole','Antacid, PPI & Ulcer — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(11,'Aluminium + Magnesium Hydroxide','Antacid, PPI & Ulcer — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(12,'Amoxicillin','Antibiotic — Penicillin & Cephalosporin — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(13,'Amoxicillin + Clavulanic Acid','Antibiotic — Penicillin & Cephalosporin — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(14,'Azithromycin','Antibiotic — Macrolide, Quinolone & Others — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(15,'Cefixime','Antibiotic — Penicillin & Cephalosporin — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(16,'Cefuroxime','Antibiotic — Penicillin & Cephalosporin — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(17,'Ceftriaxone','Antibiotic — Penicillin & Cephalosporin — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(18,'Ciprofloxacin','Antibiotic — Macrolide, Quinolone & Others — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(19,'Levofloxacin','Antibiotic — Macrolide, Quinolone & Others — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(20,'Cefradine','Antibiotic — Penicillin & Cephalosporin — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(21,'Fluconazole','Antifungal — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(22,'Clotrimazole + Beclomethasone','Antifungal — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(23,'Metronidazole','Antibiotic — Macrolide, Quinolone & Others — essential generic seeded for the pharmacy module.','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(24,'Albendazole','Anthelmintic — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(25,'Cetirizine','Antihistamine & Anti-allergic — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(26,'Levocetirizine','Antihistamine & Anti-allergic — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(27,'Fexofenadine','Antihistamine & Anti-allergic — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(28,'Montelukast','Antihistamine & Anti-allergic — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(29,'Cetirizine + Phenylephrine + Paracetamol','Antihistamine & Anti-allergic — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(30,'Xylometazoline','ENT & Nasal — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(31,'Guaifenesin + Pseudoephedrine + Terbutaline','Cough & Expectorant — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(32,'Ambroxol + Cetylpyridinium','Cough & Expectorant — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(33,'Amlodipine','Cardiovascular — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(34,'Losartan','Cardiovascular — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(35,'Telmisartan','Cardiovascular — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(36,'Olmesartan','Cardiovascular — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(37,'Atorvastatin','Lipid Lowering — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(38,'Rosuvastatin','Lipid Lowering — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(39,'Atorvastatin + Rosuvastatin','Lipid Lowering — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(40,'Atenolol','Cardiovascular — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(41,'Bisoprolol + Amlodipine','Cardiovascular — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(42,'Furosemide + Spironolactone','Cardiovascular — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(43,'Aspirin','Anticoagulant & Antiplatelet — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(44,'Clopidogrel','Anticoagulant & Antiplatelet — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(45,'Metformin','Antidiabetic — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(46,'Glimepiride','Antidiabetic — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(47,'Sitagliptin + Metformin','Antidiabetic — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(48,'Insulin 30/70','Antidiabetic — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(49,'Salbutamol','Respiratory & Cough — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(50,'Montelukast + Levocetirizine','Respiratory & Cough — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(51,'Budesonide','Respiratory & Cough — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(52,'Prednisolone','Corticosteroid — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(53,'Dexamethasone','Corticosteroid — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(54,'Cholecalciferol','Vitamin & Mineral Supplement — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(55,'Calcium + Vitamin D3','Vitamin & Mineral Supplement — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(56,'Ascorbic Acid','Vitamin & Mineral Supplement — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(57,'Ferrous Sulfate + Folic Acid','Vitamin & Mineral Supplement — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(58,'Zinc Sulfate + Ascorbic Acid','Vitamin & Mineral Supplement — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(59,'Multivitamin','Vitamin & Mineral Supplement — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(60,'Methylcobalamin','Vitamin & Mineral Supplement — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(61,'Oral Rehydration Salt','Fluid & Electrolyte — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(62,'Normal Saline','Fluid & Electrolyte — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(63,'Ringer\\u0027s Lactate','Fluid & Electrolyte — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(64,'Povidone Iodine','Antiseptic & Wound Care — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(65,'Diclofenac + Menthol','NSAID & Anti-inflammatory — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(66,'Alprazolam','Neuropsychiatric — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(67,'Clonazepam','Neuropsychiatric — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(68,'Levetiracetam','Neuropsychiatric — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(69,'Fluoxetine','Neuropsychiatric — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(70,'Escitalopram','Neuropsychiatric — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(71,'Vitamin B Complex','Vitamin & Mineral Supplement — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(72,'Pregabalin','Neuropsychiatric — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(73,'Allopurinol','Muscle Relaxant & Gout — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(74,'Orphenadrine + Paracetamol','Muscle Relaxant & Gout — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(75,'Levothyroxine','Thyroid & Hormonal — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(76,'Tamsulosin','Urology & Sexual Health — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(77,'Sildenafil','Urology & Sexual Health — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(78,'Tobramycin','Ophthalmic & Otic — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(79,'Carboxymethylcellulose','Ophthalmic & Otic — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(80,'Loperamide','Antiemetic & GI Motility — essential generic seeded for the pharmacy module.','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL);
/*!40000 ALTER TABLE `ph_generics` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_manufacturers`
--

DROP TABLE IF EXISTS `ph_manufacturers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_manufacturers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `contact` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ph_manufacturers_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_manufacturers`
--

LOCK TABLES `ph_manufacturers` WRITE;
/*!40000 ALTER TABLE `ph_manufacturers` DISABLE KEYS */;
INSERT INTO `ph_manufacturers` VALUES
(1,'Beximco Pharmaceuticals Ltd','Bangladesh','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(2,'Square Pharmaceuticals PLC','Bangladesh','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(3,'Abbott Bangladesh','Bangladesh','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(4,'ACME Laboratories Ltd','Bangladesh','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(5,'Incepta Pharmaceuticals Ltd','Bangladesh','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(6,' Healthcare Pharmaceuticals Ltd','Bangladesh','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(7,'ACI Limited','Bangladesh','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(8,'Eskayef Pharmaceuticals Ltd','Bangladesh','2026-10-27 18:05:10','2026-10-27 18:05:10',NULL),
(9,'Novartis Bangladesh Ltd','Bangladesh','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(10,'Jayson Pharmaceuticals Ltd','Bangladesh','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(11,'Renata Limited','Bangladesh','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(12,'Radiant Pharmaceuticals Ltd','Bangladesh','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(13,'Novo Nordisk','Bangladesh','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(14,'Opsonin Pharma Ltd','Bangladesh','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(15,'Pharmadesh Ltd','Bangladesh','2026-10-27 18:05:11','2026-10-27 18:05:11',NULL);
/*!40000 ALTER TABLE `ph_manufacturers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_medicine_documents`
--

DROP TABLE IF EXISTS `ph_medicine_documents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_medicine_documents` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_medicine_id` bigint(20) unsigned NOT NULL,
  `title` varchar(255) NOT NULL,
  `file_path` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_medicine_documents_ph_medicine_id_foreign` (`ph_medicine_id`),
  CONSTRAINT `ph_medicine_documents_ph_medicine_id_foreign` FOREIGN KEY (`ph_medicine_id`) REFERENCES `ph_medicines` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_medicine_documents`
--

LOCK TABLES `ph_medicine_documents` WRITE;
/*!40000 ALTER TABLE `ph_medicine_documents` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_medicine_documents` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_medicines`
--

DROP TABLE IF EXISTS `ph_medicines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_medicines` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `generic_id` bigint(20) unsigned DEFAULT NULL,
  `manufacturer_id` bigint(20) unsigned DEFAULT NULL,
  `category_id` bigint(20) unsigned DEFAULT NULL,
  `dosage_form_id` bigint(20) unsigned DEFAULT NULL,
  `strength` varchar(255) DEFAULT NULL,
  `unit_id` bigint(20) unsigned DEFAULT NULL,
  `rx_type` varchar(255) NOT NULL DEFAULT 'otc',
  `reorder_level` int(10) unsigned DEFAULT NULL,
  `barcode` varchar(255) DEFAULT NULL,
  `image_path` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ph_medicines_barcode_unique` (`barcode`),
  KEY `ph_medicines_manufacturer_id_foreign` (`manufacturer_id`),
  KEY `ph_medicines_category_id_foreign` (`category_id`),
  KEY `ph_medicines_dosage_form_id_foreign` (`dosage_form_id`),
  KEY `ph_medicines_unit_id_foreign` (`unit_id`),
  KEY `ph_medicines_generic_id_manufacturer_id_index` (`generic_id`,`manufacturer_id`),
  KEY `ph_medicines_name_index` (`name`),
  KEY `ph_medicines_branch_id_index` (`branch_id`),
  CONSTRAINT `ph_medicines_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `ph_categories` (`id`) ON DELETE SET NULL,
  CONSTRAINT `ph_medicines_dosage_form_id_foreign` FOREIGN KEY (`dosage_form_id`) REFERENCES `ph_dosage_forms` (`id`) ON DELETE SET NULL,
  CONSTRAINT `ph_medicines_generic_id_foreign` FOREIGN KEY (`generic_id`) REFERENCES `ph_generics` (`id`) ON DELETE SET NULL,
  CONSTRAINT `ph_medicines_manufacturer_id_foreign` FOREIGN KEY (`manufacturer_id`) REFERENCES `ph_manufacturers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `ph_medicines_unit_id_foreign` FOREIGN KEY (`unit_id`) REFERENCES `ph_units` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=101 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_medicines`
--

LOCK TABLES `ph_medicines` WRITE;
/*!40000 ALTER TABLE `ph_medicines` DISABLE KEYS */;
INSERT INTO `ph_medicines` VALUES
(1,'Napa 500',1,1,1,1,'500 mg',2,'otc',31,'8800000000001',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(2,'Ace 500',1,2,1,1,'500 mg',2,'otc',22,'8800000000002',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(3,'Napa Extend',2,1,1,1,'500 mg+65 mg',2,'otc',40,'8800000000003',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(4,'Napa Syrup',1,1,1,2,'120 mg/5 ml',7,'otc',29,'8800000000004',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(5,'Brufen 400',3,3,2,1,'400 mg',2,'rx',41,'8800000000005',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(6,'Torax TD',4,2,2,1,'60 mg',2,'rx',18,'8800000000006',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(7,'Aceclo Plus',5,4,2,1,'100 mg+500 mg',2,'rx',47,'8800000000007',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(8,'Flotrol SR',6,5,2,3,'75 mg',2,'rx',22,'8800000000008',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(9,'Seclo 20',7,2,3,3,'20 mg',2,'otc',15,'8800000000009',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(10,'Pantonix 20',8,2,3,3,'20 mg',2,'otc',32,'8800000000010',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(11,'Esonix 20',9,6,3,3,'20 mg',2,'otc',38,'8800000000011',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(12,'Rabela 20',10,7,3,1,'20 mg',2,'otc',22,'8800000000012',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(13,'Pepzol DS',7,5,3,3,'20 mg',2,'otc',30,'8800000000013',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(14,'Antazol Suspension',11,2,3,4,'200 ml',7,'otc',36,'8800000000014',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(15,'Moxacil 500',12,2,4,3,'500 mg',2,'rx',49,'8800000000015',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(16,'Moxaclav 625',13,2,4,1,'500 mg+125 mg',2,'rx',18,'8800000000016',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(17,'Amodis 500',12,7,4,3,'500 mg',2,'rx',25,'8800000000017',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(18,'Zimax 500',14,2,5,1,'500 mg',2,'rx',40,'8800000000018',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(19,'Zimax DS Suspension',14,2,5,4,'200 mg/5 ml',7,'rx',14,'8800000000019',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(20,'Cef-3 400',15,2,4,3,'400 mg',2,'rx',37,'8800000000020',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(21,'Cefotil Plus 500',16,8,4,1,'500 mg',2,'rx',17,'8800000000021',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(22,'Ceftron 1g Inj',17,2,4,5,'1 g',12,'rx',47,'8800000000022',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(23,'Ciprocin 500',18,2,5,1,'500 mg',2,'rx',21,'8800000000023',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(24,'Levox 500',19,7,5,1,'500 mg',2,'rx',41,'8800000000024',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(25,'Fimoxyl 500',12,2,4,3,'500 mg',2,'rx',29,'8800000000025',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(26,'Cefogold 500',20,5,4,3,'500 mg',2,'rx',10,'8800000000026',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(27,'Amoxi Sal Suspension',12,8,4,4,'125 mg/5 ml',7,'rx',16,'8800000000027',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(28,'Flucos 150',21,2,6,3,'150 mg',2,'rx',17,'8800000000028',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(29,'Candid B Cream',22,2,6,6,'1%+0.05%',11,'rx',24,'8800000000029',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(30,'Metro 400',23,2,5,1,'400 mg',2,'rx',40,'8800000000030',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(31,'Amodin Suspension',23,5,5,4,'125 mg/5 ml',7,'rx',30,'8800000000031',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(32,'Alben 400',24,2,7,1,'400 mg',2,'otc',28,'8800000000032',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(33,'Xentik Suspension 400',24,2,7,4,'400 mg/10 ml',7,'otc',23,'8800000000033',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(34,'Alatrol 10',25,2,8,1,'10 mg',2,'otc',20,'8800000000034',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(35,'Alatrol Syrup',25,2,8,2,'5 mg/5 ml',7,'otc',28,'8800000000035',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(36,'Ryzolid 5',26,2,8,1,'5 mg',2,'otc',39,'8800000000036',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(37,'Fexo 120',27,2,8,1,'120 mg',2,'otc',42,'8800000000037',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(38,'Monas 10',28,7,8,1,'10 mg',2,'otc',25,'8800000000038',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(39,'Amodis-Cold',29,5,8,1,'10 mg+10 mg+500 mg',2,'otc',21,'8800000000039',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(40,'Otrivin 0.1%',30,9,9,7,'0.1%',8,'rx',33,'8800000000040',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(41,'Ascoril D Plus Syrup',31,8,10,2,'100 ml',7,'otc',22,'8800000000041',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(42,'Ambrolax Syrup',32,2,10,2,'100 ml',7,'otc',34,'8800000000042',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(43,'Phenylephrine Drops',30,10,9,8,'0.05%',10,'rx',43,'8800000000043',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(44,'Amlovas 5',33,4,11,1,'5 mg',2,'rx',32,'8800000000044',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(45,'Amlor 10',33,2,11,1,'10 mg',2,'rx',41,'8800000000045',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(46,'Losatan 50',34,7,11,1,'50 mg',2,'rx',15,'8800000000046',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(47,'Xolsartan 40',35,5,11,1,'40 mg',2,'rx',17,'8800000000047',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(48,'Olmecar 20',36,8,11,1,'20 mg',2,'rx',27,'8800000000048',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(49,'Atova 20',37,2,12,1,'20 mg',2,'rx',30,'8800000000049',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(50,'Rosuva 10',38,2,12,1,'10 mg',2,'rx',26,'8800000000050',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(51,'Natrise 20',39,2,12,1,'10 mg',2,'rx',10,'8800000000051',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(52,'Tenormin 50',40,2,11,1,'50 mg',2,'rx',25,'8800000000052',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(53,'Cortal 2.5',41,5,11,1,'2.5 mg+5 mg',2,'rx',49,'8800000000053',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(54,'Fruselac 40',42,11,11,1,'40 mg+20 mg',2,'rx',49,'8800000000054',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(55,'Ecospring 75',43,2,13,3,'75 mg',2,'rx',48,'8800000000055',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(56,'Clovas 75',44,2,13,1,'75 mg',2,'rx',43,'8800000000056',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(57,'Comet 500',45,2,14,1,'500 mg',2,'rx',49,'8800000000057',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(58,'Comet ER 500',45,2,14,1,'500 mg',2,'rx',47,'8800000000058',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(59,'Getform SR 500',45,4,14,1,'500 mg',2,'rx',14,'8800000000059',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(60,'Glucophage 1000',45,2,14,1,'1000 mg',2,'rx',27,'8800000000060',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(61,'Glimer 2',46,2,14,1,'2 mg',2,'rx',46,'8800000000061',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(62,'Amaryl 2',46,2,14,1,'2 mg',2,'rx',21,'8800000000062',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(63,'Sistapress 25/2.5',47,12,14,1,'25 mg+2.5 mg',2,'rx',48,'8800000000063',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(64,'Insulin Mixtard 30/70',48,13,14,5,'100 IU/ml',12,'rx',33,'8800000000064',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(65,'Sultolin Inhaler',49,2,15,9,'100 mcg',14,'rx',11,'8800000000065',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(66,'Monas-L, Levocet + Montelukast',50,7,15,1,'10 mg+5 mg',2,'rx',23,'8800000000066',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(67,'Pulmi-Cort Inhaler',51,11,15,9,'200 mcg',14,'rx',48,'8800000000067',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(68,'Restrelone 5',52,7,16,1,'5 mg',2,'rx',11,'8800000000068',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(69,'Decadron Inj',53,7,16,5,'8 mg/2 ml',12,'rx',26,'8800000000069',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(70,'D-Rise 200000 IU',54,5,17,3,'200000 IU',2,'otc',15,'8800000000070',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(71,'Calcium-D Sandoz',55,2,17,1,'500 mg+200 IU',2,'otc',44,'8800000000071',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(72,'Ceevit 250',56,2,17,1,'250 mg',2,'otc',44,'8800000000072',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(73,'Ceevit Syrup',56,2,17,2,'100 ml',7,'otc',48,'8800000000073',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(74,'Iron Fefol Capsule',57,2,17,3,'150 mg+0.5 mg',2,'otc',41,'8800000000074',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(75,'Renata Fefol Suspension',57,11,17,4,'50 mg/5 ml',7,'otc',41,'8800000000075',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(76,'Zinc-C Syrup',58,2,17,2,'20 mg/5 ml',7,'otc',13,'8800000000076',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(77,'Multivit Z Tablet',59,2,17,1,'Multi',2,'otc',43,'8800000000077',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(78,'Neuro-B',60,2,17,1,'500 mcg',2,'otc',12,'8800000000078',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(79,'Vigorex Capsule',59,2,17,3,'Multi',2,'otc',36,'8800000000079',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(80,'Orsaline-N Sachet',61,2,18,10,'20.5 g',1,'otc',35,'8800000000080',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(81,'Normal Saline Inj',62,14,18,11,'500 ml',13,'otc',29,'8800000000081',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(82,'Ringer\\u0027s Lactate',63,14,18,11,'500 ml',13,'otc',17,'8800000000082',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(83,'Povidine Ointment',64,15,19,12,'10%',11,'otc',33,'8800000000083',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(84,'Povidine Solution',64,15,19,13,'10%',7,'otc',43,'8800000000084',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(85,'Selach Message Gel',65,2,2,14,'1%+5%',11,'rx',21,'8800000000085',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(86,'Xoropam 0.5',66,2,20,1,'0.5 mg',2,'rx',22,'8800000000086',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(87,'Rivotril 2',67,2,20,1,'2 mg',2,'rx',34,'8800000000087',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(88,'Zolidol 500',68,5,20,1,'500 mg',2,'rx',24,'8800000000088',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(89,'Fluoxet 20',69,2,20,3,'20 mg',2,'rx',41,'8800000000089',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(90,'Escita 10',70,2,20,1,'10 mg',2,'rx',43,'8800000000090',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(91,'Winofit Tablet',71,2,17,1,'B-Co',2,'otc',36,'8800000000091',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(92,'Lyrica 75',72,5,20,3,'75 mg',2,'rx',10,'8800000000092',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(93,'Zyloric 100',73,2,21,1,'100 mg',2,'rx',25,'8800000000093',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(94,'Myospaz Forte',74,2,21,1,'35 mg+450 mg',2,'rx',20,'8800000000094',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(95,'Thyrox 50',75,2,22,1,'50 mcg',2,'rx',49,'8800000000095',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(96,'Uroflo 0.4',76,2,23,3,'0.4 mg',2,'rx',32,'8800000000096',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(97,'Sildena 50',77,2,23,1,'50 mg',2,'rx',26,'8800000000097',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(98,'Dexa-TRM Eye Drop',78,2,24,15,'0.3%',9,'rx',29,'8800000000098',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(99,'Carboxymethylcellulose Eye Drop',79,2,24,15,'0.5%',9,'rx',28,'8800000000099',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(100,'Lopameal 2',80,7,25,3,'2 mg',2,'rx',17,'8800000000100',NULL,'Demo data seeded by PharmacyDemoSeeder.',1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL);
/*!40000 ALTER TABLE `ph_medicines` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_order_reservations`
--

DROP TABLE IF EXISTS `ph_order_reservations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_order_reservations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_sale_id` bigint(20) unsigned NOT NULL,
  `ph_sale_item_id` bigint(20) unsigned NOT NULL,
  `ph_batch_id` bigint(20) unsigned NOT NULL,
  `quantity` int(10) unsigned NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'held' COMMENT 'held|consumed|released',
  `expires_at` timestamp NULL DEFAULT NULL,
  `reserved_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_order_reservations_ph_sale_id_foreign` (`ph_sale_id`),
  KEY `ph_order_reservations_ph_batch_id_status_index` (`ph_batch_id`,`status`),
  KEY `ph_order_reservations_ph_sale_item_id_status_index` (`ph_sale_item_id`,`status`),
  KEY `ph_order_reservations_status_index` (`status`),
  CONSTRAINT `ph_order_reservations_ph_batch_id_foreign` FOREIGN KEY (`ph_batch_id`) REFERENCES `ph_batches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `ph_order_reservations_ph_sale_id_foreign` FOREIGN KEY (`ph_sale_id`) REFERENCES `ph_sales` (`id`) ON DELETE CASCADE,
  CONSTRAINT `ph_order_reservations_ph_sale_item_id_foreign` FOREIGN KEY (`ph_sale_item_id`) REFERENCES `ph_sale_items` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_order_reservations`
--

LOCK TABLES `ph_order_reservations` WRITE;
/*!40000 ALTER TABLE `ph_order_reservations` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_order_reservations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_patients`
--

DROP TABLE IF EXISTS `ph_patients`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_patients` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `patient_id` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `age` int(10) unsigned DEFAULT NULL,
  `gender` varchar(255) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `opening_due` decimal(12,2) NOT NULL DEFAULT 0.00,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ph_patients_patient_id_unique` (`patient_id`),
  KEY `ph_patients_phone_index` (`phone`),
  KEY `ph_patients_customer_id_index` (`customer_id`),
  KEY `ph_patients_branch_id_index` (`branch_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_patients`
--

LOCK TABLES `ph_patients` WRITE;
/*!40000 ALTER TABLE `ph_patients` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_patients` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_prescription_items`
--

DROP TABLE IF EXISTS `ph_prescription_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_prescription_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_prescription_id` bigint(20) unsigned NOT NULL,
  `ph_medicine_id` bigint(20) unsigned DEFAULT NULL,
  `medicine_name` varchar(255) NOT NULL,
  `dosage` varchar(255) DEFAULT NULL,
  `frequency` varchar(255) DEFAULT NULL,
  `duration_days` int(10) unsigned DEFAULT NULL,
  `instructions` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_prescription_items_ph_prescription_id_foreign` (`ph_prescription_id`),
  KEY `ph_prescription_items_ph_medicine_id_foreign` (`ph_medicine_id`),
  CONSTRAINT `ph_prescription_items_ph_medicine_id_foreign` FOREIGN KEY (`ph_medicine_id`) REFERENCES `ph_medicines` (`id`) ON DELETE SET NULL,
  CONSTRAINT `ph_prescription_items_ph_prescription_id_foreign` FOREIGN KEY (`ph_prescription_id`) REFERENCES `ph_prescriptions` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_prescription_items`
--

LOCK TABLES `ph_prescription_items` WRITE;
/*!40000 ALTER TABLE `ph_prescription_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_prescription_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_prescriptions`
--

DROP TABLE IF EXISTS `ph_prescriptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_prescriptions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `prescription_no` varchar(255) NOT NULL,
  `ph_patient_id` bigint(20) unsigned DEFAULT NULL,
  `doctor_name` varchar(255) DEFAULT NULL,
  `doctor_registration` varchar(255) DEFAULT NULL,
  `hospital` varchar(255) DEFAULT NULL,
  `prescribed_on` date NOT NULL,
  `image_path` varchar(255) DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_prescriptions_ph_patient_id_foreign` (`ph_patient_id`),
  KEY `ph_prescriptions_prescription_no_index` (`prescription_no`),
  KEY `ph_prescriptions_branch_id_index` (`branch_id`),
  CONSTRAINT `ph_prescriptions_ph_patient_id_foreign` FOREIGN KEY (`ph_patient_id`) REFERENCES `ph_patients` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_prescriptions`
--

LOCK TABLES `ph_prescriptions` WRITE;
/*!40000 ALTER TABLE `ph_prescriptions` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_prescriptions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_purchase_items`
--

DROP TABLE IF EXISTS `ph_purchase_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_purchase_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_purchase_id` bigint(20) unsigned NOT NULL,
  `ph_medicine_id` bigint(20) unsigned NOT NULL,
  `ph_batch_id` bigint(20) unsigned DEFAULT NULL,
  `batch_no` varchar(255) NOT NULL,
  `expiry_date` date NOT NULL,
  `mfg_date` date DEFAULT NULL,
  `quantity` int(10) unsigned NOT NULL,
  `free_quantity` int(10) unsigned NOT NULL DEFAULT 0,
  `unit_cost` decimal(12,2) NOT NULL,
  `selling_price` decimal(12,2) NOT NULL DEFAULT 0.00,
  `line_total` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_purchase_items_ph_purchase_id_foreign` (`ph_purchase_id`),
  KEY `ph_purchase_items_ph_medicine_id_foreign` (`ph_medicine_id`),
  KEY `ph_purchase_items_ph_batch_id_foreign` (`ph_batch_id`),
  CONSTRAINT `ph_purchase_items_ph_batch_id_foreign` FOREIGN KEY (`ph_batch_id`) REFERENCES `ph_batches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `ph_purchase_items_ph_medicine_id_foreign` FOREIGN KEY (`ph_medicine_id`) REFERENCES `ph_medicines` (`id`) ON DELETE CASCADE,
  CONSTRAINT `ph_purchase_items_ph_purchase_id_foreign` FOREIGN KEY (`ph_purchase_id`) REFERENCES `ph_purchases` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_purchase_items`
--

LOCK TABLES `ph_purchase_items` WRITE;
/*!40000 ALTER TABLE `ph_purchase_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_purchase_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_purchase_order_items`
--

DROP TABLE IF EXISTS `ph_purchase_order_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_purchase_order_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_purchase_order_id` bigint(20) unsigned NOT NULL,
  `ph_medicine_id` bigint(20) unsigned NOT NULL,
  `quantity` int(10) unsigned NOT NULL,
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_purchase_order_items_ph_purchase_order_id_foreign` (`ph_purchase_order_id`),
  KEY `ph_purchase_order_items_ph_medicine_id_foreign` (`ph_medicine_id`),
  CONSTRAINT `ph_purchase_order_items_ph_medicine_id_foreign` FOREIGN KEY (`ph_medicine_id`) REFERENCES `ph_medicines` (`id`) ON DELETE CASCADE,
  CONSTRAINT `ph_purchase_order_items_ph_purchase_order_id_foreign` FOREIGN KEY (`ph_purchase_order_id`) REFERENCES `ph_purchase_orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_purchase_order_items`
--

LOCK TABLES `ph_purchase_order_items` WRITE;
/*!40000 ALTER TABLE `ph_purchase_order_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_purchase_order_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_purchase_orders`
--

DROP TABLE IF EXISTS `ph_purchase_orders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_purchase_orders` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `order_no` varchar(255) NOT NULL,
  `ph_supplier_id` bigint(20) unsigned DEFAULT NULL,
  `order_date` date NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'pending',
  `notes` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_purchase_orders_ph_supplier_id_foreign` (`ph_supplier_id`),
  KEY `ph_purchase_orders_order_no_index` (`order_no`),
  KEY `ph_purchase_orders_branch_id_index` (`branch_id`),
  CONSTRAINT `ph_purchase_orders_ph_supplier_id_foreign` FOREIGN KEY (`ph_supplier_id`) REFERENCES `ph_suppliers` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_purchase_orders`
--

LOCK TABLES `ph_purchase_orders` WRITE;
/*!40000 ALTER TABLE `ph_purchase_orders` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_purchase_orders` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_purchase_return_items`
--

DROP TABLE IF EXISTS `ph_purchase_return_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_purchase_return_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_purchase_return_id` bigint(20) unsigned NOT NULL,
  `ph_batch_id` bigint(20) unsigned NOT NULL,
  `quantity` int(10) unsigned NOT NULL,
  `unit_cost` decimal(12,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_purchase_return_items_ph_purchase_return_id_foreign` (`ph_purchase_return_id`),
  KEY `ph_purchase_return_items_ph_batch_id_foreign` (`ph_batch_id`),
  CONSTRAINT `ph_purchase_return_items_ph_batch_id_foreign` FOREIGN KEY (`ph_batch_id`) REFERENCES `ph_batches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `ph_purchase_return_items_ph_purchase_return_id_foreign` FOREIGN KEY (`ph_purchase_return_id`) REFERENCES `ph_purchase_returns` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_purchase_return_items`
--

LOCK TABLES `ph_purchase_return_items` WRITE;
/*!40000 ALTER TABLE `ph_purchase_return_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_purchase_return_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_purchase_returns`
--

DROP TABLE IF EXISTS `ph_purchase_returns`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_purchase_returns` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `return_no` varchar(255) NOT NULL,
  `ph_purchase_id` bigint(20) unsigned DEFAULT NULL,
  `ph_supplier_id` bigint(20) unsigned DEFAULT NULL,
  `return_date` date NOT NULL,
  `reason` varchar(255) NOT NULL DEFAULT 'expiry',
  `total` decimal(12,2) NOT NULL DEFAULT 0.00,
  `notes` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_purchase_returns_ph_purchase_id_foreign` (`ph_purchase_id`),
  KEY `ph_purchase_returns_ph_supplier_id_foreign` (`ph_supplier_id`),
  KEY `ph_purchase_returns_return_no_index` (`return_no`),
  KEY `ph_purchase_returns_branch_id_index` (`branch_id`),
  CONSTRAINT `ph_purchase_returns_ph_purchase_id_foreign` FOREIGN KEY (`ph_purchase_id`) REFERENCES `ph_purchases` (`id`) ON DELETE SET NULL,
  CONSTRAINT `ph_purchase_returns_ph_supplier_id_foreign` FOREIGN KEY (`ph_supplier_id`) REFERENCES `ph_suppliers` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_purchase_returns`
--

LOCK TABLES `ph_purchase_returns` WRITE;
/*!40000 ALTER TABLE `ph_purchase_returns` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_purchase_returns` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_purchases`
--

DROP TABLE IF EXISTS `ph_purchases`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_purchases` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `purchase_no` varchar(255) NOT NULL,
  `ph_supplier_id` bigint(20) unsigned DEFAULT NULL,
  `purchase_order_id` bigint(20) unsigned DEFAULT NULL,
  `purchase_date` date NOT NULL,
  `subtotal` decimal(12,2) NOT NULL DEFAULT 0.00,
  `discount_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `tax_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL DEFAULT 0.00,
  `paid_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `status` varchar(255) NOT NULL DEFAULT 'received',
  `notes` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_purchases_ph_supplier_id_foreign` (`ph_supplier_id`),
  KEY `ph_purchases_purchase_order_id_foreign` (`purchase_order_id`),
  KEY `ph_purchases_purchase_no_index` (`purchase_no`),
  KEY `ph_purchases_branch_id_index` (`branch_id`),
  CONSTRAINT `ph_purchases_ph_supplier_id_foreign` FOREIGN KEY (`ph_supplier_id`) REFERENCES `ph_suppliers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `ph_purchases_purchase_order_id_foreign` FOREIGN KEY (`purchase_order_id`) REFERENCES `ph_purchase_orders` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_purchases`
--

LOCK TABLES `ph_purchases` WRITE;
/*!40000 ALTER TABLE `ph_purchases` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_purchases` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_sale_items`
--

DROP TABLE IF EXISTS `ph_sale_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_sale_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_sale_id` bigint(20) unsigned NOT NULL,
  `ph_medicine_id` bigint(20) unsigned NOT NULL,
  `ph_batch_id` bigint(20) unsigned NOT NULL,
  `quantity` int(10) unsigned NOT NULL,
  `unit_price` decimal(12,2) NOT NULL,
  `unit_cost` decimal(12,2) NOT NULL,
  `line_total` decimal(12,2) NOT NULL,
  `is_rx_verified` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_sale_items_ph_sale_id_foreign` (`ph_sale_id`),
  KEY `ph_sale_items_ph_medicine_id_foreign` (`ph_medicine_id`),
  KEY `ph_sale_items_ph_batch_id_foreign` (`ph_batch_id`),
  CONSTRAINT `ph_sale_items_ph_batch_id_foreign` FOREIGN KEY (`ph_batch_id`) REFERENCES `ph_batches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `ph_sale_items_ph_medicine_id_foreign` FOREIGN KEY (`ph_medicine_id`) REFERENCES `ph_medicines` (`id`) ON DELETE CASCADE,
  CONSTRAINT `ph_sale_items_ph_sale_id_foreign` FOREIGN KEY (`ph_sale_id`) REFERENCES `ph_sales` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_sale_items`
--

LOCK TABLES `ph_sale_items` WRITE;
/*!40000 ALTER TABLE `ph_sale_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_sale_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_sale_payments`
--

DROP TABLE IF EXISTS `ph_sale_payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_sale_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_sale_id` bigint(20) unsigned NOT NULL,
  `paid_on` date NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `method` varchar(255) NOT NULL DEFAULT 'cash',
  `reference` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_sale_payments_ph_sale_id_foreign` (`ph_sale_id`),
  KEY `ph_sale_payments_wallet_id_index` (`wallet_id`),
  CONSTRAINT `ph_sale_payments_ph_sale_id_foreign` FOREIGN KEY (`ph_sale_id`) REFERENCES `ph_sales` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_sale_payments`
--

LOCK TABLES `ph_sale_payments` WRITE;
/*!40000 ALTER TABLE `ph_sale_payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_sale_payments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_sales`
--

DROP TABLE IF EXISTS `ph_sales`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_sales` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `sale_no` varchar(255) NOT NULL,
  `ph_patient_id` bigint(20) unsigned DEFAULT NULL,
  `ph_prescription_id` bigint(20) unsigned DEFAULT NULL,
  `sale_date` date NOT NULL,
  `subtotal` decimal(12,2) NOT NULL DEFAULT 0.00,
  `discount_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `tax_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(12,2) NOT NULL DEFAULT 0.00,
  `paid_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `cost_total` decimal(12,2) NOT NULL DEFAULT 0.00,
  `status` varchar(255) NOT NULL DEFAULT 'completed',
  `sale_type` varchar(255) NOT NULL DEFAULT 'counter',
  `notes` text DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `fulfilment_status` varchar(255) DEFAULT NULL COMMENT 'null = not applicable (counter sale); otherwise pending|reserved|dispatched|fulfilled|rejected',
  `confirmed_at` timestamp NULL DEFAULT NULL,
  `reserved_at` timestamp NULL DEFAULT NULL,
  `loyalty_points_earned` decimal(12,2) NOT NULL DEFAULT 0.00,
  `loyalty_points_redeemed` decimal(12,2) NOT NULL DEFAULT 0.00,
  `rejected_reason` text DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_sales_ph_patient_id_foreign` (`ph_patient_id`),
  KEY `ph_sales_ph_prescription_id_foreign` (`ph_prescription_id`),
  KEY `ph_sales_sale_no_index` (`sale_no`),
  KEY `ph_sales_branch_id_index` (`branch_id`),
  KEY `ph_sales_fulfilment_status_index` (`fulfilment_status`),
  CONSTRAINT `ph_sales_ph_patient_id_foreign` FOREIGN KEY (`ph_patient_id`) REFERENCES `ph_patients` (`id`) ON DELETE SET NULL,
  CONSTRAINT `ph_sales_ph_prescription_id_foreign` FOREIGN KEY (`ph_prescription_id`) REFERENCES `ph_prescriptions` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_sales`
--

LOCK TABLES `ph_sales` WRITE;
/*!40000 ALTER TABLE `ph_sales` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_sales` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_sales_return_items`
--

DROP TABLE IF EXISTS `ph_sales_return_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_sales_return_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_sales_return_id` bigint(20) unsigned NOT NULL,
  `ph_batch_id` bigint(20) unsigned NOT NULL,
  `quantity` int(10) unsigned NOT NULL,
  `unit_price` decimal(12,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `restock` tinyint(1) DEFAULT NULL COMMENT 'null = undecided; true re-enters sellable stock, false is damaged/written off',
  `restocked_quantity` int(10) unsigned NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`),
  KEY `ph_sales_return_items_ph_sales_return_id_foreign` (`ph_sales_return_id`),
  KEY `ph_sales_return_items_ph_batch_id_foreign` (`ph_batch_id`),
  CONSTRAINT `ph_sales_return_items_ph_batch_id_foreign` FOREIGN KEY (`ph_batch_id`) REFERENCES `ph_batches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `ph_sales_return_items_ph_sales_return_id_foreign` FOREIGN KEY (`ph_sales_return_id`) REFERENCES `ph_sales_returns` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_sales_return_items`
--

LOCK TABLES `ph_sales_return_items` WRITE;
/*!40000 ALTER TABLE `ph_sales_return_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_sales_return_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_sales_returns`
--

DROP TABLE IF EXISTS `ph_sales_returns`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_sales_returns` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `return_no` varchar(255) NOT NULL,
  `ph_sale_id` bigint(20) unsigned DEFAULT NULL,
  `return_date` date NOT NULL,
  `reason` varchar(255) NOT NULL DEFAULT 'wrong',
  `status` varchar(255) NOT NULL DEFAULT 'approved',
  `total` decimal(12,2) NOT NULL DEFAULT 0.00,
  `refunded_amount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `refund_method` varchar(255) DEFAULT NULL,
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_sales_returns_ph_sale_id_foreign` (`ph_sale_id`),
  KEY `ph_sales_returns_approved_by_foreign` (`approved_by`),
  KEY `ph_sales_returns_return_no_index` (`return_no`),
  KEY `ph_sales_returns_branch_id_index` (`branch_id`),
  CONSTRAINT `ph_sales_returns_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `ph_sales_returns_ph_sale_id_foreign` FOREIGN KEY (`ph_sale_id`) REFERENCES `ph_sales` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_sales_returns`
--

LOCK TABLES `ph_sales_returns` WRITE;
/*!40000 ALTER TABLE `ph_sales_returns` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_sales_returns` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_stock_adjustments`
--

DROP TABLE IF EXISTS `ph_stock_adjustments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_stock_adjustments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_batch_id` bigint(20) unsigned NOT NULL,
  `quantity_change` int(11) NOT NULL,
  `reason` varchar(255) NOT NULL,
  `note` text DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_stock_adjustments_ph_batch_id_foreign` (`ph_batch_id`),
  CONSTRAINT `ph_stock_adjustments_ph_batch_id_foreign` FOREIGN KEY (`ph_batch_id`) REFERENCES `ph_batches` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_stock_adjustments`
--

LOCK TABLES `ph_stock_adjustments` WRITE;
/*!40000 ALTER TABLE `ph_stock_adjustments` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_stock_adjustments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_stock_movements`
--

DROP TABLE IF EXISTS `ph_stock_movements`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_stock_movements` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_batch_id` bigint(20) unsigned NOT NULL,
  `kind` varchar(255) NOT NULL,
  `quantity` int(11) NOT NULL,
  `unit_cost` decimal(12,2) NOT NULL DEFAULT 0.00,
  `reference_type` varchar(255) NOT NULL,
  `reference_id` bigint(20) unsigned NOT NULL,
  `note` text DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_stock_movements_ph_batch_id_foreign` (`ph_batch_id`),
  KEY `ph_stock_movements_reference_type_reference_id_index` (`reference_type`,`reference_id`),
  KEY `ph_stock_movements_kind_index` (`kind`),
  CONSTRAINT `ph_stock_movements_ph_batch_id_foreign` FOREIGN KEY (`ph_batch_id`) REFERENCES `ph_batches` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_stock_movements`
--

LOCK TABLES `ph_stock_movements` WRITE;
/*!40000 ALTER TABLE `ph_stock_movements` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_stock_movements` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_stock_transfers`
--

DROP TABLE IF EXISTS `ph_stock_transfers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_stock_transfers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_batch_id` bigint(20) unsigned NOT NULL,
  `from_location` varchar(255) NOT NULL,
  `to_location` varchar(255) NOT NULL,
  `quantity` int(10) unsigned NOT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_stock_transfers_ph_batch_id_foreign` (`ph_batch_id`),
  CONSTRAINT `ph_stock_transfers_ph_batch_id_foreign` FOREIGN KEY (`ph_batch_id`) REFERENCES `ph_batches` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_stock_transfers`
--

LOCK TABLES `ph_stock_transfers` WRITE;
/*!40000 ALTER TABLE `ph_stock_transfers` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_stock_transfers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_supplier_payments`
--

DROP TABLE IF EXISTS `ph_supplier_payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_supplier_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ph_supplier_id` bigint(20) unsigned NOT NULL,
  `ph_purchase_id` bigint(20) unsigned DEFAULT NULL,
  `paid_on` date NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `method` varchar(255) NOT NULL DEFAULT 'cash',
  `reference` varchar(255) DEFAULT NULL,
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_supplier_payments_ph_supplier_id_foreign` (`ph_supplier_id`),
  KEY `ph_supplier_payments_ph_purchase_id_foreign` (`ph_purchase_id`),
  KEY `ph_supplier_payments_wallet_id_index` (`wallet_id`),
  CONSTRAINT `ph_supplier_payments_ph_purchase_id_foreign` FOREIGN KEY (`ph_purchase_id`) REFERENCES `ph_purchases` (`id`) ON DELETE SET NULL,
  CONSTRAINT `ph_supplier_payments_ph_supplier_id_foreign` FOREIGN KEY (`ph_supplier_id`) REFERENCES `ph_suppliers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_supplier_payments`
--

LOCK TABLES `ph_supplier_payments` WRITE;
/*!40000 ALTER TABLE `ph_supplier_payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `ph_supplier_payments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_suppliers`
--

DROP TABLE IF EXISTS `ph_suppliers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_suppliers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `company` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `address` varchar(255) DEFAULT NULL,
  `opening_due` decimal(12,2) NOT NULL DEFAULT 0.00,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `ph_suppliers_branch_id_index` (`branch_id`)
) ENGINE=InnoDB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_suppliers`
--

LOCK TABLES `ph_suppliers` WRITE;
/*!40000 ALTER TABLE `ph_suppliers` DISABLE KEYS */;
INSERT INTO `ph_suppliers` VALUES
(1,'Square Pharmaceuticals Depot, Dhaka','Square Pharmaceuticals Depot, Dhaka','01711000000','depot1@demopharma.com.bd','Kallayanpur, Mirpur, Dhaka-1216',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(2,'Beximco Pharma Depot, Dhaka','Beximco Pharma Depot, Dhaka','01711000137','depot2@demopharma.com.bd','Tongi Bypass, Gazipur',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(3,'Incepta Depot, Dhaka','Incepta Depot, Dhaka','01711000274','depot3@demopharma.com.bd','Savar, Dhaka',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(4,'Renata Depot, Dhaka','Renata Depot, Dhaka','01711000411','depot4@demopharma.com.bd','Gulshan, Dhaka-1212',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(5,'ACI Depot, Chattogram','ACI Depot, Chattogram','01711000548','depot5@demopharma.com.bd','Agrabad C/A, Chattogram',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(6,'Eskayef Depot, Dhaka','Eskayef Depot, Dhaka','01711000685','depot6@demopharma.com.bd','Tejgaon I/A, Dhaka-1208',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(7,'Healthcare Depot, Dhaka','Healthcare Depot, Dhaka','01711000822','depot7@demopharma.com.bd','Badda, Dhaka-1212',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(8,'Opsonin Depot, Khulna','Opsonin Depot, Khulna','01711000959','depot8@demopharma.com.bd','Shibbari More, Khulna',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(9,'Aristopharma Depot, Rajshahi','Aristopharma Depot, Rajshahi','01711001096','depot9@demopharma.com.bd','Shaheb Bazar, Rajshahi',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(10,'Popular Depot, Dhaka','Popular Depot, Dhaka','01711001233','depot10@demopharma.com.bd','Motijheel, Dhaka-1000',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(11,'UniMed Depot, Sylhet','UniMed Depot, Sylhet','01711001370','depot11@demopharma.com.bd','Zindabazar, Sylhet',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(12,'Beacon Depot, Narayanganj','Beacon Depot, Narayanganj','01711001507','depot12@demopharma.com.bd','Chashara, Narayanganj',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(13,'Ibn Sina Depot, Dhaka','Ibn Sina Depot, Dhaka','01711001644','depot13@demopharma.com.bd','Dhanmondi, Dhaka-1209',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(14,'Acme Depot, Chattogram','Acme Depot, Chattogram','01711001781','depot14@demopharma.com.bd','Pahartali, Chattogram',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(15,'Delta Depot, Barishal','Delta Depot, Barishal','01711001918','depot15@demopharma.com.bd','Sadar Road, Barishal',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(16,'General Pharma Depot, Rangpur','General Pharma Depot, Rangpur','01711002055','depot16@demopharma.com.bd','Station Road, Rangpur',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(17,'Radiant Depot, Mymensingh','Radiant Depot, Mymensingh','01711002192','depot17@demopharma.com.bd','Charpara, Mymensingh',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(18,'Apex Depot, Cumilla','Apex Depot, Cumilla','01711002329','depot18@demopharma.com.bd','Kandirpar, Cumilla',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(19,'Silva Depot, Bogura','Silva Depot, Bogura','01711002466','depot19@demopharma.com.bd','Satmatha, Bogura',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(20,'Alco Depot, Jashore','Alco Depot, Jashore','01711002603','depot20@demopharma.com.bd','Mujib Sarak, Jashore',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(21,'Global Depot, Cox\\u0027s Bazar','Global Depot, Cox\\u0027s Bazar','01711002740','depot21@demopharma.com.bd','Kolatoli, Cox\\u0027s Bazar',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(22,'Modern Depot, Narayanganj','Modern Depot, Narayanganj','01711002877','depot22@demopharma.com.bd','Chashara, Narayanganj',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(23,'Orion Depot, Dhaka','Orion Depot, Dhaka','01711003014','depot23@demopharma.com.bd','Kawran Bazar, Dhaka-1215',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(24,'Navana Depot, Gazipur','Navana Depot, Gazipur','01711003151','depot24@demopharma.com.bd','Board Bazar, Gazipur',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(25,'Pacific Depot, Chattogram','Pacific Depot, Chattogram','01711003288','depot25@demopharma.com.bd','Chawkbazar, Chattogram',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(26,'Zenith Depot, Faridpur','Zenith Depot, Faridpur','01711003425','depot26@demopharma.com.bd','Goalchamot, Faridpur',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(27,'Kemiko Depot, Noakhali','Kemiko Depot, Noakhali','01711003562','depot27@demopharma.com.bd','Maijdee, Noakhali',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(28,'Jayson Depot, Tangail','Jayson Depot, Tangail','01711003699','depot28@demopharma.com.bd','Victoria Road, Tangail',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(29,'Nipa Depot, Pabna','Nipa Depot, Pabna','01711003836','depot29@demopharma.com.bd','Ataikula, Pabna',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL),
(30,'Pharmasia Depot, Kushtia','Pharmasia Depot, Kushtia','01711003973','depot30@demopharma.com.bd','Mojompur, Kushtia',0.00,1,1,'2026-10-27 18:05:11','2026-10-27 18:05:11',NULL);
/*!40000 ALTER TABLE `ph_suppliers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `ph_units`
--

DROP TABLE IF EXISTS `ph_units`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `ph_units` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `pieces` int(10) unsigned NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `ph_units_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `ph_units`
--

LOCK TABLES `ph_units` WRITE;
/*!40000 ALTER TABLE `ph_units` DISABLE KEYS */;
INSERT INTO `ph_units` VALUES
(1,'Piece',1,'2026-10-27 18:05:11','2026-10-27 18:05:11'),
(2,'Strip of 10',10,'2026-10-27 18:05:11','2026-10-27 18:05:11'),
(3,'Strip of 4',4,'2026-10-27 18:05:11','2026-10-27 18:05:11'),
(4,'Strip of 6',6,'2026-10-27 18:05:11','2026-10-27 18:05:11'),
(5,'Strip of 15',15,'2026-10-27 18:05:11','2026-10-27 18:05:11'),
(6,'Strip of 2',2,'2026-10-27 18:05:11','2026-10-27 18:05:11'),
(7,'Bottle (100 ml)',1,'2026-10-27 18:05:11','2026-10-27 18:05:11'),
(8,'Bottle (10 ml)',1,'2026-10-27 18:05:11','2026-10-27 18:05:11'),
(9,'Bottle (5 ml)',1,'2026-10-27 18:05:11','2026-10-27 18:05:11'),
(10,'Bottle (15 ml)',1,'2026-10-27 18:05:11','2026-10-27 18:05:11'),
(11,'Tube (10 g)',1,'2026-10-27 18:05:11','2026-10-27 18:05:11'),
(12,'Vial',1,'2026-10-27 18:05:11','2026-10-27 18:05:11'),
(13,'Bag (500 ml)',1,'2026-10-27 18:05:11','2026-10-27 18:05:11'),
(14,'Inhaler',1,'2026-10-27 18:05:11','2026-10-27 18:05:11'),
(15,'Jar',1,'2026-10-27 18:05:11','2026-10-27 18:05:11');
/*!40000 ALTER TABLE `ph_units` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pos_held_carts`
--

DROP TABLE IF EXISTS `pos_held_carts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `pos_held_carts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `cashier_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `cart_total` decimal(15,2) DEFAULT NULL,
  `reference` varchar(60) DEFAULT NULL,
  `cart` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`cart`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `module` varchar(20) NOT NULL DEFAULT 'pos',
  PRIMARY KEY (`id`),
  KEY `pos_held_carts_branch_id_foreign` (`branch_id`),
  KEY `pos_held_carts_cashier_id_foreign` (`cashier_id`),
  KEY `pos_held_carts_customer_id_foreign` (`customer_id`),
  KEY `pos_held_carts_module_index` (`module`),
  CONSTRAINT `pos_held_carts_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `pos_held_carts_cashier_id_foreign` FOREIGN KEY (`cashier_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `pos_held_carts_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pos_held_carts`
--

LOCK TABLES `pos_held_carts` WRITE;
/*!40000 ALTER TABLE `pos_held_carts` DISABLE KEYS */;
/*!40000 ALTER TABLE `pos_held_carts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pos_registers`
--

DROP TABLE IF EXISTS `pos_registers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `pos_registers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `opening_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `closing_amount` decimal(15,2) DEFAULT NULL,
  `expected_amount` decimal(15,2) DEFAULT NULL,
  `difference` decimal(15,2) NOT NULL DEFAULT 0.00,
  `cashier_id` bigint(20) unsigned DEFAULT NULL,
  `opened_at` timestamp NULL DEFAULT NULL,
  `closed_at` timestamp NULL DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'open',
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pos_registers_branch_id_foreign` (`branch_id`),
  KEY `pos_registers_warehouse_id_foreign` (`warehouse_id`),
  KEY `pos_registers_cashier_id_foreign` (`cashier_id`),
  CONSTRAINT `pos_registers_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `pos_registers_cashier_id_foreign` FOREIGN KEY (`cashier_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `pos_registers_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pos_registers`
--

LOCK TABLES `pos_registers` WRITE;
/*!40000 ALTER TABLE `pos_registers` DISABLE KEYS */;
/*!40000 ALTER TABLE `pos_registers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pos_sale_items`
--

DROP TABLE IF EXISTS `pos_sale_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `pos_sale_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `pos_sale_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `variant_id` bigint(20) unsigned DEFAULT NULL,
  `product_name` varchar(255) NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `unit_price` decimal(15,2) NOT NULL,
  `discount_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `tax_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total` decimal(15,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pos_sale_items_pos_sale_id_foreign` (`pos_sale_id`),
  KEY `pos_sale_items_product_id_foreign` (`product_id`),
  KEY `pos_sale_items_variant_id_foreign` (`variant_id`),
  CONSTRAINT `pos_sale_items_pos_sale_id_foreign` FOREIGN KEY (`pos_sale_id`) REFERENCES `pos_sales` (`id`) ON DELETE CASCADE,
  CONSTRAINT `pos_sale_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`),
  CONSTRAINT `pos_sale_items_variant_id_foreign` FOREIGN KEY (`variant_id`) REFERENCES `product_variants` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pos_sale_items`
--

LOCK TABLES `pos_sale_items` WRITE;
/*!40000 ALTER TABLE `pos_sale_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `pos_sale_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pos_sale_payments`
--

DROP TABLE IF EXISTS `pos_sale_payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `pos_sale_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `pos_sale_id` bigint(20) unsigned NOT NULL,
  `method` varchar(40) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `reference` varchar(100) DEFAULT NULL,
  `gift_card_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `pos_sale_payments_pos_sale_id_foreign` (`pos_sale_id`),
  KEY `pos_sale_payments_gift_card_id_foreign` (`gift_card_id`),
  KEY `pos_sale_payments_wallet_id_index` (`wallet_id`),
  CONSTRAINT `pos_sale_payments_gift_card_id_foreign` FOREIGN KEY (`gift_card_id`) REFERENCES `gift_cards` (`id`) ON DELETE SET NULL,
  CONSTRAINT `pos_sale_payments_pos_sale_id_foreign` FOREIGN KEY (`pos_sale_id`) REFERENCES `pos_sales` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pos_sale_payments`
--

LOCK TABLES `pos_sale_payments` WRITE;
/*!40000 ALTER TABLE `pos_sale_payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `pos_sale_payments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pos_sales`
--

DROP TABLE IF EXISTS `pos_sales`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `pos_sales` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `invoice_no` varchar(40) NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `register_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `cashier_id` bigint(20) unsigned DEFAULT NULL,
  `subtotal` decimal(15,2) NOT NULL DEFAULT 0.00,
  `discount_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `tax_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `shipping` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total` decimal(15,2) NOT NULL DEFAULT 0.00,
  `paid_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `change_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `payment_status` varchar(20) NOT NULL DEFAULT 'paid',
  `status` varchar(20) NOT NULL DEFAULT 'completed',
  `coupon_code` varchar(50) DEFAULT NULL,
  `loyalty_points_earned` decimal(10,2) NOT NULL DEFAULT 0.00,
  `loyalty_points_redeemed` decimal(10,2) NOT NULL DEFAULT 0.00,
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_via` varchar(20) DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `pos_sales_invoice_no_unique` (`invoice_no`),
  KEY `pos_sales_warehouse_id_foreign` (`warehouse_id`),
  KEY `pos_sales_register_id_foreign` (`register_id`),
  KEY `pos_sales_customer_id_foreign` (`customer_id`),
  KEY `pos_sales_cashier_id_foreign` (`cashier_id`),
  KEY `pos_sales_branch_id_created_at_index` (`branch_id`,`created_at`),
  KEY `pos_sales_created_via_index` (`created_via`),
  CONSTRAINT `pos_sales_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `pos_sales_cashier_id_foreign` FOREIGN KEY (`cashier_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `pos_sales_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `pos_sales_register_id_foreign` FOREIGN KEY (`register_id`) REFERENCES `pos_registers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `pos_sales_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pos_sales`
--

LOCK TABLES `pos_sales` WRITE;
/*!40000 ALTER TABLE `pos_sales` DISABLE KEYS */;
/*!40000 ALTER TABLE `pos_sales` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `poultry_batches`
--

DROP TABLE IF EXISTS `poultry_batches`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `poultry_batches` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `batch_no` varchar(40) NOT NULL,
  `farm_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `shed_id` bigint(20) unsigned DEFAULT NULL,
  `breed_id` bigint(20) unsigned DEFAULT NULL,
  `batch_type` varchar(30) NOT NULL DEFAULT 'broiler',
  `purchase_date` date DEFAULT NULL,
  `initial_quantity` decimal(12,2) NOT NULL DEFAULT 0.00,
  `male_quantity` int(10) unsigned DEFAULT NULL,
  `female_quantity` int(10) unsigned DEFAULT NULL,
  `chick_price_per_piece` decimal(10,2) DEFAULT NULL,
  `supplier_name` varchar(255) DEFAULT NULL,
  `current_quantity` decimal(12,2) NOT NULL DEFAULT 0.00,
  `current_age_days` decimal(8,2) NOT NULL DEFAULT 0.00,
  `avg_weight_gram` decimal(10,2) NOT NULL DEFAULT 0.00,
  `mortality_quantity` decimal(12,2) NOT NULL DEFAULT 0.00,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `poultry_batches_batch_no_unique` (`batch_no`),
  KEY `poultry_batches_farm_id_foreign` (`farm_id`),
  KEY `poultry_batches_branch_id_foreign` (`branch_id`),
  KEY `poultry_batches_shed_id_foreign` (`shed_id`),
  KEY `poultry_batches_breed_id_foreign` (`breed_id`),
  CONSTRAINT `poultry_batches_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `poultry_batches_breed_id_foreign` FOREIGN KEY (`breed_id`) REFERENCES `poultry_breeds` (`id`) ON DELETE SET NULL,
  CONSTRAINT `poultry_batches_farm_id_foreign` FOREIGN KEY (`farm_id`) REFERENCES `farms` (`id`) ON DELETE SET NULL,
  CONSTRAINT `poultry_batches_shed_id_foreign` FOREIGN KEY (`shed_id`) REFERENCES `farm_sheds` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `poultry_batches`
--

LOCK TABLES `poultry_batches` WRITE;
/*!40000 ALTER TABLE `poultry_batches` DISABLE KEYS */;
/*!40000 ALTER TABLE `poultry_batches` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `poultry_breeds`
--

DROP TABLE IF EXISTS `poultry_breeds`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `poultry_breeds` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `category` varchar(30) NOT NULL DEFAULT 'broiler',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `poultry_breeds`
--

LOCK TABLES `poultry_breeds` WRITE;
/*!40000 ALTER TABLE `poultry_breeds` DISABLE KEYS */;
/*!40000 ALTER TABLE `poultry_breeds` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `poultry_daily_logs`
--

DROP TABLE IF EXISTS `poultry_daily_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `poultry_daily_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `poultry_batch_id` bigint(20) unsigned NOT NULL,
  `log_date` date NOT NULL,
  `mortality` decimal(12,2) NOT NULL DEFAULT 0.00,
  `mortality_reason` varchar(150) DEFAULT NULL,
  `feed_kg` decimal(12,3) NOT NULL DEFAULT 0.000,
  `feed_unit_cost` decimal(10,2) DEFAULT NULL,
  `water_liter` decimal(12,2) NOT NULL DEFAULT 0.00,
  `medicine_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `vaccine_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `avg_weight_gram` decimal(10,2) DEFAULT NULL,
  `temperature` decimal(6,2) DEFAULT NULL,
  `sick_count` varchar(12) NOT NULL DEFAULT '0',
  `treatment_note` text DEFAULT NULL,
  `recorded_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `poultry_daily_logs_recorded_by_foreign` (`recorded_by`),
  KEY `poultry_daily_logs_poultry_batch_id_log_date_index` (`poultry_batch_id`,`log_date`),
  CONSTRAINT `poultry_daily_logs_poultry_batch_id_foreign` FOREIGN KEY (`poultry_batch_id`) REFERENCES `poultry_batches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `poultry_daily_logs_recorded_by_foreign` FOREIGN KEY (`recorded_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `poultry_daily_logs`
--

LOCK TABLES `poultry_daily_logs` WRITE;
/*!40000 ALTER TABLE `poultry_daily_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `poultry_daily_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `poultry_sales`
--

DROP TABLE IF EXISTS `poultry_sales`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `poultry_sales` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `poultry_batch_id` bigint(20) unsigned NOT NULL,
  `sale_date` date DEFAULT NULL,
  `quantity` decimal(12,2) NOT NULL,
  `total_weight_kg` decimal(12,3) DEFAULT NULL,
  `price_per_kg` decimal(15,2) DEFAULT NULL,
  `price_per_piece` decimal(15,2) DEFAULT NULL,
  `total_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `poultry_sales_poultry_batch_id_foreign` (`poultry_batch_id`),
  KEY `poultry_sales_customer_id_foreign` (`customer_id`),
  CONSTRAINT `poultry_sales_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `poultry_sales_poultry_batch_id_foreign` FOREIGN KEY (`poultry_batch_id`) REFERENCES `poultry_batches` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `poultry_sales`
--

LOCK TABLES `poultry_sales` WRITE;
/*!40000 ALTER TABLE `poultry_sales` DISABLE KEYS */;
/*!40000 ALTER TABLE `poultry_sales` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `poultry_transfers`
--

DROP TABLE IF EXISTS `poultry_transfers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `poultry_transfers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `poultry_batch_id` bigint(20) unsigned NOT NULL,
  `from_shed_id` bigint(20) unsigned DEFAULT NULL,
  `to_shed_id` bigint(20) unsigned DEFAULT NULL,
  `transfer_date` date DEFAULT NULL,
  `quantity` decimal(12,2) NOT NULL DEFAULT 0.00,
  `reason` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `poultry_transfers_poultry_batch_id_foreign` (`poultry_batch_id`),
  KEY `poultry_transfers_from_shed_id_foreign` (`from_shed_id`),
  KEY `poultry_transfers_to_shed_id_foreign` (`to_shed_id`),
  CONSTRAINT `poultry_transfers_from_shed_id_foreign` FOREIGN KEY (`from_shed_id`) REFERENCES `farm_sheds` (`id`) ON DELETE SET NULL,
  CONSTRAINT `poultry_transfers_poultry_batch_id_foreign` FOREIGN KEY (`poultry_batch_id`) REFERENCES `poultry_batches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `poultry_transfers_to_shed_id_foreign` FOREIGN KEY (`to_shed_id`) REFERENCES `farm_sheds` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `poultry_transfers`
--

LOCK TABLES `poultry_transfers` WRITE;
/*!40000 ALTER TABLE `poultry_transfers` DISABLE KEYS */;
/*!40000 ALTER TABLE `poultry_transfers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `product_stocks`
--

DROP TABLE IF EXISTS `product_stocks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `product_stocks` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `variant_id` bigint(20) unsigned DEFAULT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `quantity` decimal(14,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `ps_variant_id_uq` bigint(20) GENERATED ALWAYS AS (ifnull(`variant_id`,0)) VIRTUAL,
  `ps_warehouse_id_uq` bigint(20) GENERATED ALWAYS AS (ifnull(`warehouse_id`,0)) VIRTUAL,
  `ps_branch_id_uq` bigint(20) GENERATED ALWAYS AS (ifnull(`branch_id`,0)) VIRTUAL,
  `location_kind` int(11) GENERATED ALWAYS AS (if(`warehouse_id` is not null and `warehouse_id` <> 0,if(`branch_id` is not null and `branch_id` <> 0,9,1),if(`branch_id` is not null and `branch_id` <> 0,2,0))) VIRTUAL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `product_stocks_product_id_variant_id_warehouse_id_unique` (`product_id`,`variant_id`,`warehouse_id`),
  UNIQUE KEY `product_stocks_location_unique` (`product_id`,`ps_variant_id_uq`,`ps_warehouse_id_uq`,`ps_branch_id_uq`),
  KEY `product_stocks_variant_id_foreign` (`variant_id`),
  KEY `product_stocks_branch_id_index` (`branch_id`),
  KEY `product_stocks_warehouse_id_index` (`warehouse_id`),
  CONSTRAINT `product_stocks_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `product_stocks_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `product_stocks_variant_id_foreign` FOREIGN KEY (`variant_id`) REFERENCES `product_variants` (`id`) ON DELETE CASCADE,
  CONSTRAINT `product_stocks_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `product_stocks`
--

LOCK TABLES `product_stocks` WRITE;
/*!40000 ALTER TABLE `product_stocks` DISABLE KEYS */;
/*!40000 ALTER TABLE `product_stocks` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `product_track_events`
--

DROP TABLE IF EXISTS `product_track_events`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `product_track_events` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `product_track_id` bigint(20) unsigned NOT NULL,
  `stage` varchar(255) NOT NULL,
  `status` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `reference_type` varchar(255) DEFAULT NULL,
  `reference_id` bigint(20) unsigned DEFAULT NULL,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `event_at` timestamp NOT NULL DEFAULT current_timestamp(),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `product_track_events_branch_id_foreign` (`branch_id`),
  KEY `product_track_events_warehouse_id_foreign` (`warehouse_id`),
  KEY `product_track_events_user_id_foreign` (`user_id`),
  KEY `product_track_events_product_track_id_event_at_index` (`product_track_id`,`event_at`),
  KEY `product_track_events_reference_type_index` (`reference_type`),
  CONSTRAINT `product_track_events_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `product_track_events_product_track_id_foreign` FOREIGN KEY (`product_track_id`) REFERENCES `product_tracks` (`id`) ON DELETE CASCADE,
  CONSTRAINT `product_track_events_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `product_track_events_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `product_track_events`
--

LOCK TABLES `product_track_events` WRITE;
/*!40000 ALTER TABLE `product_track_events` DISABLE KEYS */;
/*!40000 ALTER TABLE `product_track_events` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `product_tracks`
--

DROP TABLE IF EXISTS `product_tracks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `product_tracks` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `track_no` varchar(255) NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `variant_id` bigint(20) unsigned DEFAULT NULL,
  `batch_no` varchar(255) DEFAULT NULL,
  `serial_no` varchar(255) DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `current_status` varchar(255) DEFAULT NULL,
  `current_branch_name` varchar(255) DEFAULT NULL,
  `last_event_at` timestamp NULL DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `product_tracks_track_no_unique` (`track_no`),
  KEY `product_tracks_variant_id_foreign` (`variant_id`),
  KEY `product_tracks_warehouse_id_foreign` (`warehouse_id`),
  KEY `product_tracks_created_by_foreign` (`created_by`),
  KEY `product_tracks_product_id_batch_no_index` (`product_id`,`batch_no`),
  KEY `product_tracks_batch_no_index` (`batch_no`),
  KEY `product_tracks_serial_no_index` (`serial_no`),
  KEY `product_tracks_branch_id_index` (`branch_id`),
  KEY `product_tracks_current_status_index` (`current_status`),
  CONSTRAINT `product_tracks_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `product_tracks_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `product_tracks_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `product_tracks_variant_id_foreign` FOREIGN KEY (`variant_id`) REFERENCES `product_variants` (`id`) ON DELETE SET NULL,
  CONSTRAINT `product_tracks_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `product_tracks`
--

LOCK TABLES `product_tracks` WRITE;
/*!40000 ALTER TABLE `product_tracks` DISABLE KEYS */;
/*!40000 ALTER TABLE `product_tracks` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `product_variants`
--

DROP TABLE IF EXISTS `product_variants`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `product_variants` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `product_id` bigint(20) unsigned NOT NULL,
  `color` varchar(255) DEFAULT NULL,
  `size` varchar(255) DEFAULT NULL,
  `sku` varchar(255) NOT NULL,
  `barcode` varchar(255) DEFAULT NULL,
  `additional_cost` decimal(12,2) NOT NULL DEFAULT 0.00,
  `additional_price` decimal(12,2) NOT NULL DEFAULT 0.00,
  `image` varchar(255) DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `product_variants_sku_unique` (`sku`),
  UNIQUE KEY `product_variants_product_id_color_size_unique` (`product_id`,`color`,`size`),
  UNIQUE KEY `product_variants_barcode_unique` (`barcode`),
  CONSTRAINT `product_variants_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `product_variants`
--

LOCK TABLES `product_variants` WRITE;
/*!40000 ALTER TABLE `product_variants` DISABLE KEYS */;
/*!40000 ALTER TABLE `product_variants` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `production_capacities`
--

DROP TABLE IF EXISTS `production_capacities`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_capacities` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `production_line_id` bigint(20) unsigned DEFAULT NULL,
  `product_id` bigint(20) unsigned DEFAULT NULL,
  `date` date NOT NULL,
  `capacity_hours` decimal(8,2) NOT NULL DEFAULT 0.00,
  `planned_hours` decimal(8,2) NOT NULL DEFAULT 0.00,
  `available_hours` decimal(8,2) NOT NULL DEFAULT 0.00,
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `production_capacities_branch_id_foreign` (`branch_id`),
  KEY `production_capacities_production_line_id_foreign` (`production_line_id`),
  KEY `production_capacities_product_id_foreign` (`product_id`),
  KEY `production_capacities_date_index` (`date`),
  CONSTRAINT `production_capacities_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `production_capacities_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL,
  CONSTRAINT `production_capacities_production_line_id_foreign` FOREIGN KEY (`production_line_id`) REFERENCES `production_lines` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `production_capacities`
--

LOCK TABLES `production_capacities` WRITE;
/*!40000 ALTER TABLE `production_capacities` DISABLE KEYS */;
/*!40000 ALTER TABLE `production_capacities` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `production_costs`
--

DROP TABLE IF EXISTS `production_costs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_costs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `work_order_id` bigint(20) unsigned NOT NULL,
  `cost_type` varchar(30) NOT NULL,
  `amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `description` text DEFAULT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `production_costs_work_order_id_foreign` (`work_order_id`),
  KEY `production_costs_employee_id_foreign` (`employee_id`),
  KEY `production_costs_branch_id_index` (`branch_id`),
  CONSTRAINT `production_costs_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `production_costs_work_order_id_foreign` FOREIGN KEY (`work_order_id`) REFERENCES `work_orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `production_costs`
--

LOCK TABLES `production_costs` WRITE;
/*!40000 ALTER TABLE `production_costs` DISABLE KEYS */;
/*!40000 ALTER TABLE `production_costs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `production_downtimes`
--

DROP TABLE IF EXISTS `production_downtimes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_downtimes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `work_order_id` bigint(20) unsigned DEFAULT NULL,
  `production_line_id` bigint(20) unsigned DEFAULT NULL,
  `machine_id` bigint(20) unsigned DEFAULT NULL,
  `started_at` timestamp NULL DEFAULT NULL,
  `ended_at` timestamp NULL DEFAULT NULL,
  `minutes` int(10) unsigned NOT NULL DEFAULT 0,
  `reason` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `production_downtimes_work_order_id_foreign` (`work_order_id`),
  KEY `production_downtimes_production_line_id_foreign` (`production_line_id`),
  KEY `production_downtimes_machine_id_foreign` (`machine_id`),
  KEY `production_downtimes_branch_id_index` (`branch_id`),
  CONSTRAINT `production_downtimes_machine_id_foreign` FOREIGN KEY (`machine_id`) REFERENCES `machines` (`id`) ON DELETE SET NULL,
  CONSTRAINT `production_downtimes_production_line_id_foreign` FOREIGN KEY (`production_line_id`) REFERENCES `production_lines` (`id`) ON DELETE SET NULL,
  CONSTRAINT `production_downtimes_work_order_id_foreign` FOREIGN KEY (`work_order_id`) REFERENCES `work_orders` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `production_downtimes`
--

LOCK TABLES `production_downtimes` WRITE;
/*!40000 ALTER TABLE `production_downtimes` DISABLE KEYS */;
/*!40000 ALTER TABLE `production_downtimes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `production_lines`
--

DROP TABLE IF EXISTS `production_lines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `production_lines` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(30) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `capacity_per_day` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `production_lines_branch_id_foreign` (`branch_id`),
  CONSTRAINT `production_lines_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `production_lines`
--

LOCK TABLES `production_lines` WRITE;
/*!40000 ALTER TABLE `production_lines` DISABLE KEYS */;
/*!40000 ALTER TABLE `production_lines` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `products`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `products` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `sku` varchar(255) NOT NULL,
  `barcode` varchar(255) DEFAULT NULL,
  `category_id` bigint(20) unsigned DEFAULT NULL,
  `brand_id` bigint(20) unsigned DEFAULT NULL,
  `unit_id` bigint(20) unsigned DEFAULT NULL,
  `cost_price` decimal(12,2) NOT NULL DEFAULT 0.00,
  `selling_price` decimal(12,2) NOT NULL DEFAULT 0.00,
  `reorder_level` int(11) NOT NULL DEFAULT 0,
  `description` text DEFAULT NULL,
  `image` varchar(255) DEFAULT NULL,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `products_sku_unique` (`sku`),
  UNIQUE KEY `products_barcode_unique` (`barcode`),
  KEY `products_category_id_foreign` (`category_id`),
  KEY `products_brand_id_foreign` (`brand_id`),
  KEY `products_unit_id_foreign` (`unit_id`),
  KEY `products_branch_id_index` (`branch_id`),
  CONSTRAINT `products_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `products_brand_id_foreign` FOREIGN KEY (`brand_id`) REFERENCES `brands` (`id`) ON DELETE SET NULL,
  CONSTRAINT `products_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `categories` (`id`) ON DELETE SET NULL,
  CONSTRAINT `products_unit_id_foreign` FOREIGN KEY (`unit_id`) REFERENCES `units` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `products` WRITE;
/*!40000 ALTER TABLE `products` DISABLE KEYS */;
/*!40000 ALTER TABLE `products` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `profit_distributions`
--

DROP TABLE IF EXISTS `profit_distributions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `profit_distributions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `investment_id` bigint(20) unsigned NOT NULL,
  `distribution_date` date NOT NULL,
  `amount` decimal(12,2) NOT NULL,
  `attachment_path` varchar(255) DEFAULT NULL,
  `status` enum('pending','approved','rejected') NOT NULL DEFAULT 'pending',
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `profit_distributions_investment_id_foreign` (`investment_id`),
  KEY `profit_distributions_wallet_id_index` (`wallet_id`),
  KEY `profit_distributions_wallet_transaction_id_index` (`wallet_transaction_id`),
  KEY `profit_distributions_approved_by_users` (`approved_by`),
  CONSTRAINT `profit_distributions_approved_by_users` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `profit_distributions_investment_id_foreign` FOREIGN KEY (`investment_id`) REFERENCES `investments` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `profit_distributions`
--

LOCK TABLES `profit_distributions` WRITE;
/*!40000 ALTER TABLE `profit_distributions` DISABLE KEYS */;
/*!40000 ALTER TABLE `profit_distributions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `project_tasks`
--

DROP TABLE IF EXISTS `project_tasks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `project_tasks` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `milestone_id` bigint(20) unsigned NOT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `priority` enum('low','medium','high') NOT NULL DEFAULT 'medium',
  `status` enum('pending','in_progress','completed','cancelled') NOT NULL DEFAULT 'pending',
  `due_date` date DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `project_tasks_milestone_id_foreign` (`milestone_id`),
  KEY `project_tasks_employee_id_foreign` (`employee_id`),
  CONSTRAINT `project_tasks_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `project_tasks_milestone_id_foreign` FOREIGN KEY (`milestone_id`) REFERENCES `milestones` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `project_tasks`
--

LOCK TABLES `project_tasks` WRITE;
/*!40000 ALTER TABLE `project_tasks` DISABLE KEYS */;
/*!40000 ALTER TABLE `project_tasks` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `projects`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `projects` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` bigint(20) unsigned NOT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `status` enum('planning','in_progress','on_hold','completed','cancelled') NOT NULL DEFAULT 'planning',
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `budget` decimal(12,2) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `projects_customer_id_foreign` (`customer_id`),
  KEY `projects_employee_id_foreign` (`employee_id`),
  KEY `projects_branch_id_index` (`branch_id`),
  CONSTRAINT `projects_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `projects_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `projects_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

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

LOCK TABLES `projects` WRITE;
/*!40000 ALTER TABLE `projects` DISABLE KEYS */;
/*!40000 ALTER TABLE `projects` ENABLE KEYS */;
UNLOCK TABLES;

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

DROP TABLE IF EXISTS `properties`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `properties` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `code` varchar(40) DEFAULT NULL,
  `type` varchar(40) NOT NULL DEFAULT 'apartment',
  `address` text DEFAULT NULL,
  `city` varchar(255) DEFAULT NULL,
  `seller_name` varchar(255) DEFAULT NULL,
  `seller_phone` varchar(255) DEFAULT NULL,
  `asking_price` decimal(14,2) DEFAULT NULL,
  `total_area` decimal(12,2) DEFAULT NULL,
  `bedrooms` int(10) unsigned DEFAULT NULL,
  `bathrooms` int(10) unsigned DEFAULT NULL,
  `parking_spaces` int(10) unsigned DEFAULT NULL,
  `amenities` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`amenities`)),
  `amenities_list` text DEFAULT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'available',
  `listing_status` varchar(255) NOT NULL DEFAULT 'draft',
  `price` decimal(15,2) NOT NULL DEFAULT 0.00,
  `description` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `properties_branch_id_foreign` (`branch_id`),
  CONSTRAINT `properties_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `properties`
--

LOCK TABLES `properties` WRITE;
/*!40000 ALTER TABLE `properties` DISABLE KEYS */;
/*!40000 ALTER TABLE `properties` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `property_agreements`
--

DROP TABLE IF EXISTS `property_agreements`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `property_agreements` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `agreement_no` varchar(40) NOT NULL,
  `property_id` bigint(20) unsigned DEFAULT NULL,
  `property_unit_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `agent_id` bigint(20) unsigned DEFAULT NULL,
  `sale_price` decimal(15,2) NOT NULL DEFAULT 0.00,
  `discount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `commission_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `agreement_date` date DEFAULT NULL,
  `template_used` varchar(255) DEFAULT NULL,
  `file_path` varchar(255) DEFAULT NULL,
  `signature_status` varchar(20) NOT NULL DEFAULT 'unsigned',
  `signed_by_buyer` varchar(255) DEFAULT NULL,
  `signed_by_seller` varchar(255) DEFAULT NULL,
  `signed_at` timestamp NULL DEFAULT NULL,
  `spa_emailed_at` timestamp NULL DEFAULT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'draft',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `property_agreements_agreement_no_unique` (`agreement_no`),
  KEY `property_agreements_property_id_foreign` (`property_id`),
  KEY `property_agreements_property_unit_id_foreign` (`property_unit_id`),
  KEY `property_agreements_customer_id_foreign` (`customer_id`),
  KEY `property_agreements_agent_id_foreign` (`agent_id`),
  KEY `property_agreements_branch_id_index` (`branch_id`),
  CONSTRAINT `property_agreements_agent_id_foreign` FOREIGN KEY (`agent_id`) REFERENCES `sales_agents` (`id`) ON DELETE SET NULL,
  CONSTRAINT `property_agreements_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `property_agreements_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `properties` (`id`) ON DELETE SET NULL,
  CONSTRAINT `property_agreements_property_unit_id_foreign` FOREIGN KEY (`property_unit_id`) REFERENCES `property_units` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `property_agreements`
--

LOCK TABLES `property_agreements` WRITE;
/*!40000 ALTER TABLE `property_agreements` DISABLE KEYS */;
/*!40000 ALTER TABLE `property_agreements` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `property_brokers`
--

DROP TABLE IF EXISTS `property_brokers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `property_brokers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `company_name` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `type` varchar(255) NOT NULL DEFAULT 'broker',
  `commission_percent` decimal(5,2) NOT NULL DEFAULT 2.00,
  `status` varchar(255) NOT NULL DEFAULT 'active',
  `notes` text DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `property_brokers`
--

LOCK TABLES `property_brokers` WRITE;
/*!40000 ALTER TABLE `property_brokers` DISABLE KEYS */;
/*!40000 ALTER TABLE `property_brokers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `property_commissions`
--

DROP TABLE IF EXISTS `property_commissions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `property_commissions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `property_agreement_id` bigint(20) unsigned NOT NULL,
  `payee_type` varchar(255) NOT NULL,
  `sales_agent_id` bigint(20) unsigned DEFAULT NULL,
  `property_broker_id` bigint(20) unsigned DEFAULT NULL,
  `sale_amount` decimal(14,2) NOT NULL,
  `commission_percent` decimal(5,2) NOT NULL,
  `commission_amount` decimal(14,2) NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'pending',
  `paid_at` timestamp NULL DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `property_commissions`
--

LOCK TABLES `property_commissions` WRITE;
/*!40000 ALTER TABLE `property_commissions` DISABLE KEYS */;
/*!40000 ALTER TABLE `property_commissions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `property_feedback`
--

DROP TABLE IF EXISTS `property_feedback`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `property_feedback` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned NOT NULL,
  `property_id` bigint(20) unsigned DEFAULT NULL,
  `property_agreement_id` bigint(20) unsigned DEFAULT NULL,
  `rating` tinyint(3) unsigned NOT NULL,
  `category` varchar(255) NOT NULL DEFAULT 'handover',
  `review` text DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `property_feedback`
--

LOCK TABLES `property_feedback` WRITE;
/*!40000 ALTER TABLE `property_feedback` DISABLE KEYS */;
/*!40000 ALTER TABLE `property_feedback` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `property_handovers`
--

DROP TABLE IF EXISTS `property_handovers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `property_handovers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `property_agreement_id` bigint(20) unsigned NOT NULL,
  `property_unit_id` bigint(20) unsigned DEFAULT NULL,
  `scheduled_at` date DEFAULT NULL,
  `handed_over_at` date DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'pending',
  `inspection_notes` text DEFAULT NULL,
  `checklist` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`checklist`)),
  `feedback` text DEFAULT NULL,
  `rating` tinyint(3) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `property_handovers_property_agreement_id_foreign` (`property_agreement_id`),
  KEY `property_handovers_branch_id_index` (`branch_id`),
  CONSTRAINT `property_handovers_property_agreement_id_foreign` FOREIGN KEY (`property_agreement_id`) REFERENCES `property_agreements` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `property_handovers`
--

LOCK TABLES `property_handovers` WRITE;
/*!40000 ALTER TABLE `property_handovers` DISABLE KEYS */;
/*!40000 ALTER TABLE `property_handovers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `property_leads`
--

DROP TABLE IF EXISTS `property_leads`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `property_leads` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `lead_id` bigint(20) unsigned DEFAULT NULL,
  `agent_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `phone` varchar(40) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `budget` decimal(15,2) DEFAULT NULL,
  `pipeline_stage` varchar(30) NOT NULL DEFAULT 'new',
  `qualification` varchar(255) NOT NULL DEFAULT 'unqualified',
  `source` varchar(255) DEFAULT NULL,
  `requirements` text DEFAULT NULL,
  `property_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `property_leads_branch_id_foreign` (`branch_id`),
  KEY `property_leads_lead_id_foreign` (`lead_id`),
  KEY `property_leads_agent_id_foreign` (`agent_id`),
  KEY `property_leads_property_id_foreign` (`property_id`),
  KEY `property_leads_pipeline_stage_index` (`pipeline_stage`),
  CONSTRAINT `property_leads_agent_id_foreign` FOREIGN KEY (`agent_id`) REFERENCES `sales_agents` (`id`) ON DELETE SET NULL,
  CONSTRAINT `property_leads_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `property_leads_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE SET NULL,
  CONSTRAINT `property_leads_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `properties` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `property_leads`
--

LOCK TABLES `property_leads` WRITE;
/*!40000 ALTER TABLE `property_leads` DISABLE KEYS */;
/*!40000 ALTER TABLE `property_leads` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `property_offers`
--

DROP TABLE IF EXISTS `property_offers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `property_offers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `property_lead_id` bigint(20) unsigned NOT NULL,
  `property_id` bigint(20) unsigned DEFAULT NULL,
  `property_unit_id` bigint(20) unsigned DEFAULT NULL,
  `offer_amount` decimal(15,2) NOT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'pending',
  `valid_until` date DEFAULT NULL,
  `terms` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `property_offers_property_lead_id_foreign` (`property_lead_id`),
  KEY `property_offers_property_id_foreign` (`property_id`),
  KEY `property_offers_property_unit_id_foreign` (`property_unit_id`),
  KEY `property_offers_branch_id_index` (`branch_id`),
  CONSTRAINT `property_offers_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `properties` (`id`) ON DELETE SET NULL,
  CONSTRAINT `property_offers_property_lead_id_foreign` FOREIGN KEY (`property_lead_id`) REFERENCES `property_leads` (`id`) ON DELETE CASCADE,
  CONSTRAINT `property_offers_property_unit_id_foreign` FOREIGN KEY (`property_unit_id`) REFERENCES `property_units` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `property_offers`
--

LOCK TABLES `property_offers` WRITE;
/*!40000 ALTER TABLE `property_offers` DISABLE KEYS */;
/*!40000 ALTER TABLE `property_offers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `property_payment_plans`
--

DROP TABLE IF EXISTS `property_payment_plans`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `property_payment_plans` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `property_agreement_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `due_date` date DEFAULT NULL,
  `collection_date` date DEFAULT NULL,
  `collector_employee_id` bigint(20) unsigned DEFAULT NULL,
  `trigger` varchar(40) DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'pending',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `paid_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `property_payment_plans_property_agreement_id_foreign` (`property_agreement_id`),
  KEY `property_payment_plans_collector_employee_id_foreign` (`collector_employee_id`),
  CONSTRAINT `property_payment_plans_collector_employee_id_foreign` FOREIGN KEY (`collector_employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `property_payment_plans_property_agreement_id_foreign` FOREIGN KEY (`property_agreement_id`) REFERENCES `property_agreements` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `property_payment_plans`
--

LOCK TABLES `property_payment_plans` WRITE;
/*!40000 ALTER TABLE `property_payment_plans` DISABLE KEYS */;
/*!40000 ALTER TABLE `property_payment_plans` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `property_price_history`
--

DROP TABLE IF EXISTS `property_price_history`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `property_price_history` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `property_id` bigint(20) unsigned DEFAULT NULL,
  `property_unit_id` bigint(20) unsigned DEFAULT NULL,
  `old_price` decimal(15,2) DEFAULT NULL,
  `new_price` decimal(15,2) NOT NULL,
  `reason` varchar(150) DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `property_price_history_property_id_foreign` (`property_id`),
  KEY `property_price_history_property_unit_id_foreign` (`property_unit_id`),
  KEY `property_price_history_user_id_foreign` (`user_id`),
  CONSTRAINT `property_price_history_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `properties` (`id`) ON DELETE SET NULL,
  CONSTRAINT `property_price_history_property_unit_id_foreign` FOREIGN KEY (`property_unit_id`) REFERENCES `property_units` (`id`) ON DELETE SET NULL,
  CONSTRAINT `property_price_history_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `property_price_history`
--

LOCK TABLES `property_price_history` WRITE;
/*!40000 ALTER TABLE `property_price_history` DISABLE KEYS */;
/*!40000 ALTER TABLE `property_price_history` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `property_reservations`
--

DROP TABLE IF EXISTS `property_reservations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `property_reservations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `booking_no` varchar(40) NOT NULL,
  `property_lead_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `property_id` bigint(20) unsigned DEFAULT NULL,
  `property_unit_id` bigint(20) unsigned DEFAULT NULL,
  `booking_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `subtotal` decimal(15,2) NOT NULL DEFAULT 0.00,
  `discount_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `tax_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total` decimal(15,2) NOT NULL DEFAULT 0.00,
  `paid_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `payment_status` varchar(20) NOT NULL DEFAULT 'unpaid',
  `coupon_code` varchar(60) DEFAULT NULL,
  `loyalty_points_redeemed` decimal(12,2) NOT NULL DEFAULT 0.00,
  `notes` text DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `reservation_date` date DEFAULT NULL,
  `expires_at` date DEFAULT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'active',
  `sales_agreement_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `property_reservations_booking_no_unique` (`booking_no`),
  KEY `property_reservations_property_lead_id_foreign` (`property_lead_id`),
  KEY `property_reservations_property_id_foreign` (`property_id`),
  KEY `property_reservations_property_unit_id_foreign` (`property_unit_id`),
  KEY `property_reservations_branch_id_index` (`branch_id`),
  CONSTRAINT `property_reservations_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `properties` (`id`) ON DELETE SET NULL,
  CONSTRAINT `property_reservations_property_lead_id_foreign` FOREIGN KEY (`property_lead_id`) REFERENCES `property_leads` (`id`) ON DELETE SET NULL,
  CONSTRAINT `property_reservations_property_unit_id_foreign` FOREIGN KEY (`property_unit_id`) REFERENCES `property_units` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `property_reservations`
--

LOCK TABLES `property_reservations` WRITE;
/*!40000 ALTER TABLE `property_reservations` DISABLE KEYS */;
/*!40000 ALTER TABLE `property_reservations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `property_units`
--

DROP TABLE IF EXISTS `property_units`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `property_units` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `property_id` bigint(20) unsigned NOT NULL,
  `unit_no` varchar(40) NOT NULL,
  `type` varchar(40) DEFAULT NULL,
  `area` decimal(12,2) DEFAULT NULL,
  `price` decimal(15,2) NOT NULL DEFAULT 0.00,
  `status` varchar(30) NOT NULL DEFAULT 'available',
  `listing_status` varchar(255) NOT NULL DEFAULT 'available',
  `floor` varchar(20) DEFAULT NULL,
  `attributes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attributes`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `property_units_property_id_foreign` (`property_id`),
  CONSTRAINT `property_units_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `properties` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `property_units`
--

LOCK TABLES `property_units` WRITE;
/*!40000 ALTER TABLE `property_units` DISABLE KEYS */;
/*!40000 ALTER TABLE `property_units` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `property_visits`
--

DROP TABLE IF EXISTS `property_visits`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `property_visits` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `property_lead_id` bigint(20) unsigned NOT NULL,
  `property_id` bigint(20) unsigned DEFAULT NULL,
  `agent_id` bigint(20) unsigned DEFAULT NULL,
  `scheduled_at` timestamp NULL DEFAULT NULL,
  `visited_at` timestamp NULL DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'scheduled',
  `feedback` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `property_visits_property_lead_id_foreign` (`property_lead_id`),
  KEY `property_visits_property_id_foreign` (`property_id`),
  KEY `property_visits_agent_id_foreign` (`agent_id`),
  KEY `property_visits_branch_id_index` (`branch_id`),
  CONSTRAINT `property_visits_agent_id_foreign` FOREIGN KEY (`agent_id`) REFERENCES `sales_agents` (`id`) ON DELETE SET NULL,
  CONSTRAINT `property_visits_property_id_foreign` FOREIGN KEY (`property_id`) REFERENCES `properties` (`id`) ON DELETE SET NULL,
  CONSTRAINT `property_visits_property_lead_id_foreign` FOREIGN KEY (`property_lead_id`) REFERENCES `property_leads` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `property_visits`
--

LOCK TABLES `property_visits` WRITE;
/*!40000 ALTER TABLE `property_visits` DISABLE KEYS */;
/*!40000 ALTER TABLE `property_visits` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `public_payment_requests`
--

DROP TABLE IF EXISTS `public_payment_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `public_payment_requests` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` bigint(20) unsigned NOT NULL,
  `customer_due_id` bigint(20) unsigned DEFAULT NULL,
  `method` varchar(10) NOT NULL,
  `mfs_provider` varchar(40) DEFAULT NULL,
  `sender_number` varchar(40) DEFAULT NULL,
  `transaction_id` varchar(120) NOT NULL,
  `sender_name` varchar(150) NOT NULL,
  `amount` decimal(15,2) NOT NULL,
  `note` text DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'pending',
  `reviewed_by` bigint(20) unsigned DEFAULT NULL,
  `review_note` varchar(500) DEFAULT NULL,
  `ip_hash` varchar(64) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `public_payment_requests_customer_due_id_foreign` (`customer_due_id`),
  KEY `public_payment_requests_reviewed_by_foreign` (`reviewed_by`),
  KEY `public_payment_requests_customer_id_status_index` (`customer_id`,`status`),
  KEY `public_payment_requests_transaction_id_status_index` (`transaction_id`,`status`),
  CONSTRAINT `public_payment_requests_customer_due_id_foreign` FOREIGN KEY (`customer_due_id`) REFERENCES `customer_dues` (`id`) ON DELETE SET NULL,
  CONSTRAINT `public_payment_requests_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE CASCADE,
  CONSTRAINT `public_payment_requests_reviewed_by_foreign` FOREIGN KEY (`reviewed_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `public_payment_requests`
--

LOCK TABLES `public_payment_requests` WRITE;
/*!40000 ALTER TABLE `public_payment_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `public_payment_requests` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `purchase_order_items`
--

DROP TABLE IF EXISTS `purchase_order_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `purchase_order_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `purchase_order_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned DEFAULT NULL,
  `item_name` varchar(255) NOT NULL,
  `unit` varchar(255) DEFAULT NULL,
  `qty_ordered` decimal(12,2) NOT NULL,
  `qty_received` decimal(12,2) NOT NULL DEFAULT 0.00,
  `unit_cost` decimal(14,2) NOT NULL,
  `tax_percent` decimal(5,2) NOT NULL DEFAULT 0.00,
  `subtotal` decimal(14,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `purchase_order_items_purchase_order_id_foreign` (`purchase_order_id`),
  CONSTRAINT `purchase_order_items_purchase_order_id_foreign` FOREIGN KEY (`purchase_order_id`) REFERENCES `purchase_orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `purchase_order_items`
--

LOCK TABLES `purchase_order_items` WRITE;
/*!40000 ALTER TABLE `purchase_order_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `purchase_order_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `purchase_orders`
--

DROP TABLE IF EXISTS `purchase_orders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `purchase_orders` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `po_number` varchar(255) NOT NULL,
  `vendor_id` bigint(20) unsigned DEFAULT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `stock_branch_id` bigint(20) unsigned DEFAULT NULL,
  `order_date` date NOT NULL,
  `expected_date` date DEFAULT NULL,
  `status` enum('draft','ordered','partially_received','received','cancelled') NOT NULL DEFAULT 'draft',
  `subtotal` decimal(14,2) NOT NULL DEFAULT 0.00,
  `discount` decimal(14,2) NOT NULL DEFAULT 0.00,
  `tax` decimal(14,2) NOT NULL DEFAULT 0.00,
  `shipping_cost` decimal(14,2) NOT NULL DEFAULT 0.00,
  `total` decimal(14,2) NOT NULL DEFAULT 0.00,
  `notes` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_via` varchar(20) DEFAULT NULL,
  `auto_planned` tinyint(1) DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `purchase_orders_po_number_unique` (`po_number`),
  KEY `purchase_orders_created_by_foreign` (`created_by`),
  KEY `purchase_orders_vendor_id_status_index` (`vendor_id`,`status`),
  KEY `purchase_orders_warehouse_id_foreign` (`warehouse_id`),
  KEY `purchase_orders_branch_id_index` (`branch_id`),
  KEY `purchase_orders_created_via_index` (`created_via`),
  KEY `purchase_orders_auto_planned_index` (`auto_planned`),
  KEY `purchase_orders_stock_branch_id_foreign` (`stock_branch_id`),
  CONSTRAINT `purchase_orders_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `purchase_orders_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `purchase_orders_stock_branch_id_foreign` FOREIGN KEY (`stock_branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `purchase_orders_vendor_id_foreign` FOREIGN KEY (`vendor_id`) REFERENCES `vendors` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_orders_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `purchase_orders`
--

LOCK TABLES `purchase_orders` WRITE;
/*!40000 ALTER TABLE `purchase_orders` DISABLE KEYS */;
/*!40000 ALTER TABLE `purchase_orders` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `purchase_return_items`
--

DROP TABLE IF EXISTS `purchase_return_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `purchase_return_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `purchase_return_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned DEFAULT NULL,
  `item_name` varchar(255) NOT NULL,
  `qty` decimal(12,2) NOT NULL,
  `unit_cost` decimal(14,2) NOT NULL,
  `subtotal` decimal(14,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `purchase_return_items_purchase_return_id_foreign` (`purchase_return_id`),
  CONSTRAINT `purchase_return_items_purchase_return_id_foreign` FOREIGN KEY (`purchase_return_id`) REFERENCES `purchase_returns` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `purchase_return_items`
--

LOCK TABLES `purchase_return_items` WRITE;
/*!40000 ALTER TABLE `purchase_return_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `purchase_return_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `purchase_returns`
--

DROP TABLE IF EXISTS `purchase_returns`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `purchase_returns` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `return_number` varchar(255) NOT NULL,
  `purchase_order_id` bigint(20) unsigned DEFAULT NULL,
  `vendor_id` bigint(20) unsigned NOT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `stock_branch_id` bigint(20) unsigned DEFAULT NULL,
  `return_date` date NOT NULL,
  `reason` text DEFAULT NULL,
  `status` enum('completed','void') NOT NULL DEFAULT 'completed',
  `total` decimal(14,2) NOT NULL DEFAULT 0.00,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `purchase_returns_return_number_unique` (`return_number`),
  KEY `purchase_returns_purchase_order_id_foreign` (`purchase_order_id`),
  KEY `purchase_returns_vendor_id_foreign` (`vendor_id`),
  KEY `purchase_returns_created_by_foreign` (`created_by`),
  KEY `purchase_returns_warehouse_id_foreign` (`warehouse_id`),
  KEY `purchase_returns_branch_id_index` (`branch_id`),
  KEY `purchase_returns_stock_branch_id_foreign` (`stock_branch_id`),
  CONSTRAINT `purchase_returns_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `purchase_returns_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `purchase_returns_purchase_order_id_foreign` FOREIGN KEY (`purchase_order_id`) REFERENCES `purchase_orders` (`id`) ON DELETE SET NULL,
  CONSTRAINT `purchase_returns_stock_branch_id_foreign` FOREIGN KEY (`stock_branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `purchase_returns_vendor_id_foreign` FOREIGN KEY (`vendor_id`) REFERENCES `vendors` (`id`) ON DELETE CASCADE,
  CONSTRAINT `purchase_returns_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `purchase_returns`
--

LOCK TABLES `purchase_returns` WRITE;
/*!40000 ALTER TABLE `purchase_returns` DISABLE KEYS */;
/*!40000 ALTER TABLE `purchase_returns` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `push_subscriptions`
--

DROP TABLE IF EXISTS `push_subscriptions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `push_subscriptions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned NOT NULL,
  `endpoint` text NOT NULL,
  `endpoint_hash` varchar(255) NOT NULL,
  `p256dh` text NOT NULL,
  `auth` text NOT NULL,
  `user_agent` varchar(255) DEFAULT NULL,
  `expired_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `push_subscriptions_endpoint_hash_unique` (`endpoint_hash`),
  KEY `push_subscriptions_user_id_index` (`user_id`),
  CONSTRAINT `push_subscriptions_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `push_subscriptions`
--

LOCK TABLES `push_subscriptions` WRITE;
/*!40000 ALTER TABLE `push_subscriptions` DISABLE KEYS */;
/*!40000 ALTER TABLE `push_subscriptions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `quality_defects`
--

DROP TABLE IF EXISTS `quality_defects`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `quality_defects` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `quality_inspection_id` bigint(20) unsigned NOT NULL,
  `defect_type` varchar(100) NOT NULL,
  `severity` varchar(20) NOT NULL DEFAULT 'minor',
  `quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `disposition` varchar(30) NOT NULL DEFAULT 'rework',
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `quality_defects_quality_inspection_id_foreign` (`quality_inspection_id`),
  KEY `quality_defects_branch_id_index` (`branch_id`),
  CONSTRAINT `quality_defects_quality_inspection_id_foreign` FOREIGN KEY (`quality_inspection_id`) REFERENCES `quality_inspections` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `quality_defects`
--

LOCK TABLES `quality_defects` WRITE;
/*!40000 ALTER TABLE `quality_defects` DISABLE KEYS */;
/*!40000 ALTER TABLE `quality_defects` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `quality_inspections`
--

DROP TABLE IF EXISTS `quality_inspections`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `quality_inspections` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `inspection_no` varchar(40) NOT NULL,
  `work_order_id` bigint(20) unsigned DEFAULT NULL,
  `product_id` bigint(20) unsigned DEFAULT NULL,
  `batch_id` bigint(20) unsigned DEFAULT NULL,
  `inspector_id` bigint(20) unsigned DEFAULT NULL,
  `type` varchar(30) NOT NULL DEFAULT 'inline',
  `inspected_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `passed_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `defect_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `rework_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `rejected_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `result` varchar(20) NOT NULL DEFAULT 'pending',
  `checklist` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`checklist`)),
  `remarks` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `quality_inspections_inspection_no_unique` (`inspection_no`),
  KEY `quality_inspections_work_order_id_foreign` (`work_order_id`),
  KEY `quality_inspections_product_id_foreign` (`product_id`),
  KEY `quality_inspections_batch_id_foreign` (`batch_id`),
  KEY `quality_inspections_inspector_id_foreign` (`inspector_id`),
  KEY `quality_inspections_branch_id_index` (`branch_id`),
  CONSTRAINT `quality_inspections_batch_id_foreign` FOREIGN KEY (`batch_id`) REFERENCES `batch_numbers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `quality_inspections_inspector_id_foreign` FOREIGN KEY (`inspector_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `quality_inspections_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL,
  CONSTRAINT `quality_inspections_work_order_id_foreign` FOREIGN KEY (`work_order_id`) REFERENCES `work_orders` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `quality_inspections`
--

LOCK TABLES `quality_inspections` WRITE;
/*!40000 ALTER TABLE `quality_inspections` DISABLE KEYS */;
/*!40000 ALTER TABLE `quality_inspections` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `quotation_items`
--

DROP TABLE IF EXISTS `quotation_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `quotation_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `quotation_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `quantity` decimal(14,2) NOT NULL,
  `unit_price` decimal(12,2) NOT NULL,
  `discount` decimal(12,2) NOT NULL DEFAULT 0.00,
  `total` decimal(14,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `quotation_items_quotation_id_foreign` (`quotation_id`),
  KEY `quotation_items_product_id_foreign` (`product_id`),
  CONSTRAINT `quotation_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`),
  CONSTRAINT `quotation_items_quotation_id_foreign` FOREIGN KEY (`quotation_id`) REFERENCES `quotations` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `quotation_items`
--

LOCK TABLES `quotation_items` WRITE;
/*!40000 ALTER TABLE `quotation_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `quotation_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `quotations`
--

DROP TABLE IF EXISTS `quotations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `quotations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `quotation_no` varchar(255) NOT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `customer_name` varchar(255) NOT NULL,
  `customer_email` varchar(255) DEFAULT NULL,
  `customer_phone` varchar(255) DEFAULT NULL,
  `status` enum('draft','sent','accepted','rejected','expired') NOT NULL DEFAULT 'draft',
  `date` date NOT NULL,
  `valid_until` date DEFAULT NULL,
  `subtotal` decimal(14,2) NOT NULL DEFAULT 0.00,
  `discount` decimal(14,2) NOT NULL DEFAULT 0.00,
  `tax` decimal(14,2) NOT NULL DEFAULT 0.00,
  `total` decimal(14,2) NOT NULL DEFAULT 0.00,
  `note` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `quotations_quotation_no_unique` (`quotation_no`),
  KEY `quotations_warehouse_id_foreign` (`warehouse_id`),
  KEY `quotations_created_by_foreign` (`created_by`),
  KEY `quotations_customer_id_foreign` (`customer_id`),
  KEY `quotations_branch_id_index` (`branch_id`),
  CONSTRAINT `quotations_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `quotations_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `quotations_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `quotations_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `quotations`
--

LOCK TABLES `quotations` WRITE;
/*!40000 ALTER TABLE `quotations` DISABLE KEYS */;
/*!40000 ALTER TABLE `quotations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `quote_requests`
--

DROP TABLE IF EXISTS `quote_requests`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `quote_requests` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `tier` varchar(30) NOT NULL,
  `name` varchar(255) NOT NULL,
  `company` varchar(255) DEFAULT NULL,
  `email` varchar(255) NOT NULL,
  `phone` varchar(30) DEFAULT NULL,
  `branches` tinyint(3) unsigned DEFAULT NULL,
  `team_size` tinyint(3) unsigned DEFAULT NULL,
  `message` text DEFAULT NULL,
  `source_url` varchar(255) DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'new',
  `handled_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `quote_requests_tier_index` (`tier`),
  KEY `quote_requests_status_index` (`status`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `quote_requests`
--

LOCK TABLES `quote_requests` WRITE;
/*!40000 ALTER TABLE `quote_requests` DISABLE KEYS */;
/*!40000 ALTER TABLE `quote_requests` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `reminder_notifications`
--

DROP TABLE IF EXISTS `reminder_notifications`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `reminder_notifications` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `reminder_id` bigint(20) unsigned DEFAULT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `message` text DEFAULT NULL,
  `is_read` tinyint(1) NOT NULL DEFAULT 0,
  `kind` varchar(40) DEFAULT NULL,
  `kind_id` bigint(20) unsigned DEFAULT NULL,
  `notified_at` datetime NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `crm_followup_unique` (`kind`,`kind_id`,`user_id`,`notified_at`),
  KEY `reminder_notifications_employee_id_foreign` (`employee_id`),
  KEY `reminder_notifications_user_id_foreign` (`user_id`),
  KEY `reminder_notifications_is_read_notified_at_index` (`is_read`,`notified_at`),
  KEY `reminder_notifications_reminder_id_index` (`reminder_id`),
  KEY `reminder_notifications_kind_index` (`kind`),
  KEY `reminder_notifications_kind_id_index` (`kind_id`),
  CONSTRAINT `reminder_notifications_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `reminder_notifications_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=651 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `reminder_notifications`
--

LOCK TABLES `reminder_notifications` WRITE;
/*!40000 ALTER TABLE `reminder_notifications` DISABLE KEYS */;
INSERT INTO `reminder_notifications` VALUES
(1,1,NULL,1,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-28 00:00:00','2026-10-27 18:14:43','2026-10-27 18:14:43'),
(2,1,NULL,7,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-28 00:00:00','2026-10-27 18:14:43','2026-10-27 18:14:43'),
(3,1,NULL,8,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-28 00:00:00','2026-10-27 18:14:43','2026-10-27 18:14:43'),
(4,1,NULL,2,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-28 00:00:00','2026-10-27 18:14:44','2026-10-27 18:14:44'),
(5,1,NULL,3,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-28 00:00:00','2026-10-27 18:14:44','2026-10-27 18:14:44'),
(6,1,NULL,4,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-28 00:00:00','2026-10-27 18:14:44','2026-10-27 18:14:44'),
(7,1,NULL,5,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-28 00:00:00','2026-10-27 18:14:44','2026-10-27 18:14:44'),
(8,1,NULL,6,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-28 00:00:00','2026-10-27 18:14:44','2026-10-27 18:14:44'),
(9,1,NULL,9,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-28 00:00:00','2026-10-27 18:14:45','2026-10-27 18:14:45'),
(10,1,NULL,10,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-28 00:00:00','2026-10-27 18:14:45','2026-10-27 18:14:45'),
(11,1,NULL,11,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-28 00:00:00','2026-10-27 18:14:45','2026-10-27 18:14:45'),
(12,1,NULL,12,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-28 00:00:00','2026-10-27 18:14:45','2026-10-27 18:14:45'),
(13,1,NULL,13,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-28 00:00:00','2026-10-27 18:14:45','2026-10-27 18:14:45'),
(14,2,NULL,1,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-28 00:00:00','2026-10-27 18:14:45','2026-10-27 18:14:45'),
(15,2,NULL,7,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-28 00:00:00','2026-10-27 18:14:46','2026-10-27 18:14:46'),
(16,2,NULL,8,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-28 00:00:00','2026-10-27 18:14:46','2026-10-27 18:14:46'),
(17,2,NULL,2,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-28 00:00:00','2026-10-27 18:14:46','2026-10-27 18:14:46'),
(18,2,NULL,3,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-28 00:00:00','2026-10-27 18:14:46','2026-10-27 18:14:46'),
(19,2,NULL,4,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-28 00:00:00','2026-10-27 18:14:46','2026-10-27 18:14:46'),
(20,2,NULL,5,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-28 00:00:00','2026-10-27 18:14:47','2026-10-27 18:14:47'),
(21,2,NULL,6,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-28 00:00:00','2026-10-27 18:14:47','2026-10-27 18:14:47'),
(22,2,NULL,9,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-28 00:00:00','2026-10-27 18:14:47','2026-10-27 18:14:47'),
(23,2,NULL,10,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-28 00:00:00','2026-10-27 18:14:47','2026-10-27 18:14:47'),
(24,2,NULL,11,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-28 00:00:00','2026-10-27 18:14:47','2026-10-27 18:14:47'),
(25,2,NULL,12,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-28 00:00:00','2026-10-27 18:14:48','2026-10-27 18:14:48'),
(26,2,NULL,13,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-28 00:00:00','2026-10-27 18:14:48','2026-10-27 18:14:48'),
(27,3,NULL,1,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-28 00:00:00','2026-10-27 18:14:48','2026-10-27 18:14:48'),
(28,3,NULL,7,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-28 00:00:00','2026-10-27 18:14:48','2026-10-27 18:14:48'),
(29,3,NULL,8,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-28 00:00:00','2026-10-27 18:14:48','2026-10-27 18:14:48'),
(30,3,NULL,2,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-28 00:00:00','2026-10-27 18:14:49','2026-10-27 18:14:49'),
(31,3,NULL,3,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-28 00:00:00','2026-10-27 18:14:49','2026-10-27 18:14:49'),
(32,3,NULL,4,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-28 00:00:00','2026-10-27 18:14:49','2026-10-27 18:14:49'),
(33,3,NULL,5,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-28 00:00:00','2026-10-27 18:14:49','2026-10-27 18:14:49'),
(34,3,NULL,6,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-28 00:00:00','2026-10-27 18:14:49','2026-10-27 18:14:49'),
(35,3,NULL,9,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-28 00:00:00','2026-10-27 18:14:49','2026-10-27 18:14:49'),
(36,3,NULL,10,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-28 00:00:00','2026-10-27 18:14:50','2026-10-27 18:14:50'),
(37,3,NULL,11,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-28 00:00:00','2026-10-27 18:14:50','2026-10-27 18:14:50'),
(38,3,NULL,12,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-28 00:00:00','2026-10-27 18:14:50','2026-10-27 18:14:50'),
(39,3,NULL,13,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-28 00:00:00','2026-10-27 18:14:50','2026-10-27 18:14:50'),
(40,4,NULL,1,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-28 00:00:00','2026-10-27 18:14:50','2026-10-27 18:14:50'),
(41,4,NULL,7,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-28 00:00:00','2026-10-27 18:14:51','2026-10-27 18:14:51'),
(42,4,NULL,8,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-28 00:00:00','2026-10-27 18:14:51','2026-10-27 18:14:51'),
(43,4,NULL,2,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-28 00:00:00','2026-10-27 18:14:51','2026-10-27 18:14:51'),
(44,4,NULL,3,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-28 00:00:00','2026-10-27 18:14:51','2026-10-27 18:14:51'),
(45,4,NULL,4,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-28 00:00:00','2026-10-27 18:14:51','2026-10-27 18:14:51'),
(46,4,NULL,5,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-28 00:00:00','2026-10-27 18:14:52','2026-10-27 18:14:52'),
(47,4,NULL,6,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-28 00:00:00','2026-10-27 18:14:52','2026-10-27 18:14:52'),
(48,4,NULL,9,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-28 00:00:00','2026-10-27 18:14:52','2026-10-27 18:14:52'),
(49,4,NULL,10,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-28 00:00:00','2026-10-27 18:14:52','2026-10-27 18:14:52'),
(50,4,NULL,11,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-28 00:00:00','2026-10-27 18:14:52','2026-10-27 18:14:52'),
(51,4,NULL,12,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-28 00:00:00','2026-10-27 18:14:52','2026-10-27 18:14:52'),
(52,4,NULL,13,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-28 00:00:00','2026-10-27 18:14:53','2026-10-27 18:14:53'),
(53,5,NULL,1,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (16 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-28 00:00:00','2026-10-27 18:14:53','2026-10-27 18:14:53'),
(54,5,NULL,7,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (16 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-28 00:00:00','2026-10-27 18:14:53','2026-10-27 18:14:53'),
(55,5,NULL,8,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (16 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-28 00:00:00','2026-10-27 18:14:53','2026-10-27 18:14:53'),
(56,5,NULL,2,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (16 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-28 00:00:00','2026-10-27 18:14:53','2026-10-27 18:14:53'),
(57,5,NULL,3,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (16 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-28 00:00:00','2026-10-27 18:14:54','2026-10-27 18:14:54'),
(58,5,NULL,4,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (16 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-28 00:00:00','2026-10-27 18:14:54','2026-10-27 18:14:54'),
(59,5,NULL,5,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (16 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-28 00:00:00','2026-10-27 18:14:54','2026-10-27 18:14:54'),
(60,5,NULL,6,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (16 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-28 00:00:00','2026-10-27 18:14:54','2026-10-27 18:14:54'),
(61,5,NULL,9,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (16 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-28 00:00:00','2026-10-27 18:14:54','2026-10-27 18:14:54'),
(62,5,NULL,10,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (16 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-28 00:00:00','2026-10-27 18:14:55','2026-10-27 18:14:55'),
(63,5,NULL,11,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (16 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-28 00:00:00','2026-10-27 18:14:55','2026-10-27 18:14:55'),
(64,5,NULL,12,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (16 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-28 00:00:00','2026-10-27 18:14:55','2026-10-27 18:14:55'),
(65,5,NULL,13,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (16 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-28 00:00:00','2026-10-27 18:14:55','2026-10-27 18:14:55'),
(66,6,NULL,1,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (30 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-28 00:00:00','2026-10-27 18:14:55','2026-10-27 18:14:55'),
(67,6,NULL,7,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (30 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-28 00:00:00','2026-10-27 18:14:55','2026-10-27 18:14:55'),
(68,6,NULL,8,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (30 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-28 00:00:00','2026-10-27 18:14:56','2026-10-27 18:14:56'),
(69,6,NULL,2,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (30 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-28 00:00:00','2026-10-27 18:14:56','2026-10-27 18:14:56'),
(70,6,NULL,3,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (30 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-28 00:00:00','2026-10-27 18:14:56','2026-10-27 18:14:56'),
(71,6,NULL,4,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (30 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-28 00:00:00','2026-10-27 18:14:56','2026-10-27 18:14:56'),
(72,6,NULL,5,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (30 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-28 00:00:00','2026-10-27 18:14:56','2026-10-27 18:14:56'),
(73,6,NULL,6,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (30 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-28 00:00:00','2026-10-27 18:14:57','2026-10-27 18:14:57'),
(74,6,NULL,9,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (30 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-28 00:00:00','2026-10-27 18:14:57','2026-10-27 18:14:57'),
(75,6,NULL,10,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (30 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-28 00:00:00','2026-10-27 18:14:57','2026-10-27 18:14:57'),
(76,6,NULL,11,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (30 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-28 00:00:00','2026-10-27 18:14:57','2026-10-27 18:14:57'),
(77,6,NULL,12,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (30 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-28 00:00:00','2026-10-27 18:14:57','2026-10-27 18:14:57'),
(78,6,NULL,13,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (30 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-28 00:00:00','2026-10-27 18:14:58','2026-10-27 18:14:58'),
(79,7,NULL,1,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (33 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-28 00:00:00','2026-10-27 18:14:58','2026-10-27 18:14:58'),
(80,7,NULL,7,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (33 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-28 00:00:00','2026-10-27 18:14:58','2026-10-27 18:14:58'),
(81,7,NULL,8,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (33 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-28 00:00:00','2026-10-27 18:14:58','2026-10-27 18:14:58'),
(82,7,NULL,2,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (33 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-28 00:00:00','2026-10-27 18:14:58','2026-10-27 18:14:58'),
(83,7,NULL,3,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (33 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-28 00:00:00','2026-10-27 18:14:59','2026-10-27 18:14:59'),
(84,7,NULL,4,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (33 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-28 00:00:00','2026-10-27 18:14:59','2026-10-27 18:14:59'),
(85,7,NULL,5,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (33 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-28 00:00:00','2026-10-27 18:14:59','2026-10-27 18:14:59'),
(86,7,NULL,6,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (33 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-28 00:00:00','2026-10-27 18:14:59','2026-10-27 18:14:59'),
(87,7,NULL,9,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (33 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-28 00:00:00','2026-10-27 18:14:59','2026-10-27 18:14:59'),
(88,7,NULL,10,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (33 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-28 00:00:00','2026-10-27 18:14:59','2026-10-27 18:14:59'),
(89,7,NULL,11,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (33 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-28 00:00:00','2026-10-27 18:15:00','2026-10-27 18:15:00'),
(90,7,NULL,12,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (33 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-28 00:00:00','2026-10-27 18:15:00','2026-10-27 18:15:00'),
(91,7,NULL,13,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (33 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-28 00:00:00','2026-10-27 18:15:00','2026-10-27 18:15:00'),
(92,8,NULL,1,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (51 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-28 00:00:00','2026-10-27 18:15:00','2026-10-27 18:15:00'),
(93,8,NULL,7,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (51 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-28 00:00:00','2026-10-27 18:15:00','2026-10-27 18:15:00'),
(94,8,NULL,8,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (51 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-28 00:00:00','2026-10-27 18:15:01','2026-10-27 18:15:01'),
(95,8,NULL,2,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (51 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-28 00:00:00','2026-10-27 18:15:01','2026-10-27 18:15:01'),
(96,8,NULL,3,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (51 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-28 00:00:00','2026-10-27 18:15:01','2026-10-27 18:15:01'),
(97,8,NULL,4,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (51 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-28 00:00:00','2026-10-27 18:15:01','2026-10-27 18:15:01'),
(98,8,NULL,5,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (51 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-28 00:00:00','2026-10-27 18:15:01','2026-10-27 18:15:01'),
(99,8,NULL,6,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (51 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-28 00:00:00','2026-10-27 18:15:01','2026-10-27 18:15:01'),
(100,8,NULL,9,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (51 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-28 00:00:00','2026-10-27 18:15:02','2026-10-27 18:15:02'),
(101,8,NULL,10,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (51 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-28 00:00:00','2026-10-27 18:15:02','2026-10-27 18:15:02'),
(102,8,NULL,11,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (51 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-28 00:00:00','2026-10-27 18:15:02','2026-10-27 18:15:02'),
(103,8,NULL,12,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (51 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-28 00:00:00','2026-10-27 18:15:02','2026-10-27 18:15:02'),
(104,8,NULL,13,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (51 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-28 00:00:00','2026-10-27 18:15:02','2026-10-27 18:15:02'),
(105,9,NULL,1,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (65 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-28 00:00:00','2026-10-27 18:15:03','2026-10-27 18:15:03'),
(106,9,NULL,7,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (65 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-28 00:00:00','2026-10-27 18:15:03','2026-10-27 18:15:03'),
(107,9,NULL,8,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (65 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-28 00:00:00','2026-10-27 18:15:03','2026-10-27 18:15:03'),
(108,9,NULL,2,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (65 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-28 00:00:00','2026-10-27 18:15:03','2026-10-27 18:15:03'),
(109,9,NULL,3,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (65 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-28 00:00:00','2026-10-27 18:15:03','2026-10-27 18:15:03'),
(110,9,NULL,4,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (65 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-28 00:00:00','2026-10-27 18:15:03','2026-10-27 18:15:03'),
(111,9,NULL,5,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (65 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-28 00:00:00','2026-10-27 18:15:04','2026-10-27 18:15:04'),
(112,9,NULL,6,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (65 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-28 00:00:00','2026-10-27 18:15:04','2026-10-27 18:15:04'),
(113,9,NULL,9,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (65 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-28 00:00:00','2026-10-27 18:15:04','2026-10-27 18:15:04'),
(114,9,NULL,10,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (65 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-28 00:00:00','2026-10-27 18:15:04','2026-10-27 18:15:04'),
(115,9,NULL,11,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (65 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-28 00:00:00','2026-10-27 18:15:04','2026-10-27 18:15:04'),
(116,9,NULL,12,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (65 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-28 00:00:00','2026-10-27 18:15:05','2026-10-27 18:15:05'),
(117,9,NULL,13,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (65 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-28 00:00:00','2026-10-27 18:15:05','2026-10-27 18:15:05'),
(118,10,NULL,1,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (67 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-28 00:00:00','2026-10-27 18:15:05','2026-10-27 18:15:05'),
(119,10,NULL,7,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (67 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-28 00:00:00','2026-10-27 18:15:05','2026-10-27 18:15:05'),
(120,10,NULL,8,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (67 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-28 00:00:00','2026-10-27 18:15:05','2026-10-27 18:15:05'),
(121,10,NULL,2,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (67 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-28 00:00:00','2026-10-27 18:15:06','2026-10-27 18:15:06'),
(122,10,NULL,3,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (67 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-28 00:00:00','2026-10-27 18:15:06','2026-10-27 18:15:06'),
(123,10,NULL,4,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (67 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-28 00:00:00','2026-10-27 18:15:06','2026-10-27 18:15:06'),
(124,10,NULL,5,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (67 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-28 00:00:00','2026-10-27 18:15:06','2026-10-27 18:15:06'),
(125,10,NULL,6,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (67 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-28 00:00:00','2026-10-27 18:15:06','2026-10-27 18:15:06'),
(126,10,NULL,9,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (67 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-28 00:00:00','2026-10-27 18:15:06','2026-10-27 18:15:06'),
(127,10,NULL,10,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (67 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-28 00:00:00','2026-10-27 18:15:07','2026-10-27 18:15:07'),
(128,10,NULL,11,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (67 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-28 00:00:00','2026-10-27 18:15:07','2026-10-27 18:15:07'),
(129,10,NULL,12,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (67 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-28 00:00:00','2026-10-27 18:15:07','2026-10-27 18:15:07'),
(130,10,NULL,13,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (67 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-28 00:00:00','2026-10-27 18:15:07','2026-10-27 18:15:07'),
(131,11,NULL,1,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-29 00:00:00','2026-10-29 14:55:59','2026-10-29 14:55:59'),
(132,11,NULL,7,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-29 00:00:00','2026-10-29 14:55:59','2026-10-29 14:55:59'),
(133,11,NULL,8,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-29 00:00:00','2026-10-29 14:56:00','2026-10-29 14:56:00'),
(134,11,NULL,2,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-29 00:00:00','2026-10-29 14:56:00','2026-10-29 14:56:00'),
(135,11,NULL,3,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-29 00:00:00','2026-10-29 14:56:00','2026-10-29 14:56:00'),
(136,11,NULL,4,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-29 00:00:00','2026-10-29 14:56:00','2026-10-29 14:56:00'),
(137,11,NULL,5,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-29 00:00:00','2026-10-29 14:56:00','2026-10-29 14:56:00'),
(138,11,NULL,6,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-29 00:00:00','2026-10-29 14:56:01','2026-10-29 14:56:01'),
(139,11,NULL,9,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-29 00:00:00','2026-10-29 14:56:01','2026-10-29 14:56:01'),
(140,11,NULL,10,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-29 00:00:00','2026-10-29 14:56:01','2026-10-29 14:56:01'),
(141,11,NULL,11,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-29 00:00:00','2026-10-29 14:56:01','2026-10-29 14:56:01'),
(142,11,NULL,12,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-29 00:00:00','2026-10-29 14:56:01','2026-10-29 14:56:01'),
(143,11,NULL,13,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-29 00:00:00','2026-10-29 14:56:02','2026-10-29 14:56:02'),
(144,12,NULL,1,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-29 00:00:00','2026-10-29 14:56:02','2026-10-29 14:56:02'),
(145,12,NULL,7,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-29 00:00:00','2026-10-29 14:56:02','2026-10-29 14:56:02'),
(146,12,NULL,8,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-29 00:00:00','2026-10-29 14:56:02','2026-10-29 14:56:02'),
(147,12,NULL,2,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-29 00:00:00','2026-10-29 14:56:02','2026-10-29 14:56:02'),
(148,12,NULL,3,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-29 00:00:00','2026-10-29 14:56:02','2026-10-29 14:56:02'),
(149,12,NULL,4,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-29 00:00:00','2026-10-29 14:56:03','2026-10-29 14:56:03'),
(150,12,NULL,5,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-29 00:00:00','2026-10-29 14:56:03','2026-10-29 14:56:03'),
(151,12,NULL,6,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-29 00:00:00','2026-10-29 14:56:03','2026-10-29 14:56:03'),
(152,12,NULL,9,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-29 00:00:00','2026-10-29 14:56:03','2026-10-29 14:56:03'),
(153,12,NULL,10,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-29 00:00:00','2026-10-29 14:56:03','2026-10-29 14:56:03'),
(154,12,NULL,11,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-29 00:00:00','2026-10-29 14:56:04','2026-10-29 14:56:04'),
(155,12,NULL,12,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-29 00:00:00','2026-10-29 14:56:04','2026-10-29 14:56:04'),
(156,12,NULL,13,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-29 00:00:00','2026-10-29 14:56:04','2026-10-29 14:56:04'),
(157,13,NULL,1,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-29 00:00:00','2026-10-29 14:56:04','2026-10-29 14:56:04'),
(158,13,NULL,7,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-29 00:00:00','2026-10-29 14:56:04','2026-10-29 14:56:04'),
(159,13,NULL,8,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-29 00:00:00','2026-10-29 14:56:04','2026-10-29 14:56:04'),
(160,13,NULL,2,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-29 00:00:00','2026-10-29 14:56:05','2026-10-29 14:56:05'),
(161,13,NULL,3,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-29 00:00:00','2026-10-29 14:56:05','2026-10-29 14:56:05'),
(162,13,NULL,4,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-29 00:00:00','2026-10-29 14:56:05','2026-10-29 14:56:05'),
(163,13,NULL,5,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-29 00:00:00','2026-10-29 14:56:05','2026-10-29 14:56:05'),
(164,13,NULL,6,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-29 00:00:00','2026-10-29 14:56:05','2026-10-29 14:56:05'),
(165,13,NULL,9,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-29 00:00:00','2026-10-29 14:56:06','2026-10-29 14:56:06'),
(166,13,NULL,10,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-29 00:00:00','2026-10-29 14:56:06','2026-10-29 14:56:06'),
(167,13,NULL,11,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-29 00:00:00','2026-10-29 14:56:06','2026-10-29 14:56:06'),
(168,13,NULL,12,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-29 00:00:00','2026-10-29 14:56:06','2026-10-29 14:56:06'),
(169,13,NULL,13,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-29 00:00:00','2026-10-29 14:56:06','2026-10-29 14:56:06'),
(170,14,NULL,1,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-29 00:00:00','2026-10-29 14:56:06','2026-10-29 14:56:06'),
(171,14,NULL,7,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-29 00:00:00','2026-10-29 14:56:07','2026-10-29 14:56:07'),
(172,14,NULL,8,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-29 00:00:00','2026-10-29 14:56:07','2026-10-29 14:56:07'),
(173,14,NULL,2,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-29 00:00:00','2026-10-29 14:56:07','2026-10-29 14:56:07'),
(174,14,NULL,3,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-29 00:00:00','2026-10-29 14:56:07','2026-10-29 14:56:07'),
(175,14,NULL,4,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-29 00:00:00','2026-10-29 14:56:07','2026-10-29 14:56:07'),
(176,14,NULL,5,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-29 00:00:00','2026-10-29 14:56:08','2026-10-29 14:56:08'),
(177,14,NULL,6,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-29 00:00:00','2026-10-29 14:56:08','2026-10-29 14:56:08'),
(178,14,NULL,9,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-29 00:00:00','2026-10-29 14:56:08','2026-10-29 14:56:08'),
(179,14,NULL,10,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-29 00:00:00','2026-10-29 14:56:08','2026-10-29 14:56:08'),
(180,14,NULL,11,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-29 00:00:00','2026-10-29 14:56:08','2026-10-29 14:56:08'),
(181,14,NULL,12,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-29 00:00:00','2026-10-29 14:56:08','2026-10-29 14:56:08'),
(182,14,NULL,13,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-29 00:00:00','2026-10-29 14:56:09','2026-10-29 14:56:09'),
(183,15,NULL,1,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (15 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-29 00:00:00','2026-10-29 14:56:09','2026-10-29 14:56:09'),
(184,15,NULL,7,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (15 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-29 00:00:00','2026-10-29 14:56:09','2026-10-29 14:56:09'),
(185,15,NULL,8,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (15 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-29 00:00:00','2026-10-29 14:56:09','2026-10-29 14:56:09'),
(186,15,NULL,2,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (15 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-29 00:00:00','2026-10-29 14:56:09','2026-10-29 14:56:09'),
(187,15,NULL,3,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (15 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-29 00:00:00','2026-10-29 14:56:10','2026-10-29 14:56:10'),
(188,15,NULL,4,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (15 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-29 00:00:00','2026-10-29 14:56:10','2026-10-29 14:56:10'),
(189,15,NULL,5,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (15 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-29 00:00:00','2026-10-29 14:56:10','2026-10-29 14:56:10'),
(190,15,NULL,6,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (15 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-29 00:00:00','2026-10-29 14:56:10','2026-10-29 14:56:10'),
(191,15,NULL,9,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (15 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-29 00:00:00','2026-10-29 14:56:10','2026-10-29 14:56:10'),
(192,15,NULL,10,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (15 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-29 00:00:00','2026-10-29 14:56:10','2026-10-29 14:56:10'),
(193,15,NULL,11,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (15 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-29 00:00:00','2026-10-29 14:56:11','2026-10-29 14:56:11'),
(194,15,NULL,12,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (15 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-29 00:00:00','2026-10-29 14:56:11','2026-10-29 14:56:11'),
(195,15,NULL,13,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (15 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-29 00:00:00','2026-10-29 14:56:11','2026-10-29 14:56:11'),
(196,16,NULL,1,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (29 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-29 00:00:00','2026-10-29 14:56:11','2026-10-29 14:56:11'),
(197,16,NULL,7,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (29 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-29 00:00:00','2026-10-29 14:56:11','2026-10-29 14:56:11'),
(198,16,NULL,8,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (29 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-29 00:00:00','2026-10-29 14:56:12','2026-10-29 14:56:12'),
(199,16,NULL,2,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (29 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-29 00:00:00','2026-10-29 14:56:12','2026-10-29 14:56:12'),
(200,16,NULL,3,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (29 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-29 00:00:00','2026-10-29 14:56:12','2026-10-29 14:56:12'),
(201,16,NULL,4,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (29 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-29 00:00:00','2026-10-29 14:56:12','2026-10-29 14:56:12'),
(202,16,NULL,5,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (29 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-29 00:00:00','2026-10-29 14:56:12','2026-10-29 14:56:12'),
(203,16,NULL,6,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (29 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-29 00:00:00','2026-10-29 14:56:12','2026-10-29 14:56:12'),
(204,16,NULL,9,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (29 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-29 00:00:00','2026-10-29 14:56:13','2026-10-29 14:56:13'),
(205,16,NULL,10,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (29 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-29 00:00:00','2026-10-29 14:56:13','2026-10-29 14:56:13'),
(206,16,NULL,11,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (29 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-29 00:00:00','2026-10-29 14:56:13','2026-10-29 14:56:13'),
(207,16,NULL,12,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (29 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-29 00:00:00','2026-10-29 14:56:13','2026-10-29 14:56:13'),
(208,16,NULL,13,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (29 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-29 00:00:00','2026-10-29 14:56:13','2026-10-29 14:56:13'),
(209,17,NULL,1,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (32 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-29 00:00:00','2026-10-29 14:56:14','2026-10-29 14:56:14'),
(210,17,NULL,7,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (32 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-29 00:00:00','2026-10-29 14:56:14','2026-10-29 14:56:14'),
(211,17,NULL,8,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (32 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-29 00:00:00','2026-10-29 14:56:14','2026-10-29 14:56:14'),
(212,17,NULL,2,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (32 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-29 00:00:00','2026-10-29 14:56:14','2026-10-29 14:56:14'),
(213,17,NULL,3,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (32 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-29 00:00:00','2026-10-29 14:56:14','2026-10-29 14:56:14'),
(214,17,NULL,4,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (32 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-29 00:00:00','2026-10-29 14:56:15','2026-10-29 14:56:15'),
(215,17,NULL,5,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (32 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-29 00:00:00','2026-10-29 14:56:15','2026-10-29 14:56:15'),
(216,17,NULL,6,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (32 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-29 00:00:00','2026-10-29 14:56:15','2026-10-29 14:56:15'),
(217,17,NULL,9,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (32 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-29 00:00:00','2026-10-29 14:56:15','2026-10-29 14:56:15'),
(218,17,NULL,10,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (32 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-29 00:00:00','2026-10-29 14:56:15','2026-10-29 14:56:15'),
(219,17,NULL,11,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (32 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-29 00:00:00','2026-10-29 14:56:15','2026-10-29 14:56:15'),
(220,17,NULL,12,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (32 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-29 00:00:00','2026-10-29 14:56:16','2026-10-29 14:56:16'),
(221,17,NULL,13,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (32 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-29 00:00:00','2026-10-29 14:56:16','2026-10-29 14:56:16'),
(222,18,NULL,1,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (50 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-29 00:00:00','2026-10-29 14:56:16','2026-10-29 14:56:16'),
(223,18,NULL,7,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (50 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-29 00:00:00','2026-10-29 14:56:16','2026-10-29 14:56:16'),
(224,18,NULL,8,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (50 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-29 00:00:00','2026-10-29 14:56:16','2026-10-29 14:56:16'),
(225,18,NULL,2,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (50 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-29 00:00:00','2026-10-29 14:56:17','2026-10-29 14:56:17'),
(226,18,NULL,3,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (50 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-29 00:00:00','2026-10-29 14:56:17','2026-10-29 14:56:17'),
(227,18,NULL,4,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (50 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-29 00:00:00','2026-10-29 14:56:17','2026-10-29 14:56:17'),
(228,18,NULL,5,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (50 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-29 00:00:00','2026-10-29 14:56:17','2026-10-29 14:56:17'),
(229,18,NULL,6,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (50 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-29 00:00:00','2026-10-29 14:56:17','2026-10-29 14:56:17'),
(230,18,NULL,9,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (50 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-29 00:00:00','2026-10-29 14:56:17','2026-10-29 14:56:17'),
(231,18,NULL,10,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (50 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-29 00:00:00','2026-10-29 14:56:18','2026-10-29 14:56:18'),
(232,18,NULL,11,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (50 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-29 00:00:00','2026-10-29 14:56:18','2026-10-29 14:56:18'),
(233,18,NULL,12,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (50 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-29 00:00:00','2026-10-29 14:56:18','2026-10-29 14:56:18'),
(234,18,NULL,13,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (50 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-29 00:00:00','2026-10-29 14:56:18','2026-10-29 14:56:18'),
(235,19,NULL,1,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (64 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-29 00:00:00','2026-10-29 14:56:18','2026-10-29 14:56:18'),
(236,19,NULL,7,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (64 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-29 00:00:00','2026-10-29 14:56:19','2026-10-29 14:56:19'),
(237,19,NULL,8,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (64 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-29 00:00:00','2026-10-29 14:56:19','2026-10-29 14:56:19'),
(238,19,NULL,2,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (64 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-29 00:00:00','2026-10-29 14:56:19','2026-10-29 14:56:19'),
(239,19,NULL,3,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (64 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-29 00:00:00','2026-10-29 14:56:19','2026-10-29 14:56:19'),
(240,19,NULL,4,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (64 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-29 00:00:00','2026-10-29 14:56:19','2026-10-29 14:56:19'),
(241,19,NULL,5,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (64 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-29 00:00:00','2026-10-29 14:56:19','2026-10-29 14:56:19'),
(242,19,NULL,6,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (64 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-29 00:00:00','2026-10-29 14:56:20','2026-10-29 14:56:20'),
(243,19,NULL,9,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (64 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-29 00:00:00','2026-10-29 14:56:20','2026-10-29 14:56:20'),
(244,19,NULL,10,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (64 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-29 00:00:00','2026-10-29 14:56:20','2026-10-29 14:56:20'),
(245,19,NULL,11,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (64 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-29 00:00:00','2026-10-29 14:56:20','2026-10-29 14:56:20'),
(246,19,NULL,12,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (64 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-29 00:00:00','2026-10-29 14:56:20','2026-10-29 14:56:20'),
(247,19,NULL,13,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (64 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-29 00:00:00','2026-10-29 14:56:20','2026-10-29 14:56:20'),
(248,20,NULL,1,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (66 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-29 00:00:00','2026-10-29 14:56:21','2026-10-29 14:56:21'),
(249,20,NULL,7,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (66 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-29 00:00:00','2026-10-29 14:56:21','2026-10-29 14:56:21'),
(250,20,NULL,8,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (66 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-29 00:00:00','2026-10-29 14:56:21','2026-10-29 14:56:21'),
(251,20,NULL,2,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (66 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-29 00:00:00','2026-10-29 14:56:21','2026-10-29 14:56:21'),
(252,20,NULL,3,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (66 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-29 00:00:00','2026-10-29 14:56:21','2026-10-29 14:56:21'),
(253,20,NULL,4,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (66 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-29 00:00:00','2026-10-29 14:56:22','2026-10-29 14:56:22'),
(254,20,NULL,5,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (66 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-29 00:00:00','2026-10-29 14:56:22','2026-10-29 14:56:22'),
(255,20,NULL,6,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (66 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-29 00:00:00','2026-10-29 14:56:22','2026-10-29 14:56:22'),
(256,20,NULL,9,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (66 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-29 00:00:00','2026-10-29 14:56:22','2026-10-29 14:56:22'),
(257,20,NULL,10,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (66 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-29 00:00:00','2026-10-29 14:56:22','2026-10-29 14:56:22'),
(258,20,NULL,11,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (66 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-29 00:00:00','2026-10-29 14:56:22','2026-10-29 14:56:22'),
(259,20,NULL,12,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (66 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-29 00:00:00','2026-10-29 14:56:23','2026-10-29 14:56:23'),
(260,20,NULL,13,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (66 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-29 00:00:00','2026-10-29 14:56:23','2026-10-29 14:56:23'),
(261,21,NULL,1,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-30 00:00:00','2026-10-30 05:34:06','2026-10-30 05:34:06'),
(262,21,NULL,7,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-30 00:00:00','2026-10-30 05:34:07','2026-10-30 05:34:07'),
(263,21,NULL,8,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-30 00:00:00','2026-10-30 05:34:07','2026-10-30 05:34:07'),
(264,21,NULL,2,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-30 00:00:00','2026-10-30 05:34:07','2026-10-30 05:34:07'),
(265,21,NULL,3,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-30 00:00:00','2026-10-30 05:34:07','2026-10-30 05:34:07'),
(266,21,NULL,4,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-30 00:00:00','2026-10-30 05:34:07','2026-10-30 05:34:07'),
(267,21,NULL,5,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-30 00:00:00','2026-10-30 05:34:07','2026-10-30 05:34:07'),
(268,21,NULL,6,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-30 00:00:00','2026-10-30 05:34:08','2026-10-30 05:34:08'),
(269,21,NULL,9,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-30 00:00:00','2026-10-30 05:34:08','2026-10-30 05:34:08'),
(270,21,NULL,10,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-30 00:00:00','2026-10-30 05:34:08','2026-10-30 05:34:08'),
(271,21,NULL,11,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-30 00:00:00','2026-10-30 05:34:08','2026-10-30 05:34:08'),
(272,21,NULL,12,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-30 00:00:00','2026-10-30 05:34:08','2026-10-30 05:34:08'),
(273,21,NULL,13,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-30 00:00:00','2026-10-30 05:34:09','2026-10-30 05:34:09'),
(274,22,NULL,1,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-30 00:00:00','2026-10-30 05:34:09','2026-10-30 05:34:09'),
(275,22,NULL,7,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-30 00:00:00','2026-10-30 05:34:09','2026-10-30 05:34:09'),
(276,22,NULL,8,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-30 00:00:00','2026-10-30 05:34:09','2026-10-30 05:34:09'),
(277,22,NULL,2,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-30 00:00:00','2026-10-30 05:34:09','2026-10-30 05:34:09'),
(278,22,NULL,3,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-30 00:00:00','2026-10-30 05:34:10','2026-10-30 05:34:10'),
(279,22,NULL,4,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-30 00:00:00','2026-10-30 05:34:10','2026-10-30 05:34:10'),
(280,22,NULL,5,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-30 00:00:00','2026-10-30 05:34:10','2026-10-30 05:34:10'),
(281,22,NULL,6,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-30 00:00:00','2026-10-30 05:34:10','2026-10-30 05:34:10'),
(282,22,NULL,9,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-30 00:00:00','2026-10-30 05:34:10','2026-10-30 05:34:10'),
(283,22,NULL,10,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-30 00:00:00','2026-10-30 05:34:11','2026-10-30 05:34:11'),
(284,22,NULL,11,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-30 00:00:00','2026-10-30 05:34:11','2026-10-30 05:34:11'),
(285,22,NULL,12,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-30 00:00:00','2026-10-30 05:34:11','2026-10-30 05:34:11'),
(286,22,NULL,13,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-30 00:00:00','2026-10-30 05:34:11','2026-10-30 05:34:11'),
(287,23,NULL,1,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-30 00:00:00','2026-10-30 05:34:11','2026-10-30 05:34:11'),
(288,23,NULL,7,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-30 00:00:00','2026-10-30 05:34:12','2026-10-30 05:34:12'),
(289,23,NULL,8,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-30 00:00:00','2026-10-30 05:34:12','2026-10-30 05:34:12'),
(290,23,NULL,2,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-30 00:00:00','2026-10-30 05:34:12','2026-10-30 05:34:12'),
(291,23,NULL,3,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-30 00:00:00','2026-10-30 05:34:12','2026-10-30 05:34:12'),
(292,23,NULL,4,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-30 00:00:00','2026-10-30 05:34:12','2026-10-30 05:34:12'),
(293,23,NULL,5,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-30 00:00:00','2026-10-30 05:34:13','2026-10-30 05:34:13'),
(294,23,NULL,6,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-30 00:00:00','2026-10-30 05:34:13','2026-10-30 05:34:13'),
(295,23,NULL,9,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-30 00:00:00','2026-10-30 05:34:13','2026-10-30 05:34:13'),
(296,23,NULL,10,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-30 00:00:00','2026-10-30 05:34:13','2026-10-30 05:34:13'),
(297,23,NULL,11,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-30 00:00:00','2026-10-30 05:34:13','2026-10-30 05:34:13'),
(298,23,NULL,12,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-30 00:00:00','2026-10-30 05:34:13','2026-10-30 05:34:13'),
(299,23,NULL,13,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-30 00:00:00','2026-10-30 05:34:14','2026-10-30 05:34:14'),
(300,24,NULL,1,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-30 00:00:00','2026-10-30 05:34:14','2026-10-30 05:34:14'),
(301,24,NULL,7,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-30 00:00:00','2026-10-30 05:34:14','2026-10-30 05:34:14'),
(302,24,NULL,8,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-30 00:00:00','2026-10-30 05:34:14','2026-10-30 05:34:14'),
(303,24,NULL,2,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-30 00:00:00','2026-10-30 05:34:14','2026-10-30 05:34:14'),
(304,24,NULL,3,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-30 00:00:00','2026-10-30 05:34:15','2026-10-30 05:34:15'),
(305,24,NULL,4,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-30 00:00:00','2026-10-30 05:34:15','2026-10-30 05:34:15'),
(306,24,NULL,5,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-30 00:00:00','2026-10-30 05:34:15','2026-10-30 05:34:15'),
(307,24,NULL,6,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-30 00:00:00','2026-10-30 05:34:15','2026-10-30 05:34:15'),
(308,24,NULL,9,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-30 00:00:00','2026-10-30 05:34:15','2026-10-30 05:34:15'),
(309,24,NULL,10,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-30 00:00:00','2026-10-30 05:34:15','2026-10-30 05:34:15'),
(310,24,NULL,11,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-30 00:00:00','2026-10-30 05:34:16','2026-10-30 05:34:16'),
(311,24,NULL,12,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-30 00:00:00','2026-10-30 05:34:16','2026-10-30 05:34:16'),
(312,24,NULL,13,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-30 00:00:00','2026-10-30 05:34:16','2026-10-30 05:34:16'),
(313,25,NULL,1,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (14 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-30 00:00:00','2026-10-30 05:34:16','2026-10-30 05:34:16'),
(314,25,NULL,7,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (14 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-30 00:00:00','2026-10-30 05:34:16','2026-10-30 05:34:16'),
(315,25,NULL,8,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (14 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-30 00:00:00','2026-10-30 05:34:17','2026-10-30 05:34:17'),
(316,25,NULL,2,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (14 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-30 00:00:00','2026-10-30 05:34:17','2026-10-30 05:34:17'),
(317,25,NULL,3,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (14 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-30 00:00:00','2026-10-30 05:34:17','2026-10-30 05:34:17'),
(318,25,NULL,4,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (14 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-30 00:00:00','2026-10-30 05:34:17','2026-10-30 05:34:17'),
(319,25,NULL,5,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (14 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-30 00:00:00','2026-10-30 05:34:17','2026-10-30 05:34:17'),
(320,25,NULL,6,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (14 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-30 00:00:00','2026-10-30 05:34:18','2026-10-30 05:34:18'),
(321,25,NULL,9,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (14 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-30 00:00:00','2026-10-30 05:34:18','2026-10-30 05:34:18'),
(322,25,NULL,10,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (14 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-30 00:00:00','2026-10-30 05:34:18','2026-10-30 05:34:18'),
(323,25,NULL,11,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (14 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-30 00:00:00','2026-10-30 05:34:18','2026-10-30 05:34:18'),
(324,25,NULL,12,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (14 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-30 00:00:00','2026-10-30 05:34:18','2026-10-30 05:34:18'),
(325,25,NULL,13,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (14 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-30 00:00:00','2026-10-30 05:34:19','2026-10-30 05:34:19'),
(326,26,NULL,1,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (28 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-30 00:00:00','2026-10-30 05:34:19','2026-10-30 05:34:19'),
(327,26,NULL,7,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (28 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-30 00:00:00','2026-10-30 05:34:19','2026-10-30 05:34:19'),
(328,26,NULL,8,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (28 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-30 00:00:00','2026-10-30 05:34:19','2026-10-30 05:34:19'),
(329,26,NULL,2,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (28 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-30 00:00:00','2026-10-30 05:34:19','2026-10-30 05:34:19'),
(330,26,NULL,3,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (28 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-30 00:00:00','2026-10-30 05:34:19','2026-10-30 05:34:19'),
(331,26,NULL,4,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (28 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-30 00:00:00','2026-10-30 05:34:20','2026-10-30 05:34:20'),
(332,26,NULL,5,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (28 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-30 00:00:00','2026-10-30 05:34:20','2026-10-30 05:34:20'),
(333,26,NULL,6,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (28 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-30 00:00:00','2026-10-30 05:34:20','2026-10-30 05:34:20'),
(334,26,NULL,9,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (28 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-30 00:00:00','2026-10-30 05:34:20','2026-10-30 05:34:20'),
(335,26,NULL,10,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (28 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-30 00:00:00','2026-10-30 05:34:20','2026-10-30 05:34:20'),
(336,26,NULL,11,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (28 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-30 00:00:00','2026-10-30 05:34:21','2026-10-30 05:34:21'),
(337,26,NULL,12,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (28 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-30 00:00:00','2026-10-30 05:34:21','2026-10-30 05:34:21'),
(338,26,NULL,13,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (28 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-30 00:00:00','2026-10-30 05:34:21','2026-10-30 05:34:21'),
(339,27,NULL,1,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (31 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-30 00:00:00','2026-10-30 05:34:21','2026-10-30 05:34:21'),
(340,27,NULL,7,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (31 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-30 00:00:00','2026-10-30 05:34:21','2026-10-30 05:34:21'),
(341,27,NULL,8,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (31 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-30 00:00:00','2026-10-30 05:34:21','2026-10-30 05:34:21'),
(342,27,NULL,2,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (31 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-30 00:00:00','2026-10-30 05:34:22','2026-10-30 05:34:22'),
(343,27,NULL,3,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (31 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-30 00:00:00','2026-10-30 05:34:22','2026-10-30 05:34:22'),
(344,27,NULL,4,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (31 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-30 00:00:00','2026-10-30 05:34:22','2026-10-30 05:34:22'),
(345,27,NULL,5,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (31 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-30 00:00:00','2026-10-30 05:34:22','2026-10-30 05:34:22'),
(346,27,NULL,6,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (31 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-30 00:00:00','2026-10-30 05:34:22','2026-10-30 05:34:22'),
(347,27,NULL,9,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (31 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-30 00:00:00','2026-10-30 05:34:23','2026-10-30 05:34:23'),
(348,27,NULL,10,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (31 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-30 00:00:00','2026-10-30 05:34:23','2026-10-30 05:34:23'),
(349,27,NULL,11,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (31 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-30 00:00:00','2026-10-30 05:34:23','2026-10-30 05:34:23'),
(350,27,NULL,12,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (31 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-30 00:00:00','2026-10-30 05:34:23','2026-10-30 05:34:23'),
(351,27,NULL,13,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (31 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-30 00:00:00','2026-10-30 05:34:23','2026-10-30 05:34:23'),
(352,28,NULL,1,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (49 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-30 00:00:00','2026-10-30 05:34:23','2026-10-30 05:34:23'),
(353,28,NULL,7,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (49 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-30 00:00:00','2026-10-30 05:34:24','2026-10-30 05:34:24'),
(354,28,NULL,8,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (49 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-30 00:00:00','2026-10-30 05:34:24','2026-10-30 05:34:24'),
(355,28,NULL,2,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (49 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-30 00:00:00','2026-10-30 05:34:24','2026-10-30 05:34:24'),
(356,28,NULL,3,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (49 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-30 00:00:00','2026-10-30 05:34:24','2026-10-30 05:34:24'),
(357,28,NULL,4,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (49 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-30 00:00:00','2026-10-30 05:34:24','2026-10-30 05:34:24'),
(358,28,NULL,5,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (49 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-30 00:00:00','2026-10-30 05:34:25','2026-10-30 05:34:25'),
(359,28,NULL,6,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (49 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-30 00:00:00','2026-10-30 05:34:25','2026-10-30 05:34:25'),
(360,28,NULL,9,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (49 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-30 00:00:00','2026-10-30 05:34:25','2026-10-30 05:34:25'),
(361,28,NULL,10,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (49 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-30 00:00:00','2026-10-30 05:34:25','2026-10-30 05:34:25'),
(362,28,NULL,11,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (49 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-30 00:00:00','2026-10-30 05:34:25','2026-10-30 05:34:25'),
(363,28,NULL,12,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (49 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-30 00:00:00','2026-10-30 05:34:26','2026-10-30 05:34:26'),
(364,28,NULL,13,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (49 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-30 00:00:00','2026-10-30 05:34:26','2026-10-30 05:34:26'),
(365,29,NULL,1,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (63 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-30 00:00:00','2026-10-30 05:34:26','2026-10-30 05:34:26'),
(366,29,NULL,7,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (63 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-30 00:00:00','2026-10-30 05:34:26','2026-10-30 05:34:26'),
(367,29,NULL,8,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (63 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-30 00:00:00','2026-10-30 05:34:26','2026-10-30 05:34:26'),
(368,29,NULL,2,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (63 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-30 00:00:00','2026-10-30 05:34:27','2026-10-30 05:34:27'),
(369,29,NULL,3,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (63 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-30 00:00:00','2026-10-30 05:34:27','2026-10-30 05:34:27'),
(370,29,NULL,4,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (63 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-30 00:00:00','2026-10-30 05:34:27','2026-10-30 05:34:27'),
(371,29,NULL,5,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (63 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-30 00:00:00','2026-10-30 05:34:27','2026-10-30 05:34:27'),
(372,29,NULL,6,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (63 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-30 00:00:00','2026-10-30 05:34:27','2026-10-30 05:34:27'),
(373,29,NULL,9,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (63 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-30 00:00:00','2026-10-30 05:34:27','2026-10-30 05:34:27'),
(374,29,NULL,10,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (63 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-30 00:00:00','2026-10-30 05:34:28','2026-10-30 05:34:28'),
(375,29,NULL,11,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (63 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-30 00:00:00','2026-10-30 05:34:28','2026-10-30 05:34:28'),
(376,29,NULL,12,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (63 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-30 00:00:00','2026-10-30 05:34:28','2026-10-30 05:34:28'),
(377,29,NULL,13,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (63 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-30 00:00:00','2026-10-30 05:34:28','2026-10-30 05:34:28'),
(378,30,NULL,1,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (65 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-30 00:00:00','2026-10-30 05:34:28','2026-10-30 05:34:28'),
(379,30,NULL,7,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (65 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-30 00:00:00','2026-10-30 05:34:29','2026-10-30 05:34:29'),
(380,30,NULL,8,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (65 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-30 00:00:00','2026-10-30 05:34:29','2026-10-30 05:34:29'),
(381,30,NULL,2,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (65 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-30 00:00:00','2026-10-30 05:34:29','2026-10-30 05:34:29'),
(382,30,NULL,3,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (65 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-30 00:00:00','2026-10-30 05:34:29','2026-10-30 05:34:29'),
(383,30,NULL,4,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (65 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-30 00:00:00','2026-10-30 05:34:29','2026-10-30 05:34:29'),
(384,30,NULL,5,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (65 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-30 00:00:00','2026-10-30 05:34:30','2026-10-30 05:34:30'),
(385,30,NULL,6,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (65 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-30 00:00:00','2026-10-30 05:34:30','2026-10-30 05:34:30'),
(386,30,NULL,9,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (65 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-30 00:00:00','2026-10-30 05:34:30','2026-10-30 05:34:30'),
(387,30,NULL,10,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (65 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-30 00:00:00','2026-10-30 05:34:30','2026-10-30 05:34:30'),
(388,30,NULL,11,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (65 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-30 00:00:00','2026-10-30 05:34:30','2026-10-30 05:34:30'),
(389,30,NULL,12,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (65 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-30 00:00:00','2026-10-30 05:34:30','2026-10-30 05:34:30'),
(390,30,NULL,13,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (65 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-30 00:00:00','2026-10-30 05:34:31','2026-10-30 05:34:31'),
(391,31,NULL,1,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-31 00:00:00','2026-10-30 18:27:32','2026-10-30 18:27:32'),
(392,31,NULL,7,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-31 00:00:00','2026-10-30 18:27:33','2026-10-30 18:27:33'),
(393,31,NULL,8,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-31 00:00:00','2026-10-30 18:27:33','2026-10-30 18:27:33'),
(394,31,NULL,2,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-31 00:00:00','2026-10-30 18:27:33','2026-10-30 18:27:33'),
(395,31,NULL,3,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-31 00:00:00','2026-10-30 18:27:34','2026-10-30 18:27:34'),
(396,31,NULL,4,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-31 00:00:00','2026-10-30 18:27:34','2026-10-30 18:27:34'),
(397,31,NULL,5,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-31 00:00:00','2026-10-30 18:27:34','2026-10-30 18:27:34'),
(398,31,NULL,6,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-31 00:00:00','2026-10-30 18:27:34','2026-10-30 18:27:34'),
(399,31,NULL,9,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-31 00:00:00','2026-10-30 18:27:34','2026-10-30 18:27:34'),
(400,31,NULL,10,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-31 00:00:00','2026-10-30 18:27:35','2026-10-30 18:27:35'),
(401,31,NULL,11,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-31 00:00:00','2026-10-30 18:27:35','2026-10-30 18:27:35'),
(402,31,NULL,12,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-31 00:00:00','2026-10-30 18:27:35','2026-10-30 18:27:35'),
(403,31,NULL,13,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-10-31 00:00:00','2026-10-30 18:27:35','2026-10-30 18:27:35'),
(404,32,NULL,1,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-31 00:00:00','2026-10-30 18:27:35','2026-10-30 18:27:35'),
(405,32,NULL,7,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-31 00:00:00','2026-10-30 18:27:36','2026-10-30 18:27:36'),
(406,32,NULL,8,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-31 00:00:00','2026-10-30 18:27:36','2026-10-30 18:27:36'),
(407,32,NULL,2,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-31 00:00:00','2026-10-30 18:27:36','2026-10-30 18:27:36'),
(408,32,NULL,3,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-31 00:00:00','2026-10-30 18:27:36','2026-10-30 18:27:36'),
(409,32,NULL,4,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-31 00:00:00','2026-10-30 18:27:36','2026-10-30 18:27:36'),
(410,32,NULL,5,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-31 00:00:00','2026-10-30 18:27:36','2026-10-30 18:27:36'),
(411,32,NULL,6,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-31 00:00:00','2026-10-30 18:27:37','2026-10-30 18:27:37'),
(412,32,NULL,9,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-31 00:00:00','2026-10-30 18:27:37','2026-10-30 18:27:37'),
(413,32,NULL,10,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-31 00:00:00','2026-10-30 18:27:37','2026-10-30 18:27:37'),
(414,32,NULL,11,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-31 00:00:00','2026-10-30 18:27:37','2026-10-30 18:27:37'),
(415,32,NULL,12,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-31 00:00:00','2026-10-30 18:27:37','2026-10-30 18:27:37'),
(416,32,NULL,13,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-10-31 00:00:00','2026-10-30 18:27:38','2026-10-30 18:27:38'),
(417,33,NULL,1,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-31 00:00:00','2026-10-30 18:27:38','2026-10-30 18:27:38'),
(418,33,NULL,7,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-31 00:00:00','2026-10-30 18:27:38','2026-10-30 18:27:38'),
(419,33,NULL,8,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-31 00:00:00','2026-10-30 18:27:38','2026-10-30 18:27:38'),
(420,33,NULL,2,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-31 00:00:00','2026-10-30 18:27:38','2026-10-30 18:27:38'),
(421,33,NULL,3,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-31 00:00:00','2026-10-30 18:27:39','2026-10-30 18:27:39'),
(422,33,NULL,4,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-31 00:00:00','2026-10-30 18:27:39','2026-10-30 18:27:39'),
(423,33,NULL,5,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-31 00:00:00','2026-10-30 18:27:39','2026-10-30 18:27:39'),
(424,33,NULL,6,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-31 00:00:00','2026-10-30 18:27:39','2026-10-30 18:27:39'),
(425,33,NULL,9,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-31 00:00:00','2026-10-30 18:27:39','2026-10-30 18:27:39'),
(426,33,NULL,10,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-31 00:00:00','2026-10-30 18:27:39','2026-10-30 18:27:39'),
(427,33,NULL,11,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-31 00:00:00','2026-10-30 18:27:40','2026-10-30 18:27:40'),
(428,33,NULL,12,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-31 00:00:00','2026-10-30 18:27:40','2026-10-30 18:27:40'),
(429,33,NULL,13,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-10-31 00:00:00','2026-10-30 18:27:40','2026-10-30 18:27:40'),
(430,34,NULL,1,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-31 00:00:00','2026-10-30 18:27:40','2026-10-30 18:27:40'),
(431,34,NULL,7,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-31 00:00:00','2026-10-30 18:27:40','2026-10-30 18:27:40'),
(432,34,NULL,8,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-31 00:00:00','2026-10-30 18:27:41','2026-10-30 18:27:41'),
(433,34,NULL,2,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-31 00:00:00','2026-10-30 18:27:41','2026-10-30 18:27:41'),
(434,34,NULL,3,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-31 00:00:00','2026-10-30 18:27:41','2026-10-30 18:27:41'),
(435,34,NULL,4,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-31 00:00:00','2026-10-30 18:27:41','2026-10-30 18:27:41'),
(436,34,NULL,5,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-31 00:00:00','2026-10-30 18:27:41','2026-10-30 18:27:41'),
(437,34,NULL,6,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-31 00:00:00','2026-10-30 18:27:42','2026-10-30 18:27:42'),
(438,34,NULL,9,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-31 00:00:00','2026-10-30 18:27:42','2026-10-30 18:27:42'),
(439,34,NULL,10,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-31 00:00:00','2026-10-30 18:27:42','2026-10-30 18:27:42'),
(440,34,NULL,11,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-31 00:00:00','2026-10-30 18:27:42','2026-10-30 18:27:42'),
(441,34,NULL,12,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-31 00:00:00','2026-10-30 18:27:42','2026-10-30 18:27:42'),
(442,34,NULL,13,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-10-31 00:00:00','2026-10-30 18:27:43','2026-10-30 18:27:43'),
(443,35,NULL,1,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (13 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-31 00:00:00','2026-10-30 18:27:43','2026-10-30 18:27:43'),
(444,35,NULL,7,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (13 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-31 00:00:00','2026-10-30 18:27:43','2026-10-30 18:27:43'),
(445,35,NULL,8,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (13 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-31 00:00:00','2026-10-30 18:27:43','2026-10-30 18:27:43'),
(446,35,NULL,2,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (13 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-31 00:00:00','2026-10-30 18:27:43','2026-10-30 18:27:43'),
(447,35,NULL,3,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (13 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-31 00:00:00','2026-10-30 18:27:44','2026-10-30 18:27:44'),
(448,35,NULL,4,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (13 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-31 00:00:00','2026-10-30 18:27:44','2026-10-30 18:27:44'),
(449,35,NULL,5,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (13 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-31 00:00:00','2026-10-30 18:27:44','2026-10-30 18:27:44'),
(450,35,NULL,6,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (13 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-31 00:00:00','2026-10-30 18:27:44','2026-10-30 18:27:44'),
(451,35,NULL,9,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (13 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-31 00:00:00','2026-10-30 18:27:44','2026-10-30 18:27:44'),
(452,35,NULL,10,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (13 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-31 00:00:00','2026-10-30 18:27:45','2026-10-30 18:27:45'),
(453,35,NULL,11,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (13 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-31 00:00:00','2026-10-30 18:27:45','2026-10-30 18:27:45'),
(454,35,NULL,12,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (13 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-31 00:00:00','2026-10-30 18:27:45','2026-10-30 18:27:45'),
(455,35,NULL,13,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (13 day(s)).',0,'pharmacy_near_expiry',3,'2026-10-31 00:00:00','2026-10-30 18:27:45','2026-10-30 18:27:45'),
(456,36,NULL,1,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (27 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-31 00:00:00','2026-10-30 18:27:45','2026-10-30 18:27:45'),
(457,36,NULL,7,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (27 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-31 00:00:00','2026-10-30 18:27:46','2026-10-30 18:27:46'),
(458,36,NULL,8,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (27 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-31 00:00:00','2026-10-30 18:27:46','2026-10-30 18:27:46'),
(459,36,NULL,2,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (27 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-31 00:00:00','2026-10-30 18:27:46','2026-10-30 18:27:46'),
(460,36,NULL,3,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (27 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-31 00:00:00','2026-10-30 18:27:46','2026-10-30 18:27:46'),
(461,36,NULL,4,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (27 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-31 00:00:00','2026-10-30 18:27:46','2026-10-30 18:27:46'),
(462,36,NULL,5,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (27 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-31 00:00:00','2026-10-30 18:27:47','2026-10-30 18:27:47'),
(463,36,NULL,6,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (27 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-31 00:00:00','2026-10-30 18:27:47','2026-10-30 18:27:47'),
(464,36,NULL,9,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (27 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-31 00:00:00','2026-10-30 18:27:47','2026-10-30 18:27:47'),
(465,36,NULL,10,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (27 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-31 00:00:00','2026-10-30 18:27:47','2026-10-30 18:27:47'),
(466,36,NULL,11,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (27 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-31 00:00:00','2026-10-30 18:27:47','2026-10-30 18:27:47'),
(467,36,NULL,12,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (27 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-31 00:00:00','2026-10-30 18:27:48','2026-10-30 18:27:48'),
(468,36,NULL,13,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (27 day(s)).',0,'pharmacy_near_expiry',61,'2026-10-31 00:00:00','2026-10-30 18:27:48','2026-10-30 18:27:48'),
(469,37,NULL,1,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (30 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-31 00:00:00','2026-10-30 18:27:48','2026-10-30 18:27:48'),
(470,37,NULL,7,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (30 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-31 00:00:00','2026-10-30 18:27:48','2026-10-30 18:27:48'),
(471,37,NULL,8,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (30 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-31 00:00:00','2026-10-30 18:27:48','2026-10-30 18:27:48'),
(472,37,NULL,2,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (30 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-31 00:00:00','2026-10-30 18:27:49','2026-10-30 18:27:49'),
(473,37,NULL,3,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (30 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-31 00:00:00','2026-10-30 18:27:49','2026-10-30 18:27:49'),
(474,37,NULL,4,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (30 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-31 00:00:00','2026-10-30 18:27:49','2026-10-30 18:27:49'),
(475,37,NULL,5,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (30 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-31 00:00:00','2026-10-30 18:27:49','2026-10-30 18:27:49'),
(476,37,NULL,6,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (30 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-31 00:00:00','2026-10-30 18:27:50','2026-10-30 18:27:50'),
(477,37,NULL,9,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (30 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-31 00:00:00','2026-10-30 18:27:50','2026-10-30 18:27:50'),
(478,37,NULL,10,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (30 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-31 00:00:00','2026-10-30 18:27:50','2026-10-30 18:27:50'),
(479,37,NULL,11,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (30 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-31 00:00:00','2026-10-30 18:27:50','2026-10-30 18:27:50'),
(480,37,NULL,12,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (30 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-31 00:00:00','2026-10-30 18:27:50','2026-10-30 18:27:50'),
(481,37,NULL,13,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (30 day(s)).',0,'pharmacy_near_expiry',42,'2026-10-31 00:00:00','2026-10-30 18:27:51','2026-10-30 18:27:51'),
(482,38,NULL,1,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (48 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-31 00:00:00','2026-10-30 18:27:51','2026-10-30 18:27:51'),
(483,38,NULL,7,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (48 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-31 00:00:00','2026-10-30 18:27:51','2026-10-30 18:27:51'),
(484,38,NULL,8,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (48 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-31 00:00:00','2026-10-30 18:27:51','2026-10-30 18:27:51'),
(485,38,NULL,2,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (48 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-31 00:00:00','2026-10-30 18:27:52','2026-10-30 18:27:52'),
(486,38,NULL,3,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (48 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-31 00:00:00','2026-10-30 18:27:52','2026-10-30 18:27:52'),
(487,38,NULL,4,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (48 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-31 00:00:00','2026-10-30 18:27:52','2026-10-30 18:27:52'),
(488,38,NULL,5,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (48 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-31 00:00:00','2026-10-30 18:27:52','2026-10-30 18:27:52'),
(489,38,NULL,6,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (48 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-31 00:00:00','2026-10-30 18:27:52','2026-10-30 18:27:52'),
(490,38,NULL,9,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (48 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-31 00:00:00','2026-10-30 18:27:53','2026-10-30 18:27:53'),
(491,38,NULL,10,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (48 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-31 00:00:00','2026-10-30 18:27:53','2026-10-30 18:27:53'),
(492,38,NULL,11,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (48 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-31 00:00:00','2026-10-30 18:27:53','2026-10-30 18:27:53'),
(493,38,NULL,12,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (48 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-31 00:00:00','2026-10-30 18:27:53','2026-10-30 18:27:53'),
(494,38,NULL,13,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (48 day(s)).',0,'pharmacy_near_expiry',81,'2026-10-31 00:00:00','2026-10-30 18:27:53','2026-10-30 18:27:53'),
(495,39,NULL,1,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (62 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-31 00:00:00','2026-10-30 18:27:53','2026-10-30 18:27:53'),
(496,39,NULL,7,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (62 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-31 00:00:00','2026-10-30 18:27:54','2026-10-30 18:27:54'),
(497,39,NULL,8,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (62 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-31 00:00:00','2026-10-30 18:27:54','2026-10-30 18:27:54'),
(498,39,NULL,2,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (62 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-31 00:00:00','2026-10-30 18:27:54','2026-10-30 18:27:54'),
(499,39,NULL,3,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (62 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-31 00:00:00','2026-10-30 18:27:54','2026-10-30 18:27:54'),
(500,39,NULL,4,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (62 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-31 00:00:00','2026-10-30 18:27:54','2026-10-30 18:27:54'),
(501,39,NULL,5,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (62 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-31 00:00:00','2026-10-30 18:27:55','2026-10-30 18:27:55'),
(502,39,NULL,6,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (62 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-31 00:00:00','2026-10-30 18:27:55','2026-10-30 18:27:55'),
(503,39,NULL,9,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (62 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-31 00:00:00','2026-10-30 18:27:55','2026-10-30 18:27:55'),
(504,39,NULL,10,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (62 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-31 00:00:00','2026-10-30 18:27:55','2026-10-30 18:27:55'),
(505,39,NULL,11,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (62 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-31 00:00:00','2026-10-30 18:27:55','2026-10-30 18:27:55'),
(506,39,NULL,12,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (62 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-31 00:00:00','2026-10-30 18:27:56','2026-10-30 18:27:56'),
(507,39,NULL,13,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (62 day(s)).',0,'pharmacy_near_expiry',22,'2026-10-31 00:00:00','2026-10-30 18:27:56','2026-10-30 18:27:56'),
(508,40,NULL,1,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (64 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-31 00:00:00','2026-10-30 18:27:56','2026-10-30 18:27:56'),
(509,40,NULL,7,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (64 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-31 00:00:00','2026-10-30 18:27:56','2026-10-30 18:27:56'),
(510,40,NULL,8,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (64 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-31 00:00:00','2026-10-30 18:27:56','2026-10-30 18:27:56'),
(511,40,NULL,2,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (64 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-31 00:00:00','2026-10-30 18:27:57','2026-10-30 18:27:57'),
(512,40,NULL,3,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (64 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-31 00:00:00','2026-10-30 18:27:57','2026-10-30 18:27:57'),
(513,40,NULL,4,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (64 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-31 00:00:00','2026-10-30 18:27:57','2026-10-30 18:27:57'),
(514,40,NULL,5,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (64 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-31 00:00:00','2026-10-30 18:27:57','2026-10-30 18:27:57'),
(515,40,NULL,6,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (64 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-31 00:00:00','2026-10-30 18:27:57','2026-10-30 18:27:57'),
(516,40,NULL,9,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (64 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-31 00:00:00','2026-10-30 18:27:58','2026-10-30 18:27:58'),
(517,40,NULL,10,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (64 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-31 00:00:00','2026-10-30 18:27:58','2026-10-30 18:27:58'),
(518,40,NULL,11,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (64 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-31 00:00:00','2026-10-30 18:27:58','2026-10-30 18:27:58'),
(519,40,NULL,12,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (64 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-31 00:00:00','2026-10-30 18:27:58','2026-10-30 18:27:58'),
(520,40,NULL,13,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (64 day(s)).',0,'pharmacy_near_expiry',100,'2026-10-31 00:00:00','2026-10-30 18:27:58','2026-10-30 18:27:58'),
(521,41,NULL,1,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-11-01 00:00:00','2026-11-01 14:25:28','2026-11-01 14:25:28'),
(522,41,NULL,7,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-11-01 00:00:00','2026-11-01 14:25:29','2026-11-01 14:25:29'),
(523,41,NULL,8,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-11-01 00:00:00','2026-11-01 14:25:29','2026-11-01 14:25:29'),
(524,41,NULL,2,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-11-01 00:00:00','2026-11-01 14:25:29','2026-11-01 14:25:29'),
(525,41,NULL,3,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-11-01 00:00:00','2026-11-01 14:25:29','2026-11-01 14:25:29'),
(526,41,NULL,4,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-11-01 00:00:00','2026-11-01 14:25:30','2026-11-01 14:25:30'),
(527,41,NULL,5,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-11-01 00:00:00','2026-11-01 14:25:30','2026-11-01 14:25:30'),
(528,41,NULL,6,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-11-01 00:00:00','2026-11-01 14:25:30','2026-11-01 14:25:30'),
(529,41,NULL,9,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-11-01 00:00:00','2026-11-01 14:25:30','2026-11-01 14:25:30'),
(530,41,NULL,10,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-11-01 00:00:00','2026-11-01 14:25:30','2026-11-01 14:25:30'),
(531,41,NULL,11,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-11-01 00:00:00','2026-11-01 14:25:31','2026-11-01 14:25:31'),
(532,41,NULL,12,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-11-01 00:00:00','2026-11-01 14:25:31','2026-11-01 14:25:31'),
(533,41,NULL,13,'Low stock: Levox 500 500 mg','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.',0,'pharmacy_low_stock',24,'2026-11-01 00:00:00','2026-11-01 14:25:31','2026-11-01 14:25:31'),
(534,42,NULL,1,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-11-01 00:00:00','2026-11-01 14:25:31','2026-11-01 14:25:31'),
(535,42,NULL,7,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-11-01 00:00:00','2026-11-01 14:25:31','2026-11-01 14:25:31'),
(536,42,NULL,8,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-11-01 00:00:00','2026-11-01 14:25:32','2026-11-01 14:25:32'),
(537,42,NULL,2,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-11-01 00:00:00','2026-11-01 14:25:32','2026-11-01 14:25:32'),
(538,42,NULL,3,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-11-01 00:00:00','2026-11-01 14:25:32','2026-11-01 14:25:32'),
(539,42,NULL,4,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-11-01 00:00:00','2026-11-01 14:25:32','2026-11-01 14:25:32'),
(540,42,NULL,5,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-11-01 00:00:00','2026-11-01 14:25:32','2026-11-01 14:25:32'),
(541,42,NULL,6,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-11-01 00:00:00','2026-11-01 14:25:33','2026-11-01 14:25:33'),
(542,42,NULL,9,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-11-01 00:00:00','2026-11-01 14:25:33','2026-11-01 14:25:33'),
(543,42,NULL,10,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-11-01 00:00:00','2026-11-01 14:25:33','2026-11-01 14:25:33'),
(544,42,NULL,11,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-11-01 00:00:00','2026-11-01 14:25:33','2026-11-01 14:25:33'),
(545,42,NULL,12,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-11-01 00:00:00','2026-11-01 14:25:33','2026-11-01 14:25:33'),
(546,42,NULL,13,'Low stock: Xolsartan 40 40 mg','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.',0,'pharmacy_low_stock',47,'2026-11-01 00:00:00','2026-11-01 14:25:34','2026-11-01 14:25:34'),
(547,43,NULL,1,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-11-01 00:00:00','2026-11-01 14:25:34','2026-11-01 14:25:34'),
(548,43,NULL,7,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-11-01 00:00:00','2026-11-01 14:25:34','2026-11-01 14:25:34'),
(549,43,NULL,8,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-11-01 00:00:00','2026-11-01 14:25:34','2026-11-01 14:25:34'),
(550,43,NULL,2,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-11-01 00:00:00','2026-11-01 14:25:34','2026-11-01 14:25:34'),
(551,43,NULL,3,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-11-01 00:00:00','2026-11-01 14:25:35','2026-11-01 14:25:35'),
(552,43,NULL,4,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-11-01 00:00:00','2026-11-01 14:25:35','2026-11-01 14:25:35'),
(553,43,NULL,5,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-11-01 00:00:00','2026-11-01 14:25:35','2026-11-01 14:25:35'),
(554,43,NULL,6,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-11-01 00:00:00','2026-11-01 14:25:35','2026-11-01 14:25:35'),
(555,43,NULL,9,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-11-01 00:00:00','2026-11-01 14:25:35','2026-11-01 14:25:35'),
(556,43,NULL,10,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-11-01 00:00:00','2026-11-01 14:25:36','2026-11-01 14:25:36'),
(557,43,NULL,11,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-11-01 00:00:00','2026-11-01 14:25:36','2026-11-01 14:25:36'),
(558,43,NULL,12,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-11-01 00:00:00','2026-11-01 14:25:36','2026-11-01 14:25:36'),
(559,43,NULL,13,'Low stock: D-Rise 200000 IU 200000 IU','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.',0,'pharmacy_low_stock',70,'2026-11-01 00:00:00','2026-11-01 14:25:36','2026-11-01 14:25:36'),
(560,44,NULL,1,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-11-01 00:00:00','2026-11-01 14:25:36','2026-11-01 14:25:36'),
(561,44,NULL,7,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-11-01 00:00:00','2026-11-01 14:25:37','2026-11-01 14:25:37'),
(562,44,NULL,8,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-11-01 00:00:00','2026-11-01 14:25:37','2026-11-01 14:25:37'),
(563,44,NULL,2,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-11-01 00:00:00','2026-11-01 14:25:37','2026-11-01 14:25:37'),
(564,44,NULL,3,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-11-01 00:00:00','2026-11-01 14:25:37','2026-11-01 14:25:37'),
(565,44,NULL,4,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-11-01 00:00:00','2026-11-01 14:25:37','2026-11-01 14:25:37'),
(566,44,NULL,5,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-11-01 00:00:00','2026-11-01 14:25:38','2026-11-01 14:25:38'),
(567,44,NULL,6,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-11-01 00:00:00','2026-11-01 14:25:38','2026-11-01 14:25:38'),
(568,44,NULL,9,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-11-01 00:00:00','2026-11-01 14:25:38','2026-11-01 14:25:38'),
(569,44,NULL,10,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-11-01 00:00:00','2026-11-01 14:25:38','2026-11-01 14:25:38'),
(570,44,NULL,11,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-11-01 00:00:00','2026-11-01 14:25:38','2026-11-01 14:25:38'),
(571,44,NULL,12,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-11-01 00:00:00','2026-11-01 14:25:39','2026-11-01 14:25:39'),
(572,44,NULL,13,'Low stock: Zyloric 100 100 mg','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.',0,'pharmacy_low_stock',93,'2026-11-01 00:00:00','2026-11-01 14:25:39','2026-11-01 14:25:39'),
(573,45,NULL,1,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (12 day(s)).',0,'pharmacy_near_expiry',3,'2026-11-01 00:00:00','2026-11-01 14:25:39','2026-11-01 14:25:39'),
(574,45,NULL,7,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (12 day(s)).',0,'pharmacy_near_expiry',3,'2026-11-01 00:00:00','2026-11-01 14:25:39','2026-11-01 14:25:39'),
(575,45,NULL,8,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (12 day(s)).',0,'pharmacy_near_expiry',3,'2026-11-01 00:00:00','2026-11-01 14:25:40','2026-11-01 14:25:40'),
(576,45,NULL,2,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (12 day(s)).',0,'pharmacy_near_expiry',3,'2026-11-01 00:00:00','2026-11-01 14:25:40','2026-11-01 14:25:40'),
(577,45,NULL,3,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (12 day(s)).',0,'pharmacy_near_expiry',3,'2026-11-01 00:00:00','2026-11-01 14:25:40','2026-11-01 14:25:40'),
(578,45,NULL,4,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (12 day(s)).',0,'pharmacy_near_expiry',3,'2026-11-01 00:00:00','2026-11-01 14:25:40','2026-11-01 14:25:40'),
(579,45,NULL,5,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (12 day(s)).',0,'pharmacy_near_expiry',3,'2026-11-01 00:00:00','2026-11-01 14:25:40','2026-11-01 14:25:40'),
(580,45,NULL,6,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (12 day(s)).',0,'pharmacy_near_expiry',3,'2026-11-01 00:00:00','2026-11-01 14:25:40','2026-11-01 14:25:40'),
(581,45,NULL,9,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (12 day(s)).',0,'pharmacy_near_expiry',3,'2026-11-01 00:00:00','2026-11-01 14:25:41','2026-11-01 14:25:41'),
(582,45,NULL,10,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (12 day(s)).',0,'pharmacy_near_expiry',3,'2026-11-01 00:00:00','2026-11-01 14:25:41','2026-11-01 14:25:41'),
(583,45,NULL,11,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (12 day(s)).',0,'pharmacy_near_expiry',3,'2026-11-01 00:00:00','2026-11-01 14:25:41','2026-11-01 14:25:41'),
(584,45,NULL,12,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (12 day(s)).',0,'pharmacy_near_expiry',3,'2026-11-01 00:00:00','2026-11-01 14:25:41','2026-11-01 14:25:41'),
(585,45,NULL,13,'Near expiry: Napa 500 500 mg','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (12 day(s)).',0,'pharmacy_near_expiry',3,'2026-11-01 00:00:00','2026-11-01 14:25:41','2026-11-01 14:25:41'),
(586,46,NULL,1,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (26 day(s)).',0,'pharmacy_near_expiry',61,'2026-11-01 00:00:00','2026-11-01 14:25:42','2026-11-01 14:25:42'),
(587,46,NULL,7,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (26 day(s)).',0,'pharmacy_near_expiry',61,'2026-11-01 00:00:00','2026-11-01 14:25:42','2026-11-01 14:25:42'),
(588,46,NULL,8,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (26 day(s)).',0,'pharmacy_near_expiry',61,'2026-11-01 00:00:00','2026-11-01 14:25:42','2026-11-01 14:25:42'),
(589,46,NULL,2,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (26 day(s)).',0,'pharmacy_near_expiry',61,'2026-11-01 00:00:00','2026-11-01 14:25:42','2026-11-01 14:25:42'),
(590,46,NULL,3,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (26 day(s)).',0,'pharmacy_near_expiry',61,'2026-11-01 00:00:00','2026-11-01 14:25:42','2026-11-01 14:25:42'),
(591,46,NULL,4,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (26 day(s)).',0,'pharmacy_near_expiry',61,'2026-11-01 00:00:00','2026-11-01 14:25:43','2026-11-01 14:25:43'),
(592,46,NULL,5,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (26 day(s)).',0,'pharmacy_near_expiry',61,'2026-11-01 00:00:00','2026-11-01 14:25:43','2026-11-01 14:25:43'),
(593,46,NULL,6,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (26 day(s)).',0,'pharmacy_near_expiry',61,'2026-11-01 00:00:00','2026-11-01 14:25:43','2026-11-01 14:25:43'),
(594,46,NULL,9,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (26 day(s)).',0,'pharmacy_near_expiry',61,'2026-11-01 00:00:00','2026-11-01 14:25:43','2026-11-01 14:25:43'),
(595,46,NULL,10,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (26 day(s)).',0,'pharmacy_near_expiry',61,'2026-11-01 00:00:00','2026-11-01 14:25:43','2026-11-01 14:25:43'),
(596,46,NULL,11,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (26 day(s)).',0,'pharmacy_near_expiry',61,'2026-11-01 00:00:00','2026-11-01 14:25:44','2026-11-01 14:25:44'),
(597,46,NULL,12,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (26 day(s)).',0,'pharmacy_near_expiry',61,'2026-11-01 00:00:00','2026-11-01 14:25:44','2026-11-01 14:25:44'),
(598,46,NULL,13,'Near expiry: Tenormin 50 50 mg','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (26 day(s)).',0,'pharmacy_near_expiry',61,'2026-11-01 00:00:00','2026-11-01 14:25:44','2026-11-01 14:25:44'),
(599,47,NULL,1,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (29 day(s)).',0,'pharmacy_near_expiry',42,'2026-11-01 00:00:00','2026-11-01 14:25:44','2026-11-01 14:25:44'),
(600,47,NULL,7,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (29 day(s)).',0,'pharmacy_near_expiry',42,'2026-11-01 00:00:00','2026-11-01 14:25:44','2026-11-01 14:25:44'),
(601,47,NULL,8,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (29 day(s)).',0,'pharmacy_near_expiry',42,'2026-11-01 00:00:00','2026-11-01 14:25:45','2026-11-01 14:25:45'),
(602,47,NULL,2,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (29 day(s)).',0,'pharmacy_near_expiry',42,'2026-11-01 00:00:00','2026-11-01 14:25:45','2026-11-01 14:25:45'),
(603,47,NULL,3,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (29 day(s)).',0,'pharmacy_near_expiry',42,'2026-11-01 00:00:00','2026-11-01 14:25:45','2026-11-01 14:25:45'),
(604,47,NULL,4,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (29 day(s)).',0,'pharmacy_near_expiry',42,'2026-11-01 00:00:00','2026-11-01 14:25:45','2026-11-01 14:25:45'),
(605,47,NULL,5,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (29 day(s)).',0,'pharmacy_near_expiry',42,'2026-11-01 00:00:00','2026-11-01 14:25:45','2026-11-01 14:25:45'),
(606,47,NULL,6,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (29 day(s)).',0,'pharmacy_near_expiry',42,'2026-11-01 00:00:00','2026-11-01 14:25:46','2026-11-01 14:25:46'),
(607,47,NULL,9,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (29 day(s)).',0,'pharmacy_near_expiry',42,'2026-11-01 00:00:00','2026-11-01 14:25:46','2026-11-01 14:25:46'),
(608,47,NULL,10,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (29 day(s)).',0,'pharmacy_near_expiry',42,'2026-11-01 00:00:00','2026-11-01 14:25:46','2026-11-01 14:25:46'),
(609,47,NULL,11,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (29 day(s)).',0,'pharmacy_near_expiry',42,'2026-11-01 00:00:00','2026-11-01 14:25:46','2026-11-01 14:25:46'),
(610,47,NULL,12,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (29 day(s)).',0,'pharmacy_near_expiry',42,'2026-11-01 00:00:00','2026-11-01 14:25:46','2026-11-01 14:25:46'),
(611,47,NULL,13,'Near expiry: Alatrol Syrup 5 mg/5 ml','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (29 day(s)).',0,'pharmacy_near_expiry',42,'2026-11-01 00:00:00','2026-11-01 14:25:47','2026-11-01 14:25:47'),
(612,48,NULL,1,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (47 day(s)).',0,'pharmacy_near_expiry',81,'2026-11-01 00:00:00','2026-11-01 14:25:47','2026-11-01 14:25:47'),
(613,48,NULL,7,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (47 day(s)).',0,'pharmacy_near_expiry',81,'2026-11-01 00:00:00','2026-11-01 14:25:47','2026-11-01 14:25:47'),
(614,48,NULL,8,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (47 day(s)).',0,'pharmacy_near_expiry',81,'2026-11-01 00:00:00','2026-11-01 14:25:47','2026-11-01 14:25:47'),
(615,48,NULL,2,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (47 day(s)).',0,'pharmacy_near_expiry',81,'2026-11-01 00:00:00','2026-11-01 14:25:47','2026-11-01 14:25:47'),
(616,48,NULL,3,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (47 day(s)).',0,'pharmacy_near_expiry',81,'2026-11-01 00:00:00','2026-11-01 14:25:48','2026-11-01 14:25:48'),
(617,48,NULL,4,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (47 day(s)).',0,'pharmacy_near_expiry',81,'2026-11-01 00:00:00','2026-11-01 14:25:48','2026-11-01 14:25:48'),
(618,48,NULL,5,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (47 day(s)).',0,'pharmacy_near_expiry',81,'2026-11-01 00:00:00','2026-11-01 14:25:48','2026-11-01 14:25:48'),
(619,48,NULL,6,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (47 day(s)).',0,'pharmacy_near_expiry',81,'2026-11-01 00:00:00','2026-11-01 14:25:48','2026-11-01 14:25:48'),
(620,48,NULL,9,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (47 day(s)).',0,'pharmacy_near_expiry',81,'2026-11-01 00:00:00','2026-11-01 14:25:48','2026-11-01 14:25:48'),
(621,48,NULL,10,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (47 day(s)).',0,'pharmacy_near_expiry',81,'2026-11-01 00:00:00','2026-11-01 14:25:49','2026-11-01 14:25:49'),
(622,48,NULL,11,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (47 day(s)).',0,'pharmacy_near_expiry',81,'2026-11-01 00:00:00','2026-11-01 14:25:49','2026-11-01 14:25:49'),
(623,48,NULL,12,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (47 day(s)).',0,'pharmacy_near_expiry',81,'2026-11-01 00:00:00','2026-11-01 14:25:49','2026-11-01 14:25:49'),
(624,48,NULL,13,'Near expiry: Decadron Inj 8 mg/2 ml','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (47 day(s)).',0,'pharmacy_near_expiry',81,'2026-11-01 00:00:00','2026-11-01 14:25:49','2026-11-01 14:25:49'),
(625,49,NULL,1,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (61 day(s)).',0,'pharmacy_near_expiry',22,'2026-11-01 00:00:00','2026-11-01 14:25:49','2026-11-01 14:25:49'),
(626,49,NULL,7,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (61 day(s)).',0,'pharmacy_near_expiry',22,'2026-11-01 00:00:00','2026-11-01 14:25:50','2026-11-01 14:25:50'),
(627,49,NULL,8,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (61 day(s)).',0,'pharmacy_near_expiry',22,'2026-11-01 00:00:00','2026-11-01 14:25:50','2026-11-01 14:25:50'),
(628,49,NULL,2,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (61 day(s)).',0,'pharmacy_near_expiry',22,'2026-11-01 00:00:00','2026-11-01 14:25:50','2026-11-01 14:25:50'),
(629,49,NULL,3,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (61 day(s)).',0,'pharmacy_near_expiry',22,'2026-11-01 00:00:00','2026-11-01 14:25:50','2026-11-01 14:25:50'),
(630,49,NULL,4,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (61 day(s)).',0,'pharmacy_near_expiry',22,'2026-11-01 00:00:00','2026-11-01 14:25:50','2026-11-01 14:25:50'),
(631,49,NULL,5,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (61 day(s)).',0,'pharmacy_near_expiry',22,'2026-11-01 00:00:00','2026-11-01 14:25:51','2026-11-01 14:25:51'),
(632,49,NULL,6,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (61 day(s)).',0,'pharmacy_near_expiry',22,'2026-11-01 00:00:00','2026-11-01 14:25:51','2026-11-01 14:25:51'),
(633,49,NULL,9,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (61 day(s)).',0,'pharmacy_near_expiry',22,'2026-11-01 00:00:00','2026-11-01 14:25:51','2026-11-01 14:25:51'),
(634,49,NULL,10,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (61 day(s)).',0,'pharmacy_near_expiry',22,'2026-11-01 00:00:00','2026-11-01 14:25:51','2026-11-01 14:25:51'),
(635,49,NULL,11,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (61 day(s)).',0,'pharmacy_near_expiry',22,'2026-11-01 00:00:00','2026-11-01 14:25:51','2026-11-01 14:25:51'),
(636,49,NULL,12,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (61 day(s)).',0,'pharmacy_near_expiry',22,'2026-11-01 00:00:00','2026-11-01 14:25:52','2026-11-01 14:25:52'),
(637,49,NULL,13,'Near expiry: Zimax 500 500 mg','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (61 day(s)).',0,'pharmacy_near_expiry',22,'2026-11-01 00:00:00','2026-11-01 14:25:52','2026-11-01 14:25:52'),
(638,50,NULL,1,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (63 day(s)).',0,'pharmacy_near_expiry',100,'2026-11-01 00:00:00','2026-11-01 14:25:52','2026-11-01 14:25:52'),
(639,50,NULL,7,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (63 day(s)).',0,'pharmacy_near_expiry',100,'2026-11-01 00:00:00','2026-11-01 14:25:52','2026-11-01 14:25:52'),
(640,50,NULL,8,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (63 day(s)).',0,'pharmacy_near_expiry',100,'2026-11-01 00:00:00','2026-11-01 14:25:52','2026-11-01 14:25:52'),
(641,50,NULL,2,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (63 day(s)).',0,'pharmacy_near_expiry',100,'2026-11-01 00:00:00','2026-11-01 14:25:53','2026-11-01 14:25:53'),
(642,50,NULL,3,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (63 day(s)).',0,'pharmacy_near_expiry',100,'2026-11-01 00:00:00','2026-11-01 14:25:53','2026-11-01 14:25:53'),
(643,50,NULL,4,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (63 day(s)).',0,'pharmacy_near_expiry',100,'2026-11-01 00:00:00','2026-11-01 14:25:53','2026-11-01 14:25:53'),
(644,50,NULL,5,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (63 day(s)).',0,'pharmacy_near_expiry',100,'2026-11-01 00:00:00','2026-11-01 14:25:53','2026-11-01 14:25:53'),
(645,50,NULL,6,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (63 day(s)).',0,'pharmacy_near_expiry',100,'2026-11-01 00:00:00','2026-11-01 14:25:53','2026-11-01 14:25:53'),
(646,50,NULL,9,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (63 day(s)).',0,'pharmacy_near_expiry',100,'2026-11-01 00:00:00','2026-11-01 14:25:54','2026-11-01 14:25:54'),
(647,50,NULL,10,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (63 day(s)).',0,'pharmacy_near_expiry',100,'2026-11-01 00:00:00','2026-11-01 14:25:54','2026-11-01 14:25:54'),
(648,50,NULL,11,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (63 day(s)).',0,'pharmacy_near_expiry',100,'2026-11-01 00:00:00','2026-11-01 14:25:54','2026-11-01 14:25:54'),
(649,50,NULL,12,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (63 day(s)).',0,'pharmacy_near_expiry',100,'2026-11-01 00:00:00','2026-11-01 14:25:54','2026-11-01 14:25:54'),
(650,50,NULL,13,'Near expiry: Xoropam 0.5 0.5 mg','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (63 day(s)).',0,'pharmacy_near_expiry',100,'2026-11-01 00:00:00','2026-11-01 14:25:54','2026-11-01 14:25:54');
/*!40000 ALTER TABLE `reminder_notifications` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `reminders`
--

DROP TABLE IF EXISTS `reminders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `reminders` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `start_date` datetime NOT NULL,
  `expire_date` datetime NOT NULL,
  `repeat_minutes` int(10) unsigned NOT NULL DEFAULT 60,
  `status` enum('active','expired','cancelled') NOT NULL DEFAULT 'active',
  `last_notified_at` datetime DEFAULT NULL,
  `next_notify_at` datetime DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `reminders_employee_id_foreign` (`employee_id`),
  KEY `reminders_user_id_foreign` (`user_id`),
  KEY `reminders_created_by_foreign` (`created_by`),
  KEY `reminders_status_next_notify_at_index` (`status`,`next_notify_at`),
  KEY `reminders_branch_id_index` (`branch_id`),
  CONSTRAINT `reminders_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `reminders_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `reminders_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `reminders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=51 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `reminders`
--

LOCK TABLES `reminders` WRITE;
/*!40000 ALTER TABLE `reminders` DISABLE KEYS */;
INSERT INTO `reminders` VALUES
(1,NULL,NULL,NULL,'pharmacy_low_stock@24@2026-10-28','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.','2026-10-28 00:00:00','2026-10-28 00:00:00',0,'expired',NULL,NULL,'2026-10-27 18:14:43','2026-10-27 18:14:43',NULL),
(2,NULL,NULL,NULL,'pharmacy_low_stock@47@2026-10-28','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.','2026-10-28 00:00:00','2026-10-28 00:00:00',0,'expired',NULL,NULL,'2026-10-27 18:14:45','2026-10-27 18:14:45',NULL),
(3,NULL,NULL,NULL,'pharmacy_low_stock@70@2026-10-28','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.','2026-10-28 00:00:00','2026-10-28 00:00:00',0,'expired',NULL,NULL,'2026-10-27 18:14:48','2026-10-27 18:14:48',NULL),
(4,NULL,NULL,NULL,'pharmacy_low_stock@93@2026-10-28','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.','2026-10-28 00:00:00','2026-10-28 00:00:00',0,'expired',NULL,NULL,'2026-10-27 18:14:50','2026-10-27 18:14:50',NULL),
(5,NULL,NULL,NULL,'pharmacy_near_expiry@3@2026-10-28','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (16 day(s)).','2026-10-28 00:00:00','2026-10-28 00:00:00',0,'expired',NULL,NULL,'2026-10-27 18:14:53','2026-10-27 18:14:53',NULL),
(6,NULL,NULL,NULL,'pharmacy_near_expiry@61@2026-10-28','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (30 day(s)).','2026-10-28 00:00:00','2026-10-28 00:00:00',0,'expired',NULL,NULL,'2026-10-27 18:14:55','2026-10-27 18:14:55',NULL),
(7,NULL,NULL,NULL,'pharmacy_near_expiry@42@2026-10-28','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (33 day(s)).','2026-10-28 00:00:00','2026-10-28 00:00:00',0,'expired',NULL,NULL,'2026-10-27 18:14:58','2026-10-27 18:14:58',NULL),
(8,NULL,NULL,NULL,'pharmacy_near_expiry@81@2026-10-28','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (51 day(s)).','2026-10-28 00:00:00','2026-10-28 00:00:00',0,'expired',NULL,NULL,'2026-10-27 18:15:00','2026-10-27 18:15:00',NULL),
(9,NULL,NULL,NULL,'pharmacy_near_expiry@22@2026-10-28','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (65 day(s)).','2026-10-28 00:00:00','2026-10-28 00:00:00',0,'expired',NULL,NULL,'2026-10-27 18:15:03','2026-10-27 18:15:03',NULL),
(10,NULL,NULL,NULL,'pharmacy_near_expiry@100@2026-10-28','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (67 day(s)).','2026-10-28 00:00:00','2026-10-28 00:00:00',0,'expired',NULL,NULL,'2026-10-27 18:15:05','2026-10-27 18:15:05',NULL),
(11,NULL,NULL,NULL,'pharmacy_low_stock@24@2026-10-29','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.','2026-10-29 00:00:00','2026-10-29 00:00:00',0,'expired',NULL,NULL,'2026-10-29 14:55:59','2026-10-29 14:55:59',NULL),
(12,NULL,NULL,NULL,'pharmacy_low_stock@47@2026-10-29','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.','2026-10-29 00:00:00','2026-10-29 00:00:00',0,'expired',NULL,NULL,'2026-10-29 14:56:02','2026-10-29 14:56:02',NULL),
(13,NULL,NULL,NULL,'pharmacy_low_stock@70@2026-10-29','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.','2026-10-29 00:00:00','2026-10-29 00:00:00',0,'expired',NULL,NULL,'2026-10-29 14:56:04','2026-10-29 14:56:04',NULL),
(14,NULL,NULL,NULL,'pharmacy_low_stock@93@2026-10-29','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.','2026-10-29 00:00:00','2026-10-29 00:00:00',0,'expired',NULL,NULL,'2026-10-29 14:56:06','2026-10-29 14:56:06',NULL),
(15,NULL,NULL,NULL,'pharmacy_near_expiry@3@2026-10-29','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (15 day(s)).','2026-10-29 00:00:00','2026-10-29 00:00:00',0,'expired',NULL,NULL,'2026-10-29 14:56:09','2026-10-29 14:56:09',NULL),
(16,NULL,NULL,NULL,'pharmacy_near_expiry@61@2026-10-29','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (29 day(s)).','2026-10-29 00:00:00','2026-10-29 00:00:00',0,'expired',NULL,NULL,'2026-10-29 14:56:11','2026-10-29 14:56:11',NULL),
(17,NULL,NULL,NULL,'pharmacy_near_expiry@42@2026-10-29','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (32 day(s)).','2026-10-29 00:00:00','2026-10-29 00:00:00',0,'expired',NULL,NULL,'2026-10-29 14:56:14','2026-10-29 14:56:14',NULL),
(18,NULL,NULL,NULL,'pharmacy_near_expiry@81@2026-10-29','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (50 day(s)).','2026-10-29 00:00:00','2026-10-29 00:00:00',0,'expired',NULL,NULL,'2026-10-29 14:56:16','2026-10-29 14:56:16',NULL),
(19,NULL,NULL,NULL,'pharmacy_near_expiry@22@2026-10-29','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (64 day(s)).','2026-10-29 00:00:00','2026-10-29 00:00:00',0,'expired',NULL,NULL,'2026-10-29 14:56:18','2026-10-29 14:56:18',NULL),
(20,NULL,NULL,NULL,'pharmacy_near_expiry@100@2026-10-29','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (66 day(s)).','2026-10-29 00:00:00','2026-10-29 00:00:00',0,'expired',NULL,NULL,'2026-10-29 14:56:21','2026-10-29 14:56:21',NULL),
(21,NULL,NULL,NULL,'pharmacy_low_stock@24@2026-10-30','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.','2026-10-30 00:00:00','2026-10-30 00:00:00',0,'expired',NULL,NULL,'2026-10-30 05:34:06','2026-10-30 05:34:06',NULL),
(22,NULL,NULL,NULL,'pharmacy_low_stock@47@2026-10-30','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.','2026-10-30 00:00:00','2026-10-30 00:00:00',0,'expired',NULL,NULL,'2026-10-30 05:34:09','2026-10-30 05:34:09',NULL),
(23,NULL,NULL,NULL,'pharmacy_low_stock@70@2026-10-30','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.','2026-10-30 00:00:00','2026-10-30 00:00:00',0,'expired',NULL,NULL,'2026-10-30 05:34:11','2026-10-30 05:34:11',NULL),
(24,NULL,NULL,NULL,'pharmacy_low_stock@93@2026-10-30','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.','2026-10-30 00:00:00','2026-10-30 00:00:00',0,'expired',NULL,NULL,'2026-10-30 05:34:14','2026-10-30 05:34:14',NULL),
(25,NULL,NULL,NULL,'pharmacy_near_expiry@3@2026-10-30','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (14 day(s)).','2026-10-30 00:00:00','2026-10-30 00:00:00',0,'expired',NULL,NULL,'2026-10-30 05:34:16','2026-10-30 05:34:16',NULL),
(26,NULL,NULL,NULL,'pharmacy_near_expiry@61@2026-10-30','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (28 day(s)).','2026-10-30 00:00:00','2026-10-30 00:00:00',0,'expired',NULL,NULL,'2026-10-30 05:34:19','2026-10-30 05:34:19',NULL),
(27,NULL,NULL,NULL,'pharmacy_near_expiry@42@2026-10-30','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (31 day(s)).','2026-10-30 00:00:00','2026-10-30 00:00:00',0,'expired',NULL,NULL,'2026-10-30 05:34:21','2026-10-30 05:34:21',NULL),
(28,NULL,NULL,NULL,'pharmacy_near_expiry@81@2026-10-30','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (49 day(s)).','2026-10-30 00:00:00','2026-10-30 00:00:00',0,'expired',NULL,NULL,'2026-10-30 05:34:23','2026-10-30 05:34:23',NULL),
(29,NULL,NULL,NULL,'pharmacy_near_expiry@22@2026-10-30','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (63 day(s)).','2026-10-30 00:00:00','2026-10-30 00:00:00',0,'expired',NULL,NULL,'2026-10-30 05:34:26','2026-10-30 05:34:26',NULL),
(30,NULL,NULL,NULL,'pharmacy_near_expiry@100@2026-10-30','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (65 day(s)).','2026-10-30 00:00:00','2026-10-30 00:00:00',0,'expired',NULL,NULL,'2026-10-30 05:34:28','2026-10-30 05:34:28',NULL),
(31,NULL,NULL,NULL,'pharmacy_low_stock@24@2026-10-31','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.','2026-10-31 00:00:00','2026-10-31 00:00:00',0,'expired',NULL,NULL,'2026-10-30 18:27:32','2026-10-30 18:27:32',NULL),
(32,NULL,NULL,NULL,'pharmacy_low_stock@47@2026-10-31','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.','2026-10-31 00:00:00','2026-10-31 00:00:00',0,'expired',NULL,NULL,'2026-10-30 18:27:35','2026-10-30 18:27:35',NULL),
(33,NULL,NULL,NULL,'pharmacy_low_stock@70@2026-10-31','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.','2026-10-31 00:00:00','2026-10-31 00:00:00',0,'expired',NULL,NULL,'2026-10-30 18:27:38','2026-10-30 18:27:38',NULL),
(34,NULL,NULL,NULL,'pharmacy_low_stock@93@2026-10-31','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.','2026-10-31 00:00:00','2026-10-31 00:00:00',0,'expired',NULL,NULL,'2026-10-30 18:27:40','2026-10-30 18:27:40',NULL),
(35,NULL,NULL,NULL,'pharmacy_near_expiry@3@2026-10-31','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (13 day(s)).','2026-10-31 00:00:00','2026-10-31 00:00:00',0,'expired',NULL,NULL,'2026-10-30 18:27:43','2026-10-30 18:27:43',NULL),
(36,NULL,NULL,NULL,'pharmacy_near_expiry@61@2026-10-31','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (27 day(s)).','2026-10-31 00:00:00','2026-10-31 00:00:00',0,'expired',NULL,NULL,'2026-10-30 18:27:45','2026-10-30 18:27:45',NULL),
(37,NULL,NULL,NULL,'pharmacy_near_expiry@42@2026-10-31','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (30 day(s)).','2026-10-31 00:00:00','2026-10-31 00:00:00',0,'expired',NULL,NULL,'2026-10-30 18:27:48','2026-10-30 18:27:48',NULL),
(38,NULL,NULL,NULL,'pharmacy_near_expiry@81@2026-10-31','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (48 day(s)).','2026-10-31 00:00:00','2026-10-31 00:00:00',0,'expired',NULL,NULL,'2026-10-30 18:27:51','2026-10-30 18:27:51',NULL),
(39,NULL,NULL,NULL,'pharmacy_near_expiry@22@2026-10-31','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (62 day(s)).','2026-10-31 00:00:00','2026-10-31 00:00:00',0,'expired',NULL,NULL,'2026-10-30 18:27:53','2026-10-30 18:27:53',NULL),
(40,NULL,NULL,NULL,'pharmacy_near_expiry@100@2026-10-31','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (64 day(s)).','2026-10-31 00:00:00','2026-10-31 00:00:00',0,'expired',NULL,NULL,'2026-10-30 18:27:56','2026-10-30 18:27:56',NULL),
(41,NULL,NULL,NULL,'pharmacy_low_stock@24@2026-11-01','Levox 500 500 mg is down to 0 unit(s) — reorder level 41.','2026-11-01 00:00:00','2026-11-01 00:00:00',0,'expired',NULL,NULL,'2026-11-01 14:25:28','2026-11-01 14:25:28',NULL),
(42,NULL,NULL,NULL,'pharmacy_low_stock@47@2026-11-01','Xolsartan 40 40 mg is down to 0 unit(s) — reorder level 17.','2026-11-01 00:00:00','2026-11-01 00:00:00',0,'expired',NULL,NULL,'2026-11-01 14:25:31','2026-11-01 14:25:31',NULL),
(43,NULL,NULL,NULL,'pharmacy_low_stock@70@2026-11-01','D-Rise 200000 IU 200000 IU is down to 0 unit(s) — reorder level 15.','2026-11-01 00:00:00','2026-11-01 00:00:00',0,'expired',NULL,NULL,'2026-11-01 14:25:34','2026-11-01 14:25:34',NULL),
(44,NULL,NULL,NULL,'pharmacy_low_stock@93@2026-11-01','Zyloric 100 100 mg is down to 0 unit(s) — reorder level 25.','2026-11-01 00:00:00','2026-11-01 00:00:00',0,'expired',NULL,NULL,'2026-11-01 14:25:36','2026-11-01 14:25:36',NULL),
(45,NULL,NULL,NULL,'pharmacy_near_expiry@3@2026-11-01','Napa 500 500 mg — batch B00001-3 has 19 unit(s) expiring 2026-11-13 (12 day(s)).','2026-11-01 00:00:00','2026-11-01 00:00:00',0,'expired',NULL,NULL,'2026-11-01 14:25:39','2026-11-01 14:25:39',NULL),
(46,NULL,NULL,NULL,'pharmacy_near_expiry@61@2026-11-01','Tenormin 50 50 mg — batch B00052-3 has 21 unit(s) expiring 2026-11-27 (26 day(s)).','2026-11-01 00:00:00','2026-11-01 00:00:00',0,'expired',NULL,NULL,'2026-11-01 14:25:42','2026-11-01 14:25:42',NULL),
(47,NULL,NULL,NULL,'pharmacy_near_expiry@42@2026-11-01','Alatrol Syrup 5 mg/5 ml — batch B00035-3 has 24 unit(s) expiring 2026-11-30 (29 day(s)).','2026-11-01 00:00:00','2026-11-01 00:00:00',0,'expired',NULL,NULL,'2026-11-01 14:25:44','2026-11-01 14:25:44',NULL),
(48,NULL,NULL,NULL,'pharmacy_near_expiry@81@2026-11-01','Decadron Inj 8 mg/2 ml — batch B00069-3 has 6 unit(s) expiring 2026-12-18 (47 day(s)).','2026-11-01 00:00:00','2026-11-01 00:00:00',0,'expired',NULL,NULL,'2026-11-01 14:25:47','2026-11-01 14:25:47',NULL),
(49,NULL,NULL,NULL,'pharmacy_near_expiry@22@2026-11-01','Zimax 500 500 mg — batch B00018-3 has 20 unit(s) expiring 2027-01-01 (61 day(s)).','2026-11-01 00:00:00','2026-11-01 00:00:00',0,'expired',NULL,NULL,'2026-11-01 14:25:49','2026-11-01 14:25:49',NULL),
(50,NULL,NULL,NULL,'pharmacy_near_expiry@100@2026-11-01','Xoropam 0.5 0.5 mg — batch B00086-3 has 10 unit(s) expiring 2027-01-03 (63 day(s)).','2026-11-01 00:00:00','2026-11-01 00:00:00',0,'expired',NULL,NULL,'2026-11-01 14:25:52','2026-11-01 14:25:52',NULL);
/*!40000 ALTER TABLE `reminders` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rent_invoices`
--

DROP TABLE IF EXISTS `rent_invoices`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `rent_invoices` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `invoice_no` varchar(40) NOT NULL,
  `lease_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `year` int(10) unsigned NOT NULL,
  `month` tinyint(3) unsigned NOT NULL,
  `rent_amount` decimal(15,2) NOT NULL,
  `utility_charge` decimal(15,2) NOT NULL DEFAULT 0.00,
  `service_charge` decimal(15,2) NOT NULL DEFAULT 0.00,
  `late_fee` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total_due` decimal(15,2) NOT NULL,
  `paid_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `due_date` date DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'unpaid',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `rent_invoices_lease_id_year_month_unique` (`lease_id`,`year`,`month`),
  UNIQUE KEY `rent_invoices_invoice_no_unique` (`invoice_no`),
  KEY `rent_invoices_branch_id_foreign` (`branch_id`),
  KEY `rent_invoices_status_index` (`status`),
  CONSTRAINT `rent_invoices_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `rent_invoices_lease_id_foreign` FOREIGN KEY (`lease_id`) REFERENCES `leases` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rent_invoices`
--

LOCK TABLES `rent_invoices` WRITE;
/*!40000 ALTER TABLE `rent_invoices` DISABLE KEYS */;
/*!40000 ALTER TABLE `rent_invoices` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `rent_payments`
--

DROP TABLE IF EXISTS `rent_payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `rent_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `rent_invoice_id` bigint(20) unsigned NOT NULL,
  `paid_at` date DEFAULT NULL,
  `amount` decimal(15,2) NOT NULL,
  `method` varchar(40) DEFAULT NULL,
  `reference` varchar(100) DEFAULT NULL,
  `received_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `rent_payments_rent_invoice_id_foreign` (`rent_invoice_id`),
  KEY `rent_payments_received_by_foreign` (`received_by`),
  KEY `rent_payments_wallet_id_index` (`wallet_id`),
  CONSTRAINT `rent_payments_received_by_foreign` FOREIGN KEY (`received_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `rent_payments_rent_invoice_id_foreign` FOREIGN KEY (`rent_invoice_id`) REFERENCES `rent_invoices` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `rent_payments`
--

LOCK TABLES `rent_payments` WRITE;
/*!40000 ALTER TABLE `rent_payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `rent_payments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `roles`
--

DROP TABLE IF EXISTS `roles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `roles` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `display_name` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `roles_name_unique` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `roles`
--

LOCK TABLES `roles` WRITE;
/*!40000 ALTER TABLE `roles` DISABLE KEYS */;
INSERT INTO `roles` VALUES
(1,'hr','HR Manager','People operations: employees, attendance, shifts, payroll, performance, promotions, complaints.','2026-10-27 18:05:08','2026-10-27 18:05:08'),
(2,'branch_manager','Branch Manager','Runs one branch: sales, stock, transfers, deliveries and the branch team.','2026-10-27 18:05:09','2026-10-27 18:05:09'),
(3,'accountant','Accountant','Money in and out: incomes, expenses, wallets, payments, vendor dues.','2026-10-27 18:05:09','2026-10-27 18:05:09'),
(4,'sales','Sales Executive','Front line: customers, sales, deliveries and payments collection.','2026-10-27 18:05:09','2026-10-27 18:05:09'),
(5,'employee','Employee (self-service)','Baseline access for every staff account.','2026-10-27 18:05:09','2026-10-27 18:05:09'),
(6,'pharmacist','Pharmacist','Runs the medicine shop: prescriptions, POS sales, web-order fulfilment, purchases, batches and returns.','2026-10-27 18:05:09','2026-10-27 18:05:09'),
(7,'pharmacy_cashier','Pharmacy Cashier','Punches counter sales, collects payments and packs web orders — cannot open stock or purchase records.','2026-10-27 18:05:09','2026-10-27 18:05:09'),
(8,'investor_funds_admin','Investments & Funds Admin','Investor cash movements: investments, withdrawals, profit distributions, company fund payments and withdrawal approvals.','2026-10-27 18:05:09','2026-10-27 18:05:09'),
(9,'support_agent','Support Agent','Works the helpdesk queue: tickets, live chats, knowledge-base articles and helpdesk reports.','2026-10-27 18:05:09','2026-10-27 18:05:09'),
(10,'support_lead','Support Lead','Runs the helpdesk: resolution/closing authority, cancellations, escalations, department/SLA setup and agent rostering.','2026-10-27 18:05:09','2026-10-27 18:05:09'),
(11,'social_media_manager','Social Media Manager','Owns the social module: accounts, posts, campaigns, inbox, publishing, leads, library and analytics.','2026-10-27 18:05:09','2026-10-27 18:05:09'),
(12,'seo_specialist','SEO Specialist','Runs sites and SEO projects: keywords, content briefs, competitor tracking, analytics and reports.','2026-10-27 18:05:09','2026-10-27 18:05:09');
/*!40000 ALTER TABLE `roles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `salaries`
--

DROP TABLE IF EXISTS `salaries`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `salaries` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned NOT NULL,
  `year` year(4) NOT NULL,
  `month` tinyint(3) unsigned NOT NULL,
  `base_salary` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'Employee''s monthly base salary',
  `pay_type` varchar(20) DEFAULT NULL,
  `working_days` decimal(5,2) NOT NULL DEFAULT 0.00 COMMENT 'Total working days in the month (Mon-Thu)',
  `daily_rate` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'Base salary / working days',
  `hourly_rate` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'Daily rate / standard hours (8)',
  `regular_days` decimal(5,2) NOT NULL DEFAULT 0.00 COMMENT 'Days worked on Mon-Thu',
  `scheduled_shifts` decimal(6,2) NOT NULL DEFAULT 0.00,
  `attended_shifts` decimal(6,2) NOT NULL DEFAULT 0.00,
  `scheduled_percent` decimal(6,2) NOT NULL DEFAULT 0.00,
  `standard_daily_hours` decimal(6,2) NOT NULL DEFAULT 0.00,
  `gross_salary` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'Regular days × daily rate',
  `leave_days` decimal(5,2) NOT NULL DEFAULT 0.00 COMMENT 'Days marked as leave in attendance',
  `paid_leave_days` decimal(5,2) NOT NULL DEFAULT 0.00 COMMENT 'Personal leave days marked paid — salary unaffected',
  `unpaid_leave_days` decimal(5,2) NOT NULL DEFAULT 0.00 COMMENT 'Personal leave days marked unpaid — each deducts the daily rate',
  `office_leave_days` int(10) unsigned NOT NULL DEFAULT 0,
  `leave_ot_days` decimal(5,2) NOT NULL DEFAULT 0.00 COMMENT 'Declared office-leave days the employee actually worked',
  `leave_ot_hours` decimal(8,2) NOT NULL DEFAULT 0.00 COMMENT 'Hours worked on declared office-leave days',
  `leave_ot_rate` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'Hourly rate × the employee''s overtime multiplier, snapshot for the leave-OT line',
  `leave_ot_amount` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'Leave-OT hours × leave-OT rate — part of overtime_amount, broken out for the payslip',
  `leave_deduction` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'Leave days × daily rate',
  `holiday_hours` decimal(8,2) NOT NULL DEFAULT 0.00 COMMENT 'Hours worked on Fri/Sat (holidays)',
  `overtime_hours` decimal(8,2) NOT NULL DEFAULT 0.00 COMMENT 'Extra hours beyond 8 on regular days',
  `total_overtime_hours` decimal(8,2) NOT NULL DEFAULT 0.00 COMMENT 'Holiday hours + overtime hours',
  `overtime_rate` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'Hourly rate × 2 (double rate)',
  `overtime_amount` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'Total overtime hours × overtime rate',
  `bonus` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'Any additional bonus',
  `adjustment_bonus` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'Extra bonus added during review',
  `adjustment_deduction` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'Extra deduction added during review',
  `adjustment_note` text DEFAULT NULL COMMENT 'Why the adjustment was made',
  `adjusted_by` bigint(20) unsigned DEFAULT NULL,
  `adjusted_at` timestamp NULL DEFAULT NULL,
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `approved_net` decimal(12,2) DEFAULT NULL COMMENT 'Net salary frozen at approval',
  `paid_by` bigint(20) unsigned DEFAULT NULL,
  `paid_at` timestamp NULL DEFAULT NULL,
  `paid_amount` decimal(12,2) DEFAULT NULL,
  `deductions` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'Total deductions',
  `advance_deduction` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'Amount auto-deducted this month for active advances/loans',
  `asset_fine_deduction` decimal(12,2) NOT NULL DEFAULT 0.00,
  `net_salary` decimal(12,2) NOT NULL DEFAULT 0.00 COMMENT 'Gross + Overtime - Deductions + Bonus',
  `status` enum('draft','generated','approved','paid') NOT NULL DEFAULT 'draft',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `salaries_employee_id_year_month_unique` (`employee_id`,`year`,`month`),
  KEY `salaries_paid_by_foreign` (`paid_by`),
  CONSTRAINT `salaries_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `salaries_paid_by_foreign` FOREIGN KEY (`paid_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `salaries`
--

LOCK TABLES `salaries` WRITE;
/*!40000 ALTER TABLE `salaries` DISABLE KEYS */;
/*!40000 ALTER TABLE `salaries` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sale_return_items`
--

DROP TABLE IF EXISTS `sale_return_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `sale_return_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `sale_return_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `variant_id` bigint(20) unsigned DEFAULT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `unit_price` decimal(15,2) NOT NULL,
  `total` decimal(15,2) NOT NULL,
  `return_type` varchar(20) NOT NULL DEFAULT 'refund',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `sale_return_items_sale_return_id_foreign` (`sale_return_id`),
  KEY `sale_return_items_product_id_foreign` (`product_id`),
  KEY `sale_return_items_variant_id_foreign` (`variant_id`),
  CONSTRAINT `sale_return_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`),
  CONSTRAINT `sale_return_items_sale_return_id_foreign` FOREIGN KEY (`sale_return_id`) REFERENCES `sale_returns` (`id`) ON DELETE CASCADE,
  CONSTRAINT `sale_return_items_variant_id_foreign` FOREIGN KEY (`variant_id`) REFERENCES `product_variants` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sale_return_items`
--

LOCK TABLES `sale_return_items` WRITE;
/*!40000 ALTER TABLE `sale_return_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `sale_return_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sale_returns`
--

DROP TABLE IF EXISTS `sale_returns`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `sale_returns` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `return_no` varchar(40) NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `source_type` varchar(30) NOT NULL,
  `source_id` bigint(20) unsigned NOT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `total_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `refund_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `refund_method` varchar(40) DEFAULT NULL,
  `return_type` varchar(20) NOT NULL DEFAULT 'refund',
  `status` varchar(20) NOT NULL DEFAULT 'pending',
  `reason` text DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `reviewed_by` bigint(20) unsigned DEFAULT NULL,
  `reviewed_at` timestamp NULL DEFAULT NULL,
  `review_note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_via` varchar(20) DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `sale_returns_return_no_unique` (`return_no`),
  KEY `sale_returns_branch_id_foreign` (`branch_id`),
  KEY `sale_returns_customer_id_foreign` (`customer_id`),
  KEY `sale_returns_user_id_foreign` (`user_id`),
  KEY `sale_returns_reviewed_by_foreign` (`reviewed_by`),
  KEY `sale_returns_created_via_index` (`created_via`),
  CONSTRAINT `sale_returns_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sale_returns_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sale_returns_reviewed_by_foreign` FOREIGN KEY (`reviewed_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sale_returns_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sale_returns`
--

LOCK TABLES `sale_returns` WRITE;
/*!40000 ALTER TABLE `sale_returns` DISABLE KEYS */;
/*!40000 ALTER TABLE `sale_returns` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sales_agents`
--

DROP TABLE IF EXISTS `sales_agents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `sales_agents` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `phone` varchar(40) DEFAULT NULL,
  `region` varchar(120) DEFAULT NULL,
  `commission_percent` decimal(5,2) NOT NULL DEFAULT 0.00,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `sales_agents_branch_id_foreign` (`branch_id`),
  KEY `sales_agents_employee_id_foreign` (`employee_id`),
  KEY `sales_agents_user_id_foreign` (`user_id`),
  CONSTRAINT `sales_agents_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sales_agents_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sales_agents_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sales_agents`
--

LOCK TABLES `sales_agents` WRITE;
/*!40000 ALTER TABLE `sales_agents` DISABLE KEYS */;
/*!40000 ALTER TABLE `sales_agents` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sales_incomes`
--

DROP TABLE IF EXISTS `sales_incomes`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `sales_incomes` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `customer_name` varchar(255) DEFAULT NULL,
  `order_reference` varchar(255) DEFAULT NULL,
  `amount` decimal(12,2) NOT NULL,
  `earning` decimal(12,2) DEFAULT NULL,
  `sale_date` date NOT NULL,
  `payment_method` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `source` varchar(20) NOT NULL DEFAULT 'manual',
  `stock_out_id` bigint(20) unsigned DEFAULT NULL,
  `stock_adjustment_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `sales_incomes_employee_id_foreign` (`employee_id`),
  KEY `sales_incomes_sale_date_index` (`sale_date`),
  KEY `sales_incomes_customer_id_foreign` (`customer_id`),
  KEY `sales_incomes_warehouse_id_foreign` (`warehouse_id`),
  KEY `sales_incomes_stock_out_id_foreign` (`stock_out_id`),
  KEY `sales_incomes_stock_adjustment_id_foreign` (`stock_adjustment_id`),
  KEY `sales_incomes_source_sale_date_index` (`source`,`sale_date`),
  KEY `sales_incomes_branch_id_index` (`branch_id`),
  CONSTRAINT `sales_incomes_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sales_incomes_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sales_incomes_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sales_incomes_stock_adjustment_id_foreign` FOREIGN KEY (`stock_adjustment_id`) REFERENCES `stock_adjustments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sales_incomes_stock_out_id_foreign` FOREIGN KEY (`stock_out_id`) REFERENCES `stock_outs` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sales_incomes_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sales_incomes`
--

LOCK TABLES `sales_incomes` WRITE;
/*!40000 ALTER TABLE `sales_incomes` DISABLE KEYS */;
/*!40000 ALTER TABLE `sales_incomes` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sales_invoice_items`
--

DROP TABLE IF EXISTS `sales_invoice_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `sales_invoice_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `sales_invoice_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `variant_id` bigint(20) unsigned DEFAULT NULL,
  `product_name` varchar(255) NOT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `unit_price` decimal(15,2) NOT NULL,
  `discount_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `tax_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total` decimal(15,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `sales_invoice_items_sales_invoice_id_foreign` (`sales_invoice_id`),
  KEY `sales_invoice_items_product_id_foreign` (`product_id`),
  KEY `sales_invoice_items_variant_id_foreign` (`variant_id`),
  CONSTRAINT `sales_invoice_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`),
  CONSTRAINT `sales_invoice_items_sales_invoice_id_foreign` FOREIGN KEY (`sales_invoice_id`) REFERENCES `sales_invoices` (`id`) ON DELETE CASCADE,
  CONSTRAINT `sales_invoice_items_variant_id_foreign` FOREIGN KEY (`variant_id`) REFERENCES `product_variants` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sales_invoice_items`
--

LOCK TABLES `sales_invoice_items` WRITE;
/*!40000 ALTER TABLE `sales_invoice_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `sales_invoice_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sales_invoices`
--

DROP TABLE IF EXISTS `sales_invoices`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `sales_invoices` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `invoice_no` varchar(40) NOT NULL,
  `sales_order_id` bigint(20) unsigned DEFAULT NULL,
  `garment_order_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `sales_by_id` bigint(20) unsigned DEFAULT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `invoice_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `subtotal` decimal(15,2) NOT NULL DEFAULT 0.00,
  `discount_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `tax_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `shipping` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total` decimal(15,2) NOT NULL DEFAULT 0.00,
  `paid_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `status` varchar(30) NOT NULL DEFAULT 'unpaid',
  `type` varchar(30) NOT NULL DEFAULT 'invoice',
  `currency` varchar(10) NOT NULL DEFAULT 'BDT',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `sales_invoices_invoice_no_unique` (`invoice_no`),
  KEY `sales_invoices_sales_order_id_foreign` (`sales_order_id`),
  KEY `sales_invoices_branch_id_foreign` (`branch_id`),
  KEY `sales_invoices_customer_id_foreign` (`customer_id`),
  KEY `sales_invoices_employee_id_foreign` (`employee_id`),
  KEY `sales_invoices_warehouse_id_foreign` (`warehouse_id`),
  KEY `sales_invoices_status_due_date_index` (`status`,`due_date`),
  KEY `sales_invoices_garment_order_id_index` (`garment_order_id`),
  KEY `sales_invoices_sales_by_id_foreign` (`sales_by_id`),
  CONSTRAINT `sales_invoices_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sales_invoices_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sales_invoices_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sales_invoices_garment_order_id_foreign` FOREIGN KEY (`garment_order_id`) REFERENCES `garment_orders` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sales_invoices_sales_by_id_foreign` FOREIGN KEY (`sales_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sales_invoices_sales_order_id_foreign` FOREIGN KEY (`sales_order_id`) REFERENCES `sales_orders` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sales_invoices_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sales_invoices`
--

LOCK TABLES `sales_invoices` WRITE;
/*!40000 ALTER TABLE `sales_invoices` DISABLE KEYS */;
/*!40000 ALTER TABLE `sales_invoices` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sales_order_items`
--

DROP TABLE IF EXISTS `sales_order_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `sales_order_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `sales_order_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `variant_id` bigint(20) unsigned DEFAULT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `unit_price` decimal(15,2) NOT NULL,
  `discount_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total` decimal(15,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `sales_order_items_sales_order_id_foreign` (`sales_order_id`),
  KEY `sales_order_items_product_id_foreign` (`product_id`),
  KEY `sales_order_items_variant_id_foreign` (`variant_id`),
  CONSTRAINT `sales_order_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`),
  CONSTRAINT `sales_order_items_sales_order_id_foreign` FOREIGN KEY (`sales_order_id`) REFERENCES `sales_orders` (`id`) ON DELETE CASCADE,
  CONSTRAINT `sales_order_items_variant_id_foreign` FOREIGN KEY (`variant_id`) REFERENCES `product_variants` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sales_order_items`
--

LOCK TABLES `sales_order_items` WRITE;
/*!40000 ALTER TABLE `sales_order_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `sales_order_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sales_orders`
--

DROP TABLE IF EXISTS `sales_orders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `sales_orders` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `order_no` varchar(40) NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `order_date` date DEFAULT NULL,
  `subtotal` decimal(15,2) NOT NULL DEFAULT 0.00,
  `discount_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `tax_amount` decimal(15,2) NOT NULL DEFAULT 0.00,
  `shipping` decimal(15,2) NOT NULL DEFAULT 0.00,
  `total` decimal(15,2) NOT NULL DEFAULT 0.00,
  `status` varchar(30) NOT NULL DEFAULT 'draft',
  `currency` varchar(10) NOT NULL DEFAULT 'BDT',
  `exchange_rate` decimal(10,4) NOT NULL DEFAULT 1.0000,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `sales_orders_order_no_unique` (`order_no`),
  KEY `sales_orders_branch_id_foreign` (`branch_id`),
  KEY `sales_orders_customer_id_foreign` (`customer_id`),
  KEY `sales_orders_warehouse_id_foreign` (`warehouse_id`),
  KEY `sales_orders_employee_id_foreign` (`employee_id`),
  CONSTRAINT `sales_orders_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sales_orders_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sales_orders_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `sales_orders_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sales_orders`
--

LOCK TABLES `sales_orders` WRITE;
/*!40000 ALTER TABLE `sales_orders` DISABLE KEYS */;
/*!40000 ALTER TABLE `sales_orders` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `security_logs`
--

DROP TABLE IF EXISTS `security_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `security_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ip_address` varchar(45) NOT NULL,
  `url` varchar(500) DEFAULT NULL,
  `data` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`data`)),
  `created_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `security_logs_ip_address_index` (`ip_address`),
  KEY `security_logs_created_at_index` (`created_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `security_logs`
--

LOCK TABLES `security_logs` WRITE;
/*!40000 ALTER TABLE `security_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `security_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `seo_ai_generations`
--

DROP TABLE IF EXISTS `seo_ai_generations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `seo_ai_generations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `seo_project_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `type` varchar(20) NOT NULL,
  `subject` varchar(190) DEFAULT NULL,
  `title` varchar(255) NOT NULL,
  `url_slug` varchar(255) DEFAULT NULL,
  `meta_title` varchar(255) DEFAULT NULL,
  `meta_description` text DEFAULT NULL,
  `body` longtext DEFAULT NULL,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `provider` varchar(60) NOT NULL,
  `model` varchar(120) DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seo_ai_generations_created_by_foreign` (`created_by`),
  KEY `seo_ai_generations_seo_project_id_type_created_at_index` (`seo_project_id`,`type`,`created_at`),
  KEY `seo_ai_generations_branch_id_index` (`branch_id`),
  CONSTRAINT `seo_ai_generations_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seo_ai_generations_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `seo_ai_generations_seo_project_id_foreign` FOREIGN KEY (`seo_project_id`) REFERENCES `seo_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `seo_ai_generations`
--

LOCK TABLES `seo_ai_generations` WRITE;
/*!40000 ALTER TABLE `seo_ai_generations` DISABLE KEYS */;
/*!40000 ALTER TABLE `seo_ai_generations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `seo_api_usage`
--

DROP TABLE IF EXISTS `seo_api_usage`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `seo_api_usage` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `seo_project_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `provider` varchar(40) NOT NULL,
  `service` varchar(60) NOT NULL,
  `endpoint` varchar(120) DEFAULT NULL,
  `requests` int(10) unsigned NOT NULL DEFAULT 0,
  `error_count` int(10) unsigned NOT NULL DEFAULT 0,
  `cost` decimal(10,4) NOT NULL DEFAULT 0.0000,
  `avg_response_ms` int(10) unsigned DEFAULT NULL,
  `credits_remaining` bigint(20) unsigned DEFAULT NULL,
  `usage_on` date NOT NULL,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seo_api_usage_branch_id_usage_on_index` (`branch_id`,`usage_on`),
  KEY `seo_api_usage_provider_usage_on_index` (`provider`,`usage_on`),
  KEY `seo_api_usage_seo_project_id_usage_on_index` (`seo_project_id`,`usage_on`),
  CONSTRAINT `seo_api_usage_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seo_api_usage_seo_project_id_foreign` FOREIGN KEY (`seo_project_id`) REFERENCES `seo_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `seo_api_usage`
--

LOCK TABLES `seo_api_usage` WRITE;
/*!40000 ALTER TABLE `seo_api_usage` DISABLE KEYS */;
/*!40000 ALTER TABLE `seo_api_usage` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `seo_competitor_keywords`
--

DROP TABLE IF EXISTS `seo_competitor_keywords`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `seo_competitor_keywords` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `seo_competitor_id` bigint(20) unsigned NOT NULL,
  `seo_project_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `keyword` varchar(190) NOT NULL,
  `position` int(10) unsigned DEFAULT NULL,
  `search_volume` bigint(20) unsigned DEFAULT NULL,
  `difficulty` tinyint(3) unsigned DEFAULT NULL,
  `cpc` decimal(8,2) DEFAULT NULL,
  `url` varchar(500) DEFAULT NULL,
  `provider` varchar(40) DEFAULT NULL,
  `synced_on` date NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `seo_competitor_keywords_seo_competitor_id_keyword_unique` (`seo_competitor_id`,`keyword`),
  KEY `seo_competitor_keywords_branch_id_foreign` (`branch_id`),
  KEY `seo_competitor_keywords_seo_project_id_keyword_index` (`seo_project_id`,`keyword`),
  CONSTRAINT `seo_competitor_keywords_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seo_competitor_keywords_seo_competitor_id_foreign` FOREIGN KEY (`seo_competitor_id`) REFERENCES `seo_competitors` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seo_competitor_keywords_seo_project_id_foreign` FOREIGN KEY (`seo_project_id`) REFERENCES `seo_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `seo_competitor_keywords`
--

LOCK TABLES `seo_competitor_keywords` WRITE;
/*!40000 ALTER TABLE `seo_competitor_keywords` DISABLE KEYS */;
/*!40000 ALTER TABLE `seo_competitor_keywords` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `seo_competitors`
--

DROP TABLE IF EXISTS `seo_competitors`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `seo_competitors` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `seo_project_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `domain` varchar(255) NOT NULL,
  `url` varchar(500) DEFAULT NULL,
  `country` varchar(10) DEFAULT NULL,
  `industry` varchar(255) DEFAULT NULL,
  `tags` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`tags`)),
  `notes` text DEFAULT NULL,
  `status` enum('active','paused','archived') NOT NULL DEFAULT 'active',
  `provider` varchar(40) DEFAULT NULL,
  `discovered_via` varchar(40) DEFAULT NULL,
  `estimated_traffic` bigint(20) unsigned DEFAULT NULL,
  `estimated_traffic_growth` decimal(8,2) DEFAULT NULL,
  `organic_keywords` bigint(20) unsigned DEFAULT NULL,
  `backlinks` bigint(20) unsigned DEFAULT NULL,
  `referring_domains` int(10) unsigned DEFAULT NULL,
  `keyword_overlap` smallint(5) unsigned DEFAULT NULL,
  `visibility_score` smallint(5) unsigned DEFAULT NULL,
  `last_synced_at` timestamp NULL DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `seo_competitors_seo_project_id_domain_unique` (`seo_project_id`,`domain`),
  KEY `seo_competitors_created_by_foreign` (`created_by`),
  KEY `seo_competitors_branch_id_status_index` (`branch_id`,`status`),
  CONSTRAINT `seo_competitors_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seo_competitors_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `seo_competitors_seo_project_id_foreign` FOREIGN KEY (`seo_project_id`) REFERENCES `seo_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `seo_competitors`
--

LOCK TABLES `seo_competitors` WRITE;
/*!40000 ALTER TABLE `seo_competitors` DISABLE KEYS */;
/*!40000 ALTER TABLE `seo_competitors` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `seo_connections`
--

DROP TABLE IF EXISTS `seo_connections`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `seo_connections` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `seo_project_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `provider` varchar(40) NOT NULL,
  `service` varchar(60) NOT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'disconnected',
  `access_token` text DEFAULT NULL,
  `refresh_token` text DEFAULT NULL,
  `api_key` text DEFAULT NULL,
  `token_expires_at` timestamp NULL DEFAULT NULL,
  `refreshed_at` timestamp NULL DEFAULT NULL,
  `scopes` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`scopes`)),
  `external_account_id` varchar(255) DEFAULT NULL,
  `external_property_id` varchar(255) DEFAULT NULL,
  `external_property_name` varchar(255) DEFAULT NULL,
  `external_email` varchar(255) DEFAULT NULL,
  `last_error` text DEFAULT NULL,
  `last_synced_at` timestamp NULL DEFAULT NULL,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seo_connections_branch_id_provider_service_index` (`branch_id`,`provider`,`service`),
  KEY `seo_connections_seo_project_id_service_index` (`seo_project_id`,`service`),
  CONSTRAINT `seo_connections_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seo_connections_seo_project_id_foreign` FOREIGN KEY (`seo_project_id`) REFERENCES `seo_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `seo_connections`
--

LOCK TABLES `seo_connections` WRITE;
/*!40000 ALTER TABLE `seo_connections` DISABLE KEYS */;
/*!40000 ALTER TABLE `seo_connections` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `seo_content_briefs`
--

DROP TABLE IF EXISTS `seo_content_briefs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `seo_content_briefs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `seo_project_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `primary_keyword` varchar(190) NOT NULL,
  `title` varchar(255) DEFAULT NULL,
  `summary` text DEFAULT NULL,
  `payload` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`payload`)),
  `source` varchar(40) NOT NULL DEFAULT 'manual',
  `social_post_id` bigint(20) unsigned DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'draft',
  `ai_provider` varchar(40) DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seo_content_briefs_created_by_foreign` (`created_by`),
  KEY `seo_content_briefs_seo_project_id_primary_keyword_index` (`seo_project_id`,`primary_keyword`),
  KEY `seo_content_briefs_branch_id_index` (`branch_id`),
  CONSTRAINT `seo_content_briefs_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seo_content_briefs_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `seo_content_briefs_seo_project_id_foreign` FOREIGN KEY (`seo_project_id`) REFERENCES `seo_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `seo_content_briefs`
--

LOCK TABLES `seo_content_briefs` WRITE;
/*!40000 ALTER TABLE `seo_content_briefs` DISABLE KEYS */;
/*!40000 ALTER TABLE `seo_content_briefs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `seo_internal_link_suggestions`
--

DROP TABLE IF EXISTS `seo_internal_link_suggestions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `seo_internal_link_suggestions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `seo_project_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `source_url` varchar(500) NOT NULL,
  `target_url` varchar(500) NOT NULL,
  `anchor_text` varchar(190) DEFAULT NULL,
  `relevance_score` tinyint(3) unsigned DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'suggested',
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seo_internal_link_suggestions_branch_id_foreign` (`branch_id`),
  KEY `seo_internal_link_suggestions_created_by_foreign` (`created_by`),
  KEY `seo_internal_link_suggestions_source_url_index` (`source_url`),
  KEY `seo_internal_link_suggestions_target_url_index` (`target_url`),
  KEY `seo_internal_link_suggestions_seo_project_id_status_index` (`seo_project_id`,`status`),
  CONSTRAINT `seo_internal_link_suggestions_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seo_internal_link_suggestions_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `seo_internal_link_suggestions_seo_project_id_foreign` FOREIGN KEY (`seo_project_id`) REFERENCES `seo_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `seo_internal_link_suggestions`
--

LOCK TABLES `seo_internal_link_suggestions` WRITE;
/*!40000 ALTER TABLE `seo_internal_link_suggestions` DISABLE KEYS */;
/*!40000 ALTER TABLE `seo_internal_link_suggestions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `seo_keyword_ranks`
--

DROP TABLE IF EXISTS `seo_keyword_ranks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `seo_keyword_ranks` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `seo_keyword_id` bigint(20) unsigned NOT NULL,
  `seo_project_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `position` int(10) unsigned DEFAULT NULL,
  `url` varchar(500) DEFAULT NULL,
  `device` varchar(20) NOT NULL DEFAULT 'desktop',
  `search_engine` varchar(40) NOT NULL DEFAULT 'google',
  `country` varchar(10) DEFAULT NULL,
  `source` varchar(20) NOT NULL DEFAULT 'manual',
  `checked_on` date NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seo_keyword_ranks_branch_id_foreign` (`branch_id`),
  KEY `seo_keyword_ranks_seo_keyword_id_checked_on_index` (`seo_keyword_id`,`checked_on`),
  KEY `seo_keyword_ranks_seo_project_id_checked_on_index` (`seo_project_id`,`checked_on`),
  CONSTRAINT `seo_keyword_ranks_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seo_keyword_ranks_seo_keyword_id_foreign` FOREIGN KEY (`seo_keyword_id`) REFERENCES `seo_keywords` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seo_keyword_ranks_seo_project_id_foreign` FOREIGN KEY (`seo_project_id`) REFERENCES `seo_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `seo_keyword_ranks`
--

LOCK TABLES `seo_keyword_ranks` WRITE;
/*!40000 ALTER TABLE `seo_keyword_ranks` DISABLE KEYS */;
/*!40000 ALTER TABLE `seo_keyword_ranks` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `seo_keywords`
--

DROP TABLE IF EXISTS `seo_keywords`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `seo_keywords` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `seo_project_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `keyword` varchar(190) NOT NULL,
  `group_name` varchar(120) DEFAULT NULL,
  `intent` varchar(20) DEFAULT NULL,
  `is_branded` tinyint(1) NOT NULL DEFAULT 0,
  `is_primary` tinyint(1) NOT NULL DEFAULT 0,
  `search_volume` bigint(20) unsigned DEFAULT NULL,
  `difficulty` tinyint(3) unsigned DEFAULT NULL,
  `cpc` decimal(8,2) DEFAULT NULL,
  `opportunity_score` tinyint(3) unsigned DEFAULT NULL,
  `priority` tinyint(3) unsigned NOT NULL DEFAULT 3,
  `ranking_position` int(10) unsigned DEFAULT NULL,
  `ranking_url` varchar(500) DEFAULT NULL,
  `last_checked_at` timestamp NULL DEFAULT NULL,
  `last_synced_at` timestamp NULL DEFAULT NULL,
  `tags` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`tags`)),
  `notes` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `seo_keywords_seo_project_id_keyword_unique` (`seo_project_id`,`keyword`),
  KEY `seo_keywords_created_by_foreign` (`created_by`),
  KEY `seo_keywords_branch_id_index` (`branch_id`),
  KEY `seo_keywords_seo_project_id_intent_index` (`seo_project_id`,`intent`),
  CONSTRAINT `seo_keywords_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seo_keywords_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `seo_keywords_seo_project_id_foreign` FOREIGN KEY (`seo_project_id`) REFERENCES `seo_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `seo_keywords`
--

LOCK TABLES `seo_keywords` WRITE;
/*!40000 ALTER TABLE `seo_keywords` DISABLE KEYS */;
/*!40000 ALTER TABLE `seo_keywords` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `seo_projects`
--

DROP TABLE IF EXISTS `seo_projects`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `seo_projects` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `domain` varchar(255) DEFAULT NULL,
  `url` varchar(500) DEFAULT NULL,
  `industry` varchar(255) DEFAULT NULL,
  `country` varchar(10) DEFAULT 'BD',
  `language` varchar(10) DEFAULT 'en',
  `target_location` varchar(255) DEFAULT NULL,
  `target_audience` varchar(255) DEFAULT NULL,
  `target_market` varchar(255) DEFAULT NULL,
  `target_keywords` text DEFAULT NULL,
  `competitor_domains` text DEFAULT NULL,
  `seo_provider` varchar(40) DEFAULT 'semrush',
  `search_engine` varchar(40) DEFAULT 'google',
  `device` varchar(20) DEFAULT 'desktop',
  `verification_token` varchar(120) DEFAULT NULL,
  `status` enum('active','paused','archived') NOT NULL DEFAULT 'active',
  `notes` text DEFAULT NULL,
  `tags` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`tags`)),
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seo_projects_created_by_foreign` (`created_by`),
  KEY `seo_projects_branch_id_status_index` (`branch_id`,`status`),
  KEY `seo_projects_domain_index` (`domain`),
  CONSTRAINT `seo_projects_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seo_projects_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `seo_projects`
--

LOCK TABLES `seo_projects` WRITE;
/*!40000 ALTER TABLE `seo_projects` DISABLE KEYS */;
/*!40000 ALTER TABLE `seo_projects` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `seo_serp_snapshots`
--

DROP TABLE IF EXISTS `seo_serp_snapshots`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `seo_serp_snapshots` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `seo_project_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `keyword` varchar(190) NOT NULL,
  `country` varchar(10) DEFAULT NULL,
  `device` varchar(20) NOT NULL DEFAULT 'desktop',
  `search_engine` varchar(40) NOT NULL DEFAULT 'google',
  `entries` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`entries`)),
  `own_position` int(10) unsigned DEFAULT NULL,
  `features` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`features`)),
  `result_count` int(10) unsigned DEFAULT NULL,
  `source` varchar(20) NOT NULL DEFAULT 'provider',
  `checked_on` date NOT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seo_serp_snapshots_created_by_foreign` (`created_by`),
  KEY `seo_serp_snapshots_seo_project_id_keyword_checked_on_index` (`seo_project_id`,`keyword`,`checked_on`),
  KEY `seo_serp_snapshots_branch_id_index` (`branch_id`),
  CONSTRAINT `seo_serp_snapshots_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seo_serp_snapshots_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `seo_serp_snapshots_seo_project_id_foreign` FOREIGN KEY (`seo_project_id`) REFERENCES `seo_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `seo_serp_snapshots`
--

LOCK TABLES `seo_serp_snapshots` WRITE;
/*!40000 ALTER TABLE `seo_serp_snapshots` DISABLE KEYS */;
/*!40000 ALTER TABLE `seo_serp_snapshots` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `seo_site_audit_issues`
--

DROP TABLE IF EXISTS `seo_site_audit_issues`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `seo_site_audit_issues` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `seo_site_audit_run_id` bigint(20) unsigned NOT NULL,
  `seo_project_id` bigint(20) unsigned NOT NULL,
  `severity` varchar(20) NOT NULL DEFAULT 'warning',
  `check` varchar(60) NOT NULL,
  `url` varchar(500) DEFAULT NULL,
  `detail` varchar(500) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seo_site_audit_issues_seo_site_audit_run_id_severity_index` (`seo_site_audit_run_id`,`severity`),
  KEY `seo_site_audit_issues_seo_project_id_index` (`seo_project_id`),
  CONSTRAINT `seo_site_audit_issues_seo_project_id_foreign` FOREIGN KEY (`seo_project_id`) REFERENCES `seo_projects` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seo_site_audit_issues_seo_site_audit_run_id_foreign` FOREIGN KEY (`seo_site_audit_run_id`) REFERENCES `seo_site_audit_runs` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `seo_site_audit_issues`
--

LOCK TABLES `seo_site_audit_issues` WRITE;
/*!40000 ALTER TABLE `seo_site_audit_issues` DISABLE KEYS */;
/*!40000 ALTER TABLE `seo_site_audit_issues` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `seo_site_audit_runs`
--

DROP TABLE IF EXISTS `seo_site_audit_runs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `seo_site_audit_runs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `seo_project_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `base_url` varchar(500) DEFAULT NULL,
  `health_score` smallint(5) unsigned DEFAULT NULL,
  `pages_crawled` int(10) unsigned NOT NULL DEFAULT 0,
  `status` enum('pending','running','done','failed') NOT NULL DEFAULT 'pending',
  `error` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `seo_site_audit_runs_branch_id_foreign` (`branch_id`),
  KEY `seo_site_audit_runs_created_by_foreign` (`created_by`),
  KEY `seo_site_audit_runs_seo_project_id_created_at_index` (`seo_project_id`,`created_at`),
  CONSTRAINT `seo_site_audit_runs_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seo_site_audit_runs_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `seo_site_audit_runs_seo_project_id_foreign` FOREIGN KEY (`seo_project_id`) REFERENCES `seo_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `seo_site_audit_runs`
--

LOCK TABLES `seo_site_audit_runs` WRITE;
/*!40000 ALTER TABLE `seo_site_audit_runs` DISABLE KEYS */;
/*!40000 ALTER TABLE `seo_site_audit_runs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `seo_traffic_daily`
--

DROP TABLE IF EXISTS `seo_traffic_daily`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `seo_traffic_daily` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `seo_project_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `source` varchar(20) NOT NULL,
  `metric_date` date NOT NULL,
  `clicks` bigint(20) unsigned DEFAULT NULL,
  `impressions` bigint(20) unsigned DEFAULT NULL,
  `ctr` decimal(8,6) DEFAULT NULL,
  `avg_position` decimal(8,2) DEFAULT NULL,
  `sessions` bigint(20) unsigned DEFAULT NULL,
  `users` bigint(20) unsigned DEFAULT NULL,
  `conversions` bigint(20) unsigned DEFAULT NULL,
  `pageviews` bigint(20) unsigned DEFAULT NULL,
  `bounce_rate` decimal(8,6) DEFAULT NULL,
  `avg_session_seconds` decimal(10,2) DEFAULT NULL,
  `synced_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `seo_traffic_daily_seo_project_id_source_metric_date_unique` (`seo_project_id`,`source`,`metric_date`),
  KEY `seo_traffic_daily_branch_id_metric_date_index` (`branch_id`,`metric_date`),
  KEY `seo_traffic_daily_seo_project_id_source_metric_date_index` (`seo_project_id`,`source`,`metric_date`),
  CONSTRAINT `seo_traffic_daily_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE CASCADE,
  CONSTRAINT `seo_traffic_daily_seo_project_id_foreign` FOREIGN KEY (`seo_project_id`) REFERENCES `seo_projects` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `seo_traffic_daily`
--

LOCK TABLES `seo_traffic_daily` WRITE;
/*!40000 ALTER TABLE `seo_traffic_daily` DISABLE KEYS */;
/*!40000 ALTER TABLE `seo_traffic_daily` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sessions`
--

DROP TABLE IF EXISTS `sessions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `sessions` (
  `id` varchar(255) NOT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `ip_address` varchar(45) DEFAULT NULL,
  `user_agent` text DEFAULT NULL,
  `payload` longtext NOT NULL,
  `last_activity` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `sessions_user_id_index` (`user_id`),
  KEY `sessions_last_activity_index` (`last_activity`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sessions`
--

LOCK TABLES `sessions` WRITE;
/*!40000 ALTER TABLE `sessions` DISABLE KEYS */;
INSERT INTO `sessions` VALUES
('0YrAzAPSiFFqEWXtHeVE4b79tzUGDMbsE5QUwJ1f',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoibkFKeTlBREhmUm45MEl2M1BMNHhTVHlqUk84YTJhcWEza2ZlMFViZSI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6MjE6Imh0dHA6Ly8xMjcuMC4wLjE6ODAwMCI7czo1OiJyb3V0ZSI7Tjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1793338474),
('hcoAi8SdJ4vQi7I5h2s1eGer1EfVqBvrK37tN4it',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoidnUzWDRiZ3NpODlaY00yNnd4OTFudzRybnczakxONHljbDJFYjBJZyI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6MjE6Imh0dHA6Ly8xMjcuMC4wLjE6ODAwMCI7czo1OiJyb3V0ZSI7Tjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1793125829),
('HxMgiZD54u3I5kPkXuA8C39EitpgI2GdA5SEQ13W',NULL,'127.0.0.1','curl/8.22.0','YTozOntzOjY6Il90b2tlbiI7czo0MDoiaGJZNjNBdHJIVkxVU05tTFpnVnFKc2FpbjBWdTVQZHRvUnZMZnhMNiI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6MjE6Imh0dHA6Ly8xMjcuMC4wLjE6ODAwMCI7czo1OiJyb3V0ZSI7Tjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1793125424),
('ThnGS6U9Tucg6E0XINw7T30dvnxZ35lqY1lGkzRK',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoiS1pnTDY2ZXFpRlZlbzI0am5keEdtTk1yVTlob05CRU5LVm0ycDhVTSI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6MjE6Imh0dHA6Ly8xMjcuMC4wLjE6ODAwMCI7czo1OiJyb3V0ZSI7Tjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1793285789),
('uYKFRbHKqKExNbWHF0vtTgng6OliwUpSkyp3JrNY',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoidnRDdm9TQ1l2Vk1TOUZGT1c4eTRFWnlackRzekZUWnJKSWpWalk0WSI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6MjE6Imh0dHA6Ly8xMjcuMC4wLjE6ODAwMCI7czo1OiJyb3V0ZSI7Tjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1793438144),
('VpVrS6B4AkMd4bnqvjO1oUyx6JCAjh6cIGAUpirB',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoiYlBHTUZiZjlzRWphYTY4Mjc5RGtwb0lBOU1EaHdEYjB0am5YY1FLViI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6MjE6Imh0dHA6Ly8xMjcuMC4wLjE6ODAwMCI7czo1OiJyb3V0ZSI7Tjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1793543158),
('yCFp3fkOuSInr0Ceg6iak1Y1Qb7dZEXPR8mz42oa',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoiMGpaY05OZzFxa0d3QW5SU0tydDlXekFicXR2MEJFMVVqOHdaQ3I5NSI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6MjE6Imh0dHA6Ly8xMjcuMC4wLjE6ODAwMCI7czo1OiJyb3V0ZSI7Tjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1793387068),
('zzgpJQAH4ATekk8OD3Z3lOs9clcoVZVjmgLEd3uA',NULL,'127.0.0.1','Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/156.0.0.0 Safari/537.36','YTozOntzOjY6Il90b2tlbiI7czo0MDoidWRvQ1NrMVI5bmdVUnUwOXhONmRkVUlXY2M0NG5qVFFFREYxcTJlTSI7czo5OiJfcHJldmlvdXMiO2E6Mjp7czozOiJ1cmwiO3M6MjE6Imh0dHA6Ly8xMjcuMC4wLjE6ODAwMCI7czo1OiJyb3V0ZSI7Tjt9czo2OiJfZmxhc2giO2E6Mjp7czozOiJvbGQiO2E6MDp7fXM6MzoibmV3IjthOjA6e319fQ==',1793348657);
/*!40000 ALTER TABLE `sessions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `settings`
--

DROP TABLE IF EXISTS `settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `key` varchar(255) NOT NULL,
  `value` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `settings_key_unique` (`key`)
) ENGINE=InnoDB AUTO_INCREMENT=48 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `settings`
--

LOCK TABLES `settings` WRITE;
/*!40000 ALTER TABLE `settings` DISABLE KEYS */;
INSERT INTO `settings` VALUES
(1,'site_name','CoreFlow ERP','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(2,'site_title','CoreFlow ERP One Platform','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(3,'theme_color','indigo','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(4,'sidebar_color','coreflow','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(5,'layout_style','floating','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(6,'dark_mode','1','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(7,'currency_symbol','৳','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(8,'seo_robots_directive','index,follow','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(9,'ai_enabled','0','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(10,'ai_provider','builtin','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(11,'ai_api_key','','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(12,'ai_endpoint','','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(13,'ai_model','','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(14,'ai_temperature','0.7','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(15,'ai_max_tokens','1024','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(16,'ai_timeout','30','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(17,'ai_organization','','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(18,'ai_crm_insights','1','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(19,'ai_marketing_copy','1','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(20,'ai_lead_scoring','1','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(21,'ai_segment_suggestions','1','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(22,'social_ai_provider','builtin','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(23,'social_ai_api_key','','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(24,'social_ai_endpoint','https://api.openai.com/v1','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(25,'social_ai_model','gpt-4o-mini','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(26,'social_publishing_driver','oauth','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(27,'social_auto_publish','1','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(28,'social_auto_reply','1','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(29,'social_lead_capture','1','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(30,'social_spam_filter','1','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(31,'social_approval_required','0','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(32,'social_default_timezone','UTC','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(33,'social_metrics_retention_days','365','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(34,'social_meta_verify_token','','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(35,'social_meta_app_id','','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(36,'social_meta_app_secret','','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(37,'social_linkedin_app_id','','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(38,'social_linkedin_app_secret','','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(39,'social_pinterest_app_id','','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(40,'social_pinterest_app_secret','','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(41,'social_reddit_app_id','','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(42,'social_reddit_app_secret','','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(43,'social_x_app_id','','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(44,'social_x_app_secret','','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(45,'site_logo','http://127.0.0.1:8000/brand/logo.png','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(46,'favicon','http://127.0.0.1:8000/brand/favicon.png','2026-10-27 18:05:14','2026-10-27 18:05:14'),
(47,'lead_gen_google_places_key','','2026-10-30 06:28:06','2026-10-30 06:28:07');
/*!40000 ALTER TABLE `settings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `shift_assignments`
--

DROP TABLE IF EXISTS `shift_assignments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `shift_assignments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned NOT NULL,
  `shift_id` bigint(20) unsigned NOT NULL,
  `date` date NOT NULL,
  `status` enum('scheduled','completed','cancelled','absent') NOT NULL DEFAULT 'scheduled',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `shift_assignments_shift_id_foreign` (`shift_id`),
  KEY `shift_assignments_employee_id_date_index` (`employee_id`,`date`),
  KEY `shift_assignments_date_index` (`date`),
  CONSTRAINT `shift_assignments_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `shift_assignments_shift_id_foreign` FOREIGN KEY (`shift_id`) REFERENCES `shifts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `shift_assignments`
--

LOCK TABLES `shift_assignments` WRITE;
/*!40000 ALTER TABLE `shift_assignments` DISABLE KEYS */;
/*!40000 ALTER TABLE `shift_assignments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `shift_rules`
--

DROP TABLE IF EXISTS `shift_rules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `shift_rules` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned NOT NULL,
  `shift_id` bigint(20) unsigned NOT NULL,
  `weekdays` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL CHECK (json_valid(`weekdays`)),
  `effective_from` date DEFAULT NULL,
  `effective_until` date DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `shift_rules_shift_id_foreign` (`shift_id`),
  KEY `shift_rules_employee_id_is_active_index` (`employee_id`,`is_active`),
  CONSTRAINT `shift_rules_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE,
  CONSTRAINT `shift_rules_shift_id_foreign` FOREIGN KEY (`shift_id`) REFERENCES `shifts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `shift_rules`
--

LOCK TABLES `shift_rules` WRITE;
/*!40000 ALTER TABLE `shift_rules` DISABLE KEYS */;
/*!40000 ALTER TABLE `shift_rules` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `shifts`
--

DROP TABLE IF EXISTS `shifts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `shifts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `start_time` time NOT NULL,
  `end_time` time NOT NULL,
  `break_minutes` int(10) unsigned NOT NULL DEFAULT 0,
  `color` varchar(20) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `shifts`
--

LOCK TABLES `shifts` WRITE;
/*!40000 ALTER TABLE `shifts` DISABLE KEYS */;
/*!40000 ALTER TABLE `shifts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `site_faqs`
--

DROP TABLE IF EXISTS `site_faqs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `site_faqs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `page_slug` varchar(120) NOT NULL,
  `question` varchar(400) NOT NULL,
  `answer` text NOT NULL,
  `sort_order` int(10) unsigned NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `site_faqs_page_slug_sort_order_index` (`page_slug`,`sort_order`),
  KEY `site_faqs_page_slug_index` (`page_slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `site_faqs`
--

LOCK TABLES `site_faqs` WRITE;
/*!40000 ALTER TABLE `site_faqs` DISABLE KEYS */;
/*!40000 ALTER TABLE `site_faqs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `site_menu_items`
--

DROP TABLE IF EXISTS `site_menu_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `site_menu_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `label` varchar(255) NOT NULL,
  `page_id` bigint(20) unsigned DEFAULT NULL,
  `url` varchar(255) DEFAULT NULL,
  `position` varchar(255) NOT NULL DEFAULT 'header',
  `sort_order` int(10) unsigned NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `site_menu_items_position_sort_order_index` (`position`,`sort_order`)
) ENGINE=InnoDB AUTO_INCREMENT=24 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `site_menu_items`
--

LOCK TABLES `site_menu_items` WRITE;
/*!40000 ALTER TABLE `site_menu_items` DISABLE KEYS */;
INSERT INTO `site_menu_items` VALUES
(1,'Home',NULL,'/','header',0,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(2,'About',NULL,'/about','header',1,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(3,'Book a slot',NULL,'/book','header',2,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(4,'Products',NULL,'/order/products','header',3,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(5,'Property',NULL,'/order/property','header',4,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(6,'Cars',NULL,'/order/cars','header',5,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(7,'Pharmacy',NULL,'/order/pharmacy','header',6,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(8,'Ticket & Invoice Verify',NULL,'/ticket/verify','header',7,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(9,'Order & Booking Tracking',NULL,'/public/track-order','header',8,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(10,'Careers',NULL,'/careers','header',9,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(11,'Support',NULL,'/support-portal','header',10,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(12,'Pricing',NULL,'/pricing','header',11,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(13,'Contact',NULL,'/contact','header',12,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(14,'Order products',NULL,'/order/products','footer',0,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(15,'Property bookings',NULL,'/order/property','footer',1,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(16,'Car booking',NULL,'/order/cars','footer',2,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(17,'Pharmacy order',NULL,'/order/pharmacy','footer',3,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(18,'About',NULL,'/about','footer',4,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(19,'Privacy Policy',NULL,'/privacy-policy','footer',5,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(20,'Terms of Service',NULL,'/terms','footer',6,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(21,'Cookie Policy',NULL,'/cookies','footer',7,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(22,'Careers',NULL,'/careers','footer',8,1,'2026-10-27 17:45:16','2026-10-27 17:45:16'),
(23,'Support',NULL,'/support-portal','footer',9,1,'2026-10-27 17:45:16','2026-10-27 17:45:16');
/*!40000 ALTER TABLE `site_menu_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `site_pages`
--

DROP TABLE IF EXISTS `site_pages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `site_pages` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `slug` varchar(255) NOT NULL,
  `title` varchar(255) NOT NULL,
  `content` longtext DEFAULT NULL,
  `meta_title` varchar(255) DEFAULT NULL,
  `meta_description` varchar(320) DEFAULT NULL,
  `is_published` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `site_pages_slug_unique` (`slug`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `site_pages`
--

LOCK TABLES `site_pages` WRITE;
/*!40000 ALTER TABLE `site_pages` DISABLE KEYS */;
/*!40000 ALTER TABLE `site_pages` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sms_templates`
--

DROP TABLE IF EXISTS `sms_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `sms_templates` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `body` varchar(1000) NOT NULL,
  `variables` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`variables`)),
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sms_templates`
--

LOCK TABLES `sms_templates` WRITE;
/*!40000 ALTER TABLE `sms_templates` DISABLE KEYS */;
/*!40000 ALTER TABLE `sms_templates` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_accounts`
--

DROP TABLE IF EXISTS `social_accounts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_accounts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `platform` varchar(30) NOT NULL,
  `name` varchar(255) NOT NULL,
  `handle` varchar(120) DEFAULT NULL,
  `external_id` varchar(120) DEFAULT NULL,
  `account_type` varchar(30) NOT NULL DEFAULT 'business',
  `category` varchar(80) DEFAULT NULL,
  `profile_url` varchar(500) DEFAULT NULL,
  `avatar_url` varchar(500) DEFAULT NULL,
  `followers` bigint(20) unsigned NOT NULL DEFAULT 0,
  `following` bigint(20) unsigned NOT NULL DEFAULT 0,
  `post_count` bigint(20) unsigned NOT NULL DEFAULT 0,
  `status` varchar(20) NOT NULL DEFAULT 'connected',
  `driver` varchar(30) NOT NULL DEFAULT 'oauth',
  `access_token` text DEFAULT NULL,
  `refresh_token` varchar(255) DEFAULT NULL,
  `token_scope` varchar(255) DEFAULT NULL,
  `token_expires_at` timestamp NULL DEFAULT NULL,
  `last_synced_at` timestamp NULL DEFAULT NULL,
  `reconnect_requested_at` timestamp NULL DEFAULT NULL,
  `error_count` int(10) unsigned NOT NULL DEFAULT 0,
  `last_error` text DEFAULT NULL,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `social_accounts_platform_status_index` (`platform`,`status`),
  KEY `social_accounts_branch_id_index` (`branch_id`),
  CONSTRAINT `social_accounts_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_accounts`
--

LOCK TABLES `social_accounts` WRITE;
/*!40000 ALTER TABLE `social_accounts` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_accounts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_api_logs`
--

DROP TABLE IF EXISTS `social_api_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_api_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `account_id` bigint(20) unsigned DEFAULT NULL,
  `event` varchar(40) NOT NULL,
  `driver` varchar(30) DEFAULT NULL,
  `message` text DEFAULT NULL,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `social_api_logs_account_id_foreign` (`account_id`),
  KEY `social_api_logs_event_created_at_index` (`event`,`created_at`),
  CONSTRAINT `social_api_logs_account_id_foreign` FOREIGN KEY (`account_id`) REFERENCES `social_accounts` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_api_logs`
--

LOCK TABLES `social_api_logs` WRITE;
/*!40000 ALTER TABLE `social_api_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_api_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_approval_steps`
--

DROP TABLE IF EXISTS `social_approval_steps`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_approval_steps` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `post_id` bigint(20) unsigned DEFAULT NULL,
  `campaign_id` bigint(20) unsigned DEFAULT NULL,
  `assigned_to` bigint(20) unsigned DEFAULT NULL,
  `level` int(10) unsigned NOT NULL DEFAULT 1,
  `status` varchar(20) NOT NULL DEFAULT 'pending',
  `comment` text DEFAULT NULL,
  `acted_by` bigint(20) unsigned DEFAULT NULL,
  `acted_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `social_approval_steps_branch_id_foreign` (`branch_id`),
  KEY `social_approval_steps_assigned_to_foreign` (`assigned_to`),
  KEY `social_approval_steps_acted_by_foreign` (`acted_by`),
  KEY `social_approval_steps_post_id_level_index` (`post_id`,`level`),
  KEY `social_approval_steps_campaign_id_level_index` (`campaign_id`,`level`),
  CONSTRAINT `social_approval_steps_acted_by_foreign` FOREIGN KEY (`acted_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_approval_steps_assigned_to_foreign` FOREIGN KEY (`assigned_to`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_approval_steps_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_approval_steps_campaign_id_foreign` FOREIGN KEY (`campaign_id`) REFERENCES `social_campaigns` (`id`) ON DELETE CASCADE,
  CONSTRAINT `social_approval_steps_post_id_foreign` FOREIGN KEY (`post_id`) REFERENCES `social_posts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_approval_steps`
--

LOCK TABLES `social_approval_steps` WRITE;
/*!40000 ALTER TABLE `social_approval_steps` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_approval_steps` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_automations`
--

DROP TABLE IF EXISTS `social_automations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_automations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `trigger` varchar(40) NOT NULL,
  `action` varchar(40) NOT NULL,
  `conditions` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`conditions`)),
  `response_body` text DEFAULT NULL,
  `account_id` bigint(20) unsigned DEFAULT NULL,
  `platform` varchar(30) DEFAULT NULL,
  `reply_visibility` varchar(20) NOT NULL DEFAULT 'public',
  `trigger_count` int(10) unsigned NOT NULL DEFAULT 0,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `social_automations_branch_id_foreign` (`branch_id`),
  KEY `social_automations_account_id_foreign` (`account_id`),
  KEY `social_automations_trigger_status_index` (`trigger`,`status`),
  CONSTRAINT `social_automations_account_id_foreign` FOREIGN KEY (`account_id`) REFERENCES `social_accounts` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_automations_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_automations`
--

LOCK TABLES `social_automations` WRITE;
/*!40000 ALTER TABLE `social_automations` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_automations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_campaigns`
--

DROP TABLE IF EXISTS `social_campaigns`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_campaigns` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `objective` varchar(40) NOT NULL DEFAULT 'awareness',
  `description` text DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `budget` decimal(14,2) NOT NULL DEFAULT 0.00,
  `spend` decimal(14,2) NOT NULL DEFAULT 0.00,
  `revenue` decimal(14,2) NOT NULL DEFAULT 0.00,
  `platforms` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`platforms`)),
  `hashtags` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`hashtags`)),
  `audience` text DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'draft',
  `approval_status` varchar(20) NOT NULL DEFAULT 'not_required',
  `assigned_approver_id` bigint(20) unsigned DEFAULT NULL,
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `rejection_reason` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `social_campaigns_branch_id_foreign` (`branch_id`),
  KEY `social_campaigns_assigned_approver_id_foreign` (`assigned_approver_id`),
  KEY `social_campaigns_approved_by_foreign` (`approved_by`),
  KEY `social_campaigns_created_by_foreign` (`created_by`),
  KEY `social_campaigns_status_approval_status_index` (`status`,`approval_status`),
  CONSTRAINT `social_campaigns_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_campaigns_assigned_approver_id_foreign` FOREIGN KEY (`assigned_approver_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_campaigns_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_campaigns_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_campaigns`
--

LOCK TABLES `social_campaigns` WRITE;
/*!40000 ALTER TABLE `social_campaigns` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_campaigns` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_commerce_items`
--

DROP TABLE IF EXISTS `social_commerce_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_commerce_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `post_target_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned DEFAULT NULL,
  `product_name` varchar(255) DEFAULT NULL,
  `product_price` decimal(14,2) NOT NULL DEFAULT 0.00,
  `product_stock` int(10) unsigned NOT NULL DEFAULT 0,
  `tag_clicks` int(10) unsigned NOT NULL DEFAULT 0,
  `orders` int(10) unsigned NOT NULL DEFAULT 0,
  `revenue` decimal(14,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `social_commerce_items_product_id_foreign` (`product_id`),
  KEY `social_commerce_items_post_target_id_index` (`post_target_id`),
  CONSTRAINT `social_commerce_items_post_target_id_foreign` FOREIGN KEY (`post_target_id`) REFERENCES `social_post_targets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `social_commerce_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_commerce_items`
--

LOCK TABLES `social_commerce_items` WRITE;
/*!40000 ALTER TABLE `social_commerce_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_commerce_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_content_templates`
--

DROP TABLE IF EXISTS `social_content_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_content_templates` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `kind` varchar(30) NOT NULL DEFAULT 'post',
  `body` text DEFAULT NULL,
  `hashtags` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`hashtags`)),
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `usage_count` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `social_content_templates_name_kind_unique` (`name`,`kind`),
  KEY `social_content_templates_branch_id_foreign` (`branch_id`),
  CONSTRAINT `social_content_templates_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_content_templates`
--

LOCK TABLES `social_content_templates` WRITE;
/*!40000 ALTER TABLE `social_content_templates` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_content_templates` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_conversations`
--

DROP TABLE IF EXISTS `social_conversations`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_conversations` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `account_id` bigint(20) unsigned NOT NULL,
  `external_id` varchar(120) DEFAULT NULL,
  `external_recipient_id` varchar(190) DEFAULT NULL,
  `kind` varchar(20) NOT NULL DEFAULT 'message',
  `contact_name` varchar(160) DEFAULT NULL,
  `contact_handle` varchar(160) DEFAULT NULL,
  `avatar_url` varchar(500) DEFAULT NULL,
  `assigned_to` bigint(20) unsigned DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'open',
  `priority` varchar(20) NOT NULL DEFAULT 'normal',
  `unread_count` int(10) unsigned NOT NULL DEFAULT 0,
  `sentiment` varchar(20) NOT NULL DEFAULT 'neutral',
  `tags` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`tags`)),
  `last_message_at` timestamp NULL DEFAULT NULL,
  `lead_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `social_conversations_branch_id_foreign` (`branch_id`),
  KEY `social_conversations_account_id_foreign` (`account_id`),
  KEY `social_conversations_assigned_to_foreign` (`assigned_to`),
  KEY `social_conversations_lead_id_foreign` (`lead_id`),
  KEY `social_conversations_customer_id_foreign` (`customer_id`),
  KEY `social_conversations_kind_status_index` (`kind`,`status`),
  KEY `social_conversations_last_message_at_index` (`last_message_at`),
  CONSTRAINT `social_conversations_account_id_foreign` FOREIGN KEY (`account_id`) REFERENCES `social_accounts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `social_conversations_assigned_to_foreign` FOREIGN KEY (`assigned_to`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_conversations_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_conversations_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_conversations_lead_id_foreign` FOREIGN KEY (`lead_id`) REFERENCES `leads` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_conversations`
--

LOCK TABLES `social_conversations` WRITE;
/*!40000 ALTER TABLE `social_conversations` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_conversations` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_hashtag_sets`
--

DROP TABLE IF EXISTS `social_hashtag_sets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_hashtag_sets` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `tags` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`tags`)),
  `usage_count` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `social_hashtag_sets_name_unique` (`name`),
  KEY `social_hashtag_sets_branch_id_foreign` (`branch_id`),
  CONSTRAINT `social_hashtag_sets_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_hashtag_sets`
--

LOCK TABLES `social_hashtag_sets` WRITE;
/*!40000 ALTER TABLE `social_hashtag_sets` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_hashtag_sets` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_leads`
--

DROP TABLE IF EXISTS `social_leads`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_leads` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `account_id` bigint(20) unsigned DEFAULT NULL,
  `conversation_id` bigint(20) unsigned DEFAULT NULL,
  `campaign_id` bigint(20) unsigned DEFAULT NULL,
  `crm_lead_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `contact_name` varchar(160) NOT NULL,
  `contact_handle` varchar(160) DEFAULT NULL,
  `platform` varchar(30) DEFAULT NULL,
  `interaction_type` varchar(30) NOT NULL DEFAULT 'message',
  `interaction_snippet` text DEFAULT NULL,
  `assigned_to` bigint(20) unsigned DEFAULT NULL,
  `status` varchar(30) NOT NULL DEFAULT 'new',
  `estimated_value` decimal(14,2) NOT NULL DEFAULT 0.00,
  `converted_revenue` decimal(14,2) NOT NULL DEFAULT 0.00,
  `converted_at` timestamp NULL DEFAULT NULL,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `social_leads_branch_id_foreign` (`branch_id`),
  KEY `social_leads_account_id_foreign` (`account_id`),
  KEY `social_leads_conversation_id_foreign` (`conversation_id`),
  KEY `social_leads_crm_lead_id_foreign` (`crm_lead_id`),
  KEY `social_leads_customer_id_foreign` (`customer_id`),
  KEY `social_leads_assigned_to_foreign` (`assigned_to`),
  KEY `social_leads_platform_status_index` (`platform`,`status`),
  KEY `social_leads_campaign_id_index` (`campaign_id`),
  CONSTRAINT `social_leads_account_id_foreign` FOREIGN KEY (`account_id`) REFERENCES `social_accounts` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_leads_assigned_to_foreign` FOREIGN KEY (`assigned_to`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_leads_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_leads_campaign_id_foreign` FOREIGN KEY (`campaign_id`) REFERENCES `social_campaigns` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_leads_conversation_id_foreign` FOREIGN KEY (`conversation_id`) REFERENCES `social_conversations` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_leads_crm_lead_id_foreign` FOREIGN KEY (`crm_lead_id`) REFERENCES `leads` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_leads_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_leads`
--

LOCK TABLES `social_leads` WRITE;
/*!40000 ALTER TABLE `social_leads` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_leads` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_links`
--

DROP TABLE IF EXISTS `social_links`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_links` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `campaign_id` bigint(20) unsigned DEFAULT NULL,
  `post_target_id` bigint(20) unsigned DEFAULT NULL,
  `title` varchar(255) DEFAULT NULL,
  `slug` varchar(40) NOT NULL,
  `target_url` text NOT NULL,
  `source` varchar(60) DEFAULT NULL,
  `medium` varchar(60) DEFAULT NULL,
  `campaign_key` varchar(60) DEFAULT NULL,
  `term` varchar(60) DEFAULT NULL,
  `content` varchar(60) DEFAULT NULL,
  `clicks` int(10) unsigned NOT NULL DEFAULT 0,
  `conversions` int(10) unsigned NOT NULL DEFAULT 0,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `social_links_slug_unique` (`slug`),
  KEY `social_links_branch_id_foreign` (`branch_id`),
  KEY `social_links_campaign_id_foreign` (`campaign_id`),
  KEY `social_links_post_target_id_foreign` (`post_target_id`),
  KEY `social_links_created_by_foreign` (`created_by`),
  KEY `social_links_slug_index` (`slug`),
  CONSTRAINT `social_links_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_links_campaign_id_foreign` FOREIGN KEY (`campaign_id`) REFERENCES `social_campaigns` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_links_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_links_post_target_id_foreign` FOREIGN KEY (`post_target_id`) REFERENCES `social_post_targets` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_links`
--

LOCK TABLES `social_links` WRITE;
/*!40000 ALTER TABLE `social_links` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_links` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_media`
--

DROP TABLE IF EXISTS `social_media`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_media` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `library_folder` varchar(120) NOT NULL DEFAULT 'Uncategorized',
  `type` varchar(20) NOT NULL DEFAULT 'image',
  `title` varchar(255) DEFAULT NULL,
  `file_path` varchar(500) NOT NULL,
  `original_name` varchar(255) DEFAULT NULL,
  `mime_type` varchar(120) DEFAULT NULL,
  `size_bytes` bigint(20) unsigned NOT NULL DEFAULT 0,
  `width` int(10) unsigned DEFAULT NULL,
  `height` int(10) unsigned DEFAULT NULL,
  `source` varchar(30) NOT NULL DEFAULT 'upload',
  `tags` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`tags`)),
  `usage_count` int(10) unsigned NOT NULL DEFAULT 0,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `social_media_branch_id_foreign` (`branch_id`),
  KEY `social_media_created_by_foreign` (`created_by`),
  KEY `social_media_type_library_folder_index` (`type`,`library_folder`),
  CONSTRAINT `social_media_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_media_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_media`
--

LOCK TABLES `social_media` WRITE;
/*!40000 ALTER TABLE `social_media` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_media` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_messages`
--

DROP TABLE IF EXISTS `social_messages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_messages` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `conversation_id` bigint(20) unsigned NOT NULL,
  `direction` varchar(10) NOT NULL DEFAULT 'in',
  `author_type` varchar(20) NOT NULL DEFAULT 'contact',
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `reply_to_message_id` bigint(20) unsigned DEFAULT NULL,
  `body` text DEFAULT NULL,
  `tag` varchar(60) DEFAULT NULL,
  `media_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`media_ids`)),
  `ai_generated` varchar(3) NOT NULL DEFAULT '0',
  `status` varchar(20) NOT NULL DEFAULT 'received',
  `sent_at` timestamp NULL DEFAULT NULL,
  `external_id` varchar(120) DEFAULT NULL,
  `last_error` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `social_messages_user_id_foreign` (`user_id`),
  KEY `social_messages_reply_to_message_id_foreign` (`reply_to_message_id`),
  KEY `social_messages_conversation_id_sent_at_index` (`conversation_id`,`sent_at`),
  CONSTRAINT `social_messages_conversation_id_foreign` FOREIGN KEY (`conversation_id`) REFERENCES `social_conversations` (`id`) ON DELETE CASCADE,
  CONSTRAINT `social_messages_reply_to_message_id_foreign` FOREIGN KEY (`reply_to_message_id`) REFERENCES `social_messages` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_messages_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_messages`
--

LOCK TABLES `social_messages` WRITE;
/*!40000 ALTER TABLE `social_messages` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_messages` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_metrics`
--

DROP TABLE IF EXISTS `social_metrics`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_metrics` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `post_target_id` bigint(20) unsigned DEFAULT NULL,
  `account_id` bigint(20) unsigned DEFAULT NULL,
  `campaign_id` bigint(20) unsigned DEFAULT NULL,
  `metric_date` date NOT NULL,
  `impressions` bigint(20) unsigned NOT NULL DEFAULT 0,
  `reach` bigint(20) unsigned NOT NULL DEFAULT 0,
  `likes` bigint(20) unsigned NOT NULL DEFAULT 0,
  `comments` bigint(20) unsigned NOT NULL DEFAULT 0,
  `shares` bigint(20) unsigned NOT NULL DEFAULT 0,
  `clicks` bigint(20) unsigned NOT NULL DEFAULT 0,
  `video_views` bigint(20) unsigned NOT NULL DEFAULT 0,
  `followers` bigint(20) unsigned NOT NULL DEFAULT 0,
  `new_followers` bigint(20) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `social_metrics_account_id_foreign` (`account_id`),
  KEY `social_metrics_campaign_id_foreign` (`campaign_id`),
  KEY `social_metrics_metric_date_account_id_index` (`metric_date`,`account_id`),
  KEY `social_metrics_post_target_id_metric_date_index` (`post_target_id`,`metric_date`),
  CONSTRAINT `social_metrics_account_id_foreign` FOREIGN KEY (`account_id`) REFERENCES `social_accounts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `social_metrics_campaign_id_foreign` FOREIGN KEY (`campaign_id`) REFERENCES `social_campaigns` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_metrics_post_target_id_foreign` FOREIGN KEY (`post_target_id`) REFERENCES `social_post_targets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_metrics`
--

LOCK TABLES `social_metrics` WRITE;
/*!40000 ALTER TABLE `social_metrics` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_metrics` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_monitoring`
--

DROP TABLE IF EXISTS `social_monitoring`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_monitoring` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `account_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `type` varchar(30) NOT NULL,
  `keyword` varchar(255) NOT NULL,
  `platform` varchar(30) DEFAULT NULL,
  `sentiment` varchar(20) NOT NULL DEFAULT 'neutral',
  `mentions_count` int(10) unsigned NOT NULL DEFAULT 0,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `last_checked_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `social_monitoring_branch_id_foreign` (`branch_id`),
  KEY `social_monitoring_account_id_foreign` (`account_id`),
  KEY `social_monitoring_type_status_index` (`type`,`status`),
  CONSTRAINT `social_monitoring_account_id_foreign` FOREIGN KEY (`account_id`) REFERENCES `social_accounts` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_monitoring_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_monitoring`
--

LOCK TABLES `social_monitoring` WRITE;
/*!40000 ALTER TABLE `social_monitoring` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_monitoring` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_monitoring_hits`
--

DROP TABLE IF EXISTS `social_monitoring_hits`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_monitoring_hits` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `monitoring_id` bigint(20) unsigned NOT NULL,
  `platform` varchar(30) DEFAULT NULL,
  `author` varchar(160) DEFAULT NULL,
  `content` text DEFAULT NULL,
  `sentiment` varchar(20) NOT NULL DEFAULT 'neutral',
  `source_url` varchar(500) DEFAULT NULL,
  `detected_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `social_monitoring_hits_monitoring_id_detected_at_index` (`monitoring_id`,`detected_at`),
  CONSTRAINT `social_monitoring_hits_monitoring_id_foreign` FOREIGN KEY (`monitoring_id`) REFERENCES `social_monitoring` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_monitoring_hits`
--

LOCK TABLES `social_monitoring_hits` WRITE;
/*!40000 ALTER TABLE `social_monitoring_hits` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_monitoring_hits` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_post_histories`
--

DROP TABLE IF EXISTS `social_post_histories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_post_histories` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `post_id` bigint(20) unsigned NOT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `action` varchar(40) NOT NULL,
  `snapshot` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`snapshot`)),
  `note` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `social_post_histories_user_id_foreign` (`user_id`),
  KEY `social_post_histories_post_id_index` (`post_id`),
  CONSTRAINT `social_post_histories_post_id_foreign` FOREIGN KEY (`post_id`) REFERENCES `social_posts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `social_post_histories_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_post_histories`
--

LOCK TABLES `social_post_histories` WRITE;
/*!40000 ALTER TABLE `social_post_histories` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_post_histories` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_post_targets`
--

DROP TABLE IF EXISTS `social_post_targets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_post_targets` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `post_id` bigint(20) unsigned NOT NULL,
  `account_id` bigint(20) unsigned NOT NULL,
  `campaign_id` bigint(20) unsigned DEFAULT NULL,
  `caption` text DEFAULT NULL,
  `hashtags` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`hashtags`)),
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `scheduled_at` timestamp NULL DEFAULT NULL,
  `published_at` timestamp NULL DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'draft',
  `attempt_count` int(10) unsigned NOT NULL DEFAULT 0,
  `last_error` text DEFAULT NULL,
  `external_post_id` varchar(120) DEFAULT NULL,
  `external_url` varchar(500) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `social_post_targets_post_id_account_id_unique` (`post_id`,`account_id`),
  KEY `social_post_targets_account_id_foreign` (`account_id`),
  KEY `social_post_targets_campaign_id_foreign` (`campaign_id`),
  KEY `social_post_targets_status_scheduled_at_index` (`status`,`scheduled_at`),
  CONSTRAINT `social_post_targets_account_id_foreign` FOREIGN KEY (`account_id`) REFERENCES `social_accounts` (`id`) ON DELETE CASCADE,
  CONSTRAINT `social_post_targets_campaign_id_foreign` FOREIGN KEY (`campaign_id`) REFERENCES `social_campaigns` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_post_targets_post_id_foreign` FOREIGN KEY (`post_id`) REFERENCES `social_posts` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_post_targets`
--

LOCK TABLES `social_post_targets` WRITE;
/*!40000 ALTER TABLE `social_post_targets` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_post_targets` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_posts`
--

DROP TABLE IF EXISTS `social_posts`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_posts` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `campaign_id` bigint(20) unsigned DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `title` varchar(255) DEFAULT NULL,
  `caption` text DEFAULT NULL,
  `content_type` varchar(30) NOT NULL DEFAULT 'status',
  `link_url` varchar(500) DEFAULT NULL,
  `hashtags` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`hashtags`)),
  `mentions` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`mentions`)),
  `media_ids` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`media_ids`)),
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `ai_generated` varchar(3) NOT NULL DEFAULT '0',
  `source` varchar(30) NOT NULL DEFAULT 'manual',
  `status` varchar(20) NOT NULL DEFAULT 'draft',
  `approval_status` varchar(20) NOT NULL DEFAULT 'not_required',
  `assigned_approver_id` bigint(20) unsigned DEFAULT NULL,
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `rejection_reason` text DEFAULT NULL,
  `approval_at` timestamp NULL DEFAULT NULL,
  `product_id` bigint(20) unsigned DEFAULT NULL,
  `recurrence_interval_days` int(10) unsigned DEFAULT NULL,
  `parent_post_id` bigint(20) unsigned DEFAULT NULL,
  `version` int(10) unsigned NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `social_posts_campaign_id_foreign` (`campaign_id`),
  KEY `social_posts_created_by_foreign` (`created_by`),
  KEY `social_posts_assigned_approver_id_foreign` (`assigned_approver_id`),
  KEY `social_posts_approved_by_foreign` (`approved_by`),
  KEY `social_posts_product_id_foreign` (`product_id`),
  KEY `social_posts_parent_post_id_foreign` (`parent_post_id`),
  KEY `social_posts_status_approval_status_index` (`status`,`approval_status`),
  KEY `social_posts_branch_id_index` (`branch_id`),
  CONSTRAINT `social_posts_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_posts_assigned_approver_id_foreign` FOREIGN KEY (`assigned_approver_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_posts_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_posts_campaign_id_foreign` FOREIGN KEY (`campaign_id`) REFERENCES `social_campaigns` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_posts_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_posts_parent_post_id_foreign` FOREIGN KEY (`parent_post_id`) REFERENCES `social_posts` (`id`) ON DELETE SET NULL,
  CONSTRAINT `social_posts_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_posts`
--

LOCK TABLES `social_posts` WRITE;
/*!40000 ALTER TABLE `social_posts` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_posts` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_publish_logs`
--

DROP TABLE IF EXISTS `social_publish_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_publish_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `post_target_id` bigint(20) unsigned NOT NULL,
  `event` varchar(30) NOT NULL,
  `message` text DEFAULT NULL,
  `driver` varchar(30) DEFAULT NULL,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `social_publish_logs_post_target_id_index` (`post_target_id`),
  CONSTRAINT `social_publish_logs_post_target_id_foreign` FOREIGN KEY (`post_target_id`) REFERENCES `social_post_targets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_publish_logs`
--

LOCK TABLES `social_publish_logs` WRITE;
/*!40000 ALTER TABLE `social_publish_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_publish_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `social_reply_templates`
--

DROP TABLE IF EXISTS `social_reply_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `social_reply_templates` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `body` text NOT NULL,
  `kind` varchar(30) NOT NULL DEFAULT 'reply',
  `usage_count` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `social_reply_templates_name_unique` (`name`),
  KEY `social_reply_templates_branch_id_foreign` (`branch_id`),
  CONSTRAINT `social_reply_templates_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `social_reply_templates`
--

LOCK TABLES `social_reply_templates` WRITE;
/*!40000 ALTER TABLE `social_reply_templates` DISABLE KEYS */;
/*!40000 ALTER TABLE `social_reply_templates` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `stock_adjustment_items`
--

DROP TABLE IF EXISTS `stock_adjustment_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `stock_adjustment_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `stock_adjustment_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `mode` varchar(255) NOT NULL DEFAULT 'set',
  `value` decimal(14,2) DEFAULT NULL,
  `quantity_before` decimal(14,2) DEFAULT NULL,
  `quantity_after` decimal(14,2) DEFAULT NULL,
  `difference` decimal(14,2) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `stock_adjustment_items_stock_adjustment_id_foreign` (`stock_adjustment_id`),
  KEY `stock_adjustment_items_product_id_foreign` (`product_id`),
  CONSTRAINT `stock_adjustment_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`),
  CONSTRAINT `stock_adjustment_items_stock_adjustment_id_foreign` FOREIGN KEY (`stock_adjustment_id`) REFERENCES `stock_adjustments` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `stock_adjustment_items`
--

LOCK TABLES `stock_adjustment_items` WRITE;
/*!40000 ALTER TABLE `stock_adjustment_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `stock_adjustment_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `stock_adjustments`
--

DROP TABLE IF EXISTS `stock_adjustments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `stock_adjustments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `reference_no` varchar(255) NOT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `vendor_id` bigint(20) unsigned DEFAULT NULL,
  `reason` varchar(255) DEFAULT NULL,
  `date` date NOT NULL,
  `status` enum('pending','approved','rejected') NOT NULL DEFAULT 'pending',
  `note` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `submitted_by` bigint(20) unsigned DEFAULT NULL,
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` text DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `stock_adjustments_reference_no_unique` (`reference_no`),
  KEY `stock_adjustments_warehouse_id_foreign` (`warehouse_id`),
  KEY `stock_adjustments_created_by_foreign` (`created_by`),
  KEY `stock_adjustments_submitted_by_foreign` (`submitted_by`),
  KEY `stock_adjustments_approved_by_foreign` (`approved_by`),
  KEY `stock_adjustments_status_date_index` (`status`,`date`),
  KEY `stock_adjustments_vendor_id_foreign` (`vendor_id`),
  KEY `stock_adjustments_branch_id_index` (`branch_id`),
  CONSTRAINT `stock_adjustments_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_adjustments_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_adjustments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_adjustments_submitted_by_foreign` FOREIGN KEY (`submitted_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_adjustments_vendor_id_foreign` FOREIGN KEY (`vendor_id`) REFERENCES `vendors` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_adjustments_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `stock_adjustments`
--

LOCK TABLES `stock_adjustments` WRITE;
/*!40000 ALTER TABLE `stock_adjustments` DISABLE KEYS */;
/*!40000 ALTER TABLE `stock_adjustments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `stock_in_items`
--

DROP TABLE IF EXISTS `stock_in_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `stock_in_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `stock_in_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `quantity` decimal(14,2) NOT NULL,
  `unit_cost` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `stock_in_items_stock_in_id_foreign` (`stock_in_id`),
  KEY `stock_in_items_product_id_foreign` (`product_id`),
  CONSTRAINT `stock_in_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`),
  CONSTRAINT `stock_in_items_stock_in_id_foreign` FOREIGN KEY (`stock_in_id`) REFERENCES `stock_ins` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `stock_in_items`
--

LOCK TABLES `stock_in_items` WRITE;
/*!40000 ALTER TABLE `stock_in_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `stock_in_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `stock_ins`
--

DROP TABLE IF EXISTS `stock_ins`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `stock_ins` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `reference_no` varchar(255) NOT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `vendor_id` bigint(20) unsigned DEFAULT NULL,
  `supplier_name` varchar(255) DEFAULT NULL,
  `date` date NOT NULL,
  `note` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `stock_ins_reference_no_unique` (`reference_no`),
  KEY `stock_ins_warehouse_id_foreign` (`warehouse_id`),
  KEY `stock_ins_created_by_foreign` (`created_by`),
  KEY `stock_ins_vendor_id_foreign` (`vendor_id`),
  KEY `stock_ins_branch_id_index` (`branch_id`),
  CONSTRAINT `stock_ins_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_ins_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_ins_vendor_id_foreign` FOREIGN KEY (`vendor_id`) REFERENCES `vendors` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_ins_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `stock_ins`
--

LOCK TABLES `stock_ins` WRITE;
/*!40000 ALTER TABLE `stock_ins` DISABLE KEYS */;
/*!40000 ALTER TABLE `stock_ins` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `stock_movements`
--

DROP TABLE IF EXISTS `stock_movements`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `stock_movements` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `variant_id` bigint(20) unsigned DEFAULT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `type` enum('in','out','transfer_in','transfer_out','adjustment') NOT NULL,
  `quantity` decimal(14,2) NOT NULL,
  `balance_after` decimal(14,2) NOT NULL,
  `reference_type` varchar(255) DEFAULT NULL,
  `reference_id` bigint(20) unsigned DEFAULT NULL,
  `note` varchar(255) DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `stock_movements_warehouse_id_foreign` (`warehouse_id`),
  KEY `stock_movements_created_by_foreign` (`created_by`),
  KEY `stock_movements_product_id_warehouse_id_index` (`product_id`,`warehouse_id`),
  KEY `stock_movements_reference_type_reference_id_index` (`reference_type`,`reference_id`),
  KEY `stock_movements_variant_id_foreign` (`variant_id`),
  KEY `stock_movements_branch_id_index` (`branch_id`),
  CONSTRAINT `stock_movements_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_movements_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_movements_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `stock_movements_variant_id_foreign` FOREIGN KEY (`variant_id`) REFERENCES `product_variants` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_movements_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `stock_movements`
--

LOCK TABLES `stock_movements` WRITE;
/*!40000 ALTER TABLE `stock_movements` DISABLE KEYS */;
/*!40000 ALTER TABLE `stock_movements` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `stock_out_items`
--

DROP TABLE IF EXISTS `stock_out_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `stock_out_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `stock_out_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `quantity` decimal(14,2) NOT NULL,
  `unit_price` decimal(12,2) NOT NULL DEFAULT 0.00,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `stock_out_items_stock_out_id_foreign` (`stock_out_id`),
  KEY `stock_out_items_product_id_foreign` (`product_id`),
  CONSTRAINT `stock_out_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`),
  CONSTRAINT `stock_out_items_stock_out_id_foreign` FOREIGN KEY (`stock_out_id`) REFERENCES `stock_outs` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `stock_out_items`
--

LOCK TABLES `stock_out_items` WRITE;
/*!40000 ALTER TABLE `stock_out_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `stock_out_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `stock_outs`
--

DROP TABLE IF EXISTS `stock_outs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `stock_outs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `reference_no` varchar(255) NOT NULL,
  `warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `customer_name` varchar(255) DEFAULT NULL,
  `reason` varchar(255) DEFAULT NULL,
  `date` date NOT NULL,
  `note` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `stock_outs_reference_no_unique` (`reference_no`),
  KEY `stock_outs_warehouse_id_foreign` (`warehouse_id`),
  KEY `stock_outs_created_by_foreign` (`created_by`),
  KEY `stock_outs_customer_id_foreign` (`customer_id`),
  KEY `stock_outs_employee_id_foreign` (`employee_id`),
  KEY `stock_outs_branch_id_index` (`branch_id`),
  CONSTRAINT `stock_outs_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_outs_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_outs_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_outs_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_outs_warehouse_id_foreign` FOREIGN KEY (`warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `stock_outs`
--

LOCK TABLES `stock_outs` WRITE;
/*!40000 ALTER TABLE `stock_outs` DISABLE KEYS */;
/*!40000 ALTER TABLE `stock_outs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `stock_receiving_items`
--

DROP TABLE IF EXISTS `stock_receiving_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `stock_receiving_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `stock_receiving_id` bigint(20) unsigned NOT NULL,
  `purchase_order_item_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned DEFAULT NULL,
  `item_name` varchar(255) NOT NULL,
  `qty_received` decimal(12,2) NOT NULL,
  `unit_cost` decimal(14,2) NOT NULL,
  `subtotal` decimal(14,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `stock_receiving_items_stock_receiving_id_foreign` (`stock_receiving_id`),
  KEY `stock_receiving_items_purchase_order_item_id_foreign` (`purchase_order_item_id`),
  CONSTRAINT `stock_receiving_items_purchase_order_item_id_foreign` FOREIGN KEY (`purchase_order_item_id`) REFERENCES `purchase_order_items` (`id`) ON DELETE CASCADE,
  CONSTRAINT `stock_receiving_items_stock_receiving_id_foreign` FOREIGN KEY (`stock_receiving_id`) REFERENCES `stock_receivings` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `stock_receiving_items`
--

LOCK TABLES `stock_receiving_items` WRITE;
/*!40000 ALTER TABLE `stock_receiving_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `stock_receiving_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `stock_receivings`
--

DROP TABLE IF EXISTS `stock_receivings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `stock_receivings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `grn_number` varchar(255) NOT NULL,
  `purchase_order_id` bigint(20) unsigned NOT NULL,
  `vendor_id` bigint(20) unsigned NOT NULL,
  `received_date` date NOT NULL,
  `reference_no` varchar(255) DEFAULT NULL,
  `status` enum('completed','void') NOT NULL DEFAULT 'completed',
  `total_received_value` decimal(14,2) NOT NULL DEFAULT 0.00,
  `notes` text DEFAULT NULL,
  `received_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `stock_receivings_grn_number_unique` (`grn_number`),
  KEY `stock_receivings_purchase_order_id_foreign` (`purchase_order_id`),
  KEY `stock_receivings_vendor_id_foreign` (`vendor_id`),
  KEY `stock_receivings_received_by_foreign` (`received_by`),
  KEY `stock_receivings_branch_id_index` (`branch_id`),
  CONSTRAINT `stock_receivings_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_receivings_purchase_order_id_foreign` FOREIGN KEY (`purchase_order_id`) REFERENCES `purchase_orders` (`id`) ON DELETE CASCADE,
  CONSTRAINT `stock_receivings_received_by_foreign` FOREIGN KEY (`received_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_receivings_vendor_id_foreign` FOREIGN KEY (`vendor_id`) REFERENCES `vendors` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `stock_receivings`
--

LOCK TABLES `stock_receivings` WRITE;
/*!40000 ALTER TABLE `stock_receivings` DISABLE KEYS */;
/*!40000 ALTER TABLE `stock_receivings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `stock_transfer_items`
--

DROP TABLE IF EXISTS `stock_transfer_items`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `stock_transfer_items` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `stock_transfer_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `quantity` decimal(14,2) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `stock_transfer_items_stock_transfer_id_foreign` (`stock_transfer_id`),
  KEY `stock_transfer_items_product_id_foreign` (`product_id`),
  CONSTRAINT `stock_transfer_items_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`),
  CONSTRAINT `stock_transfer_items_stock_transfer_id_foreign` FOREIGN KEY (`stock_transfer_id`) REFERENCES `stock_transfers` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `stock_transfer_items`
--

LOCK TABLES `stock_transfer_items` WRITE;
/*!40000 ALTER TABLE `stock_transfer_items` DISABLE KEYS */;
/*!40000 ALTER TABLE `stock_transfer_items` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `stock_transfers`
--

DROP TABLE IF EXISTS `stock_transfers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `stock_transfers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `reference_no` varchar(255) NOT NULL,
  `from_warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `from_stock_branch_id` bigint(20) unsigned DEFAULT NULL,
  `to_warehouse_id` bigint(20) unsigned DEFAULT NULL,
  `stock_branch_id` bigint(20) unsigned DEFAULT NULL,
  `status` enum('requested','pending','completed','cancelled') NOT NULL DEFAULT 'pending',
  `date` date NOT NULL,
  `note` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` text DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `created_via` varchar(20) DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `stock_transfers_reference_no_unique` (`reference_no`),
  KEY `stock_transfers_from_warehouse_id_foreign` (`from_warehouse_id`),
  KEY `stock_transfers_to_warehouse_id_foreign` (`to_warehouse_id`),
  KEY `stock_transfers_created_by_foreign` (`created_by`),
  KEY `stock_transfers_branch_id_index` (`branch_id`),
  KEY `stock_transfers_created_via_index` (`created_via`),
  KEY `stock_transfers_stock_branch_id_foreign` (`stock_branch_id`),
  KEY `stock_transfers_from_stock_branch_id_foreign` (`from_stock_branch_id`),
  KEY `stock_transfers_approved_by_foreign` (`approved_by`),
  CONSTRAINT `stock_transfers_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_transfers_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_transfers_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_transfers_from_stock_branch_id_foreign` FOREIGN KEY (`from_stock_branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_transfers_from_warehouse_id_foreign` FOREIGN KEY (`from_warehouse_id`) REFERENCES `warehouses` (`id`),
  CONSTRAINT `stock_transfers_stock_branch_id_foreign` FOREIGN KEY (`stock_branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `stock_transfers_to_warehouse_id_foreign` FOREIGN KEY (`to_warehouse_id`) REFERENCES `warehouses` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `stock_transfers`
--

LOCK TABLES `stock_transfers` WRITE;
/*!40000 ALTER TABLE `stock_transfers` DISABLE KEYS */;
/*!40000 ALTER TABLE `stock_transfers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_agents`
--

DROP TABLE IF EXISTS `support_agents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_agents` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned NOT NULL,
  `department_id` bigint(20) unsigned DEFAULT NULL,
  `team_id` bigint(20) unsigned DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'available',
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `max_active_chats` int(10) unsigned NOT NULL DEFAULT 5,
  `last_seen_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `support_agents_user_id_foreign` (`user_id`),
  KEY `support_agents_department_id_foreign` (`department_id`),
  KEY `support_agents_team_id_foreign` (`team_id`),
  CONSTRAINT `support_agents_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `support_departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_agents_team_id_foreign` FOREIGN KEY (`team_id`) REFERENCES `support_teams` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_agents_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_agents`
--

LOCK TABLES `support_agents` WRITE;
/*!40000 ALTER TABLE `support_agents` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_agents` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_article_tags`
--

DROP TABLE IF EXISTS `support_article_tags`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_article_tags` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `article_id` bigint(20) unsigned NOT NULL,
  `tag_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `support_article_tags_article_id_tag_id_unique` (`article_id`,`tag_id`),
  KEY `support_article_tags_tag_id_foreign` (`tag_id`),
  CONSTRAINT `support_article_tags_article_id_foreign` FOREIGN KEY (`article_id`) REFERENCES `support_articles` (`id`) ON DELETE CASCADE,
  CONSTRAINT `support_article_tags_tag_id_foreign` FOREIGN KEY (`tag_id`) REFERENCES `support_tags` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_article_tags`
--

LOCK TABLES `support_article_tags` WRITE;
/*!40000 ALTER TABLE `support_article_tags` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_article_tags` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_articles`
--

DROP TABLE IF EXISTS `support_articles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_articles` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `category_id` bigint(20) unsigned NOT NULL,
  `title` varchar(255) NOT NULL,
  `slug` varchar(255) NOT NULL,
  `body` text NOT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'draft',
  `is_featured` tinyint(1) NOT NULL DEFAULT 0,
  `is_private` tinyint(1) NOT NULL DEFAULT 0,
  `views` int(10) unsigned NOT NULL DEFAULT 0,
  `helpful_count` int(10) unsigned NOT NULL DEFAULT 0,
  `not_helpful_count` int(10) unsigned NOT NULL DEFAULT 0,
  `author_id` bigint(20) unsigned DEFAULT NULL,
  `published_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `support_articles_slug_unique` (`slug`),
  KEY `support_articles_category_id_foreign` (`category_id`),
  KEY `support_articles_author_id_foreign` (`author_id`),
  KEY `support_articles_status_is_featured_index` (`status`,`is_featured`),
  CONSTRAINT `support_articles_author_id_foreign` FOREIGN KEY (`author_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_articles_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `support_knowledge_categories` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_articles`
--

LOCK TABLES `support_articles` WRITE;
/*!40000 ALTER TABLE `support_articles` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_articles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_automation_rules`
--

DROP TABLE IF EXISTS `support_automation_rules`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_automation_rules` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `type` varchar(255) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `config` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`config`)),
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_automation_rules`
--

LOCK TABLES `support_automation_rules` WRITE;
/*!40000 ALTER TABLE `support_automation_rules` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_automation_rules` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_business_hours`
--

DROP TABLE IF EXISTS `support_business_hours`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_business_hours` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT 'Standard hours',
  `schedule` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`schedule`)),
  `timezone` varchar(255) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_business_hours`
--

LOCK TABLES `support_business_hours` WRITE;
/*!40000 ALTER TABLE `support_business_hours` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_business_hours` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_categories`
--

DROP TABLE IF EXISTS `support_categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_categories` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `department_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `support_categories_department_id_foreign` (`department_id`),
  CONSTRAINT `support_categories_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `support_departments` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_categories`
--

LOCK TABLES `support_categories` WRITE;
/*!40000 ALTER TABLE `support_categories` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_categories` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_chat_messages`
--

DROP TABLE IF EXISTS `support_chat_messages`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_chat_messages` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `chat_id` bigint(20) unsigned NOT NULL,
  `sender_type` varchar(255) NOT NULL,
  `sender_id` bigint(20) unsigned DEFAULT NULL,
  `sender_name` varchar(255) DEFAULT NULL,
  `body` text DEFAULT NULL,
  `attachments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attachments`)),
  `read_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `support_chat_messages_sender_id_foreign` (`sender_id`),
  KEY `support_chat_messages_chat_id_id_index` (`chat_id`,`id`),
  CONSTRAINT `support_chat_messages_chat_id_foreign` FOREIGN KEY (`chat_id`) REFERENCES `support_chats` (`id`) ON DELETE CASCADE,
  CONSTRAINT `support_chat_messages_sender_id_foreign` FOREIGN KEY (`sender_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_chat_messages`
--

LOCK TABLES `support_chat_messages` WRITE;
/*!40000 ALTER TABLE `support_chat_messages` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_chat_messages` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_chat_transfers`
--

DROP TABLE IF EXISTS `support_chat_transfers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_chat_transfers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `chat_id` bigint(20) unsigned NOT NULL,
  `from_agent_id` bigint(20) unsigned DEFAULT NULL,
  `to_agent_id` bigint(20) unsigned DEFAULT NULL,
  `reason` varchar(255) DEFAULT NULL,
  `transferred_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `support_chat_transfers_chat_id_foreign` (`chat_id`),
  KEY `support_chat_transfers_from_agent_id_foreign` (`from_agent_id`),
  KEY `support_chat_transfers_to_agent_id_foreign` (`to_agent_id`),
  CONSTRAINT `support_chat_transfers_chat_id_foreign` FOREIGN KEY (`chat_id`) REFERENCES `support_chats` (`id`) ON DELETE CASCADE,
  CONSTRAINT `support_chat_transfers_from_agent_id_foreign` FOREIGN KEY (`from_agent_id`) REFERENCES `support_agents` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_chat_transfers_to_agent_id_foreign` FOREIGN KEY (`to_agent_id`) REFERENCES `support_agents` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_chat_transfers`
--

LOCK TABLES `support_chat_transfers` WRITE;
/*!40000 ALTER TABLE `support_chat_transfers` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_chat_transfers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_chats`
--

DROP TABLE IF EXISTS `support_chats`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_chats` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `guest_name` varchar(255) DEFAULT NULL,
  `guest_email` varchar(255) DEFAULT NULL,
  `guest_phone` varchar(40) DEFAULT NULL,
  `guest_token` varchar(64) DEFAULT NULL,
  `agent_id` bigint(20) unsigned DEFAULT NULL,
  `ticket_id` bigint(20) unsigned DEFAULT NULL,
  `status` varchar(255) NOT NULL DEFAULT 'queued',
  `queue_position` varchar(255) DEFAULT NULL,
  `requested` tinyint(1) NOT NULL DEFAULT 0,
  `requested_by_id` bigint(20) unsigned DEFAULT NULL,
  `requested_note` text DEFAULT NULL,
  `requested_at` timestamp NULL DEFAULT NULL,
  `transferred_from_id` bigint(20) unsigned DEFAULT NULL,
  `started_at` timestamp NULL DEFAULT NULL,
  `ended_at` timestamp NULL DEFAULT NULL,
  `unread_for_agent` int(10) unsigned NOT NULL DEFAULT 0,
  `unread_for_customer` int(10) unsigned NOT NULL DEFAULT 0,
  `rating_agent_id` bigint(20) unsigned DEFAULT NULL,
  `rating` tinyint(3) unsigned DEFAULT NULL,
  `rating_comment` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `support_chats_customer_id_foreign` (`customer_id`),
  KEY `support_chats_agent_id_foreign` (`agent_id`),
  KEY `support_chats_ticket_id_foreign` (`ticket_id`),
  KEY `support_chats_transferred_from_id_foreign` (`transferred_from_id`),
  KEY `support_chats_rating_agent_id_foreign` (`rating_agent_id`),
  KEY `support_chats_guest_token_index` (`guest_token`),
  KEY `support_chats_status_index` (`status`),
  KEY `support_chats_requested_by_id_foreign` (`requested_by_id`),
  CONSTRAINT `support_chats_agent_id_foreign` FOREIGN KEY (`agent_id`) REFERENCES `support_agents` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_chats_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_chats_rating_agent_id_foreign` FOREIGN KEY (`rating_agent_id`) REFERENCES `support_agents` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_chats_requested_by_id_foreign` FOREIGN KEY (`requested_by_id`) REFERENCES `support_agents` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_chats_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `support_tickets` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_chats_transferred_from_id_foreign` FOREIGN KEY (`transferred_from_id`) REFERENCES `support_agents` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_chats`
--

LOCK TABLES `support_chats` WRITE;
/*!40000 ALTER TABLE `support_chats` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_chats` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_departments`
--

DROP TABLE IF EXISTS `support_departments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_departments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) DEFAULT NULL,
  `description` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_departments`
--

LOCK TABLES `support_departments` WRITE;
/*!40000 ALTER TABLE `support_departments` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_departments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_faqs`
--

DROP TABLE IF EXISTS `support_faqs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_faqs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `question` varchar(255) NOT NULL,
  `answer` text NOT NULL,
  `category_id` bigint(20) unsigned DEFAULT NULL,
  `is_featured` tinyint(1) NOT NULL DEFAULT 0,
  `is_public` tinyint(1) NOT NULL DEFAULT 1,
  `views` int(10) unsigned NOT NULL DEFAULT 0,
  `helpful_count` int(10) unsigned NOT NULL DEFAULT 0,
  `not_helpful_count` int(10) unsigned NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `support_faqs_category_id_foreign` (`category_id`),
  CONSTRAINT `support_faqs_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `support_knowledge_categories` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_faqs`
--

LOCK TABLES `support_faqs` WRITE;
/*!40000 ALTER TABLE `support_faqs` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_faqs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_holidays`
--

DROP TABLE IF EXISTS `support_holidays`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_holidays` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `date` date NOT NULL,
  `name` varchar(255) NOT NULL,
  `recurring` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_holidays`
--

LOCK TABLES `support_holidays` WRITE;
/*!40000 ALTER TABLE `support_holidays` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_holidays` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_knowledge_categories`
--

DROP TABLE IF EXISTS `support_knowledge_categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_knowledge_categories` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `is_public` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_knowledge_categories`
--

LOCK TABLES `support_knowledge_categories` WRITE;
/*!40000 ALTER TABLE `support_knowledge_categories` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_knowledge_categories` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_portal_logins`
--

DROP TABLE IF EXISTS `support_portal_logins`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_portal_logins` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `guest_name` varchar(255) DEFAULT NULL,
  `email` varchar(255) NOT NULL,
  `password_hash` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `support_portal_logins_customer_id_foreign` (`customer_id`),
  CONSTRAINT `support_portal_logins_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_portal_logins`
--

LOCK TABLES `support_portal_logins` WRITE;
/*!40000 ALTER TABLE `support_portal_logins` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_portal_logins` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_replies`
--

DROP TABLE IF EXISTS `support_replies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_replies` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ticket_id` bigint(20) unsigned NOT NULL,
  `agent_id` bigint(20) unsigned DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `author_type` varchar(255) NOT NULL,
  `author_name` varchar(255) DEFAULT NULL,
  `is_internal` tinyint(1) NOT NULL DEFAULT 0,
  `is_public` tinyint(1) NOT NULL DEFAULT 1,
  `body` text NOT NULL,
  `attachments` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`attachments`)),
  `read_at` timestamp NULL DEFAULT NULL,
  `read_count` int(11) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `support_replies_agent_id_foreign` (`agent_id`),
  KEY `support_replies_user_id_foreign` (`user_id`),
  KEY `support_replies_ticket_id_is_internal_index` (`ticket_id`,`is_internal`),
  CONSTRAINT `support_replies_agent_id_foreign` FOREIGN KEY (`agent_id`) REFERENCES `support_agents` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_replies_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `support_tickets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `support_replies_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_replies`
--

LOCK TABLES `support_replies` WRITE;
/*!40000 ALTER TABLE `support_replies` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_replies` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_reply_templates`
--

DROP TABLE IF EXISTS `support_reply_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_reply_templates` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `body` text NOT NULL,
  `is_shared` tinyint(1) NOT NULL DEFAULT 1,
  `agent_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `support_reply_templates_agent_id_foreign` (`agent_id`),
  CONSTRAINT `support_reply_templates_agent_id_foreign` FOREIGN KEY (`agent_id`) REFERENCES `support_agents` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_reply_templates`
--

LOCK TABLES `support_reply_templates` WRITE;
/*!40000 ALTER TABLE `support_reply_templates` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_reply_templates` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_satisfaction_surveys`
--

DROP TABLE IF EXISTS `support_satisfaction_surveys`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_satisfaction_surveys` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `questions` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`questions`)),
  `send_on_ticket_close` tinyint(1) NOT NULL DEFAULT 1,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_satisfaction_surveys`
--

LOCK TABLES `support_satisfaction_surveys` WRITE;
/*!40000 ALTER TABLE `support_satisfaction_surveys` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_satisfaction_surveys` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_services`
--

DROP TABLE IF EXISTS `support_services`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_services` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_services`
--

LOCK TABLES `support_services` WRITE;
/*!40000 ALTER TABLE `support_services` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_services` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_settings`
--

DROP TABLE IF EXISTS `support_settings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `key` varchar(255) NOT NULL,
  `value` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `support_settings_key_unique` (`key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_settings`
--

LOCK TABLES `support_settings` WRITE;
/*!40000 ALTER TABLE `support_settings` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_settings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_sla_policies`
--

DROP TABLE IF EXISTS `support_sla_policies`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_sla_policies` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `applies_type` varchar(255) NOT NULL DEFAULT 'global',
  `applies_id` bigint(20) unsigned DEFAULT NULL,
  `first_response_hours` int(10) unsigned NOT NULL DEFAULT 8,
  `resolution_hours` int(10) unsigned NOT NULL DEFAULT 48,
  `escalate_to_supervisor` tinyint(1) NOT NULL DEFAULT 1,
  `escalate_to_manager` tinyint(1) NOT NULL DEFAULT 0,
  `department_id` bigint(20) unsigned DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `support_sla_policies_department_id_foreign` (`department_id`),
  CONSTRAINT `support_sla_policies_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `support_departments` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_sla_policies`
--

LOCK TABLES `support_sla_policies` WRITE;
/*!40000 ALTER TABLE `support_sla_policies` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_sla_policies` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_sub_categories`
--

DROP TABLE IF EXISTS `support_sub_categories`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_sub_categories` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `category_id` bigint(20) unsigned NOT NULL,
  `name` varchar(255) NOT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `support_sub_categories_category_id_foreign` (`category_id`),
  CONSTRAINT `support_sub_categories_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `support_categories` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_sub_categories`
--

LOCK TABLES `support_sub_categories` WRITE;
/*!40000 ALTER TABLE `support_sub_categories` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_sub_categories` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_tags`
--

DROP TABLE IF EXISTS `support_tags`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_tags` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `color` varchar(20) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `support_tags_name_unique` (`name`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_tags`
--

LOCK TABLES `support_tags` WRITE;
/*!40000 ALTER TABLE `support_tags` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_tags` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_team_agents`
--

DROP TABLE IF EXISTS `support_team_agents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_team_agents` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `team_id` bigint(20) unsigned NOT NULL,
  `agent_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `support_team_agents_team_id_agent_id_unique` (`team_id`,`agent_id`),
  KEY `support_team_agents_agent_id_foreign` (`agent_id`),
  CONSTRAINT `support_team_agents_agent_id_foreign` FOREIGN KEY (`agent_id`) REFERENCES `support_agents` (`id`) ON DELETE CASCADE,
  CONSTRAINT `support_team_agents_team_id_foreign` FOREIGN KEY (`team_id`) REFERENCES `support_teams` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_team_agents`
--

LOCK TABLES `support_team_agents` WRITE;
/*!40000 ALTER TABLE `support_team_agents` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_team_agents` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_teams`
--

DROP TABLE IF EXISTS `support_teams`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_teams` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `department_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `support_teams_department_id_foreign` (`department_id`),
  CONSTRAINT `support_teams_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `support_departments` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_teams`
--

LOCK TABLES `support_teams` WRITE;
/*!40000 ALTER TABLE `support_teams` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_teams` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_ticket_agents`
--

DROP TABLE IF EXISTS `support_ticket_agents`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_ticket_agents` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ticket_id` bigint(20) unsigned NOT NULL,
  `agent_id` bigint(20) unsigned NOT NULL,
  `role` varchar(255) NOT NULL DEFAULT 'agent',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `support_ticket_agents_ticket_id_agent_id_unique` (`ticket_id`,`agent_id`),
  KEY `support_ticket_agents_agent_id_foreign` (`agent_id`),
  CONSTRAINT `support_ticket_agents_agent_id_foreign` FOREIGN KEY (`agent_id`) REFERENCES `support_agents` (`id`) ON DELETE CASCADE,
  CONSTRAINT `support_ticket_agents_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `support_tickets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_ticket_agents`
--

LOCK TABLES `support_ticket_agents` WRITE;
/*!40000 ALTER TABLE `support_ticket_agents` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_ticket_agents` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_ticket_events`
--

DROP TABLE IF EXISTS `support_ticket_events`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_ticket_events` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ticket_id` bigint(20) unsigned NOT NULL,
  `agent_id` bigint(20) unsigned DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `event` varchar(255) NOT NULL,
  `details` varchar(255) DEFAULT NULL,
  `happened_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `support_ticket_events_ticket_id_foreign` (`ticket_id`),
  KEY `support_ticket_events_agent_id_foreign` (`agent_id`),
  KEY `support_ticket_events_user_id_foreign` (`user_id`),
  CONSTRAINT `support_ticket_events_agent_id_foreign` FOREIGN KEY (`agent_id`) REFERENCES `support_agents` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_ticket_events_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `support_tickets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `support_ticket_events_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_ticket_events`
--

LOCK TABLES `support_ticket_events` WRITE;
/*!40000 ALTER TABLE `support_ticket_events` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_ticket_events` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_ticket_links`
--

DROP TABLE IF EXISTS `support_ticket_links`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_ticket_links` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ticket_id` bigint(20) unsigned NOT NULL,
  `related_ticket_id` bigint(20) unsigned NOT NULL,
  `relation` varchar(255) NOT NULL DEFAULT 'related',
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `support_ticket_links_ticket_id_foreign` (`ticket_id`),
  KEY `support_ticket_links_related_ticket_id_foreign` (`related_ticket_id`),
  CONSTRAINT `support_ticket_links_related_ticket_id_foreign` FOREIGN KEY (`related_ticket_id`) REFERENCES `support_tickets` (`id`) ON DELETE CASCADE,
  CONSTRAINT `support_ticket_links_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `support_tickets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_ticket_links`
--

LOCK TABLES `support_ticket_links` WRITE;
/*!40000 ALTER TABLE `support_ticket_links` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_ticket_links` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_ticket_ratings`
--

DROP TABLE IF EXISTS `support_ticket_ratings`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_ticket_ratings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ticket_id` bigint(20) unsigned NOT NULL,
  `agent_id` bigint(20) unsigned DEFAULT NULL,
  `rating` tinyint(3) unsigned NOT NULL,
  `comment` text DEFAULT NULL,
  `token` varchar(64) NOT NULL,
  `is_agent_satisfaction` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `support_ticket_ratings_token_unique` (`token`),
  KEY `support_ticket_ratings_ticket_id_foreign` (`ticket_id`),
  KEY `support_ticket_ratings_agent_id_foreign` (`agent_id`),
  CONSTRAINT `support_ticket_ratings_agent_id_foreign` FOREIGN KEY (`agent_id`) REFERENCES `support_agents` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_ticket_ratings_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `support_tickets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_ticket_ratings`
--

LOCK TABLES `support_ticket_ratings` WRITE;
/*!40000 ALTER TABLE `support_ticket_ratings` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_ticket_ratings` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_ticket_tags`
--

DROP TABLE IF EXISTS `support_ticket_tags`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_ticket_tags` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ticket_id` bigint(20) unsigned NOT NULL,
  `tag_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `support_ticket_tags_ticket_id_tag_id_unique` (`ticket_id`,`tag_id`),
  KEY `support_ticket_tags_tag_id_foreign` (`tag_id`),
  CONSTRAINT `support_ticket_tags_tag_id_foreign` FOREIGN KEY (`tag_id`) REFERENCES `support_tags` (`id`) ON DELETE CASCADE,
  CONSTRAINT `support_ticket_tags_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `support_tickets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_ticket_tags`
--

LOCK TABLES `support_ticket_tags` WRITE;
/*!40000 ALTER TABLE `support_ticket_tags` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_ticket_tags` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_ticket_watchers`
--

DROP TABLE IF EXISTS `support_ticket_watchers`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_ticket_watchers` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ticket_id` bigint(20) unsigned NOT NULL,
  `agent_id` bigint(20) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `support_ticket_watchers_ticket_id_agent_id_unique` (`ticket_id`,`agent_id`),
  KEY `support_ticket_watchers_agent_id_foreign` (`agent_id`),
  CONSTRAINT `support_ticket_watchers_agent_id_foreign` FOREIGN KEY (`agent_id`) REFERENCES `support_agents` (`id`) ON DELETE CASCADE,
  CONSTRAINT `support_ticket_watchers_ticket_id_foreign` FOREIGN KEY (`ticket_id`) REFERENCES `support_tickets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_ticket_watchers`
--

LOCK TABLES `support_ticket_watchers` WRITE;
/*!40000 ALTER TABLE `support_ticket_watchers` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_ticket_watchers` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `support_tickets`
--

DROP TABLE IF EXISTS `support_tickets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `support_tickets` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `ticket_no` varchar(255) NOT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `guest_name` varchar(255) DEFAULT NULL,
  `guest_email` varchar(255) DEFAULT NULL,
  `guest_phone` varchar(255) DEFAULT NULL,
  `subject` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `department_id` bigint(20) unsigned DEFAULT NULL,
  `team_id` bigint(20) unsigned DEFAULT NULL,
  `category_id` bigint(20) unsigned DEFAULT NULL,
  `sub_category_id` bigint(20) unsigned DEFAULT NULL,
  `service_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `priority` varchar(255) NOT NULL DEFAULT 'normal',
  `status` varchar(255) NOT NULL DEFAULT 'open',
  `source` varchar(255) NOT NULL DEFAULT 'portal',
  `assigned_to_id` bigint(20) unsigned DEFAULT NULL,
  `closed_by_id` bigint(20) unsigned DEFAULT NULL,
  `agent_count` int(10) unsigned NOT NULL DEFAULT 0,
  `due_at` timestamp NULL DEFAULT NULL,
  `expected_resolution_at` timestamp NULL DEFAULT NULL,
  `first_response_at` timestamp NULL DEFAULT NULL,
  `resolved_at` timestamp NULL DEFAULT NULL,
  `closed_at` timestamp NULL DEFAULT NULL,
  `last_activity_at` timestamp NULL DEFAULT NULL,
  `reopened_at` timestamp NULL DEFAULT NULL,
  `reopen_count` int(10) unsigned NOT NULL DEFAULT 0,
  `close_note` text DEFAULT NULL,
  `is_public` tinyint(1) NOT NULL DEFAULT 0,
  `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),
  `merged_into_id` bigint(20) unsigned DEFAULT NULL,
  `parent_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `support_tickets_ticket_no_unique` (`ticket_no`),
  KEY `support_tickets_customer_id_foreign` (`customer_id`),
  KEY `support_tickets_user_id_foreign` (`user_id`),
  KEY `support_tickets_department_id_foreign` (`department_id`),
  KEY `support_tickets_team_id_foreign` (`team_id`),
  KEY `support_tickets_category_id_foreign` (`category_id`),
  KEY `support_tickets_sub_category_id_foreign` (`sub_category_id`),
  KEY `support_tickets_service_id_foreign` (`service_id`),
  KEY `support_tickets_branch_id_foreign` (`branch_id`),
  KEY `support_tickets_closed_by_id_foreign` (`closed_by_id`),
  KEY `support_tickets_merged_into_id_foreign` (`merged_into_id`),
  KEY `support_tickets_parent_id_foreign` (`parent_id`),
  KEY `support_tickets_status_priority_index` (`status`,`priority`),
  KEY `support_tickets_assigned_to_id_status_index` (`assigned_to_id`,`status`),
  KEY `support_tickets_status_index` (`status`),
  CONSTRAINT `support_tickets_assigned_to_id_foreign` FOREIGN KEY (`assigned_to_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_tickets_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_tickets_category_id_foreign` FOREIGN KEY (`category_id`) REFERENCES `support_categories` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_tickets_closed_by_id_foreign` FOREIGN KEY (`closed_by_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_tickets_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_tickets_department_id_foreign` FOREIGN KEY (`department_id`) REFERENCES `support_departments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_tickets_merged_into_id_foreign` FOREIGN KEY (`merged_into_id`) REFERENCES `support_tickets` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_tickets_parent_id_foreign` FOREIGN KEY (`parent_id`) REFERENCES `support_tickets` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_tickets_service_id_foreign` FOREIGN KEY (`service_id`) REFERENCES `support_services` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_tickets_sub_category_id_foreign` FOREIGN KEY (`sub_category_id`) REFERENCES `support_sub_categories` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_tickets_team_id_foreign` FOREIGN KEY (`team_id`) REFERENCES `support_teams` (`id`) ON DELETE SET NULL,
  CONSTRAINT `support_tickets_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `support_tickets`
--

LOCK TABLES `support_tickets` WRITE;
/*!40000 ALTER TABLE `support_tickets` DISABLE KEYS */;
/*!40000 ALTER TABLE `support_tickets` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `task_images`
--

DROP TABLE IF EXISTS `task_images`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `task_images` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `project_task_id` bigint(20) unsigned NOT NULL,
  `image_path` varchar(255) NOT NULL,
  `image_url` varchar(255) NOT NULL,
  `original_name` varchar(255) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `task_images_project_task_id_foreign` (`project_task_id`),
  CONSTRAINT `task_images_project_task_id_foreign` FOREIGN KEY (`project_task_id`) REFERENCES `project_tasks` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `task_images`
--

LOCK TABLES `task_images` WRITE;
/*!40000 ALTER TABLE `task_images` DISABLE KEYS */;
/*!40000 ALTER TABLE `task_images` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `task_time_logs`
--

DROP TABLE IF EXISTS `task_time_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `task_time_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `task_id` bigint(20) unsigned NOT NULL,
  `employee_id` bigint(20) unsigned DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `started_at` timestamp NOT NULL,
  `ended_at` timestamp NULL DEFAULT NULL,
  `duration_seconds` int(10) unsigned DEFAULT NULL,
  `ended_reason` varchar(30) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `task_time_logs_user_id_foreign` (`user_id`),
  KEY `task_time_logs_task_id_started_at_index` (`task_id`,`started_at`),
  KEY `task_time_logs_employee_id_index` (`employee_id`),
  CONSTRAINT `task_time_logs_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE SET NULL,
  CONSTRAINT `task_time_logs_task_id_foreign` FOREIGN KEY (`task_id`) REFERENCES `tasks` (`id`) ON DELETE CASCADE,
  CONSTRAINT `task_time_logs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `task_time_logs`
--

LOCK TABLES `task_time_logs` WRITE;
/*!40000 ALTER TABLE `task_time_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `task_time_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tasks`
--

DROP TABLE IF EXISTS `tasks`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tasks` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `employee_id` bigint(20) unsigned NOT NULL,
  `title` varchar(255) NOT NULL,
  `description` text DEFAULT NULL,
  `assigned_date` date NOT NULL,
  `expected_completion_date` date NOT NULL,
  `actual_completion_date` date DEFAULT NULL,
  `status` enum('pending','in_progress','completed','cancelled') NOT NULL DEFAULT 'pending',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `tasks_employee_id_foreign` (`employee_id`),
  CONSTRAINT `tasks_employee_id_foreign` FOREIGN KEY (`employee_id`) REFERENCES `employees` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tasks`
--

LOCK TABLES `tasks` WRITE;
/*!40000 ALTER TABLE `tasks` DISABLE KEYS */;
/*!40000 ALTER TABLE `tasks` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tenants`
--

DROP TABLE IF EXISTS `tenants`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `tenants` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `phone` varchar(40) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `nid_passport` varchar(60) DEFAULT NULL,
  `emergency_contact` varchar(150) DEFAULT NULL,
  `family_members` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`family_members`)),
  `apartment_id` bigint(20) unsigned DEFAULT NULL,
  `move_in_date` date DEFAULT NULL,
  `move_out_date` date DEFAULT NULL,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `tenants_branch_id_foreign` (`branch_id`),
  KEY `tenants_apartment_id_foreign` (`apartment_id`),
  CONSTRAINT `tenants_apartment_id_foreign` FOREIGN KEY (`apartment_id`) REFERENCES `apartments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `tenants_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tenants`
--

LOCK TABLES `tenants` WRITE;
/*!40000 ALTER TABLE `tenants` DISABLE KEYS */;
/*!40000 ALTER TABLE `tenants` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `trusted_devices`
--

DROP TABLE IF EXISTS `trusted_devices`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `trusted_devices` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `token_hash` varchar(64) NOT NULL,
  `trusted_by_user_id` bigint(20) unsigned DEFAULT NULL,
  `user_agent` varchar(255) DEFAULT NULL,
  `expires_at` timestamp NOT NULL,
  `last_used_at` timestamp NULL DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `trusted_devices_token_hash_unique` (`token_hash`),
  KEY `trusted_devices_trusted_by_user_id_foreign` (`trusted_by_user_id`),
  CONSTRAINT `trusted_devices_trusted_by_user_id_foreign` FOREIGN KEY (`trusted_by_user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `trusted_devices`
--

LOCK TABLES `trusted_devices` WRITE;
/*!40000 ALTER TABLE `trusted_devices` DISABLE KEYS */;
/*!40000 ALTER TABLE `trusted_devices` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `units`
--

DROP TABLE IF EXISTS `units`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `units` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `short_name` varchar(255) NOT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `units_branch_id_index` (`branch_id`),
  CONSTRAINT `units_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `units`
--

LOCK TABLES `units` WRITE;
/*!40000 ALTER TABLE `units` DISABLE KEYS */;
/*!40000 ALTER TABLE `units` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_dashboard_widget_orders`
--

DROP TABLE IF EXISTS `user_dashboard_widget_orders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_dashboard_widget_orders` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned NOT NULL,
  `order` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL COMMENT 'Widget ids, top to bottom' CHECK (json_valid(`order`)),
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_dashboard_widget_orders_user_id_unique` (`user_id`),
  CONSTRAINT `user_dashboard_widget_orders_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_dashboard_widget_orders`
--

LOCK TABLES `user_dashboard_widget_orders` WRITE;
/*!40000 ALTER TABLE `user_dashboard_widget_orders` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_dashboard_widget_orders` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user_notification_preferences`
--

DROP TABLE IF EXISTS `user_notification_preferences`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `user_notification_preferences` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `user_id` bigint(20) unsigned NOT NULL,
  `email_renewed` tinyint(1) NOT NULL DEFAULT 0,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_notification_preferences_user_id_unique` (`user_id`),
  CONSTRAINT `user_notification_preferences_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user_notification_preferences`
--

LOCK TABLES `user_notification_preferences` WRITE;
/*!40000 ALTER TABLE `user_notification_preferences` DISABLE KEYS */;
/*!40000 ALTER TABLE `user_notification_preferences` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `users`
--

DROP TABLE IF EXISTS `users`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `users` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `email_verified_at` timestamp NULL DEFAULT NULL,
  `password` varchar(255) NOT NULL,
  `totp_secret` text DEFAULT NULL,
  `totp_enabled_at` timestamp NULL DEFAULT NULL,
  `totp_last_used_at` timestamp NULL DEFAULT NULL,
  `totp_recovery_codes` text DEFAULT NULL,
  `is_admin` tinyint(1) NOT NULL DEFAULT 0,
  `remember_token` varchar(100) DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `dark_mode` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `users_email_unique` (`email`),
  KEY `users_branch_id_index` (`branch_id`),
  CONSTRAINT `users_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `users`
--

LOCK TABLES `users` WRITE;
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` VALUES
(1,'System Admin','admin@company.test',NULL,'$2y$12$rzCbOncMXyB2/g.yINQEvezlsaMjT4xP47gZ/2hljPDBKwN9oxZvK',NULL,NULL,NULL,NULL,1,NULL,'2026-10-27 18:05:09','2026-10-31 10:20:59',1,1),
(2,'HR Manager','hr@company.test',NULL,'$2y$12$QujI07Jyd0hPZT3PQmYV8.VBseItEAmCeki1VdJcfZj2/XeWqrcnK',NULL,NULL,NULL,NULL,0,NULL,'2026-10-27 18:05:10','2026-10-27 18:05:10',1,NULL),
(3,'Branch Manager','manager@company.test',NULL,'$2y$12$eP2NmVdwE/UOUelk6pmji.n5LkEQuZP8oSRWud2eXGYy/NqyP7EDy',NULL,NULL,NULL,NULL,0,NULL,'2026-10-27 18:05:10','2026-10-27 18:05:10',1,NULL),
(4,'Accountant','accounts@company.test',NULL,'$2y$12$aAyQjOVm6sGClKk.h39mvOlKR51M3sklHl9.BtDKvNerKDO0pDFce',NULL,NULL,NULL,NULL,0,NULL,'2026-10-27 18:05:10','2026-10-27 18:05:10',1,NULL),
(5,'Sales Executive','sales@company.test',NULL,'$2y$12$satxO/0JpptMeQIqKMChXuvbxjZdJoVbearGJsRGzrkGMsHohh4cK',NULL,NULL,NULL,NULL,0,NULL,'2026-10-27 18:05:10','2026-10-27 18:05:10',1,NULL),
(6,'General Staff','staff@company.test',NULL,'$2y$12$VaWMJOXR5wDPJ8Yc0fLMcePzTC2WME99Y7EdtXHot0fOY50OjOQYm',NULL,NULL,NULL,NULL,0,NULL,'2026-10-27 18:05:10','2026-10-27 18:05:10',1,NULL),
(7,'Pharmacist','pharmacist@company.test',NULL,'$2y$12$6OD9HrHof3Q3hxPyOX1b/uaVnh6wuUNALoGRpXsgOrcZzOH1sIlm6',NULL,NULL,NULL,NULL,0,NULL,'2026-10-27 18:05:12','2026-10-27 18:05:12',NULL,NULL),
(8,'Pharmacy Cashier','cashdesk@company.test',NULL,'$2y$12$87WFPh1wymt/VoyJtnJstu/40vwrPksEJ5pviqGNy4hIVra85HH2O',NULL,NULL,NULL,NULL,0,NULL,'2026-10-27 18:05:12','2026-10-27 18:05:12',NULL,NULL),
(9,'Investments & Funds Admin','funds@company.test',NULL,'$2y$12$9F92EQsbVVpEtKkmFV3oieVsA8oDO3VjdP3p72V9kTHNkoYzNgLKq',NULL,NULL,NULL,NULL,0,NULL,'2026-10-27 18:05:13','2026-10-27 18:05:13',NULL,NULL),
(10,'Support Agent','support@company.test',NULL,'$2y$12$2xUahi7ybzypRpS2k91raOyxJa1zmMDgk6H2GvbW081RDqS/DZW7i',NULL,NULL,NULL,NULL,0,NULL,'2026-10-27 18:05:13','2026-10-27 18:05:13',NULL,NULL),
(11,'Support Lead','supportlead@company.test',NULL,'$2y$12$J6yraqADQBFJcoLILdXVmOsy2QVqtf.3pdU.J0gV/N4.tpXl/kPXi',NULL,NULL,NULL,NULL,0,NULL,'2026-10-27 18:05:13','2026-10-27 18:05:13',NULL,NULL),
(12,'Social Media Manager','social@company.test',NULL,'$2y$12$Y.kRIBwuPp8KSGiXS1mbB.ElLsojJvPWpMeTrhGHTTrZdYK/ODEES',NULL,NULL,NULL,NULL,0,NULL,'2026-10-27 18:05:13','2026-10-27 18:05:13',NULL,NULL),
(13,'SEO Specialist','seo@company.test',NULL,'$2y$12$wOWXSH8KgyFvmxhNc/cRUebPJrTL0DtZsJPo6O45Fy6c/T73m7yry',NULL,NULL,NULL,NULL,0,NULL,'2026-10-27 18:05:14','2026-10-27 18:05:14',NULL,NULL);
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `vehicles`
--

DROP TABLE IF EXISTS `vehicles`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `vehicles` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `name` varchar(255) NOT NULL,
  `registration_no` varchar(60) DEFAULT NULL,
  `type` varchar(60) DEFAULT NULL,
  `capacity_kg` decimal(12,2) DEFAULT NULL,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `vehicles_branch_id_foreign` (`branch_id`),
  CONSTRAINT `vehicles_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `vehicles`
--

LOCK TABLES `vehicles` WRITE;
/*!40000 ALTER TABLE `vehicles` DISABLE KEYS */;
/*!40000 ALTER TABLE `vehicles` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `vendor_payments`
--

DROP TABLE IF EXISTS `vendor_payments`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `vendor_payments` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `payment_number` varchar(255) NOT NULL,
  `transaction_id` varchar(255) DEFAULT NULL,
  `vendor_id` bigint(20) unsigned NOT NULL,
  `purchase_order_id` bigint(20) unsigned DEFAULT NULL,
  `amount` decimal(14,2) NOT NULL,
  `payment_date` date NOT NULL,
  `method` enum('cash','bank_transfer','cheque','card','other') NOT NULL DEFAULT 'cash',
  `reference_no` varchar(255) DEFAULT NULL,
  `notes` text DEFAULT NULL,
  `status` enum('pending','approved','rejected') NOT NULL DEFAULT 'approved',
  `approved_by` bigint(20) unsigned DEFAULT NULL,
  `approved_at` timestamp NULL DEFAULT NULL,
  `applied_at` timestamp NULL DEFAULT NULL,
  `rejection_reason` varchar(255) DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_id` bigint(20) unsigned DEFAULT NULL,
  `wallet_transaction_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vendor_payments_payment_number_unique` (`payment_number`),
  UNIQUE KEY `vendor_payments_transaction_id_unique` (`transaction_id`),
  KEY `vendor_payments_vendor_id_foreign` (`vendor_id`),
  KEY `vendor_payments_purchase_order_id_foreign` (`purchase_order_id`),
  KEY `vendor_payments_created_by_foreign` (`created_by`),
  KEY `vendor_payments_approved_by_foreign` (`approved_by`),
  KEY `vendor_payments_branch_id_index` (`branch_id`),
  KEY `vendor_payments_wallet_id_index` (`wallet_id`),
  CONSTRAINT `vendor_payments_approved_by_foreign` FOREIGN KEY (`approved_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `vendor_payments_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `vendor_payments_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `vendor_payments_purchase_order_id_foreign` FOREIGN KEY (`purchase_order_id`) REFERENCES `purchase_orders` (`id`) ON DELETE SET NULL,
  CONSTRAINT `vendor_payments_vendor_id_foreign` FOREIGN KEY (`vendor_id`) REFERENCES `vendors` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `vendor_payments`
--

LOCK TABLES `vendor_payments` WRITE;
/*!40000 ALTER TABLE `vendor_payments` DISABLE KEYS */;
/*!40000 ALTER TABLE `vendor_payments` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `vendors`
--

DROP TABLE IF EXISTS `vendors`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `vendors` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `vendor_code` varchar(255) NOT NULL,
  `name` varchar(255) NOT NULL,
  `company_name` varchar(255) DEFAULT NULL,
  `email` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `address` text DEFAULT NULL,
  `tax_number` varchar(255) DEFAULT NULL,
  `opening_balance` decimal(14,2) NOT NULL DEFAULT 0.00,
  `balance` decimal(14,2) NOT NULL DEFAULT 0.00,
  `status` enum('active','inactive') NOT NULL DEFAULT 'active',
  `notes` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `deleted_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `vendors_vendor_code_unique` (`vendor_code`),
  KEY `vendors_branch_id_index` (`branch_id`),
  CONSTRAINT `vendors_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `vendors`
--

LOCK TABLES `vendors` WRITE;
/*!40000 ALTER TABLE `vendors` DISABLE KEYS */;
/*!40000 ALTER TABLE `vendors` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wallet_transactions`
--

DROP TABLE IF EXISTS `wallet_transactions`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `wallet_transactions` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `wallet_id` bigint(20) unsigned NOT NULL,
  `direction` enum('in','out') NOT NULL,
  `amount` decimal(14,2) NOT NULL,
  `reference_type` varchar(255) NOT NULL,
  `reference_id` bigint(20) unsigned DEFAULT NULL,
  `description` varchar(255) DEFAULT NULL,
  `balance_after` decimal(14,2) NOT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `wallet_transactions_wallet_id_foreign` (`wallet_id`),
  KEY `wallet_transactions_created_by_foreign` (`created_by`),
  KEY `wallet_transactions_reference_type_reference_id_index` (`reference_type`,`reference_id`),
  KEY `wallet_transactions_reference_type_index` (`reference_type`),
  CONSTRAINT `wallet_transactions_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `wallet_transactions_wallet_id_foreign` FOREIGN KEY (`wallet_id`) REFERENCES `wallets` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wallet_transactions`
--

LOCK TABLES `wallet_transactions` WRITE;
/*!40000 ALTER TABLE `wallet_transactions` DISABLE KEYS */;
/*!40000 ALTER TABLE `wallet_transactions` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wallets`
--

DROP TABLE IF EXISTS `wallets`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `wallets` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `description` varchar(255) DEFAULT NULL,
  `balance` decimal(14,2) NOT NULL DEFAULT 0.00,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `is_fund` tinyint(1) NOT NULL DEFAULT 0,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `wallets_name_unique` (`name`),
  KEY `wallets_created_by_foreign` (`created_by`),
  KEY `wallets_branch_id_index` (`branch_id`),
  CONSTRAINT `wallets_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `wallets_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wallets`
--

LOCK TABLES `wallets` WRITE;
/*!40000 ALTER TABLE `wallets` DISABLE KEYS */;
INSERT INTO `wallets` VALUES
(1,'Cash','Default cash wallet — incomes credit it, expenses debit it.',0.00,1,1,0,NULL,'2026-10-27 17:44:45','2026-10-27 17:44:45',NULL);
/*!40000 ALTER TABLE `wallets` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `warehouses`
--

DROP TABLE IF EXISTS `warehouses`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `warehouses` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `code` varchar(255) NOT NULL,
  `address` varchar(255) DEFAULT NULL,
  `phone` varchar(255) DEFAULT NULL,
  `is_default` tinyint(1) NOT NULL DEFAULT 0,
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `warehouses_code_unique` (`code`),
  KEY `warehouses_branch_id_index` (`branch_id`),
  CONSTRAINT `warehouses_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `warehouses`
--

LOCK TABLES `warehouses` WRITE;
/*!40000 ALTER TABLE `warehouses` DISABLE KEYS */;
/*!40000 ALTER TABLE `warehouses` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `warranties`
--

DROP TABLE IF EXISTS `warranties`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `warranties` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `product_id` bigint(20) unsigned NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `source_type` varchar(30) DEFAULT NULL,
  `source_id` bigint(20) unsigned DEFAULT NULL,
  `source_item_id` bigint(20) unsigned DEFAULT NULL,
  `start_date` date DEFAULT NULL,
  `end_date` date DEFAULT NULL,
  `duration_months` int(10) unsigned NOT NULL DEFAULT 12,
  `status` varchar(20) NOT NULL DEFAULT 'active',
  `terms` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `warranties_product_id_foreign` (`product_id`),
  KEY `warranties_branch_id_foreign` (`branch_id`),
  KEY `warranties_customer_id_foreign` (`customer_id`),
  KEY `warranties_end_date_index` (`end_date`),
  CONSTRAINT `warranties_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `warranties_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `warranties_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `warranties`
--

LOCK TABLES `warranties` WRITE;
/*!40000 ALTER TABLE `warranties` DISABLE KEYS */;
/*!40000 ALTER TABLE `warranties` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `warranty_claim_logs`
--

DROP TABLE IF EXISTS `warranty_claim_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `warranty_claim_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `warranty_claim_id` bigint(20) unsigned NOT NULL,
  `status` varchar(255) NOT NULL,
  `note` text DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `logged_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id`),
  KEY `warranty_claim_logs_warranty_claim_id_foreign` (`warranty_claim_id`),
  KEY `warranty_claim_logs_user_id_foreign` (`user_id`),
  CONSTRAINT `warranty_claim_logs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `warranty_claim_logs_warranty_claim_id_foreign` FOREIGN KEY (`warranty_claim_id`) REFERENCES `warranty_claims` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `warranty_claim_logs`
--

LOCK TABLES `warranty_claim_logs` WRITE;
/*!40000 ALTER TABLE `warranty_claim_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `warranty_claim_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `warranty_claims`
--

DROP TABLE IF EXISTS `warranty_claims`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `warranty_claims` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `claim_no` varchar(40) NOT NULL,
  `warranty_id` bigint(20) unsigned DEFAULT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `customer_id` bigint(20) unsigned DEFAULT NULL,
  `product_id` bigint(20) unsigned DEFAULT NULL,
  `claim_type` varchar(30) NOT NULL DEFAULT 'own',
  `status` varchar(30) NOT NULL DEFAULT 'received',
  `problem` text DEFAULT NULL,
  `action_taken` varchar(30) DEFAULT NULL,
  `estimated_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `actual_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `under_warranty` tinyint(1) NOT NULL DEFAULT 1,
  `received_by` bigint(20) unsigned DEFAULT NULL,
  `received_at` timestamp NULL DEFAULT NULL,
  `completed_at` timestamp NULL DEFAULT NULL,
  `customer_pickup_at` timestamp NULL DEFAULT NULL,
  `customer_delivered_at` timestamp NULL DEFAULT NULL,
  `delivery_assignment_id` bigint(20) unsigned DEFAULT NULL,
  `resolution` text DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `warranty_claims_claim_no_unique` (`claim_no`),
  KEY `warranty_claims_warranty_id_foreign` (`warranty_id`),
  KEY `warranty_claims_branch_id_foreign` (`branch_id`),
  KEY `warranty_claims_customer_id_foreign` (`customer_id`),
  KEY `warranty_claims_product_id_foreign` (`product_id`),
  KEY `warranty_claims_received_by_foreign` (`received_by`),
  KEY `warranty_claims_delivery_assignment_id_foreign` (`delivery_assignment_id`),
  KEY `warranty_claims_status_index` (`status`),
  CONSTRAINT `warranty_claims_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `warranty_claims_customer_id_foreign` FOREIGN KEY (`customer_id`) REFERENCES `customers` (`id`) ON DELETE SET NULL,
  CONSTRAINT `warranty_claims_delivery_assignment_id_foreign` FOREIGN KEY (`delivery_assignment_id`) REFERENCES `delivery_assignments` (`id`) ON DELETE SET NULL,
  CONSTRAINT `warranty_claims_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE SET NULL,
  CONSTRAINT `warranty_claims_received_by_foreign` FOREIGN KEY (`received_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `warranty_claims_warranty_id_foreign` FOREIGN KEY (`warranty_id`) REFERENCES `warranties` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `warranty_claims`
--

LOCK TABLES `warranty_claims` WRITE;
/*!40000 ALTER TABLE `warranty_claims` DISABLE KEYS */;
/*!40000 ALTER TABLE `warranty_claims` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `whatsapp_templates`
--

DROP TABLE IF EXISTS `whatsapp_templates`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `whatsapp_templates` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `provider_template` varchar(120) DEFAULT NULL,
  `body` text NOT NULL,
  `variables` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`variables`)),
  `is_active` tinyint(1) NOT NULL DEFAULT 1,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `whatsapp_templates`
--

LOCK TABLES `whatsapp_templates` WRITE;
/*!40000 ALTER TABLE `whatsapp_templates` DISABLE KEYS */;
/*!40000 ALTER TABLE `whatsapp_templates` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `wip_records`
--

DROP TABLE IF EXISTS `wip_records`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `wip_records` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `work_order_id` bigint(20) unsigned NOT NULL,
  `stage` varchar(60) NOT NULL,
  `production_line_id` bigint(20) unsigned DEFAULT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `completed_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `wip_records_work_order_id_foreign` (`work_order_id`),
  KEY `wip_records_production_line_id_foreign` (`production_line_id`),
  KEY `wip_records_branch_id_foreign` (`branch_id`),
  CONSTRAINT `wip_records_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `wip_records_production_line_id_foreign` FOREIGN KEY (`production_line_id`) REFERENCES `production_lines` (`id`) ON DELETE SET NULL,
  CONSTRAINT `wip_records_work_order_id_foreign` FOREIGN KEY (`work_order_id`) REFERENCES `work_orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `wip_records`
--

LOCK TABLES `wip_records` WRITE;
/*!40000 ALTER TABLE `wip_records` DISABLE KEYS */;
/*!40000 ALTER TABLE `wip_records` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `work_order_lines`
--

DROP TABLE IF EXISTS `work_order_lines`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `work_order_lines` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `work_order_id` bigint(20) unsigned NOT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `required_quantity` decimal(15,3) NOT NULL,
  `issued_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `consumed_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `wastage_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `work_order_lines_work_order_id_foreign` (`work_order_id`),
  KEY `work_order_lines_product_id_foreign` (`product_id`),
  CONSTRAINT `work_order_lines_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `work_order_lines_work_order_id_foreign` FOREIGN KEY (`work_order_id`) REFERENCES `work_orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `work_order_lines`
--

LOCK TABLES `work_order_lines` WRITE;
/*!40000 ALTER TABLE `work_order_lines` DISABLE KEYS */;
/*!40000 ALTER TABLE `work_order_lines` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `work_order_status_logs`
--

DROP TABLE IF EXISTS `work_order_status_logs`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `work_order_status_logs` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `work_order_id` bigint(20) unsigned NOT NULL,
  `status` varchar(255) NOT NULL,
  `note` text DEFAULT NULL,
  `user_id` bigint(20) unsigned DEFAULT NULL,
  `logged_at` timestamp NOT NULL DEFAULT current_timestamp(),
  PRIMARY KEY (`id`),
  KEY `work_order_status_logs_work_order_id_foreign` (`work_order_id`),
  KEY `work_order_status_logs_user_id_foreign` (`user_id`),
  CONSTRAINT `work_order_status_logs_user_id_foreign` FOREIGN KEY (`user_id`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `work_order_status_logs_work_order_id_foreign` FOREIGN KEY (`work_order_id`) REFERENCES `work_orders` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `work_order_status_logs`
--

LOCK TABLES `work_order_status_logs` WRITE;
/*!40000 ALTER TABLE `work_order_status_logs` DISABLE KEYS */;
/*!40000 ALTER TABLE `work_order_status_logs` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `work_orders`
--

DROP TABLE IF EXISTS `work_orders`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `work_orders` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `mo_no` varchar(40) NOT NULL,
  `branch_id` bigint(20) unsigned DEFAULT NULL,
  `product_id` bigint(20) unsigned NOT NULL,
  `bom_id` bigint(20) unsigned DEFAULT NULL,
  `production_line_id` bigint(20) unsigned DEFAULT NULL,
  `sales_order_id` bigint(20) unsigned DEFAULT NULL COMMENT 'link to sales/inventory sales when booked',
  `garment_order_id` bigint(20) unsigned DEFAULT NULL,
  `quantity` decimal(15,3) NOT NULL,
  `produced_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `rejected_quantity` decimal(15,3) NOT NULL DEFAULT 0.000,
  `start_date` date DEFAULT NULL,
  `due_date` date DEFAULT NULL,
  `completed_at` date DEFAULT NULL,
  `priority` varchar(20) NOT NULL DEFAULT 'normal',
  `status` varchar(255) NOT NULL DEFAULT 'draft',
  `estimated_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `actual_cost` decimal(15,2) NOT NULL DEFAULT 0.00,
  `notes` text DEFAULT NULL,
  `created_by` bigint(20) unsigned DEFAULT NULL,
  `created_at` timestamp NULL DEFAULT NULL,
  `updated_at` timestamp NULL DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `work_orders_mo_no_unique` (`mo_no`),
  KEY `work_orders_branch_id_foreign` (`branch_id`),
  KEY `work_orders_product_id_foreign` (`product_id`),
  KEY `work_orders_bom_id_foreign` (`bom_id`),
  KEY `work_orders_production_line_id_foreign` (`production_line_id`),
  KEY `work_orders_created_by_foreign` (`created_by`),
  KEY `work_orders_status_branch_id_index` (`status`,`branch_id`),
  KEY `work_orders_garment_order_id_foreign` (`garment_order_id`),
  CONSTRAINT `work_orders_bom_id_foreign` FOREIGN KEY (`bom_id`) REFERENCES `boms` (`id`) ON DELETE SET NULL,
  CONSTRAINT `work_orders_branch_id_foreign` FOREIGN KEY (`branch_id`) REFERENCES `branches` (`id`) ON DELETE SET NULL,
  CONSTRAINT `work_orders_created_by_foreign` FOREIGN KEY (`created_by`) REFERENCES `users` (`id`) ON DELETE SET NULL,
  CONSTRAINT `work_orders_garment_order_id_foreign` FOREIGN KEY (`garment_order_id`) REFERENCES `garment_orders` (`id`) ON DELETE SET NULL,
  CONSTRAINT `work_orders_product_id_foreign` FOREIGN KEY (`product_id`) REFERENCES `products` (`id`) ON DELETE CASCADE,
  CONSTRAINT `work_orders_production_line_id_foreign` FOREIGN KEY (`production_line_id`) REFERENCES `production_lines` (`id`) ON DELETE SET NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `work_orders`
--

LOCK TABLES `work_orders` WRITE;
/*!40000 ALTER TABLE `work_orders` DISABLE KEYS */;
/*!40000 ALTER TABLE `work_orders` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2026-11-01 20:59:04
